X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fmenu.css;h=52ba9fc8b8bcc4beef723a6fbb45791c35459401;hb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5;hp=cd7808bece850a0e50d9937ecbfec4896c893d59;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6;p=ckeditor.git diff --git a/_source/skins/kama/menu.css b/_source/skins/kama/menu.css index cd7808b..52ba9fc 100644 --- a/_source/skins/kama/menu.css +++ b/_source/skins/kama/menu.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -26,11 +26,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license display:block; } -.cke_skin_kama .cke_menuitem a.cke_disabled:hover, -.cke_skin_kama .cke_menuitem a.cke_disabled:focus, -.cke_skin_kama .cke_menuitem a.cke_disabled:active +.cke_hc .cke_menuitem a:hover, +.cke_hc .cke_menuitem a:focus, +.cke_hc .cke_menuitem a:active { - background-color: transparent !important; + border: 2px solid; } .cke_skin_kama .cke_menuitem .cke_icon @@ -44,12 +44,47 @@ For licensing, see LICENSE.html or http://ckeditor.com/license float: left; } +.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon +{ + background-image: url(icons_rtl.png); +} + +/* IE with zoom != 100% will distort the icons otherwise #4821 */ +.cke_browser_ie .cke_skin_kama .cke_menuitem .cke_icon +{ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'); +} +.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuitem .cke_icon +{ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'); +} +.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_icon, +.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_icon +{ + filter: ; +} + .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon { filter: alpha(opacity=70); /* IE */ opacity: 0.70; /* Safari, Opera and Mozilla */ } +/* IE with zoom != 100% will distort the icons otherwise #4821 */ +.cke_browser_ie .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon +{ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'); +} +.cke_browser_ie.cke_rtl .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon +{ + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale'); +} +.cke_browser_ie6 .cke_skin_kama .cke_menuitem .cke_disabled .cke_icon, +.cke_browser_ie .cke_skin_kama .cke_menuitem.cke_noalphafix .cke_disabled .cke_icon +{ + filter: ; +} + .cke_skin_kama .cke_menuitem .cke_icon_wrapper { background-color: #D3D3D3; @@ -94,8 +129,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license height:19px; margin-left: 24px; background-color: #fff; - _overflow: hidden; - _width: 80px; +} +/* Set these after the document has been loaded and we know the dimensions*/ +.cke_skin_kama .cke_frameLoaded .cke_menuitem .cke_label +{ filter: alpha(opacity=70); /* IE */ opacity: 0.70; /* Safari, Opera and Mozilla */ } @@ -164,6 +201,22 @@ For licensing, see LICENSE.html or http://ckeditor.com/license background-repeat: no-repeat; } +.cke_skin_kama .cke_menuarrow span +{ + display: none; +} + +.cke_hc .cke_skin_kama .cke_menuarrow +{ + width: auto; + margin-top: 0; +} + +.cke_hc .cke_skin_kama .cke_menuarrow span +{ + display: inline; +} + /* #3766 In the context menu, long labels with second level menu get wrapped */ .cke_browser_ie.cke_ltr .cke_skin_kama .cke_menuarrow {