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

Unified Diff: chrome/browser/resources/ssl/interstitial_v2.css

Issue 480393002: Move the security interstitials into a single folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ssl/interstitial_v2.css
diff --git a/chrome/browser/resources/ssl/interstitial_v2.css b/chrome/browser/resources/ssl/interstitial_v2.css
deleted file mode 100644
index df3dd2565f9c38322e48dc1d78fbece4769ce0fa..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/ssl/interstitial_v2.css
+++ /dev/null
@@ -1,261 +0,0 @@
-/* Copyright 2014 The Chromium Authors. All rights reserved.
- Use of this source code is governed by a BSD-style license that can be
- found in the LICENSE file. */
-
-a {
- color: #585858;
-}
-
-body {
- background-color: #f7f7f7;
- color: #585858;
- font-size: 125%;
-}
-
-body.safe-browsing {
- background-color: rgb(206, 52, 38);
- color: white;
-}
-
-button {
- background: rgb(76, 142, 250);
- border: 0;
- border-radius: 2px;
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- float: right;
- font-size: .875em;
- height: 36px;
- margin: -6px 0 0;
- outline: 0;
- padding: 8px 24px;
- transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
-}
-
-[dir='rtl'] button {
- float: left;
-}
-
-button:active {
- background: rgb(50, 102, 213);
-}
-
-button:hover {
- box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
-}
-
-#details {
- color: #696969;
- margin: 45px 0 50px;
-}
-
-#details p:not(:first-of-type) {
- margin-top: 20px;
-}
-
-#error-code {
- color: black;
- opacity: .35;
- text-transform: uppercase;
-}
-
-h1 {
- -webkit-margin-after: 16px;
- color: #585858;
- font-size: 1.6em;
- font-weight: normal;
- line-height: 1.25em;
-}
-
-h2 {
- font-size: 1.2em;
- font-weight: normal;
-}
-
-.hidden {
- display: none;
-}
-
-.icon {
- background-repeat: no-repeat;
- background-size: 100%;
- height: 72px;
- margin: 0 0 40px;
- width: 72px;
-}
-
-input[type=checkbox] {
- visibility: hidden;
-}
-
-.interstitial-wrapper {
- box-sizing: border-box;
- font-size: 1em;
- line-height: 1.6em;
- margin: 100px auto 0;
- max-width: 600px;
- width: 100%;
-}
-
-#malware-opt-in {
- font-size: .875em;
- margin-top: 39px;
-}
-
-.nav-wrapper {
- margin-top: 51px;
-}
-
-.nav-wrapper::after {
- clear: both;
- content: '';
- display: table;
- width: 100%;
-}
-
-#opt-in-label {
- -webkit-margin-start: 32px;
-}
-
-.safe-browsing :-webkit-any(
- a, #details, #details-button, h1, h2, p, .small-link) {
- color: white;
-}
-
-.safe-browsing button {
- background-color: rgb(206, 52, 38);
- border: 1px solid white;
-}
-
-.safe-browsing button:active {
- background-color: rgb(206, 52, 38);
- border-color: rgba(255, 255, 255, .6);
-}
-
-.safe-browsing button:hover {
- box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
-}
-
-.safe-browsing .icon {
- background-image: -webkit-image-set(
- url(../safe_browsing/images/1x/stop_sign.png) 1x,
- url(../safe_browsing/images/2x/stop_sign.png) 2x);
-}
-
-.small-link {
- color: #696969;
- font-size: .875em;
-}
-
-.ssl .icon {
- background-image: -webkit-image-set(
- url(images/1x/brokenssl_red.png) 1x,
- url(images/2x/brokenssl_red.png) 2x);
-}
-
-.styled-checkbox {
- float: left;
- height: 16px;
- margin-top: .36em;
- position: relative;
- width: 16px;
-}
-
-[dir='rtl'] .styled-checkbox {
- float: right;
-}
-
-.styled-checkbox label {
- background: transparent;
- border: white solid 1px;
- border-radius: 2px;
- height: 14px;
- left: 0;
- position: absolute;
- right: 0;
- top: 0;
- width: 14px;
-}
-
-.styled-checkbox label::after {
- background: transparent;
- border: 2px solid white;
- border-right-width: 0;
- border-top-width: 0;
- content: '';
- height: 4px;
- left: 2px;
- opacity: 0.3;
- position: absolute;
- top: 3px;
- transform: rotate(-45deg);
- width: 9px;
-}
-
-.styled-checkbox input[type=checkbox]:checked + label::after {
- opacity: 1;
-}
-
-.yellow :-webkit-any(
- a, #details, #details-button, h1, .small-link) {
- color: black;
-}
-
-.yellow .icon {
- background-image: -webkit-image-set(
- url(images/1x/brokenssl_yellow.png) 1x,
- url(images/2x/brokenssl_yellow.png) 2x);
-}
-
-@media (max-width: 700px) {
- .interstitial-wrapper {
- padding: 0 10%;
- }
-}
-
-@media (max-height: 600px) {
- .interstitial-wrapper {
- margin-top: 13%;
- }
-}
-
-@media (max-width: 400px) {
- button,
- [dir='rtl'] button {
- float: none;
- font-size: 1em;
- width: 100%;
- }
-
- #details {
- margin: 20px 0 20px 0;
- }
-
- #details p:not(:first-of-type) {
- margin-top: 10px;
- }
-
- #details-button {
- display: block;
- padding-top: 14px;
- text-align: center;
- width: 100%;
- }
-
- .interstitial-wrapper {
- padding: 0 5%;
- }
-
- #malware-opt-in {
- margin-top: 24px;
- }
-
- .nav-wrapper {
- margin-top: 30px;
- }
-
- .small-link {
- font-size: 1em;
- }
-}
« no previous file with comments | « chrome/browser/resources/ssl/images/2x/brokenssl_red.png ('k') | chrome/browser/resources/ssl/interstitial_v2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698