OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 .feedback-label { | 5 #feedback-page { |
| 6 -webkit-margin-start: 80px; |
| 7 color: rgb(48, 57, 66); |
| 8 } |
| 9 |
| 10 #feedback-page > h1 { |
| 11 border-bottom: 1px solid #eee; |
| 12 font-size: 2em; |
| 13 padding-bottom: 6px; |
| 14 width: 718px; |
| 15 } |
| 16 |
| 17 #content { |
| 18 width: 600px; |
| 19 } |
| 20 |
| 21 #description { |
| 22 display: block; |
6 font-weight: 300; | 23 font-weight: 300; |
7 text-align: start; | 24 text-align: start; |
8 vertical-align: text-top; | 25 vertical-align: text-top; |
9 } | 26 } |
10 | 27 |
11 .feedback-text { | 28 #description-text { |
12 width: 40em; | 29 box-sizing: border-box; |
| 30 margin-top: 1em; |
| 31 width: 100%; |
13 } | 32 } |
14 | 33 |
15 .feedback-table { | 34 #page-url { |
16 border-spacing: 0; | 35 -webkit-box-align: baseline; |
17 width: 40em; | 36 display: -webkit-box; |
18 } | 37 } |
19 | 38 |
20 .feedback-field { | 39 #page-url > label { |
21 border-style: solid; | 40 -webkit-margin-end: 1em; |
22 border-width: 1px; | |
23 width: 22em; | |
24 } | 41 } |
25 | 42 |
26 .feedback-fieldlabel { | 43 #page-url-text { |
27 font-weight: 300; | 44 -webkit-box-flex: 1; |
28 width: 13em; | 45 display: block; |
29 } | |
30 | |
31 hr { | |
32 background: #ccc; | |
33 border: none; | |
34 height: 1px; | |
35 margin-bottom: 10px; | |
36 margin-top: 10px; | |
37 width: 40em; | |
38 } | 46 } |
39 | 47 |
40 .thumbnail-list { | 48 .thumbnail-list { |
41 -webkit-margin-start: 1em; | |
42 margin-bottom: 1em; | 49 margin-bottom: 1em; |
43 margin-top: 0.5em; | 50 margin-top: 0.5em; |
44 width: 33.5em; | 51 min-height: 151px; |
45 } | 52 } |
46 | 53 |
47 .image-thumbnail-container { | 54 .image-thumbnail-container { |
48 border: 2px solid white; | 55 border: 2px solid #ccc; |
49 border-radius: 3px; | 56 border-radius: 3px; |
50 display: inline-block; | 57 display: inline-block; |
51 z-index: 0; | |
52 } | 58 } |
53 | 59 |
54 .image-thumbnail-container-selected { | 60 .image-thumbnail-container-selected:not(:only-of-type) { |
55 border: 2px solid green; | 61 border-color: green; |
56 border-radius: 3px; | |
57 display: inline-block; | |
58 z-index: 0; | |
59 } | 62 } |
60 | 63 |
61 .image-thumbnail-container:hover { | 64 .image-thumbnail-container:not(:only-of-type):not( |
62 border: 2px solid rgb(184, 218, 176); | 65 .image-thumbnail-container-selected):hover { |
63 z-index: 0; | 66 border-color: rgb(184, 218, 176); |
64 } | |
65 | |
66 .image-popup { | |
67 width: 50%; | |
68 } | 67 } |
69 | 68 |
70 .image-thumbnail { | 69 .image-thumbnail { |
71 border: 2px solid white; | 70 border: 2px solid white; |
72 display: inline-block; | |
73 padding: 0; | |
74 position: relative; | |
75 z-index: 1; | |
76 } | |
77 | |
78 .image-thumbnail:hover { | |
79 z-index: 2; | |
80 } | |
81 | |
82 .image-thumbnail div { | |
83 display: none; | |
84 } | 71 } |
85 | 72 |
86 .image-thumbnail img { | 73 .image-thumbnail img { |
87 display: block; | 74 display: block; |
88 width: 200px; | 75 height: 140px; |
89 } | |
90 | |
91 .image-thumbnail:hover div { | |
92 background-color: transparent; | |
93 border: 1px dashed blue; | |
94 display: block; | |
95 left: 0; | |
96 padding: 1px; | |
97 position: absolute; | |
98 } | |
99 | |
100 .image-thumbnail:hover div img { | |
101 position: absolute; | |
102 width: 400px; | |
103 } | |
104 | |
105 .image-thumbnail-current { | |
106 border: 2px solid white; | |
107 display: inline-block; | |
108 padding: 0; | |
109 position: relative; | |
110 z-index: 1; | |
111 } | |
112 | |
113 .image-thumbnail-current:hover { | |
114 z-index: 2; | |
115 } | |
116 | |
117 .image-thumbnail-current div { | |
118 display: none; | |
119 } | |
120 | |
121 .image-thumbnail-current img { | |
122 display: block; | |
123 width: 200px; | |
124 } | |
125 | |
126 .image-thumbnail-current:hover div { | |
127 background-color: transparent; | |
128 border: 1px dashed blue; | |
129 display: block; | |
130 left: 0; | |
131 padding: 1px; | |
132 position: absolute; | |
133 } | |
134 | |
135 .image-thumbnail-current:hover div img { | |
136 border: 1px dashed blue; | |
137 padding: 2px; | |
138 position: absolute; | |
139 width: 400px; | |
140 } | |
141 | |
142 th { | |
143 font-weight: normal; | |
144 padding-top: 10px; | |
145 } | |
146 | |
147 .formpane { | |
148 margin-right: 20px; | |
149 } | |
150 | |
151 .feedback-input { | |
152 border-style: solid; | |
153 border-width: 1px; | |
154 } | |
155 | |
156 #user-email-text { | |
157 border: none; | |
158 } | 76 } |
159 | 77 |
160 #buttons-pane { | 78 #buttons-pane { |
161 /* Linux and Mac OS X display OK/Cancel dialogs in the reverse direction. */ | 79 /* Linux and Mac OS X display OK/Cancel dialogs in the reverse direction. */ |
162 <if expr="not pp_ifdef('toolkit_views')"> | 80 <if expr="not pp_ifdef('toolkit_views')"> |
163 -webkit-box-direction: reverse; | 81 -webkit-box-direction: reverse; |
164 </if> | 82 </if> |
165 display: -webkit-box; | 83 display: -webkit-box; |
166 padding: 0; | 84 padding: 0; |
167 } | 85 } |
168 | 86 |
169 #send-report-button, | |
170 #cancel-button { | |
171 display: block; | |
172 } | |
173 | |
174 #privacy-note { | 87 #privacy-note { |
175 font-size: 90%; | |
176 font-weight: normal; | |
177 margin: 0; | |
178 padding-bottom: 10px; | 88 padding-bottom: 10px; |
179 padding-top: 24px; | |
180 text-align: start; | |
181 width: 44em; | 89 width: 44em; |
182 } | 90 } |
OLD | NEW |