Move Webstore URL concepts to //extensions and out
[chromium-blink-merge.git] / chrome / browser / resources / security_warnings / interstitial_v2.css
blob1c0d0af4df3c9175cddf9fe8b07aa82fb2b31bc1
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 body {
10 background-color: #f7f7f7;
11 color: #585858;
12 font-size: 125%;
15 body.safe-browsing {
16 background-color: rgb(206, 52, 38);
17 color: white;
20 button {
21 background: rgb(76, 142, 250);
22 border: 0;
23 border-radius: 2px;
24 box-sizing: border-box;
25 color: #fff;
26 cursor: pointer;
27 float: right;
28 font-size: .875em;
29 height: 36px;
30 margin: -6px 0 0;
31 padding: 8px 24px;
32 transition: box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1);
35 [dir='rtl'] button {
36 float: left;
39 button:active {
40 background: rgb(50, 102, 213);
41 outline: 0;
44 button:hover {
45 box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
48 #details {
49 color: #696969;
50 margin: 45px 0 50px;
53 #details p:not(:first-of-type) {
54 margin-top: 20px;
57 #error-code {
58 color: black;
59 opacity: .35;
60 text-transform: uppercase;
63 h1 {
64 -webkit-margin-after: 16px;
65 color: #585858;
66 font-size: 1.6em;
67 font-weight: normal;
68 line-height: 1.25em;
71 h2 {
72 font-size: 1.2em;
73 font-weight: normal;
76 .hidden {
77 display: none;
80 .icon {
81 background-repeat: no-repeat;
82 background-size: 100%;
83 height: 72px;
84 margin: 0 0 40px;
85 width: 72px;
88 input[type=checkbox] {
89 visibility: hidden;
92 .interstitial-wrapper {
93 box-sizing: border-box;
94 font-size: 1em;
95 line-height: 1.6em;
96 margin: 100px auto 0;
97 max-width: 600px;
98 width: 100%;
101 #malware-opt-in {
102 font-size: .875em;
103 margin-top: 39px;
106 .nav-wrapper {
107 margin-top: 51px;
110 .nav-wrapper::after {
111 clear: both;
112 content: '';
113 display: table;
114 width: 100%;
117 #opt-in-label {
118 -webkit-margin-start: 32px;
121 .safe-browsing :-webkit-any(
122 a, #details, #details-button, h1, h2, p, .small-link) {
123 color: white;
126 .safe-browsing button {
127 background-color: rgb(206, 52, 38);
128 border: 1px solid white;
131 .safe-browsing button:active {
132 background-color: rgb(206, 52, 38);
133 border-color: rgba(255, 255, 255, .6);
136 .safe-browsing button:hover {
137 box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
140 .safe-browsing .icon {
141 background-image: -webkit-image-set(
142 url(images/1x/stop_sign.png) 1x,
143 url(images/2x/stop_sign.png) 2x);
146 .small-link {
147 color: #696969;
148 font-size: .875em;
151 .ssl .icon {
152 background-image: -webkit-image-set(
153 url(images/1x/brokenssl_red.png) 1x,
154 url(images/2x/brokenssl_red.png) 2x);
157 .styled-checkbox {
158 float: left;
159 height: 16px;
160 margin-top: .36em;
161 position: relative;
162 width: 16px;
165 [dir='rtl'] .styled-checkbox {
166 float: right;
169 .styled-checkbox label {
170 background: transparent;
171 border: white solid 1px;
172 border-radius: 2px;
173 height: 14px;
174 left: 0;
175 position: absolute;
176 right: 0;
177 top: 0;
178 width: 14px;
181 .styled-checkbox label::after {
182 background: transparent;
183 border: 2px solid white;
184 border-right-width: 0;
185 border-top-width: 0;
186 content: '';
187 height: 4px;
188 left: 2px;
189 opacity: 0.3;
190 position: absolute;
191 top: 3px;
192 transform: rotate(-45deg);
193 width: 9px;
196 .styled-checkbox input[type=checkbox]:checked + label::after {
197 opacity: 1;
200 @media (max-width: 700px) {
201 .interstitial-wrapper {
202 padding: 0 10%;
206 @media (max-height: 600px) {
207 .interstitial-wrapper {
208 margin-top: 13%;
212 @media (max-width: 400px) {
213 button,
214 [dir='rtl'] button {
215 float: none;
216 font-size: 1em;
217 width: 100%;
220 #details {
221 margin: 20px 0 20px 0;
224 #details p:not(:first-of-type) {
225 margin-top: 10px;
228 #details-button {
229 display: block;
230 padding-top: 14px;
231 text-align: center;
232 width: 100%;
235 .interstitial-wrapper {
236 padding: 0 5%;
239 #malware-opt-in {
240 margin-top: 24px;
243 .nav-wrapper {
244 margin-top: 30px;
247 .small-link {
248 font-size: 1em;