X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Foffice2003%2Fdialog.css;h=f28644a51879f9b1e37af56a86842536f005f60b;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;hp=68849e0bb5cbc08d0bc4b6e23a446892dc3dda02;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/skins/office2003/dialog.css b/_source/skins/office2003/dialog.css index 68849e0..f28644a 100644 --- a/_source/skins/office2003/dialog.css +++ b/_source/skins/office2003/dialog.css @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, 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 */ @@ -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 @@ -205,6 +204,10 @@ body .cke_dialog text-align: left; } +.cke_skin_office2003 .cke_dialog_footer .cke_resizer { + margin-top: 21px; +} + /* tabs */ .cke_skin_office2003 .cke_dialog_tabs @@ -330,6 +333,21 @@ body .cke_dialog background-color: white; border: 1px solid #a0a0a0; padding: 1px 0px; + /* IE6/Quirks - make sure the content does not overflow (#7321) */ + _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) */ @@ -396,6 +414,12 @@ body .cke_dialog padding: 1px 0px; } +/* RTL + IE6: Input overflows dialog element. (#7321) */ +.cke_skin_office2003 .cke_rtl .cke_dialog_ui_labeled_content +{ + _width: 95%; +} + .cke_skin_office2003 div.cke_disabled .cke_dialog_ui_labeled_content * { background-color : #a0a0a0; @@ -537,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; } @@ -629,6 +651,10 @@ body .cke_dialog border: none 1px; font-size: 1px; } +.cke_skin_office2003 .cke_dialog a.cke_btn_locked .cke_icon +{ + display:none; +} .cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_locked, .cke_skin_office2003 .cke_rtl .cke_dialog a.cke_btn_unlocked @@ -652,7 +678,7 @@ body .cke_dialog { border : 2px ridge black; overflow : scroll; - height : 160px; + height : 210px; width : 230px; padding : 2px; background-color : white; @@ -780,6 +806,7 @@ body .cke_dialog .cke_skin_office2003 .cke_hc .cke_dialog_body .cke_label { display: inline; + cursor: inherit; } .cke_skin_office2003 .cke_hc a.cke_btn_locked, @@ -790,6 +817,11 @@ body .cke_dialog float: left; width: auto; height: auto; + padding: 0 2px; +} +.cke_skin_office2003 .cke_hc a.cke_btn_locked .cke_icon +{ + display:inline; } .cke_skin_office2003 .cke_rtl.cke_hc a.cke_btn_locked, @@ -798,3 +830,79 @@ body .cke_dialog { float: right; } + +/** + * Styles specific to "cellProperties" dialog. + */ + +.cke_skin_office2003 .cke_dialog_contents a.colorChooser +{ + display:block; + margin-top:12px; + margin-left: 10px; + width: 40px; +} + +.cke_skin_office2003 .cke_dialog_contents a.colorChooser .cke_dialog_ui_button +{ + width:100%; +} + +.cke_skin_office2003 .cke_rtl .cke_dialog_contents a.colorChooser +{ + 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; +}