Updated styles for the Visual editor buttons, props chexee, see #15986

git-svn-id: https://develop.svn.wordpress.org/trunk@17768 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2011-04-29 16:08:16 +00:00
parent e1138c8eb2
commit ef5ae46a9d
6 changed files with 290 additions and 126 deletions

File diff suppressed because one or more lines are too long

View File

@ -516,7 +516,7 @@ a,
} }
#adminmenu li.current a #awaiting-mod, #adminmenu li.current a #awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins{ #adminmenu li a.wp-has-current-submenu .update-plugins{
background-color: #464646; background-color: #464646;
color: #fff; color: #fff;
-moz-box-shadow: #fff 0 -1px 0; -moz-box-shadow: #fff 0 -1px 0;
@ -571,7 +571,7 @@ input.readonly, textarea.readonly {
color: #777; color: #777;
border-color: #b0c8d7; border-color: #b0c8d7;
background: #cfdfe9; /* fallback color */ background: #cfdfe9; /* fallback color */
background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff); background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff);
background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff)); background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff));
} }
@ -697,7 +697,7 @@ table.widefat span.spam a,
#wphead { #wphead {
border-bottom:#b0c8d7 1px solid; border-bottom:#b0c8d7 1px solid;
background: #cfdfe9; /* fallback color */ background: #cfdfe9; /* fallback color */
background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff); background:-moz-linear-gradient(bottom, #cfdfe9, #eff8ff);
background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff)); background:-webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#eff8ff));
} }
@ -804,7 +804,7 @@ table.widefat .spam a:hover,
.wp_themeSkin a:link, .wp_themeSkin a:link,
.wp_themeSkin a:visited, .wp_themeSkin a:visited,
.wp_themeSkin a:active { .wp_themeSkin a:active {
color: #000; color: #000;
} }
/* Containers */ /* Containers */
@ -821,38 +821,81 @@ table.widefat .spam a:hover,
/* Button */ /* Button */
.wp_themeSkin .mceButton { .wp_themeSkin .mceButton {
background-color: #e9e8e8; background-color: #e9e8e8;
border-color: #B2B2B2; border-color: #B0C8D7;
background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */
} }
.wp_themeSkin a.mceButtonEnabled:hover, .wp_themeSkin a.mceButtonEnabled:hover {
.wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonSelected {
background: #d5d5d5; background: #d5d5d5;
border-color: #777 !important; border-color: #5589AA !important;
background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #eee, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #eee, #fff)); /* Firefox */
background-image: -o-linear-gradient(bottom, #eee, #fff)); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #eee, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #eee, #fff); /* proposed W3C Markup */
}
.wp_themeSkin a.mceButton:active,
.wp_themeSkin a.mceButtonEnabled:active,
.wp_themeSkin a.mceButtonSelected:active,
.wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonActive:active,
.wp_themeSkin a.mceButtonActive:hover {
background: #B0C8D7 !important;
border-color: #5589AA !important;
} }
.wp_themeSkin .mceButtonDisabled { .wp_themeSkin .mceButtonDisabled {
border-color: #ccc !important; border-color: #B0C8D7 !important;
} }
/* ListBox */ /* ListBox */
.wp_themeSkin .mceListBox .mceText, .wp_themeSkin .mceListBox .mceText,
.wp_themeSkin .mceListBox .mceOpen { .wp_themeSkin .mceListBox .mceOpen {
border-color: #B2B2B2; border-color: #B0C8D7;
background-color: #d5d5d5; background-color: #cfdfe9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */
}
.wp_themeSkin .mceListBox .mceOpen {
border-left: 0px !important;
} }
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen,
.wp_themeSkin .mceListBoxHover:active .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceText { .wp_themeSkin .mceListBoxSelected .mceText,
border-color: #777 !important; .wp_themeSkin table.mceListBoxEnabled:active .mceText {
background-color: #d5d5d5; background: #B0C8D7;
border-color: #5589AA !important;
} }
/* List Box Hover */
.wp_themeSkin table.mceListBoxEnabled:hover .mceText, .wp_themeSkin table.mceListBoxEnabled:hover .mceText,
.wp_themeSkin .mceListBoxHover .mceText { .wp_themeSkin .mceListBoxHover .mceText,
border-color: #777 !important; .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen {
border-color: #5589AA !important;
background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */
} }
.wp_themeSkin select.mceListBox { .wp_themeSkin select.mceListBox {
@ -863,19 +906,38 @@ table.widefat .spam a:hover,
/* SplitButton */ /* SplitButton */
.wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceAction,
.wp_themeSkin .mceSplitButton a.mceOpen { .wp_themeSkin .mceSplitButton a.mceOpen {
border-color: #B2B2B2; border-color: #B0C8D7;
} }
.wp_themeSkin .mceSplitButton a.mceOpen:hover, .wp_themeSkin .mceSplitButton a.mceOpen:hover,
.wp_themeSkin .mceSplitButtonSelected a.mceOpen, .wp_themeSkin .mceSplitButtonSelected a.mceOpen,
.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
.wp_themeSkin .mceSplitButton a.mceAction:hover { .wp_themeSkin .mceSplitButton a.mceAction:hover {
background-color: #d5d5d5; border-color: #5589AA !important;
border-color: #777 !important; }
.wp_themeSkin table.mceSplitButton td {
background-color: #cfdfe9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */
}
.wp_themeSkin table.mceSplitButton:hover td {
background-image: -ms-linear-gradient(bottom, #cfdfe9, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #cfdfe9, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #cfdfe9, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#cfdfe9), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #cfdfe9, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #cfdfe9, #fff); /* proposed W3C Markup */
} }
.wp_themeSkin .mceSplitButtonActive { .wp_themeSkin .mceSplitButtonActive {
background-color: #B2B2B2; background-color: #B0C8D7;
} }
/* ColorSplitButton */ /* ColorSplitButton */
@ -1089,7 +1151,7 @@ table.widefat .spam a:hover,
} }
#adminmenu .wp-submenu .current a.current { #adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -289px; background: transparent url(../images/menu-bits-vs.gif?ver=20101102) no-repeat scroll 0 -289px;
} }
#adminmenu .wp-submenu a:hover { #adminmenu .wp-submenu a:hover {
@ -1489,7 +1551,7 @@ body.press-this ul.category-tabs li.tabs a {
#favorite-first { #favorite-first {
border-color: #c0c0c0; border-color: #c0c0c0;
background: #f1f1f1; /* fallback color */ background: #f1f1f1; /* fallback color */
background:-moz-linear-gradient(bottom, #e7e7e7, #fff); background:-moz-linear-gradient(bottom, #e7e7e7, #fff);
background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff)); background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));
} }

