X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fmenu.css;h=3f6551fa5e6f6c3d19b1acc60580cff9fa7b9cc4;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=9a05b51bcd1dd3c37918be2624687433e893b4ec;hpb=ea7e3453c7b0f023b050aca6d9f83ab372860d91;p=ckeditor.git diff --git a/_source/skins/kama/menu.css b/_source/skins/kama/menu.css index 9a05b51..3f6551f 100644 --- a/_source/skins/kama/menu.css +++ b/_source/skins/kama/menu.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, 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 {