comparison core/misc/dialog/off-canvas.reset.css @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 1fec387a4317
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
103 #drupal-off-canvas u, 103 #drupal-off-canvas u,
104 #drupal-off-canvas ul, 104 #drupal-off-canvas ul,
105 #drupal-off-canvas var, 105 #drupal-off-canvas var,
106 #drupal-off-canvas video, 106 #drupal-off-canvas video,
107 #drupal-off-canvas xmp { 107 #drupal-off-canvas xmp {
108 border: 0;
109 margin: 0; 108 margin: 0;
110 padding: 0; 109 padding: 0;
110 border: 0;
111 font-size: 100%; 111 font-size: 100%;
112 } 112 }
113 113
114 /* 114 /*
115 * Override the default (display: inline) for browsers that do not recognize HTML5 tags. 115 * Override the default (display: inline) for browsers that do not recognize HTML5 tags.
125 #drupal-off-canvas main, 125 #drupal-off-canvas main,
126 #drupal-off-canvas menu, 126 #drupal-off-canvas menu,
127 #drupal-off-canvas nav, 127 #drupal-off-canvas nav,
128 #drupal-off-canvas section { 128 #drupal-off-canvas section {
129 display: block; 129 display: block;
130 border-radius: 0;
130 line-height: normal; 131 line-height: normal;
131 border-radius: 0;
132 } 132 }
133 133
134 /* 134 /*
135 * Makes browsers agree. 135 * Makes browsers agree.
136 * IE + Opera = font-weight: bold. 136 * IE + Opera = font-weight: bold.
145 #drupal-off-canvas i { 145 #drupal-off-canvas i {
146 font-style: italic; 146 font-style: italic;
147 } 147 }
148 148
149 #drupal-off-canvas img { 149 #drupal-off-canvas img {
150 vertical-align: middle;
150 color: transparent; 151 color: transparent;
151 font-size: 0; 152 font-size: 0;
152 vertical-align: middle;
153 } 153 }
154 154
155 #drupal-off-canvas ul, 155 #drupal-off-canvas ul,
156 #drupal-off-canvas ol { 156 #drupal-off-canvas ol {
157 list-style: none; 157 list-style: none;
158 } 158 }
159 159
160 /* reset table styling. */ 160 /* reset table styling. */
161 #drupal-off-canvas table { 161 #drupal-off-canvas table {
162 border-spacing: 0;
162 border-collapse: collapse; 163 border-collapse: collapse;
163 border-spacing: 0;
164 } 164 }
165 #drupal-off-canvas table thead, 165 #drupal-off-canvas table thead,
166 #drupal-off-canvas table tbody, 166 #drupal-off-canvas table tbody,
167 #drupal-off-canvas table tbody tr:nth-child(even), 167 #drupal-off-canvas table tbody tr:nth-child(even),
168 #drupal-off-canvas table tbody tr:nth-child(odd), 168 #drupal-off-canvas table tbody tr:nth-child(odd),
187 #drupal-off-canvas small { 187 #drupal-off-canvas small {
188 font-size: 75%; 188 font-size: 75%;
189 } 189 }
190 #drupal-off-canvas sub, 190 #drupal-off-canvas sub,
191 #drupal-off-canvas sup { 191 #drupal-off-canvas sup {
192 line-height: 0;
193 position: relative; 192 position: relative;
194 vertical-align: baseline; 193 vertical-align: baseline;
194 line-height: 0;
195 } 195 }
196 #drupal-off-canvas sub { 196 #drupal-off-canvas sub {
197 bottom: -0.25em; 197 bottom: -0.25em;
198 } 198 }
199 #drupal-off-canvas sup { 199 #drupal-off-canvas sup {
233 #drupal-off-canvas input[type="file"]:active, 233 #drupal-off-canvas input[type="file"]:active,
234 #drupal-off-canvas input[type="radio"]:focus, 234 #drupal-off-canvas input[type="radio"]:focus,
235 #drupal-off-canvas input[type="radio"]:active, 235 #drupal-off-canvas input[type="radio"]:active,
236 #drupal-off-canvas input[type="checkbox"]:focus, 236 #drupal-off-canvas input[type="checkbox"]:focus,
237 #drupal-off-canvas input[type="checkbox"]:active { 237 #drupal-off-canvas input[type="checkbox"]:active {
238 z-index: 1;
238 box-shadow: none; 239 box-shadow: none;
239 z-index: 1;
240 } 240 }
241 #drupal-off-canvas input[role="button"] { 241 #drupal-off-canvas input[role="button"] {
242 cursor: pointer; 242 cursor: pointer;
243 } 243 }
244 #drupal-off-canvas button, 244 #drupal-off-canvas button,
245 #drupal-off-canvas input[type="reset"], 245 #drupal-off-canvas input[type="reset"],
246 #drupal-off-canvas input[type="submit"], 246 #drupal-off-canvas input[type="submit"],
247 #drupal-off-canvas input[type="button"] { 247 #drupal-off-canvas input[type="button"] {
248 display: inline-block;
249 overflow: visible;
250 cursor: pointer;
251 vertical-align: middle;
252 text-decoration: none;
253 border: 0;
254 outline: 0;
255 background-image: none;
256 text-shadow: none;
248 -webkit-appearance: none; 257 -webkit-appearance: none;
249 -moz-appearance: none; 258 -moz-appearance: none;
250 display: inline-block;
251 background-image: none;
252 border: 0;
253 outline: 0;
254 overflow: visible;
255 text-shadow: none;
256 text-decoration: none;
257 vertical-align: middle;
258 cursor: pointer;
259 } 259 }
260 #drupal-off-canvas button:hover, 260 #drupal-off-canvas button:hover,
261 #drupal-off-canvas input[type="reset"]:hover, 261 #drupal-off-canvas input[type="reset"]:hover,
262 #drupal-off-canvas input[type="submit"]:hover, 262 #drupal-off-canvas input[type="submit"]:hover,
263 #drupal-off-canvas input[type="button"]:hover { 263 #drupal-off-canvas input[type="button"]:hover {
264 text-decoration: none;
264 background-image: none; 265 background-image: none;
265 text-decoration: none;
266 } 266 }
267 #drupal-off-canvas button:active, 267 #drupal-off-canvas button:active,
268 #drupal-off-canvas input[type="reset"]:active, 268 #drupal-off-canvas input[type="reset"]:active,
269 #drupal-off-canvas input[type="submit"]:active, 269 #drupal-off-canvas input[type="submit"]:active,
270 #drupal-off-canvas input[type="button"]:active { 270 #drupal-off-canvas input[type="button"]:active {
271 border-color: grey;
271 background-image: none; 272 background-image: none;
272 box-shadow: none; 273 box-shadow: none;
273 border-color: grey;
274 } 274 }
275 #drupal-off-canvas button::-moz-focus-inner, 275 #drupal-off-canvas button::-moz-focus-inner,
276 #drupal-off-canvas input[type="reset"]::-moz-focus-inner, 276 #drupal-off-canvas input[type="reset"]::-moz-focus-inner,
277 #drupal-off-canvas input[type="submit"]::-moz-focus-inner, 277 #drupal-off-canvas input[type="submit"]::-moz-focus-inner,
278 #drupal-off-canvas input[type="button"]::-moz-focus-inner { 278 #drupal-off-canvas input[type="button"]::-moz-focus-inner {
279 border: 0; 279 padding: 0;
280 padding: 0; 280 border: 0;
281 } 281 }
282 #drupal-off-canvas textarea, 282 #drupal-off-canvas textarea,
283 #drupal-off-canvas select, 283 #drupal-off-canvas select,
284 #drupal-off-canvas input[type="date"], 284 #drupal-off-canvas input[type="date"],
285 #drupal-off-canvas input[type="datetime"], 285 #drupal-off-canvas input[type="datetime"],
322 #drupal-off-canvas input[disabled], 322 #drupal-off-canvas input[disabled],
323 #drupal-off-canvas select[disabled], 323 #drupal-off-canvas select[disabled],
324 #drupal-off-canvas select[disabled] option, 324 #drupal-off-canvas select[disabled] option,
325 #drupal-off-canvas select[disabled] optgroup, 325 #drupal-off-canvas select[disabled] optgroup,
326 #drupal-off-canvas textarea[disabled] { 326 #drupal-off-canvas textarea[disabled] {
327 box-shadow: none; 327 cursor: default;
328 -webkit-user-select: none; 328 -webkit-user-select: none;
329 -moz-user-select: none; 329 -moz-user-select: none;
330 -ms-user-select: none; 330 -ms-user-select: none;
331 user-select: none; 331 user-select: none;
332 cursor: default; 332 box-shadow: none;
333 } 333 }
334 #drupal-off-canvas input:placeholder, 334 #drupal-off-canvas input:placeholder,
335 #drupal-off-canvas textarea:placeholder { 335 #drupal-off-canvas textarea:placeholder {
336 color: grey; 336 color: grey;
337 } 337 }
343 #drupal-off-canvas select[size="0"], 343 #drupal-off-canvas select[size="0"],
344 #drupal-off-canvas select[size="1"] { 344 #drupal-off-canvas select[size="1"] {
345 height: auto; 345 height: auto;
346 } 346 }
347 #drupal-off-canvas textarea { 347 #drupal-off-canvas textarea {
348 overflow: auto;
349 width: 100%;
348 min-height: 40px; 350 min-height: 40px;
349 overflow: auto;
350 resize: vertical; 351 resize: vertical;
351 width: 100%;
352 } 352 }
353 #drupal-off-canvas optgroup { 353 #drupal-off-canvas optgroup {
354 color: black; 354 color: black;
355 font-weight: normal;
355 font-style: normal; 356 font-style: normal;
356 font-weight: normal;
357 } 357 }
358 #drupal-off-canvas optgroup::-moz-focus-inner { 358 #drupal-off-canvas optgroup::-moz-focus-inner {
359 border: 0; 359 padding: 0;
360 padding: 0; 360 border: 0;
361 } 361 }
362 #drupal-off-canvas * button { 362 #drupal-off-canvas * button {
363 overflow: visible;
364 width: auto;
365 padding: 0;
366 vertical-align: middle;
367 text-decoration: none;
368 color: black;
369 border: 1px solid grey;
363 background: none; 370 background: none;
364 border: 1px solid grey;
365 color: black;
366 padding: 0;
367 text-decoration: none;
368 overflow: visible;
369 vertical-align: middle;
370 width: auto;
371 } 371 }
372 #drupal-off-canvas * textarea, 372 #drupal-off-canvas * textarea,
373 #drupal-off-canvas * select, 373 #drupal-off-canvas * select,
374 #drupal-off-canvas *:not(div) textarea, 374 #drupal-off-canvas *:not(div) textarea,
375 #drupal-off-canvas *:not(div) select { 375 #drupal-off-canvas *:not(div) select {
376 padding: 0;
377 vertical-align: top;
378 color: black;
379 border: 1px solid grey;
376 background: white; 380 background: white;
377 border: 1px solid grey;
378 color: black;
379 padding: 0;
380 vertical-align: top;
381 } 381 }
382 382
383 /* To standardize off-canvas selection color. */ 383 /* To standardize off-canvas selection color. */
384 #drupal-off-canvas ::-moz-selection, 384 #drupal-off-canvas ::-moz-selection,
385 #drupal-off-canvas ::selection { 385 #drupal-off-canvas ::selection {
386 color: inherit;
386 background-color: rgba(175, 175, 175, 0.5); 387 background-color: rgba(175, 175, 175, 0.5);
387 color: inherit; 388 }
388 }