annotate core/themes/seven/css/theme/ckeditor-dialog.css @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
rev   line source
Chris@0 1 /**
Chris@0 2 * @file
Chris@0 3 * CKEditor-native dialogs theming.
Chris@0 4 */
Chris@0 5
Chris@0 6 .cke_dialog_background_cover {
Chris@0 7 display: none;
Chris@0 8 }
Chris@0 9 .cke_dialog:before {
Chris@0 10 position: fixed;
Chris@0 11 top: 0;
Chris@0 12 left: 0;
Chris@0 13 width: 100%;
Chris@0 14 height: 100%;
Chris@18 15 content: "";
Chris@18 16 opacity: 0.7;
Chris@0 17 background: #000;
Chris@0 18 }
Chris@0 19 [dir="rtl"] .cke_reset_all * {
Chris@0 20 text-align: right;
Chris@0 21 direction: rtl;
Chris@0 22 }
Chris@0 23 .cke_reset_all .cke_dialog_body {
Chris@0 24 position: relative;
Chris@0 25 border: 0;
Chris@0 26 border-radius: 0;
Chris@0 27 background: none;
Chris@0 28 }
Chris@0 29 .cke_reset_all .cke_dialog_body * {
Chris@0 30 font: 13px/1.538em "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Lucida Sans", sans-serif;
Chris@0 31 }
Chris@0 32
Chris@0 33 /* Dialog's header. */
Chris@0 34 .cke_reset_all .cke_dialog_title {
Chris@0 35 padding: 15px 49px 15px 15px;
Chris@18 36 color: #fff;
Chris@0 37 border: 0;
Chris@0 38 border-top-left-radius: 5px;
Chris@0 39 border-top-right-radius: 5px;
Chris@0 40 background: #6b6b6b;
Chris@0 41 box-shadow: none;
Chris@0 42 text-shadow: none;
Chris@18 43 font-size: 1.3344em;
Chris@18 44 font-weight: 600;
Chris@18 45 line-height: 1.315em;
Chris@0 46 -webkit-font-smoothing: antialiased;
Chris@0 47 }
Chris@0 48 [dir="rtl"] .cke_reset_all .cke_dialog_title {
Chris@0 49 padding: 15px 15px 15px 49px;
Chris@0 50 }
Chris@0 51
Chris@0 52 /* More specificity to prevent overriding in high density screens. */
Chris@0 53 .cke_reset_all .cke_dialog .cke_dialog_close_button {
Chris@0 54 top: 16px;
Chris@0 55 right: 20px;
Chris@0 56 width: 16px;
Chris@0 57 height: 16px;
Chris@18 58 opacity: 1;
Chris@0 59 background: url(../../../../misc/icons/ffffff/ex.svg) 0 0 no-repeat;
Chris@0 60 }
Chris@0 61 [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_close_button {
Chris@18 62 right: auto;
Chris@0 63 left: 20px;
Chris@0 64 }
Chris@0 65 .cke_reset_all .cke_dialog .cke_label {
Chris@0 66 display: none;
Chris@0 67 }
Chris@0 68
Chris@0 69 /* Dialog's body. */
Chris@0 70 .cke_reset_all .cke_dialog_contents {
Chris@18 71 border-bottom-right-radius: 5px;
Chris@0 72 border-bottom-left-radius: 5px;
Chris@0 73 }
Chris@0 74 .cke_reset_all .cke_dialog_contents_body {
Chris@0 75 padding: 1em;
Chris@0 76 }
Chris@0 77 .cke_reset_all tr:hover,
Chris@0 78 .cke_reset_all tr:focus {
Chris@0 79 background: none;
Chris@0 80 }
Chris@0 81 [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_first,
Chris@0 82 [dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_child {
Chris@18 83 padding-right: 0;
Chris@0 84 padding-left: 10px;
Chris@0 85 }
Chris@0 86 .cke_reset_all .cke_dialog_body label {
Chris@0 87 display: table;
Chris@0 88 margin: 0 0 0.1em;
Chris@0 89 padding: 0;
Chris@0 90 font-weight: bold;
Chris@0 91 }
Chris@0 92 .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_text,
Chris@0 93 .cke_reset_all .cke_dialog_body .cke_dialog_ui_input_textarea,
Chris@0 94 .cke_reset_all .cke_dialog_body div.cke_dialog_ui_input_select {
Chris@0 95 border: 0;
Chris@0 96 }
Chris@0 97 .cke_reset_all .cke_dialog_body textarea,
Chris@0 98 .cke_reset_all .cke_dialog_body input[type="text"],
Chris@0 99 .cke_reset_all select.cke_dialog_ui_input_select {
Chris@0 100 box-sizing: border-box;
Chris@0 101 max-width: 100%;
Chris@0 102 margin: 0 0 3px;
Chris@0 103 padding: 0.3em 0.4em 0.3em 0.5em;
Chris@18 104 -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
Chris@18 105 transition: border linear 0.2s, box-shadow linear 0.2s;
Chris@18 106 color: #595959;
Chris@0 107 border: 1px solid #b8b8b8;
Chris@0 108 border-top-color: #999;
Chris@0 109 border-radius: 2px;
Chris@18 110 background: #fcfcfa;
Chris@18 111 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
Chris@0 112 font-size: 1em;
Chris@0 113 line-height: normal;
Chris@0 114 }
Chris@0 115 .cke_reset_all select.cke_dialog_ui_input_select {
Chris@0 116 padding-right: 1.5em;
Chris@0 117 background: #fcfcfa url(../../../../misc/icons/333333/caret-down.svg) no-repeat 99% 63%;
Chris@0 118 }
Chris@0 119 .cke_reset_all .cke_dialog_body textarea:focus,
Chris@0 120 .cke_reset_all .cke_dialog_body input[type="text"]:focus,
Chris@0 121 .cke_reset_all select.cke_dialog_ui_input_select:focus {
Chris@0 122 border-color: #40b6ff;
Chris@0 123 outline: 0;
Chris@18 124 background-color: #fff;
Chris@0 125 box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
Chris@0 126 }
Chris@0 127
Chris@0 128 /* Dialog's footer. */
Chris@0 129 .cke_reset_all .cke_dialog .cke_dialog_footer {
Chris@0 130 margin: 0;
Chris@0 131 padding: 15px 20px;
Chris@18 132 text-align: left;
Chris@0 133 border: 0;
Chris@18 134 border-bottom-right-radius: 5px;
Chris@0 135 border-bottom-left-radius: 5px;
Chris@0 136 outline: none;
Chris@0 137 background: #f5f5f2;
Chris@0 138 }
Chris@0 139 [dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_footer {
Chris@0 140 text-align: right;
Chris@0 141 }
Chris@0 142 .cke_reset_all .cke_dialog .cke_resizer {
Chris@0 143 display: none;
Chris@0 144 }
Chris@0 145 .cke_reset_all .cke_dialog_footer_buttons {
Chris@0 146 margin: 0;
Chris@0 147 }
Chris@0 148 .cke_dialog_footer_buttons td {
Chris@0 149 float: right;
Chris@0 150 }
Chris@0 151 [dir="rtl"] .cke_dialog_footer_buttons td {
Chris@0 152 float: left;
Chris@0 153 }
Chris@0 154 .cke_reset_all a.cke_dialog_ui_button {
Chris@0 155 position: relative;
Chris@18 156 display: inline-block;
Chris@0 157 box-sizing: border-box;
Chris@0 158 margin-right: 1em;
Chris@0 159 padding: 4px 1.5em;
Chris@18 160 cursor: pointer;
Chris@18 161 -webkit-transition: all 0.1s;
Chris@18 162 transition: all 0.1s;
Chris@18 163 text-align: center;
Chris@18 164 text-decoration: none;
Chris@18 165 color: #333;
Chris@0 166 border: 1px solid #a6a6a6;
Chris@0 167 border-radius: 20em;
Chris@0 168 background-color: #f2f1eb;
Chris@0 169 background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df);
Chris@0 170 background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df);
Chris@0 171 text-shadow: 0 1px hsla(0, 0%, 100%, 0.6);
Chris@18 172 font-size: 14px;
Chris@18 173 font-size: 0.875rem;
Chris@18 174 font-weight: 600;
Chris@18 175 line-height: normal;
Chris@0 176 -webkit-appearance: none;
Chris@0 177 -moz-appearance: none;
Chris@0 178 -webkit-font-smoothing: antialiased;
Chris@0 179 }
Chris@0 180 [dir="rtl"] .cke_reset_all a.cke_dialog_ui_button {
Chris@18 181 margin-right: 0;
Chris@0 182 margin-left: 1em;
Chris@0 183 }
Chris@0 184
Chris@0 185 /* More specificity to prevent overriding in high contrast mode. */
Chris@0 186 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover,
Chris@0 187 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
Chris@0 188 padding: 4px 1.5em;
Chris@18 189 text-decoration: none;
Chris@18 190 color: #1a1a1a;
Chris@0 191 border: 1px solid #a6a6a6;
Chris@0 192 background-color: #f9f8f6;
Chris@0 193 background-image: -webkit-linear-gradient(top, #fcfcfa, #e9e9dd);
Chris@0 194 background-image: linear-gradient(to bottom, #fcfcfa, #e9e9dd);
Chris@14 195 box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.125);
Chris@0 196 }
Chris@0 197 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
Chris@0 198 z-index: 10;
Chris@14 199 border: 1px solid #3ab2ff;
Chris@0 200 box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7);
Chris@0 201 }
Chris@0 202 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active {
Chris@0 203 padding: 4px 1.5em;
Chris@18 204 -webkit-transition: none;
Chris@18 205 transition: none;
Chris@0 206 border: 1px solid #a6a6a6;
Chris@0 207 background-color: #dfdfd9;
Chris@0 208 background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df);
Chris@0 209 background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df);
Chris@0 210 box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2);
Chris@0 211 }
Chris@0 212 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button span {
Chris@0 213 padding: 0;
Chris@18 214 text-shadow: 0 1px hsla(0, 0%, 100%, 0.6);
Chris@0 215 font-size: 0.875rem;
Chris@0 216 line-height: normal;
Chris@0 217 }
Chris@0 218 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover span,
Chris@0 219 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus span,
Chris@0 220 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active span {
Chris@0 221 padding: 0;
Chris@0 222 }
Chris@0 223 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok {
Chris@18 224 color: #fff;
Chris@0 225 border-color: #1e5c90;
Chris@0 226 background-color: #0071b8;
Chris@0 227 background-image: -webkit-linear-gradient(top, #007bc6, #0071b8);
Chris@0 228 background-image: linear-gradient(to bottom, #007bc6, #0071b8);
Chris@0 229 text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
Chris@18 230 font-weight: 700;
Chris@0 231 -webkit-font-smoothing: antialiased;
Chris@0 232 }
Chris@0 233 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:hover,
Chris@0 234 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
Chris@18 235 color: #fff;
Chris@18 236 border-color: #1e5c90;
Chris@0 237 background-color: #2369a6;
Chris@0 238 background-image: -webkit-linear-gradient(top, #0c97ed, #1f86c7);
Chris@0 239 background-image: linear-gradient(to bottom, #0c97ed, #1f86c7);
Chris@0 240 box-shadow: 0 1px 2px hsla(203, 10%, 10%, 0.25);
Chris@0 241 }
Chris@0 242 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
Chris@0 243 border: 1px solid #1280df;
Chris@0 244 box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7);
Chris@0 245 }
Chris@0 246 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:active {
Chris@18 247 border-color: #144b78;
Chris@0 248 background-image: -webkit-linear-gradient(top, #08639b, #0071b8);
Chris@0 249 background-image: linear-gradient(to bottom, #08639b, #0071b8);
Chris@0 250 box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2);
Chris@0 251 }
Chris@0 252 .cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok span {
Chris@0 253 text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
Chris@0 254 }