mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
61b8ba8461
commit
f43f758197
@ -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';
|
||||
}
|
||||
|
||||
|
2
wp-includes/css/editor-rtl.min.css
vendored
2
wp-includes/css/editor-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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';
|
||||
}
|
||||
|
||||
|
2
wp-includes/css/editor.min.css
vendored
2
wp-includes/css/editor.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user