Changeset 5245


Ignore:
Timestamp:
03/18/10 08:38:57 (4 years ago)
Author:
garry.yao
Message:

#5119: Disabled command toolbar buttons now have hover styles.

Location:
CKEditor/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r5244 r5245  
    7171                <li><a href="http://dev.fckeditor.net/ticket/4479">#4479</a> : Style combo doesn't reflect the selection until it's first opened.</li> 
    7272                <li><a href="http://dev.fckeditor.net/ticket/4717">#4717</a> : 'Unlink' and 'Outdent' command buttons should be disabled on editor startup.</li> 
     73                <li><a href="http://dev.fckeditor.net/ticket/5119">#5119</a> : Disabled command buttons are not being properly marked when focused.</li> 
    7374        </ul> 
    7475        <h3> 
  • CKEditor/trunk/_source/skins/kama/menu.css

    r5189 r5245  
    3232{ 
    3333        border: 2px solid; 
    34 } 
    35  
    36 .cke_skin_kama .cke_menuitem a.cke_disabled:hover, 
    37 .cke_skin_kama .cke_menuitem a.cke_disabled:focus, 
    38 .cke_skin_kama .cke_menuitem a.cke_disabled:active 
    39 { 
    40         background-color: transparent !important; 
    41 } 
    42  
    43 .cke_hc .cke_menuitem a.cke_disabled:hover, 
    44 .cke_hc .cke_menuitem a.cke_disabled:focus, 
    45 .cke_hc .cke_menuitem a.cke_disabled:active 
    46 { 
    47         border-width: 0px; 
    4834} 
    4935 
  • CKEditor/trunk/_source/skins/kama/toolbar.css

    r5216 r5245  
    174174} 
    175175 
    176 .cke_skin_kama .cke_button a.cke_disabled, 
    177 .cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled 
     176.cke_skin_kama .cke_button a.cke_disabled *, 
     177.cke_skin_kama .cke_browser_ie a:hover.cke_button .cke_disabled * 
    178178{ 
    179179        filter: alpha(opacity=30); /* IE */ 
     
    181181} 
    182182 
    183 .cke_skin_kama .cke_hc .cke_button a.cke_disabled, 
    184 .cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled 
     183.cke_skin_kama .cke_hc .cke_button a.cke_disabled *, 
     184.cke_skin_kama .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled * 
    185185{ 
    186186        filter: alpha(opacity=60); 
     
    200200} 
    201201 
     202.cke_skin_kama .cke_button a:hover, 
     203.cke_skin_kama .cke_button a:focus, 
     204.cke_skin_kama .cke_button a:active     /* IE */ 
     205{ 
     206        background-color: #dff1ff; 
     207} 
     208 
    202209.cke_skin_kama .cke_button a:hover.cke_on, 
    203210.cke_skin_kama .cke_button a:focus.cke_on, 
     
    207214} 
    208215 
    209 .cke_skin_kama .cke_button a:hover.cke_off, 
    210 .cke_skin_kama .cke_button a:focus.cke_off, 
    211 .cke_skin_kama .cke_button a:active.cke_off     /* IE */ 
    212 { 
    213         background-color: #dff1ff; 
    214 } 
    215  
    216 .cke_skin_kama .cke_hc .cke_button a:hover.cke_on, 
    217 .cke_skin_kama .cke_hc .cke_button a:focus.cke_on, 
    218 .cke_skin_kama .cke_hc .cke_button a:active.cke_on,     /* IE */ 
    219 .cke_skin_kama .cke_hc .cke_button a:hover.cke_off, 
    220 .cke_skin_kama .cke_hc .cke_button a:focus.cke_off, 
    221 .cke_skin_kama .cke_hc .cke_button a:active.cke_off     /* IE */ 
     216.cke_skin_kama .cke_hc .cke_button a:hover, 
     217.cke_skin_kama .cke_hc .cke_button a:focus, 
     218.cke_skin_kama .cke_hc .cke_button a:active     /* IE */ 
    222219{ 
    223220        padding: 0 2px !important; 
  • CKEditor/trunk/_source/skins/office2003/menu.css

    r5189 r5245  
    3232{ 
    3333        border: 2px solid; 
    34 } 
    35  
    36 .cke_skin_office2003 .cke_menuitem a.cke_disabled:hover, 
    37 .cke_skin_office2003 .cke_menuitem a.cke_disabled:focus, 
    38 .cke_skin_office2003 .cke_menuitem a.cke_disabled:active 
    39 { 
    40         background-color: transparent !important; 
    41 } 
    42  
    43 .cke_hc .cke_menuitem a.cke_disabled:hover, 
    44 .cke_hc .cke_menuitem a.cke_disabled:focus, 
    45 .cke_hc .cke_menuitem a.cke_disabled:active 
    46 { 
    47         border-width: 0px; 
    4834} 
    4935 
  • CKEditor/trunk/_source/skins/office2003/toolbar.css

    r5216 r5245  
    260260} 
    261261 
    262 .cke_skin_office2003 .cke_hc .cke_button a.cke_on 
     262.cke_skin_office2003 .cke_hc .cke_button a:hover, 
     263.cke_skin_office2003 .cke_hc .cke_button a:focus, 
     264.cke_skin_office2003 .cke_hc .cke_button a:active       /* IE */ 
    263265{ 
    264266        padding: 0 2px !important; 
     
    266268} 
    267269 
    268 .cke_skin_office2003 .cke_button a.cke_disabled, 
    269 .cke_skin_office2003 .cke_button a:hover.cke_disabled, 
    270 .cke_skin_office2003 .cke_button a:focus.cke_disabled, 
    271 .cke_skin_office2003 .cke_button a:active.cke_disabled 
    272 { 
    273         border: solid 1px transparent; 
     270.cke_skin_office2003 .cke_button a.cke_disabled *, 
     271.cke_skin_office2003 .cke_browser_ie a:hover.cke_button .cke_disabled * 
     272{ 
    274273        filter: alpha(opacity=30); /* IE */ 
    275         opacity : 0.3; /* Safari, Opera and Mozilla */ 
    276         vertical-align: top; 
    277  
    278         _border: none; 
    279         _margin: 3px 1px 1px 1px; 
    280 } 
    281  
    282 .cke_skin_office2003 .cke_hc .cke_button a.cke_disabled, 
    283 .cke_skin_office2003 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled 
     274        opacity: 0.3; /* Safari, Opera and Mozilla */ 
     275} 
     276 
     277.cke_skin_office2003 .cke_hc .cke_button a.cke_disabled *, 
     278.cke_skin_office2003 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled * 
    284279{ 
    285280        filter: alpha(opacity=60); 
     
    287282} 
    288283 
    289 .cke_skin_office2003 .cke_button a:hover.cke_on, 
    290 .cke_skin_office2003 .cke_button a:focus.cke_on, 
    291 .cke_skin_office2003 .cke_button a:active.cke_on,       /* IE */ 
    292 .cke_skin_office2003 .cke_button a:hover.cke_off, 
    293 .cke_skin_office2003 .cke_button a:focus.cke_off, 
    294 .cke_skin_office2003 .cke_button a:active.cke_off       /* IE */ 
     284.cke_skin_office2003 .cke_button a:hover, 
     285.cke_skin_office2003 .cke_button a:focus, 
     286.cke_skin_office2003 .cke_button a:active       /* IE */ 
    295287{ 
    296288        border: solid 1px #316ac5; 
     
    302294        _margin: 2px 0 0 0; 
    303295        padding: 2px 4px; 
    304 } 
    305  
    306 .cke_skin_office2003 .cke_hc .cke_button a:hover.cke_on, 
    307 .cke_skin_office2003 .cke_hc .cke_button a:focus.cke_on, 
    308 .cke_skin_office2003 .cke_hc .cke_button a:active.cke_on,       /* IE */ 
    309 .cke_skin_office2003 .cke_hc .cke_button a:hover.cke_off, 
    310 .cke_skin_office2003 .cke_hc .cke_button a:focus.cke_off, 
    311 .cke_skin_office2003 .cke_hc .cke_button a:active.cke_off       /* IE */ 
    312 { 
    313         padding: 0 2px !important; 
    314         border-width: 3px; 
    315296} 
    316297 
  • CKEditor/trunk/_source/skins/v2/menu.css

    r5189 r5245  
    3232        border: 2px solid; 
    3333} 
    34  
    35 .cke_skin_v2 .cke_menuitem a.cke_disabled:hover, 
    36 .cke_skin_v2 .cke_menuitem a.cke_disabled:focus, 
    37 .cke_skin_v2 .cke_menuitem a.cke_disabled:active 
    38 { 
    39         background-color: transparent !important; 
    40 } 
    41  
    42 .cke_hc .cke_menuitem a.cke_disabled:hover, 
    43 .cke_hc .cke_menuitem a.cke_disabled:focus, 
    44 .cke_hc .cke_menuitem a.cke_disabled:active 
    45 { 
    46         border-width: 0px; 
    47 } 
    48  
    4934 
    5035.cke_skin_v2 .cke_menuitem .cke_icon 
  • CKEditor/trunk/_source/skins/v2/toolbar.css

    r5216 r5245  
    239239} 
    240240 
    241 .cke_skin_v2 .cke_hc .cke_button a.cke_on 
    242 { 
    243         padding: 0 2px !important; 
    244         border-width: 3px; 
    245 } 
    246  
    247 .cke_skin_v2 .cke_button a.cke_disabled, 
    248 .cke_skin_v2 .cke_browser_ie a:hover.cke_button .cke_disabled 
    249 { 
    250         border: solid 1px #efefde; 
    251         background-color: #efefde; 
     241.cke_skin_v2 .cke_button a.cke_disabled *, 
     242.cke_skin_v2 .cke_browser_ie a:hover.cke_button .cke_disabled * 
     243{ 
    252244        filter: alpha(opacity=30); /* IE */ 
    253         opacity : 0.3; /* Safari, Opera and Mozilla */ 
    254 } 
    255  
    256 .cke_skin_v2 .cke_hc .cke_button a.cke_disabled, 
    257 .cke_skin_v2 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled 
     245        opacity: 0.3; /* Safari, Opera and Mozilla */ 
     246} 
     247 
     248.cke_skin_v2 .cke_hc .cke_button a.cke_disabled *, 
     249.cke_skin_v2 .cke_browser_ie.cke_hc a:hover.cke_button .cke_disabled * 
    258250{ 
    259251        filter: alpha(opacity=60); 
     
    261253} 
    262254 
    263 .cke_skin_v2 .cke_button a:hover.cke_on, 
    264 .cke_skin_v2 .cke_button a:focus.cke_on, 
    265 .cke_skin_v2 .cke_button a:active.cke_on,       /* IE */ 
    266 .cke_skin_v2 .cke_button a:hover.cke_off, 
    267 .cke_skin_v2 .cke_button a:focus.cke_off, 
    268 .cke_skin_v2 .cke_button a:active.cke_off       /* IE */ 
     255.cke_skin_v2 .cke_button a:hover, 
     256.cke_skin_v2 .cke_button a:focus, 
     257.cke_skin_v2 .cke_button a:active       /* IE */ 
    269258{ 
    270259        border: solid 1px #316ac5; 
    271260        background-color: #dff1ff; 
    272         filter: alpha(opacity=100); /* IE */ 
    273         opacity: 1; /* Safari, Opera and Mozilla */ 
    274261        padding: 2px 4px; 
    275262} 
    276263 
    277 .cke_skin_v2 .cke_hc .cke_button a:hover.cke_on, 
    278 .cke_skin_v2 .cke_hc .cke_button a:focus.cke_on, 
    279 .cke_skin_v2 .cke_hc .cke_button a:active.cke_on,       /* IE */ 
    280 .cke_skin_v2 .cke_hc .cke_button a:hover.cke_off, 
    281 .cke_skin_v2 .cke_hc .cke_button a:focus.cke_off, 
    282 .cke_skin_v2 .cke_hc .cke_button a:active.cke_off       /* IE */ 
     264.cke_skin_v2 .cke_hc .cke_button a:hover, 
     265.cke_skin_v2 .cke_hc .cke_button a:focus, 
     266.cke_skin_v2 .cke_hc .cke_button a:active       /* IE */ 
    283267{ 
    284268        padding: 0 2px !important; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy