-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Sorted icons into their FontAwesome categories and then added an accordion to access the different categories. - Added support for the noneditable plugin so that users can no longer add content to the icon <span>.
- Loading branch information
Showing
7 changed files
with
697 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* Accordion */ | ||
|
||
.mce-fontawesome-panel-table { | ||
-webkit-transition: 0.5s height; | ||
transition: 0.5s height; | ||
overflow: hidden; | ||
height: 0; | ||
} | ||
|
||
/* Title */ | ||
|
||
.mce-fontawesome-panel-title { | ||
font-weight: bold; | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
cursor: pointer; | ||
padding: 6px; | ||
border-radius: 1px; | ||
} | ||
|
||
.mce-fontawesome-panel-title:hover { | ||
background-color: #bfbfbf; | ||
background-color: rgba(0,0,0,0.1); | ||
} | ||
|
||
.mce-fontawesome-panel-title { | ||
border-bottom: 1px solid #eeeeee; | ||
} | ||
|
||
.mce-fontawesome-panel-accordion-hide .mce-fontawesome-panel-title { | ||
border-bottom: 0; | ||
} | ||
|
||
.mce-fontawesome-panel-accordion:first-child .mce-fontawesome-panel-title { | ||
margin-top: 0; | ||
} | ||
|
||
/* FontAwesome Icons */ | ||
|
||
.mce-fontawesome-panel .fa { | ||
font-family: FontAwesome !important; | ||
cursor: pointer; | ||
padding: 6px; | ||
border-radius: 1px; | ||
} | ||
|
||
.mce-fontawesome-panel .fa:hover { | ||
background-color: #bfbfbf; | ||
background-color: rgba(0,0,0,0.1); | ||
} | ||
|
||
/* Toolbar & Menu Button */ | ||
|
||
.mce-i-flag { | ||
display: inline-block; | ||
font-family: FontAwesome; | ||
font-style: normal; | ||
font-weight: normal; | ||
line-height: 1; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
margin-right: 1px; | ||
position: relative; | ||
top: 1px; | ||
} | ||
|
||
.mce-i-flag:before { | ||
content: "\f024"; | ||
} |
Oops, something went wrong.
e3bd97e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This update should work with all browsers >= IE8 but if you find any bugs let me know.