X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Foffice2003%2Fdialog.css;h=3eb8bb8cad887649b77b7069ee7ff2f4a67fa7d8;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=91fe47b91e84c4213cac3491fb272cbffec0fe85;hpb=f0610347140239143439a511ee2bd48cb784f470;p=ckeditor.git diff --git a/_source/skins/office2003/dialog.css b/_source/skins/office2003/dialog.css index 91fe47b..3eb8bb8 100644 --- a/_source/skins/office2003/dialog.css +++ b/_source/skins/office2003/dialog.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -25,7 +25,6 @@ body .cke_dialog /* 'cke_dialog' element has been fixed positioned in all but IE6, while we need it to be positioned to hold e.g. close button. */ - position: relative; _position: static; } @@ -43,7 +42,7 @@ body .cke_dialog /* IE6 does not support full color transparent PNG. */ _background-image: url(images/sprites_ie6.png); /* Dialog corner parts require a negative z-index to avoid covering dialog body. (#4954) */ - _z-index: -1; + z-index: -1; } .cke_skin_office2003 .cke_dialog_tl @@ -338,6 +337,19 @@ body .cke_dialog _width: 99.9%; } +/* The absolute position is required for IE7 on text inputs not to stretch dialog horizontally. (#8971)*/ +.cke_skin_office2003 .cke_browser_ie7 input.cke_dialog_ui_input_text, +.cke_skin_office2003 .cke_browser_ie7 input.cke_dialog_ui_input_password +{ + position: absolute; +} +.cke_skin_office2003 .cke_browser_ie7 div.cke_dialog_ui_input_text, +.cke_skin_office2003 .cke_browser_ie7 div.cke_dialog_ui_input_password +{ + height:14px; + position: relative; +} + /* Opera/IE doesn't leave enough padding in text input for cursor to blink in RTL. (#6087) */ .cke_skin_office2003 .cke_browser_ie.cke_rtl input.cke_dialog_ui_input_text, .cke_skin_office2003 .cke_browser_opera.cke_rtl input.cke_dialog_ui_input_text, @@ -549,15 +561,13 @@ body .cke_dialog .cke_skin_office2003 .cke_ltr a.cke_dialog_close_button { - right: 10px; - _right: 22px; + right: 22px; } .cke_skin_office2003 .cke_rtl a.cke_dialog_close_button, .cke_skin_office2003 .cke_rtl a:hover.cke_dialog_close_button { - left: 10px; - _left: 16px; + left: 16px; _top: 6px; } @@ -842,3 +852,57 @@ body .cke_dialog { margin-right: 10px; } + +/* Compensate focus outline for some input elements. (#6200) */ +.cke_skin_office2003 .cke_browser_gecko .cke_dialog_ui_checkbox_input:focus, +.cke_skin_office2003 .cke_browser_gecko .cke_dialog_ui_radio_input:focus, +.cke_skin_office2003 .cke_browser_opera .cke_dialog_ui_checkbox_input:focus, +.cke_skin_office2003 .cke_browser_opera .cke_dialog_ui_radio_input:focus, +.cke_skin_office2003 .cke_browser_gecko .cke_dialog_ui_input_select:focus, +.cke_skin_office2003 .cke_browser_gecko .cke_btn_over, +.cke_skin_office2003 .cke_browser_opera .cke_btn_over, +.cke_skin_office2003 .cke_browser_ie .cke_btn_over +{ + outline: 1px dotted #696969; +} + +/* IE<8 instead doesn't support CSS outline property, emulated with dotted border. */ + +/* Predefined border to avoid visual size change impact. */ +.cke_skin_office2003 .cke_browser_ie .cke_dialog_ui_checkbox_input, +.cke_skin_office2003 .cke_browser_ie .cke_dialog_ui_ratio_input, +.cke_skin_office2003 .cke_browser_ie .cke_btn_reset, +.cke_skin_office2003 .cke_browser_ie .cke_btn_locked, +.cke_skin_office2003 .cke_browser_ie .cke_btn_unlocked +{ + *border: 1px solid transparent !important; + /* Emulating border-color: transparent in IE6.*/ + /* Emulating border-color: transparent in IE6.*/ + -border: 1px solid red !important; + -filter: chroma(color=red); +} + +.cke_skin_office2003 .cke_browser_ie .cke_dialog_ui_focused, +.cke_skin_office2003 .cke_browser_ie .cke_btn_over +{ + *border: 1px dotted #696969 !important; +} + +.cke_skin_office2003 .cke_iframe_shim +{ + display:block; + position:absolute; + top:0; + left:0; + z-index:-1; + filter:alpha(opacity=0); + width:100%; + height:100%; +} + +.cke_dialog label +{ + display: inline; + margin-bottom: auto; + cursor: default; +}