OLD | NEW |
1 /* Copyright 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright 2013 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 | 5 |
6 #debugging { | 6 #debugging { |
7 display: flex; | 7 display: flex; |
8 flex-flow: column; | 8 flex-flow: column; |
9 font-size: 16px; | 9 font-size: 16px; |
10 min-height: 423px; | 10 min-height: 423px; |
11 padding: 40px 17px 80px; | |
12 text-align: center; | 11 text-align: center; |
13 width: 722px; | 12 width: 722px; |
14 } | 13 } |
15 | 14 |
| 15 #debugging .step-contents { |
| 16 margin: 80px 100px; |
| 17 } |
| 18 |
| 19 #debugging.setup-view .step-contents { |
| 20 margin-bottom: 40px; |
| 21 margin-top: 40px; |
| 22 } |
| 23 |
| 24 #debugging.done-view .step-contents, |
| 25 #debugging.error-view .step-contents { |
| 26 margin: 80px; |
| 27 } |
| 28 |
16 #debugging #debugging-controls { | 29 #debugging #debugging-controls { |
17 bottom: 40px; | 30 height: auto; |
18 justify-content: center; | 31 justify-content: center; |
19 margin-top: auto; | 32 margin-top: auto; |
| 33 padding-bottom: 80px; |
| 34 padding-right: 0; |
| 35 position: static; |
| 36 } |
| 37 |
| 38 #debugging.setup-view #debugging-controls { |
| 39 padding-bottom: 40px; |
20 } | 40 } |
21 | 41 |
22 #debugging-controls button { | 42 #debugging-controls button { |
23 margin: 0 10px; | 43 margin: 0 10px; |
24 } | 44 } |
25 | 45 |
26 #debugging #debugging-warning-icon { | 46 #enable-debugging-icon { |
27 height: 112px; | 47 background-position: center; |
| 48 background-repeat: no-repeat; |
| 49 width: 100%; |
28 } | 50 } |
29 | 51 |
30 #debugging #enable-debugging-warning-msg { | 52 .remove-protection-view #enable-debugging-icon, |
31 color: #606060; | 53 .setup-view #enable-debugging-icon, |
32 font-size: 22px; | 54 .wait-view #enable-debugging-icon { |
33 padding: 5px 45px 30px; | 55 background-image: url(chrome://theme/IDR_RESET_WARNING); |
| 56 background-size: 39px 72px; |
| 57 height: 72px; |
| 58 } |
| 59 |
| 60 .done-view #enable-debugging-icon { |
| 61 background-image: url(chrome://theme/IDR_ENABLE_DEBUGGING_SUCCESS); |
| 62 background-size: 86px 66px; |
| 63 height: 66px; |
| 64 } |
| 65 |
| 66 .error-view #enable-debugging-icon { |
| 67 background-image: url(chrome://theme/IDR_ENABLE_DEBUGGING_FAILURE); |
| 68 background-size: 66px; |
| 69 height: 66px; |
| 70 } |
| 71 |
| 72 /** Preload icons */ |
| 73 #enable-debugging-icon::after { |
| 74 content: |
| 75 url(chrome://theme/IDR_RESET_WARNING) |
| 76 url(chrome://theme/IDR_ENABLE_DEBUGGING_SUCCESS) |
| 77 url(chrome://theme/IDR_ENABLE_DEBUGGING_FAILURE); |
| 78 display: none; |
| 79 } |
| 80 |
| 81 .enable-debugging-title { |
| 82 color: #464646; |
| 83 font-size: 24px; |
| 84 font-weight: bold; |
| 85 padding: 30px 45px; |
34 } | 86 } |
35 | 87 |
36 .enable-debugging-text { | 88 .enable-debugging-text { |
37 color: #606060; | 89 color: #606060; |
38 } | 90 } |
39 | 91 |
40 #debugging #debugging-warning-details, | 92 #debugging #debugging-warning-details, |
41 #debugging #debugging-done-msg { | 93 #debugging #debugging-done-msg { |
42 padding: 20px 40px 0; | 94 padding: 20px 40px 0; |
43 } | 95 } |
44 | 96 |
45 #debugging #debugging-warning-restart { | |
46 padding: 30px 40px 0; | |
47 } | |
48 | |
49 #debugging #enable-debugging-wait-msg { | 97 #debugging #enable-debugging-wait-msg { |
50 display: inline-block; | 98 display: inline-block; |
51 padding: 25px 0; | 99 padding: 25px 0; |
52 vertical-align: middle; | 100 vertical-align: middle; |
53 } | 101 } |
54 | 102 |
55 #debugging #enable-debugging-spinner { | |
56 margin-top: 0; | |
57 vertical-align: middle; | |
58 } | |
59 | |
60 #enable-debugging-passwords { | 103 #enable-debugging-passwords { |
| 104 font-style: italic; |
61 margin-bottom: 10px; | 105 margin-bottom: 10px; |
62 margin-top: 20px; | 106 margin-top: 20px; |
63 } | 107 } |
64 | 108 |
65 #enable-debugging-password-note { | 109 #enable-debugging-password-note { |
66 color: #808080; | 110 color: #c6c6c6; |
67 font-size: 12px; | 111 font-size: 12px; |
68 } | 112 } |
69 | 113 |
70 .enable-debugging-password-label { | 114 .enable-debugging-password-input { |
71 width: 200px; | 115 align-items: center; |
| 116 display: flex; |
| 117 flex-direction: column; |
| 118 margin: 10px 0; |
72 } | 119 } |
73 | 120 |
74 .enable-debugging-password-input { | 121 .enable-debugging-password-input input[type=password] { |
75 display: flex; | 122 margin: 5px 0; |
76 flex-wrap: nowrap; | 123 width: 300px; |
77 justify-content: space-around; | 124 } |
78 margin-top: 5px; | 125 |
| 126 .enable-debugging-password-input |
| 127 input[type=password]::-webkit-input-placeholder { |
| 128 font-size: 14px; |
| 129 font-style: normal; |
79 } | 130 } |
80 | 131 |
81 .done-specific, | 132 .done-specific, |
82 .error-specific, | 133 .error-specific, |
83 .remove-protection-specific, | 134 .remove-protection-specific, |
84 .setup-specific, | 135 .setup-specific, |
85 .wait-specific { | 136 .wait-specific { |
86 display: none; | 137 display: none; |
87 } | 138 } |
88 | 139 |
(...skipping 14 matching lines...) Expand all Loading... |
103 | 154 |
104 .remove-protection-view #debugging-remove-protection-button, | 155 .remove-protection-view #debugging-remove-protection-button, |
105 .remove-protection-view #debugging-cancel-button, | 156 .remove-protection-view #debugging-cancel-button, |
106 .setup-view #debugging-enable-button, | 157 .setup-view #debugging-enable-button, |
107 .setup-view #debugging-cancel-button, | 158 .setup-view #debugging-cancel-button, |
108 .done-view #debugging-ok-button, | 159 .done-view #debugging-ok-button, |
109 .error-view #debugging-ok-button { | 160 .error-view #debugging-ok-button { |
110 display: inline-block; | 161 display: inline-block; |
111 } | 162 } |
112 | 163 |
OLD | NEW |