TinyMCE: better "color preview" for the text color button, props avryl, fixes #28280.

Built from https://develop.svn.wordpress.org/trunk@29231


git-svn-id: http://core.svn.wordpress.org/trunk@29015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-07-18 22:15:15 +00:00
parent 61b8ba8461
commit f43f758197
4 changed files with 20 additions and 8 deletions

View File

@ -270,9 +270,13 @@ div.mce-path {
}
.mce-toolbar .mce-colorbutton .mce-preview {
margin-right: -17px;
margin: 0;
padding: 0;
width: 18px;
top: auto;
bottom: 2px;
right: 3px;
height: 3px;
width: 20px;
}
/* mce listbox */
@ -582,6 +586,7 @@ i.mce-i-wp_adv,
i.mce-i-underline,
i.mce-i-alignjustify,
i.mce-i-forecolor,
i.mce-i-backcolor,
i.mce-i-pastetext,
i.mce-i-pasteword,
i.mce-i-removeformat,
@ -685,7 +690,8 @@ i.mce-i-alignjustify:before {
content: '\f214';
}
i.mce-i-forecolor:before {
i.mce-i-forecolor:before,
i.mce-i-backcolor:before {
content: '\f215';
}

File diff suppressed because one or more lines are too long

View File

@ -270,9 +270,13 @@ div.mce-path {
}
.mce-toolbar .mce-colorbutton .mce-preview {
margin-left: -17px;
margin: 0;
padding: 0;
width: 18px;
top: auto;
bottom: 2px;
left: 3px;
height: 3px;
width: 20px;
}
/* mce listbox */
@ -582,6 +586,7 @@ i.mce-i-wp_adv,
i.mce-i-underline,
i.mce-i-alignjustify,
i.mce-i-forecolor,
i.mce-i-backcolor,
i.mce-i-pastetext,
i.mce-i-pasteword,
i.mce-i-removeformat,
@ -685,7 +690,8 @@ i.mce-i-alignjustify:before {
content: '\f214';
}
i.mce-i-forecolor:before {
i.mce-i-forecolor:before,
i.mce-i-backcolor:before {
content: '\f215';
}

File diff suppressed because one or more lines are too long