Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: chrome/browser/resources/security_warnings/interstitial_v2.css

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert accidental deletion (fixes failing CaptivePortal tests) Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* Copyright 2014 The Chromium Authors. All rights reserved. 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 2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. */ 3 found in the LICENSE file. */
4 4
5 a { 5 a {
6 color: #585858; 6 color: #585858;
7 } 7 }
8 8
9 .bad-clock .icon { 9 .bad-clock .icon {
10 background-image: -webkit-image-set( 10 background-image: -webkit-image-set(
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 line-height: 1.6em; 139 line-height: 1.6em;
140 margin: 100px auto 0; 140 margin: 100px auto 0;
141 max-width: 600px; 141 max-width: 600px;
142 width: 100%; 142 width: 100%;
143 } 143 }
144 144
145 #main-message > p { 145 #main-message > p {
146 display: inline; 146 display: inline;
147 } 147 }
148 148
149 #malware-opt-in { 149 #extended-reporting-opt-in {
150 font-size: .875em; 150 font-size: .875em;
151 margin-top: 39px; 151 margin-top: 39px;
152 } 152 }
153 153
154 .nav-wrapper { 154 .nav-wrapper {
155 margin-top: 51px; 155 margin-top: 51px;
156 } 156 }
157 157
158 .nav-wrapper::after { 158 .nav-wrapper::after {
159 clear: both; 159 clear: both;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 position: relative; 217 position: relative;
218 width: 16px; 218 width: 16px;
219 } 219 }
220 220
221 [dir='rtl'] .styled-checkbox { 221 [dir='rtl'] .styled-checkbox {
222 float: right; 222 float: right;
223 } 223 }
224 224
225 .styled-checkbox label { 225 .styled-checkbox label {
226 background: transparent; 226 background: transparent;
227 border: white solid 1px;
228 border-radius: 2px; 227 border-radius: 2px;
229 height: 14px; 228 height: 14px;
230 left: 0; 229 left: 0;
231 position: absolute; 230 position: absolute;
232 right: 0; 231 right: 0;
233 top: 0; 232 top: 0;
234 width: 14px; 233 width: 14px;
235 } 234 }
236 235
237 .styled-checkbox .checkbox-tick { 236 .styled-checkbox .checkbox-tick {
238 background: transparent; 237 background: transparent;
239 border: 2px solid white;
240 border-right-width: 0;
241 border-top-width: 0;
242 content: ''; 238 content: '';
243 height: 4px; 239 height: 4px;
244 left: 2px; 240 left: 2px;
245 opacity: 0; 241 opacity: 0;
246 position: absolute; 242 position: absolute;
247 top: 3px; 243 top: 3px;
248 transform: rotate(-45deg); 244 transform: rotate(-45deg);
249 width: 9px; 245 width: 9px;
250 } 246 }
251 247
248 .safe-browsing-opt-in .styled-checkbox label {
249 border: white solid 1px;
250 }
251
252 .safe-browsing-opt-in .styled-checkbox .checkbox-tick {
253 border: white solid 1px;
254 border-right-width: 0;
255 border-top-width: 0;
256 }
257
258 .ssl-opt-in .styled-checkbox label {
259 border: #696969 solid 1px;
260 }
261
262 .ssl-opt-in .styled-checkbox .checkbox-tick {
263 border: #696969 solid 1px;
264 border-right-width: 0;
265 border-top-width: 0;
266 }
267
252 .styled-checkbox input[type=checkbox]:checked ~ .checkbox-tick { 268 .styled-checkbox input[type=checkbox]:checked ~ .checkbox-tick {
253 opacity: 1; 269 opacity: 1;
254 } 270 }
255 271
256 @media (max-width: 700px) { 272 @media (max-width: 700px) {
257 .interstitial-wrapper { 273 .interstitial-wrapper {
258 padding: 0 10%; 274 padding: 0 10%;
259 } 275 }
260 276
261 #error-debugging-info { 277 #error-debugging-info {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 display: block; 313 display: block;
298 margin-top: 20px; 314 margin-top: 20px;
299 text-align: center; 315 text-align: center;
300 width: 100%; 316 width: 100%;
301 } 317 }
302 318
303 .interstitial-wrapper { 319 .interstitial-wrapper {
304 padding: 0 5%; 320 padding: 0 5%;
305 } 321 }
306 322
307 #malware-opt-in { 323 #extended-reporting-opt-in {
308 margin-top: 24px; 324 margin-top: 24px;
309 } 325 }
310 326
311 .nav-wrapper { 327 .nav-wrapper {
312 margin-top: 30px; 328 margin-top: 30px;
313 } 329 }
314 } 330 }
315 331
316 /** 332 /**
317 * Mobile specific styling. 333 * Mobile specific styling.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 } 451 }
436 452
437 .suggested-left > #control-buttons, 453 .suggested-left > #control-buttons,
438 .suggested-right > #control-buttons { 454 .suggested-right > #control-buttons {
439 float: none; 455 float: none;
440 margin: 0; 456 margin: 0;
441 } 457 }
442 } 458 }
443 459
444 @media (min-height: 400px) and (orientation:portrait) { 460 @media (min-height: 400px) and (orientation:portrait) {
445 body:not(.safe-browsing-has-checkbox) .interstitial-wrapper { 461 body:not(.extended-reporting-has-checkbox) .interstitial-wrapper {
446 margin-bottom: 145px; 462 margin-bottom: 145px;
447 } 463 }
448 } 464 }
449 465
450 @media (min-height: 299px) and (orientation:portrait) { 466 @media (min-height: 299px) and (orientation:portrait) {
451 .nav-wrapper { 467 .nav-wrapper {
452 padding-bottom: 16px; 468 padding-bottom: 16px;
453 } 469 }
454 } 470 }
455 471
(...skipping 13 matching lines...) Expand all
469 .icon { 485 .icon {
470 margin-bottom: 24px; 486 margin-bottom: 24px;
471 } 487 }
472 488
473 .nav-wrapper { 489 .nav-wrapper {
474 padding: 16px 24px 24px; 490 padding: 16px 24px 24px;
475 } 491 }
476 } 492 }
477 493
478 @media (min-height: 500px) and (max-width: 414px) and (orientation: portrait) { 494 @media (min-height: 500px) and (max-width: 414px) and (orientation: portrait) {
479 :not(.safe-browsing-has-checkbox) .interstitial-wrapper { 495 :not(.extended-reporting-has-checkbox) .interstitial-wrapper {
480 margin-top: 96px; 496 margin-top: 96px;
481 } 497 }
482 } 498 }
483 499
484 /* Phablet sizing */ 500 /* Phablet sizing */
485 @media (min-width: 375px) and (min-height: 641px) and 501 @media (min-width: 375px) and (min-height: 641px) and
486 (max-width: 414px) and (orientation: portrait) { 502 (max-width: 414px) and (orientation: portrait) {
487 button, 503 button,
488 [dir='rtl'] button, 504 [dir='rtl'] button,
489 .small-link { 505 .small-link {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 } 567 }
552 568
553 .interstitial-wrapper { 569 .interstitial-wrapper {
554 margin-bottom: 70px; 570 margin-bottom: 70px;
555 } 571 }
556 572
557 .nav-wrapper { 573 .nav-wrapper {
558 margin-top: 0; 574 margin-top: 0;
559 } 575 }
560 576
561 #malware-opt-in { 577 #extended-reporting-opt-in {
562 margin-top: 0; 578 margin-top: 0;
563 } 579 }
564 } 580 }
565 581
566 /* Phablet landscape */ 582 /* Phablet landscape */
567 @media (min-width: 680px) and (max-height: 414px) { 583 @media (min-width: 680px) and (max-height: 414px) {
568 .interstitial-wrapper { 584 .interstitial-wrapper {
569 margin: 24px auto; 585 margin: 24px auto;
570 } 586 }
571 587
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 flex: 0 1 auto; 627 flex: 0 1 auto;
612 margin-top: 8px; 628 margin-top: 8px;
613 order: 1; 629 order: 1;
614 padding-left: 0; 630 padding-left: 0;
615 padding-right: 0; 631 padding-right: 0;
616 position: relative; 632 position: relative;
617 width: 100%; 633 width: 100%;
618 } 634 }
619 } 635 }
620 636
621 /* Malware opt-in. No fixed nav. */ 637 /* Extended reporting opt-in. No fixed nav. */
622 @media (max-height: 600px) and (orientation: portrait), 638 @media (max-height: 600px) and (orientation: portrait),
623 (max-height: 360px) and (max-width: 680px) and (orientation: landscape) { 639 (max-height: 360px) and (max-width: 680px) and (orientation: landscape) {
624 .safe-browsing-has-checkbox .interstitial-wrapper { 640 .extended-reporting-has-checkbox .interstitial-wrapper {
625 display: flex; 641 display: flex;
626 flex-direction: column; 642 flex-direction: column;
627 margin-bottom: 0; 643 margin-bottom: 0;
628 } 644 }
629 645
630 .safe-browsing-has-checkbox #details { 646 .extended-reporting-has-checkbox #details {
631 flex: 1 1 auto; 647 flex: 1 1 auto;
632 order: 0; 648 order: 0;
633 } 649 }
634 650
635 .safe-browsing-has-checkbox #main-content { 651 .extended-reporting-has-checkbox #main-content {
636 flex: 1 1 auto; 652 flex: 1 1 auto;
637 order: 0; 653 order: 0;
638 } 654 }
639 655
640 .safe-browsing-has-checkbox #malware-opt-in { 656 .extended-reporting-has-checkbox #extended-reporting-opt-in {
641 margin-bottom: 8px; 657 margin-bottom: 8px;
642 } 658 }
643 659
644 body.safe-browsing-has-checkbox .nav-wrapper { 660 body.extended-reporting-has-checkbox .nav-wrapper {
645 flex: 0 1 auto; 661 flex: 0 1 auto;
646 margin-top: 0; 662 margin-top: 0;
647 order: 1; 663 order: 1;
648 padding-left: 0; 664 padding-left: 0;
649 padding-right: 0; 665 padding-right: 0;
650 position: relative; 666 position: relative;
651 width: 100%; 667 width: 100%;
652 } 668 }
653 } 669 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698