Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / security_warnings / interstitial_v2.css
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. */
4
5 a {
6   color: #585858;
7 }
8
9 body {
10   background-color: #f7f7f7;
11   color: #585858;
12   font-size: 125%;
13 }
14
15 body.safe-browsing {
16   background-color: rgb(206, 52, 38);
17   color: white;
18 }
19
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);
33 }
34
35 [dir='rtl'] button {
36   float: left;
37 }
38
39 button:active {
40   background: rgb(50, 102, 213);
41   outline: 0;
42 }
43
44 button:hover {
45   box-shadow: 0 1px 3px rgba(0, 0, 0, .50);
46 }
47
48 .debugging-content {
49   line-height: 1em;
50   margin-bottom: 0;
51   margin-top: 0;
52 }
53
54 .debugging-title {
55   font-weight: bold;
56 }
57
58 #details {
59   color: #696969;
60   margin: 45px 0 50px;
61 }
62
63 #details p:not(:first-of-type) {
64   margin-top: 20px;
65 }
66
67 #error-code {
68   color: black;
69   opacity: .35;
70   text-transform: uppercase;
71 }
72
73 #error-debugging-info {
74   font-size: 0.8em;
75 }
76
77 h1 {
78   -webkit-margin-after: 16px;
79   color: #585858;
80   font-size: 1.6em;
81   font-weight: normal;
82   line-height: 1.25em;
83 }
84
85 h2 {
86   font-size: 1.2em;
87   font-weight: normal;
88 }
89
90 .hidden {
91   display: none;
92 }
93
94 .icon {
95   background-repeat: no-repeat;
96   background-size: 100%;
97   height: 72px;
98   margin: 0 0 40px;
99   width: 72px;
100 }
101
102 input[type=checkbox] {
103   visibility: hidden;
104 }
105
106 .interstitial-wrapper {
107   box-sizing: border-box;
108   font-size: 1em;
109   line-height: 1.6em;
110   margin: 100px auto 0;
111   max-width: 600px;
112   width: 100%;
113 }
114
115 #malware-opt-in {
116   font-size: .875em;
117   margin-top: 39px;
118 }
119
120 .nav-wrapper {
121   margin-top: 51px;
122 }
123
124 .nav-wrapper::after {
125   clear: both;
126   content: '';
127   display: table;
128   width: 100%;
129 }
130
131 #opt-in-label {
132   -webkit-margin-start: 32px;
133 }
134
135 .safe-browsing :-webkit-any(
136     a, #details, #details-button, h1, h2, p, .small-link) {
137   color: white;
138 }
139
140 .safe-browsing button {
141   background-color: rgb(206, 52, 38);
142   border: 1px solid white;
143 }
144
145 .safe-browsing button:active {
146   background-color: rgb(206, 52, 38);
147   border-color: rgba(255, 255, 255, .6);
148 }
149
150 .safe-browsing button:hover {
151   box-shadow: 0 2px 3px rgba(0, 0, 0, .5);
152 }
153
154 .safe-browsing .icon {
155   background-image: -webkit-image-set(
156       url(images/1x/stop_sign.png) 1x,
157       url(images/2x/stop_sign.png) 2x);
158 }
159
160 .small-link {
161   color: #696969;
162   font-size: .875em;
163 }
164
165 .ssl .icon {
166   background-image: -webkit-image-set(
167       url(images/1x/brokenssl_red.png) 1x,
168       url(images/2x/brokenssl_red.png) 2x);
169 }
170
171 .styled-checkbox {
172   float: left;
173   height: 16px;
174   margin-top: .36em;
175   position: relative;
176   width: 16px;
177 }
178
179 [dir='rtl'] .styled-checkbox {
180   float: right;
181 }
182
183 .styled-checkbox label {
184   background: transparent;
185   border: white solid 1px;
186   border-radius: 2px;
187   height: 14px;
188   left: 0;
189   position: absolute;
190   right: 0;
191   top: 0;
192   width: 14px;
193 }
194
195 .styled-checkbox label::after {
196   background: transparent;
197   border: 2px solid white;
198   border-right-width: 0;
199   border-top-width: 0;
200   content: '';
201   height: 4px;
202   left: 2px;
203   opacity: 0.3;
204   position: absolute;
205   top: 3px;
206   transform: rotate(-45deg);
207   width: 9px;
208 }
209
210 .styled-checkbox input[type=checkbox]:checked + label::after {
211   opacity: 1;
212 }
213
214 @media (max-width: 700px) {
215   .interstitial-wrapper {
216     padding: 0 10%;
217   }
218 }
219
220 @media (max-height: 600px) {
221   .interstitial-wrapper {
222     margin-top: 13%;
223   }
224 }
225
226 @media (max-width: 400px) {
227   button,
228   [dir='rtl'] button {
229     float: none;
230     font-size: 1em;
231     width: 100%;
232   }
233
234   #details {
235     margin: 20px 0 20px 0;
236   }
237
238   #details p:not(:first-of-type) {
239     margin-top: 10px;
240   }
241
242   #details-button {
243     display: block;
244     padding-top: 14px;
245     text-align: center;
246     width: 100%;
247   }
248
249   .interstitial-wrapper {
250     padding: 0 5%;
251   }
252
253   #malware-opt-in {
254     margin-top: 24px;
255   }
256
257   .nav-wrapper {
258     margin-top: 30px;
259   }
260
261   .small-link {
262     font-size: 1em;
263   }
264 }