Chris@0: /** Chris@0: * @file Chris@0: * CKEditor-native dialogs theming. Chris@0: */ Chris@0: Chris@0: .cke_dialog_background_cover { Chris@0: display: none; Chris@0: } Chris@0: .cke_dialog:before { Chris@0: position: fixed; Chris@0: top: 0; Chris@0: left: 0; Chris@0: width: 100%; Chris@0: height: 100%; Chris@18: content: ""; Chris@18: opacity: 0.7; Chris@0: background: #000; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all * { Chris@0: text-align: right; Chris@0: direction: rtl; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body { Chris@0: position: relative; Chris@0: border: 0; Chris@0: border-radius: 0; Chris@0: background: none; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body * { Chris@0: font: 13px/1.538em "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Lucida Sans", sans-serif; Chris@0: } Chris@0: Chris@0: /* Dialog's header. */ Chris@0: .cke_reset_all .cke_dialog_title { Chris@0: padding: 15px 49px 15px 15px; Chris@18: color: #fff; Chris@0: border: 0; Chris@0: border-top-left-radius: 5px; Chris@0: border-top-right-radius: 5px; Chris@0: background: #6b6b6b; Chris@0: box-shadow: none; Chris@0: text-shadow: none; Chris@18: font-size: 1.3344em; Chris@18: font-weight: 600; Chris@18: line-height: 1.315em; Chris@0: -webkit-font-smoothing: antialiased; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all .cke_dialog_title { Chris@0: padding: 15px 15px 15px 49px; Chris@0: } Chris@0: Chris@0: /* More specificity to prevent overriding in high density screens. */ Chris@0: .cke_reset_all .cke_dialog .cke_dialog_close_button { Chris@0: top: 16px; Chris@0: right: 20px; Chris@0: width: 16px; Chris@0: height: 16px; Chris@18: opacity: 1; Chris@0: background: url(../../../../misc/icons/ffffff/ex.svg) 0 0 no-repeat; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_close_button { Chris@18: right: auto; Chris@0: left: 20px; Chris@0: } Chris@0: .cke_reset_all .cke_dialog .cke_label { Chris@0: display: none; Chris@0: } Chris@0: Chris@0: /* Dialog's body. */ Chris@0: .cke_reset_all .cke_dialog_contents { Chris@18: border-bottom-right-radius: 5px; Chris@0: border-bottom-left-radius: 5px; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_contents_body { Chris@0: padding: 1em; Chris@0: } Chris@0: .cke_reset_all tr:hover, Chris@0: .cke_reset_all tr:focus { Chris@0: background: none; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_first, Chris@0: [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_child { Chris@18: padding-right: 0; Chris@0: padding-left: 10px; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body label { Chris@0: display: table; Chris@0: margin: 0 0 0.1em; Chris@0: padding: 0; Chris@0: font-weight: bold; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_text, Chris@0: .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_textarea, Chris@0: .cke_reset_all .cke_dialog_body div.cke_dialog_ui_input_select { Chris@0: border: 0; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body textarea, Chris@0: .cke_reset_all .cke_dialog_body input[type="text"], Chris@0: .cke_reset_all select.cke_dialog_ui_input_select { Chris@0: box-sizing: border-box; Chris@0: max-width: 100%; Chris@0: margin: 0 0 3px; Chris@0: padding: 0.3em 0.4em 0.3em 0.5em; Chris@18: -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; Chris@18: transition: border linear 0.2s, box-shadow linear 0.2s; Chris@18: color: #595959; Chris@0: border: 1px solid #b8b8b8; Chris@0: border-top-color: #999; Chris@0: border-radius: 2px; Chris@18: background: #fcfcfa; Chris@18: box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125); Chris@0: font-size: 1em; Chris@0: line-height: normal; Chris@0: } Chris@0: .cke_reset_all select.cke_dialog_ui_input_select { Chris@0: padding-right: 1.5em; Chris@0: background: #fcfcfa url(../../../../misc/icons/333333/caret-down.svg) no-repeat 99% 63%; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_body textarea:focus, Chris@0: .cke_reset_all .cke_dialog_body input[type="text"]:focus, Chris@0: .cke_reset_all select.cke_dialog_ui_input_select:focus { Chris@0: border-color: #40b6ff; Chris@0: outline: 0; Chris@18: background-color: #fff; Chris@0: box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff; Chris@0: } Chris@0: Chris@0: /* Dialog's footer. */ Chris@0: .cke_reset_all .cke_dialog .cke_dialog_footer { Chris@0: margin: 0; Chris@0: padding: 15px 20px; Chris@18: text-align: left; Chris@0: border: 0; Chris@18: border-bottom-right-radius: 5px; Chris@0: border-bottom-left-radius: 5px; Chris@0: outline: none; Chris@0: background: #f5f5f2; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_footer { Chris@0: text-align: right; Chris@0: } Chris@0: .cke_reset_all .cke_dialog .cke_resizer { Chris@0: display: none; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons { Chris@0: margin: 0; Chris@0: } Chris@0: .cke_dialog_footer_buttons td { Chris@0: float: right; Chris@0: } Chris@0: [dir="rtl"] .cke_dialog_footer_buttons td { Chris@0: float: left; Chris@0: } Chris@0: .cke_reset_all a.cke_dialog_ui_button { Chris@0: position: relative; Chris@18: display: inline-block; Chris@0: box-sizing: border-box; Chris@0: margin-right: 1em; Chris@0: padding: 4px 1.5em; Chris@18: cursor: pointer; Chris@18: -webkit-transition: all 0.1s; Chris@18: transition: all 0.1s; Chris@18: text-align: center; Chris@18: text-decoration: none; Chris@18: color: #333; Chris@0: border: 1px solid #a6a6a6; Chris@0: border-radius: 20em; Chris@0: background-color: #f2f1eb; Chris@0: background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df); Chris@0: background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df); Chris@0: text-shadow: 0 1px hsla(0, 0%, 100%, 0.6); Chris@18: font-size: 14px; Chris@18: font-size: 0.875rem; Chris@18: font-weight: 600; Chris@18: line-height: normal; Chris@0: -webkit-appearance: none; Chris@0: -moz-appearance: none; Chris@0: -webkit-font-smoothing: antialiased; Chris@0: } Chris@0: [dir="rtl"] .cke_reset_all a.cke_dialog_ui_button { Chris@18: margin-right: 0; Chris@0: margin-left: 1em; Chris@0: } Chris@0: Chris@0: /* More specificity to prevent overriding in high contrast mode. */ Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover, Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus { Chris@0: padding: 4px 1.5em; Chris@18: text-decoration: none; Chris@18: color: #1a1a1a; Chris@0: border: 1px solid #a6a6a6; Chris@0: background-color: #f9f8f6; Chris@0: background-image: -webkit-linear-gradient(top, #fcfcfa, #e9e9dd); Chris@0: background-image: linear-gradient(to bottom, #fcfcfa, #e9e9dd); Chris@14: box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.125); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus { Chris@0: z-index: 10; Chris@14: border: 1px solid #3ab2ff; Chris@0: box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active { Chris@0: padding: 4px 1.5em; Chris@18: -webkit-transition: none; Chris@18: transition: none; Chris@0: border: 1px solid #a6a6a6; Chris@0: background-color: #dfdfd9; Chris@0: background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df); Chris@0: background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df); Chris@0: box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button span { Chris@0: padding: 0; Chris@18: text-shadow: 0 1px hsla(0, 0%, 100%, 0.6); Chris@0: font-size: 0.875rem; Chris@0: line-height: normal; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover span, Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus span, Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active span { Chris@0: padding: 0; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok { Chris@18: color: #fff; Chris@0: border-color: #1e5c90; Chris@0: background-color: #0071b8; Chris@0: background-image: -webkit-linear-gradient(top, #007bc6, #0071b8); Chris@0: background-image: linear-gradient(to bottom, #007bc6, #0071b8); Chris@0: text-shadow: 0 1px hsla(0, 0%, 0%, 0.5); Chris@18: font-weight: 700; Chris@0: -webkit-font-smoothing: antialiased; Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:hover, Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus { Chris@18: color: #fff; Chris@18: border-color: #1e5c90; Chris@0: background-color: #2369a6; Chris@0: background-image: -webkit-linear-gradient(top, #0c97ed, #1f86c7); Chris@0: background-image: linear-gradient(to bottom, #0c97ed, #1f86c7); Chris@0: box-shadow: 0 1px 2px hsla(203, 10%, 10%, 0.25); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus { Chris@0: border: 1px solid #1280df; Chris@0: box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:active { Chris@18: border-color: #144b78; Chris@0: background-image: -webkit-linear-gradient(top, #08639b, #0071b8); Chris@0: background-image: linear-gradient(to bottom, #08639b, #0071b8); Chris@0: box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2); Chris@0: } Chris@0: .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok span { Chris@0: text-shadow: 0 1px hsla(0, 0%, 0%, 0.5); Chris@0: }