Give names to all utility processes.
[chromium-blink-merge.git] / chrome / browser / resources / security_warnings / interstitial_v2.css
blob4c8ccb939b60a6a2b7fd83c170d098698cf3d7d6
1 /* Copyright 2014 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */
5 a {
6 color: #585858;
9 .bad-clock .icon {
10 background-image: -webkit-image-set(
11 url(images/1x/clock.png) 1x,
12 url(images/2x/clock.png) 2x);
15 body {
16 background-color: #f7f7f7;
17 color: #646464;
20 body.safe-browsing {
21 background-color: rgb(206, 52, 38);
22 color: white;
25 button {
26 -webkit-user-select: none;
27 background: rgb(76, 142, 250);
28 border: 0;
29 border-radius: 2px;
30 box-sizing: border-box;
31 color: #fff;
32 cursor: pointer;
33 float: right;
34 font-size: .875em;
35 margin: 0;
36 padding: 10px 24px;
37 transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
40 [dir='rtl'] button {
41 float: left;
44 button:active {
45 background: rgb(50, 102, 213);
46 outline: 0;
49 button:hover {
50 box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
53 #debugging {
54 display: inline;
55 overflow: auto;
58 .debugging-content {
59 line-height: 1em;
60 margin-bottom: 0;
61 margin-top: 1em;
64 .debugging-title {
65 font-weight: bold;
68 #details {
69 color: #696969;
70 margin: 45px 0 50px;
73 #details p:not(:first-of-type) {
74 margin-top: 20px;
77 #details-button {
78 background: inherit;
79 border: 0;
80 float: none;
81 margin: 0;
82 padding: 10px 0;
83 text-decoration: underline;
86 #details-button:hover {
87 box-shadow: inherit;
90 .error-code {
91 color: #777;
92 display: inline;
93 font-size: .86667em;
94 margin-top: 15px;
95 opacity: .5;
96 text-transform: uppercase;
99 #error-debugging-info {
100 font-size: 0.8em;
103 h1 {
104 color: #333;
105 font-size: 1.6em;
106 font-weight: normal;
107 line-height: 1.25em;
108 margin-bottom: 16px;
111 h2 {
112 font-size: 1.2em;
113 font-weight: normal;
116 .hidden {
117 display: none;
120 html {
121 -webkit-text-size-adjust: 100%;
122 font-size: 125%;
125 .icon {
126 background-repeat: no-repeat;
127 background-size: 100%;
128 height: 72px;
129 margin: 0 0 40px;
130 width: 72px;
133 input[type=checkbox] {
134 visibility: hidden;
137 .interstitial-wrapper {
138 box-sizing: border-box;
139 font-size: 1em;
140 line-height: 1.6em;
141 margin: 100px auto 0;
142 max-width: 600px;
143 width: 100%;
146 #main-message > p {
147 display: inline;
150 #extended-reporting-opt-in {
151 font-size: .875em;
152 margin-top: 39px;
155 #extended-reporting-opt-in label {
156 position: relative;
159 .nav-wrapper {
160 margin-top: 51px;
163 .nav-wrapper::after {
164 clear: both;
165 content: '';
166 display: table;
167 width: 100%;
170 .safe-browsing :-webkit-any(
171 a, #details, #details-button, h1, h2, p, .small-link) {
172 color: white;
175 .safe-browsing button {
176 background-color: rgba(255, 255, 255, .15);
179 .safe-browsing button:active {
180 background-color: rgba(255, 255, 255, .25);
183 .safe-browsing button:hover {
184 box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
187 .safe-browsing .error-code {
188 display: none;
191 .safe-browsing .icon {
192 background-image: -webkit-image-set(
193 url(images/1x/stop_sign.png) 1x,
194 url(images/2x/stop_sign.png) 2x);
197 .small-link {
198 color: #696969;
199 font-size: .875em;
202 .ssl .icon {
203 background-image: -webkit-image-set(
204 url(images/1x/brokenssl_red.png) 1x,
205 url(images/2x/brokenssl_red.png) 2x);
208 .captive-portal .icon {
209 background-image: -webkit-image-set(
210 url(images/1x/captive_portal_page_icon.png) 1x,
211 url(images/2x/captive_portal_page_icon.png) 2x);
214 .checkbox {
215 background: transparent;
216 border: 1px solid white;
217 border-radius: 2px;
218 display: block;
219 height: 14px;
220 left: 0;
221 position: absolute;
222 right: 0;
223 top: -1px;
224 width: 14px;
227 .checkbox::before {
228 background: transparent;
229 border: 2px solid white;
230 border-right-width: 0;
231 border-top-width: 0;
232 content: '';
233 height: 4px;
234 left: 2px;
235 opacity: 0;
236 position: absolute;
237 top: 3px;
238 transform: rotate(-45deg);
239 width: 9px;
242 .ssl-opt-in .checkbox {
243 border-color: #696969;
246 .ssl-opt-in .checkbox::before {
247 border-color: #696969;
250 input[type=checkbox]:checked ~ .checkbox::before {
251 opacity: 1;
254 @media (max-width: 700px) {
255 .interstitial-wrapper {
256 padding: 0 10%;
259 #error-debugging-info {
260 overflow: auto;
264 @media (max-height: 600px) {
265 .error-code {
266 margin-top: 10px;
269 .interstitial-wrapper {
270 margin-top: 13%;
274 @media (max-width: 420px) {
275 button,
276 [dir='rtl'] button,
277 .small-link {
278 float: none;
279 font-size: .825em;
280 font-weight: 400;
281 margin: 0;
282 text-transform: uppercase;
283 width: 100%;
286 #details {
287 margin: 20px 0 20px 0;
290 #details p:not(:first-of-type) {
291 margin-top: 10px;
294 #details-button {
295 display: block;
296 margin-top: 20px;
297 text-align: center;
298 width: 100%;
301 .interstitial-wrapper {
302 padding: 0 5%;
305 #extended-reporting-opt-in {
306 margin-top: 24px;
309 .nav-wrapper {
310 margin-top: 30px;
315 * Mobile specific styling.
316 * Navigation buttons are anchored to the bottom of the screen.
317 * Details message replaces the top content in its own scrollable area.
320 @media (max-width: 420px) and (orientation: portrait) {
321 #details-button {
322 border: 0;
323 margin: 8px 0 0;
326 .secondary-button {
327 -webkit-margin-end: 0;
328 margin-top: 16px;
332 /* Fixed nav. */
333 @media (min-width: 240px) and (max-width: 420px) and
334 (min-height: 401px) and (orientation:portrait),
335 (min-width: 421px) and (max-width: 736px) and (min-height: 240px) and
336 (max-height: 420px) and (orientation:landscape) {
338 body .nav-wrapper {
339 background: #f7f7f7;
340 bottom: 0;
341 left: 0;
342 margin: 0;
343 max-width: 736px;
344 position: fixed;
345 z-index: 1;
348 body.safe-browsing .nav-wrapper {
349 background: rgb(206, 52, 38);
352 .interstitial-wrapper {
353 max-width: 736px;
357 @media (max-width: 420px) and (orientation: portrait),
358 (max-width: 736px) and (max-height: 420px) and (orientation: landscape) {
359 body {
360 margin: 0 auto;
363 button,
364 [dir='rtl'] button,
365 button.small-link {
366 font-family: Roboto-Regular,Helvetica;
367 font-size: .933em;
368 font-weight: 600;
369 margin: 6px 0;
370 text-transform: uppercase;
373 .nav-wrapper {
374 box-sizing: border-box;
375 padding: 16px 24px 8px;
376 width: 100%;
379 .error-code {
380 margin-top: 0;
383 #details {
384 box-sizing: border-box;
385 height: auto;
386 margin: 0;
387 opacity: 1;
388 transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
391 #details.hidden,
392 #main-content.hidden {
393 display: block;
394 height: 0;
395 opacity: 0;
396 overflow: hidden;
399 #details-button {
400 padding-bottom: 16px;
401 padding-top: 16px;
404 h1 {
405 font-size: 1.5em;
406 margin-bottom: 8px;
409 .icon {
410 margin-bottom: 12px;
413 .interstitial-wrapper {
414 box-sizing: border-box;
415 margin: 24px auto 12px;
416 padding: 0 24px;
417 position: relative;
420 .interstitial-wrapper p {
421 font-size: .95em;
422 line-height: 1.61em;
423 margin-top: 8px;
426 #main-content {
427 margin: 0;
428 transition: opacity 100ms cubic-bezier(0.4, 0, 0.2, 1);
431 .small-link {
432 border: 0;
435 .suggested-left > #control-buttons,
436 .suggested-right > #control-buttons {
437 float: none;
438 margin: 0;
442 @media (min-height: 400px) and (orientation:portrait) {
443 body:not(.extended-reporting-has-checkbox) .interstitial-wrapper {
444 margin-bottom: 145px;
448 @media (min-height: 299px) and (orientation:portrait) {
449 .nav-wrapper {
450 padding-bottom: 16px;
454 @media (min-height: 405px) and (orientation:portrait) {
455 .icon {
456 margin-bottom: 24px;
459 .interstitial-wrapper {
460 margin-top: 64px;
464 @media (min-height: 480px) and (max-width: 420px) and (orientation: portrait),
465 (min-height: 338px) and (max-height: 420px) and (max-width: 736px) and
466 (orientation: landscape) {
467 .icon {
468 margin-bottom: 24px;
471 .nav-wrapper {
472 padding: 16px 24px 24px;
476 @media (min-height: 500px) and (max-width: 414px) and (orientation: portrait) {
477 :not(.extended-reporting-has-checkbox) .interstitial-wrapper {
478 margin-top: 96px;
482 /* Phablet sizing */
483 @media (min-width: 375px) and (min-height: 641px) and
484 (max-width: 414px) and (orientation: portrait) {
485 button,
486 [dir='rtl'] button,
487 .small-link {
488 font-size: 1em;
489 padding-bottom: 12px;
490 padding-top: 12px;
493 body:not(.offline) .icon {
494 height: 80px;
495 width: 80px;
498 #details-button {
499 margin-top: 28px;
502 h1 {
503 font-size: 1.7em;
506 .icon {
507 margin-bottom: 28px;
510 .interstitial-wrapper {
511 padding: 28px;
514 .interstitial-wrapper p {
515 font-size: 1.05em;
518 .nav-wrapper {
519 padding: 28px;
523 @media (min-width: 420px) and (max-width: 736px) and
524 (min-height: 240px) and (max-height: 298px) and
525 (orientation:landscape) {
526 body:not(.offline) .icon {
527 height: 50px;
528 width: 50px;
531 .icon {
532 padding-top: 0;
535 .interstitial-wrapper {
536 margin-top: 16px;
539 .nav-wrapper {
540 padding: 0 24px 8px;
544 @media (min-width: 420px) and (max-width: 736px) and
545 (min-height: 240px) and (max-height: 420px) and
546 (orientation:landscape) {
547 #details-button {
548 margin: 0;
551 .interstitial-wrapper {
552 margin-bottom: 70px;
555 .nav-wrapper {
556 margin-top: 0;
559 #extended-reporting-opt-in {
560 margin-top: 0;
564 /* Phablet landscape */
565 @media (min-width: 680px) and (max-height: 414px) {
566 .interstitial-wrapper {
567 margin: 24px auto;
570 .nav-wrapper {
571 margin: 16px auto 0;
575 @media (max-height: 240px) and (orientation: landscape),
576 (max-height: 480px) and (orientation: portrait),
577 (max-width: 419px) and (max-height: 323px) {
578 body:not(.offline) .icon {
579 height: 56px;
580 width: 56px;
583 .icon {
584 margin-bottom: 16px;
588 /* Small mobile screens. No fixed nav. */
589 @media (max-height: 400px) and (orientation: portrait),
590 (max-height: 239px) and (orientation: landscape),
591 (max-width: 419px) and (max-height: 360px) {
592 .interstitial-wrapper {
593 display: flex;
594 flex-direction: column;
595 margin-bottom: 0;
598 #details {
599 flex: 1 1 auto;
600 order: 0;
603 #main-content {
604 flex: 1 1 auto;
605 order: 0;
608 .nav-wrapper {
609 flex: 0 1 auto;
610 margin-top: 8px;
611 order: 1;
612 padding-left: 0;
613 padding-right: 0;
614 position: relative;
615 width: 100%;
619 /* Extended reporting opt-in. No fixed nav. */
620 @media (max-height: 600px) and (orientation: portrait),
621 (max-height: 360px) and (max-width: 680px) and (orientation: landscape) {
622 .extended-reporting-has-checkbox .interstitial-wrapper {
623 display: flex;
624 flex-direction: column;
625 margin-bottom: 0;
628 .extended-reporting-has-checkbox #details {
629 flex: 1 1 auto;
630 order: 0;
633 .extended-reporting-has-checkbox #main-content {
634 flex: 1 1 auto;
635 order: 0;
638 .extended-reporting-has-checkbox #extended-reporting-opt-in {
639 margin-bottom: 8px;
642 body.extended-reporting-has-checkbox .nav-wrapper {
643 flex: 0 1 auto;
644 margin-top: 0;
645 order: 1;
646 padding-left: 0;
647 padding-right: 0;
648 position: relative;
649 width: 100%;