Set the default font family to inherit (Open Sans) in all TinyMCE modals, change the cursor to pointer when hovering over Quicktags buttons. Props avryl, see #27279

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


git-svn-id: http://core.svn.wordpress.org/trunk@27627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-03-27 19:19:14 +00:00
parent 4038e52276
commit 56b7043a90
4 changed files with 36 additions and 6 deletions

View File

@ -5,7 +5,9 @@
/* TinyMCE widgets/containers */
.mce-container,
.mce-widget {
.mce-container *,
.mce-widget,
.mce-widget * {
color: inherit;
font-family: inherit;
}
@ -37,7 +39,6 @@
.mce-window .mce-window-head .mce-title {
color: #444;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
font-weight: 600;
line-height: 36px;
@ -485,6 +486,14 @@ div.mce-menu .mce-menu-item-sep,
}
/* TinyMCE icons */
.mce-ico {
font-family: 'tinymce', Arial;
}
.mce-btn-small .mce-ico {
font-family: 'tinymce-small', Arial;
}
.mce-toolbar .mce-ico {
color: #777;
line-height: 20px;
@ -543,6 +552,7 @@ i.mce-i-wp_help,
i.mce-i-wp-media-library,
i.mce-i-ltr,
i.mce-i-wp_page,
i.mce-i-hr,
.mce-close {
font: normal 20px/1 'dashicons';
padding: 0;
@ -672,6 +682,10 @@ i.mce-i-wp_page:before {
content: '\f105';
}
i.mce-i-hr:before {
content: '\f460';
}
.mce-close:before {
content: '\f158';
}
@ -844,6 +858,7 @@ i.mce-i-wp_page:before {
padding: 2px 4px;
font: 12px/18px "Open Sans", sans-serif;
color: #464646;
cursor: pointer;
border: 1px solid #c3c3c3;
-webkit-border-radius: 3px;
border-radius: 3px;

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,9 @@
/* TinyMCE widgets/containers */
.mce-container,
.mce-widget {
.mce-container *,
.mce-widget,
.mce-widget * {
color: inherit;
font-family: inherit;
}
@ -37,7 +39,6 @@
.mce-window .mce-window-head .mce-title {
color: #444;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
font-weight: 600;
line-height: 36px;
@ -485,6 +486,14 @@ div.mce-menu .mce-menu-item-sep,
}
/* TinyMCE icons */
.mce-ico {
font-family: 'tinymce', Arial;
}
.mce-btn-small .mce-ico {
font-family: 'tinymce-small', Arial;
}
.mce-toolbar .mce-ico {
color: #777;
line-height: 20px;
@ -543,6 +552,7 @@ i.mce-i-wp_help,
i.mce-i-wp-media-library,
i.mce-i-ltr,
i.mce-i-wp_page,
i.mce-i-hr,
.mce-close {
font: normal 20px/1 'dashicons';
padding: 0;
@ -672,6 +682,10 @@ i.mce-i-wp_page:before {
content: '\f105';
}
i.mce-i-hr:before {
content: '\f460';
}
.mce-close:before {
content: '\f158';
}
@ -844,6 +858,7 @@ i.mce-i-wp_page:before {
padding: 2px 4px;
font: 12px/18px "Open Sans", sans-serif;
color: #464646;
cursor: pointer;
border: 1px solid #c3c3c3;
-webkit-border-radius: 3px;
border-radius: 3px;

File diff suppressed because one or more lines are too long