File diff suppressed because one or more lines are too long

View File

@ -516,7 +516,7 @@ a,
} }
#adminmenu li.current a #awaiting-mod, #adminmenu li.current a #awaiting-mod,
#adminmenu li a.wp-has-current-submenu .update-plugins{ #adminmenu li a.wp-has-current-submenu .update-plugins{
background-color: #464646; background-color: #464646;
color: #fff; color: #fff;
-moz-box-shadow: #fff 0 -1px 0; -moz-box-shadow: #fff 0 -1px 0;
@ -571,7 +571,7 @@ input.readonly, textarea.readonly {
color: #777; color: #777;
border-color: #d1d1d1; border-color: #d1d1d1;
background: #d9d9d9; /* fallback color */ background: #d9d9d9; /* fallback color */
background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4); background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4);
background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4));
} }
@ -697,7 +697,7 @@ table.widefat span.spam a,
#wphead { #wphead {
border-bottom:#c6c6c6 1px solid; border-bottom:#c6c6c6 1px solid;
background: #d9d9d9; /* fallback color */ background: #d9d9d9; /* fallback color */
background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4); background:-moz-linear-gradient(bottom, #d7d7d7, #e4e4e4);
background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)); background:-webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4));
} }
@ -804,7 +804,7 @@ table.widefat .spam a:hover,
.wp_themeSkin a:link, .wp_themeSkin a:link,
.wp_themeSkin a:visited, .wp_themeSkin a:visited,
.wp_themeSkin a:active { .wp_themeSkin a:active {
color: #000; color: #000;
} }
/* Containers */ /* Containers */
@ -820,15 +820,36 @@ table.widefat .spam a:hover,
/* Button */ /* Button */
.wp_themeSkin .mceButton { .wp_themeSkin .mceButton {
background-color: #e9e8e8; border-color: #ccc;
border-color: #B2B2B2; background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* IE10 */
background-image: -moz-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Firefox */
background-image: -o-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#c9c9c9), to(#f6f6f6)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #c9c9c9, #f6f6f6) !important; /* new Webkit */
background-image: linear-gradient(bottom, #c9c9c9, #f6f6f6); /* proposed W3C Markup */
} }
.wp_themeSkin a.mceButtonEnabled:hover, .wp_themeSkin a.mceButtonEnabled:hover {
.wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonSelected {
background: #d5d5d5; background: #d5d5d5;
border-color: #777 !important; border-color: #a0a0a0 !important;
background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #ccc, #fff)); /* Firefox */
background-image: -o-linear-gradient(bottom, #ccc, #fff)); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #ccc, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
}
.wp_themeSkin a.mceButton:active,
.wp_themeSkin a.mceButtonEnabled:active,
.wp_themeSkin a.mceButtonSelected:active,
.wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonActive:active,
.wp_themeSkin a.mceButtonActive:hover {
background: #d5d5d5 !important;
border-color: #909090 !important;
} }
.wp_themeSkin .mceButtonDisabled { .wp_themeSkin .mceButtonDisabled {
@ -837,22 +858,44 @@ table.widefat .spam a:hover,
/* ListBox */ /* ListBox */
.wp_themeSkin .mceListBox .mceText, .wp_themeSkin .mceListBox .mceText,
.wp_themeSkin .mceListBox .mceOpen { .wp_themeSkin .mceListBox .mceOpen {
border-color: #B2B2B2; border-color: #ccc;
background-color: #d5d5d5; background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* IE10 */
background-image: -moz-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Firefox */
background-image: -o-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#c9c9c9), to(#f6f6f6)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #c9c9c9, #f6f6f6); !important/* new Webkit */
background-image: linear-gradient(bottom, #c9c9c9, #f6f6f6); /* proposed W3C Markup */
}
.wp_themeSkin .mceListBox .mceOpen {
border-left: 0px !important;
} }
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen,
.wp_themeSkin .mceListBoxHover:active .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceText { .wp_themeSkin .mceListBoxSelected .mceText,
border-color: #777 !important; .wp_themeSkin table.mceListBoxEnabled:active .mceText {
background-color: #d5d5d5; background: #ccc;
border-color: #999 !important;
} }
/* List Box Hover */
.wp_themeSkin table.mceListBoxEnabled:hover .mceText, .wp_themeSkin table.mceListBoxEnabled:hover .mceText,
.wp_themeSkin .mceListBoxHover .mceText { .wp_themeSkin .mceListBoxHover .mceText,
border-color: #777 !important; .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen {
border-color: #909090 !important;
background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #ccc, #fff)); /* Firefox */
background-image: -o-linear-gradient(bottom, #ccc, #fff)); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #ccc, #fff) !important; /* new Webkit */
background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
} }
.wp_themeSkin select.mceListBox { .wp_themeSkin select.mceListBox {
@ -863,15 +906,34 @@ table.widefat .spam a:hover,
/* SplitButton */ /* SplitButton */
.wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceAction,
.wp_themeSkin .mceSplitButton a.mceOpen { .wp_themeSkin .mceSplitButton a.mceOpen {
border-color: #B2B2B2; border-color: #ccc;
} }
.wp_themeSkin .mceSplitButton a.mceOpen:hover, .wp_themeSkin .mceSplitButton a.mceOpen:hover,
.wp_themeSkin .mceSplitButtonSelected a.mceOpen, .wp_themeSkin .mceSplitButtonSelected a.mceOpen,
.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
.wp_themeSkin .mceSplitButton a.mceAction:hover { .wp_themeSkin .mceSplitButton a.mceAction:hover {
background-color: #d5d5d5; border-color: #909090 !important;
border-color: #777 !important; }
.wp_themeSkin table.mceSplitButton td {
background-color: #c9c9c9; /* Fallback */
background-image: -ms-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* IE10 */
background-image: -moz-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Firefox */
background-image: -o-linear-gradient(bottom, #c9c9c9, #f6f6f6); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#c9c9c9), to(#f6f6f6)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #c9c9c9, #f6f6f6)!important ; /* new Webkit */
background-image: linear-gradient(bottom, #c9c9c9, #f6f6f6); /* proposed W3C Markup */
}
.wp_themeSkin table.mceSplitButton:hover td {
background-image: -ms-linear-gradient(bottom, #ccc, #fff); /* IE10 */
background-image: -moz-linear-gradient(bottom, #ccc, #fff); /* Firefox */
background-image: -o-linear-gradient(bottom, #ccc, #fff); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#ccc), to(#fff)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #ccc, #fff); !important/* new Webkit */
background-image: linear-gradient(bottom, #ccc, #fff); /* proposed W3C Markup */
} }
.wp_themeSkin .mceSplitButtonActive { .wp_themeSkin .mceSplitButtonActive {
@ -1089,7 +1151,7 @@ table.widefat .spam a:hover,
} }
#adminmenu .wp-submenu .current a.current { #adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -289px; background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -289px;
} }
#adminmenu .wp-submenu a:hover { #adminmenu .wp-submenu a:hover {
@ -1484,7 +1546,7 @@ body.press-this ul.category-tabs li.tabs a {
#favorite-first { #favorite-first {
border-color: #c0c0c0; border-color: #c0c0c0;
background: #f1f1f1; /* fallback color */ background: #f1f1f1; /* fallback color */
background:-moz-linear-gradient(bottom, #e7e7e7, #fff); background:-moz-linear-gradient(bottom, #e7e7e7, #fff);
background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff)); background:-webkit-gradient(linear, left bottom, left top, from(#e7e7e7), to(#fff));
} }

View File

@ -47,55 +47,72 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
/* Button */ /* Button */
.wp_themeSkin .mceButton { .wp_themeSkin .mceButton {
display:block; display:block;
width: 20px; width: 20px;
height: 20px; height: 20px;
cursor: default; cursor: default;
padding: 1px 2px; padding: 1px 2px;
margin: 1px; margin: 1px;
background-image: url(img/butt2.png); -moz-border-radius: 2px;
background-position: left top; -webkit-border-radius: 2px;
background-repeat: repeat-x; -khtml-border-radius: 2px;
-moz-border-radius: 3px; border-radius: 2px;
-webkit-border-radius: 3px; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
-khtml-border-radius: 3px; -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
} }
.wp_themeSkin a.mceButtonEnabled:hover {
background-image: inherit 0 -10px;
}
.wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {} .wp_themeSkin a.mceButton span, .wp_themeSkin a.mceButton img {}
.wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} .wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px}
.wp_themeSkin a.mceButtonEnabled:hover {
background-position:0 -10px; .wp_themeSkin a.mceButton:active,
} .wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonActive, .wp_themeSkin a.mceButtonSelected { .wp_themeSkin a.mceButtonActive:hover,
.wp_themeSkin a.mceButtonSelected {
background-image: inherit; background-image: inherit;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), inset 0 0 2px 1px #fff;
} }
.wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30);} .wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.4; filter:alpha(opacity=40);}
.wp_themeSkin .mceButtonDisabled {} .wp_themeSkin .mceButtonDisabled {}
/* Separator */ /* Separator */
.wp_themeSkin .mceSeparator { .wp_themeSkin .mceSeparator {
height: 24px; height: 24px;
width: 1px; width: 1px;
display: block; display: block;
background: transparent; background: transparent;
overflow: hidden; overflow: hidden;
margin: 0 2px; margin: 0 2px;
} }
/* ListBox */ /* ListBox */
.wp_themeSkin .mceListBox, .wp_themeSkin .mceListBox a {display:block} .wp_themeSkin .mceListBox, .wp_themeSkin .mceListBox a {display:block}
.wp_themeSkin .mceListBox .mceText { .wp_themeSkin .mceListBox .mceText {
padding: 1px 2px 1px 5px; padding: 1px 2px 1px 5px;
text-align:left; text-align:left;
text-decoration: none !important; text-decoration: none !important;
width:70px; width:70px;
background-image: url(img/butt2.png); -moz-border-bottom-left-radius: 2px;
background-position: left top; -webkit-border-bottom-left-radius: 2px;
background-repeat: repeat-x; -khtml-border-bottom-left-radius: 2px;
font-family: Tahoma,Verdana,Arial,Helvetica; border-bottom-left-radius: 2px;
font-size: 11px; -moz-border-top-left-radius: 2px;
height: 20px; -webkit-border-top-left-radius: 2px;
line-height: 20px; -khtml-border-top-left-radius: 2px;
border-top-left-radius: 2px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
font-family: Tahoma,Verdana,Arial,Helvetica;
font-size: 11px;
height: 20px;
line-height: 20px;
overflow: hidden; overflow: hidden;
} }
.wp_themeSkin .mceListBox { .wp_themeSkin .mceListBox {
@ -104,13 +121,20 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
} }
.wp_themeSkin .mceListBox .mceOpen { .wp_themeSkin .mceListBox .mceOpen {
width: 14px; width: 14px;
height: 20px; height: 20px;
border-collapse: separate; border-collapse: separate;
background-image: url(img/butt2.png);
background-position: left top;
background-repeat: repeat-x;
padding: 1px; padding: 1px;
border-left: 0 none !important; -moz-border-bottom-left-radius: 0;
-webkit-border-bottom-left-radius: 0;
-khtml-border-bottom-left-radius: 0;
border-bottom-left-radius: 0;
-moz-border-top-left-radius: 0;
-webkit-border-top-left-radius: 0;
-khtml-border-top-left-radius: 0;
border-top-left-radius: 0;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
} }
.wp_themeSkin .mceListBox .mceOpen span { .wp_themeSkin .mceListBox .mceOpen span {
display: block; display: block;
@ -120,11 +144,11 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
background-position: 2px 1px; background-position: 2px 1px;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.wp_themeSkin table.mceListBoxEnabled:hover .mceText, .wp_themeSkin table.mceListBoxEnabled:hover .mceText,
.wp_themeSkin .mceListBoxHover .mceText, .wp_themeSkin .mceListBoxHover .mceText,
.wp_themeSkin .mceListBoxSelected .mceText, .wp_themeSkin .mceListBoxSelected .mceText,
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceOpen { .wp_themeSkin .mceListBoxSelected .mceOpen {
background-image: none; background-image: none;
} }
@ -135,17 +159,33 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
/* SplitButton */ /* SplitButton */
.wp_themeSkin .mceSplitButton a, .wp_themeSkin .mceSplitButton span {display:block; height:20px} .wp_themeSkin .mceSplitButton a, .wp_themeSkin .mceSplitButton span {display:block; height:20px}
.wp_themeSkin .mceSplitButton { .wp_themeSkin .mceSplitButton {
display:block; display:block;
margin: 1px; margin: 1px;
direction: ltr; direction: ltr;
} }
.wp_themeSkin table.mceSplitButton td { .wp_themeSkin table.mceSplitButton td {
padding: 2px; padding: 2px;
background-image: url(img/butt2.png); -moz-border-bottom-left-radius: 0;
background-position: left top; -webkit-border-bottom-left-radius: 0;
background-repeat: repeat-x; -khtml-border-bottom-left-radius: 0;
border-bottom-left-radius: 0;
-moz-border-top-left-radius: 0;
-webkit-border-top-left-radius: 0;
-khtml-border-top-left-radius: 0;
border-top-left-radius: 0;
} }
.wp_themeSkin table.mceSplitButton td a {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 0 2px 1px #fff;
}
.wp_themeSkin table.mceSplitButton:hover td {
background-image: inherit 0 -10px;
}
.wp_themeSkin .mceSplitButton a.mceAction { .wp_themeSkin .mceSplitButton a.mceAction {
height:20px; height:20px;
width:20px; width:20px;
@ -155,7 +195,7 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
background-image: url(../../img/icons.gif); background-image: url(../../img/icons.gif);
background-repeat: no-repeat; background-repeat: no-repeat;
background-color: transparent; background-color: transparent;
width:20px; width:20px;
} }
.wp_themeSkin .mceSplitButton a.mceOpen { .wp_themeSkin .mceSplitButton a.mceOpen {
width:10px; width:10px;
@ -214,17 +254,17 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
text-decoration: none !important; text-decoration: none !important;
} }
.wp_themeSkin .mceMenu .mceText { .wp_themeSkin .mceMenu .mceText {
position:relative; position:relative;
display:block; display:block;
font-family:Tahoma,Verdana,Arial,Helvetica; font-family:Tahoma,Verdana,Arial,Helvetica;
cursor:default; cursor:default;
margin:0; margin:0;
padding:0 25px; padding:0 25px;
} }
.wp_themeSkin .mceMenu span.mceText, .wp_themeSkin .mceMenu .mcePreview {font-size:11px} .wp_themeSkin .mceMenu span.mceText, .wp_themeSkin .mceMenu .mcePreview {font-size:11px}
.wp_themeSkin .mceMenu pre.mceText {font-family:Monospace} .wp_themeSkin .mceMenu pre.mceText {font-family:Monospace}
.wp_themeSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;} .wp_themeSkin .mceMenu .mceIcon {position:absolute; top:0; left:0; width:22px;}
.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover, .wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover,
.wp_themeSkin .mceMenu .mceMenuItemActive {} .wp_themeSkin .mceMenu .mceMenuItemActive {}
.wp_themeSkin td.mceMenuItemSeparator {height:1px} .wp_themeSkin td.mceMenuItemSeparator {height:1px}
.wp_themeSkin .mceMenuItemTitle a { .wp_themeSkin .mceMenuItemTitle a {
@ -351,32 +391,32 @@ border:0; margin:0; padding:0; white-space:nowrap; text-decoration:none; font-we
.wp_themeSkin span.mce_spellchecker {background-position:-540px -20px} .wp_themeSkin span.mce_spellchecker {background-position:-540px -20px}
/* border */ /* border */
.wp_themeSkin .mceExternalToolbar, .wp_themeSkin .mceExternalToolbar,
.wp_themeSkin .mceButton, .wp_themeSkin .mceButton,
.wp_themeSkin a.mceButtonEnabled:hover, .wp_themeSkin a.mceButtonEnabled:hover,
.wp_themeSkin a.mceButtonActive, .wp_themeSkin a.mceButtonActive,
.wp_themeSkin a.mceButtonSelected, .wp_themeSkin a.mceButtonSelected,
.wp_themeSkin .mceListBox .mceText, .wp_themeSkin .mceListBox .mceText,
.wp_themeSkin .mceListBox .mceOpen, .wp_themeSkin .mceListBox .mceOpen,
.wp_themeSkin table.mceListBoxEnabled:hover .mceText, .wp_themeSkin table.mceListBoxEnabled:hover .mceText,
.wp_themeSkin .mceListBoxHover .mceText, .wp_themeSkin .mceListBoxHover .mceText,
.wp_themeSkin .mceListBoxSelected .mceText, .wp_themeSkin .mceListBoxSelected .mceText,
.wp_themeSkin table.mceListBoxEnabled:hover .mceOpen, .wp_themeSkin table.mceListBoxEnabled:hover .mceOpen,
.wp_themeSkin .mceListBoxHover .mceOpen, .wp_themeSkin .mceListBoxHover .mceOpen,
.wp_themeSkin .mceListBoxSelected .mceOpen, .wp_themeSkin .mceListBoxSelected .mceOpen,
.wp_themeSkin select.mceListBox, .wp_themeSkin select.mceListBox,
.wp_themeSkin .mceSplitButton a.mceAction, .wp_themeSkin .mceSplitButton a.mceAction,
.wp_themeSkin .mceSplitButton a.mceOpen, .wp_themeSkin .mceSplitButton a.mceOpen,
.wp_themeSkin .mceSplitButton a.mceOpen:hover, .wp_themeSkin .mceSplitButton a.mceOpen:hover,
.wp_themeSkin .mceSplitButtonSelected a.mceOpen, .wp_themeSkin .mceSplitButtonSelected a.mceOpen,
.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, .wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction,
.wp_themeSkin .mceSplitButton a.mceAction:hover, .wp_themeSkin .mceSplitButton a.mceAction:hover,
.wp_themeSkin div.mceColorSplitMenu table, .wp_themeSkin div.mceColorSplitMenu table,
.wp_themeSkin .mceColorSplitMenu a, .wp_themeSkin .mceColorSplitMenu a,
.wp_themeSkin .mceColorSplitMenu a.mceMoreColors, .wp_themeSkin .mceColorSplitMenu a.mceMoreColors,
.wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover, .wp_themeSkin .mceColorSplitMenu a.mceMoreColors:hover,
.wp_themeSkin a.mceMoreColors:hover, .wp_themeSkin a.mceMoreColors:hover,
.wp_themeSkin .mceMenu { .wp_themeSkin .mceMenu {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
} }

View File

@ -489,7 +489,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20110121'; $colors_version = '20110429';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version ); $styles->add( 'colors', true, array(), $colors_version );