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

Side by Side Diff: chrome/browser/resources/feedback.css

Issue 10382142: whip the feedback page into shape (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: upload Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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(.image-thumbnail-container-sel ected):hover {
Dan Beam 2012/05/16 22:38:14 80 char wrap
Evan Stade 2012/05/16 23:56:24 how do you wrap a css selector?
Dan Beam 2012/05/17 05:09:05 either as you would a function or before a psuedo-
Evan Stade 2012/05/17 16:38:57 that only worked because there was already whitesp
Dan Beam 2012/05/17 17:14:37 wrapping like C++/JS functions (see #1) doesn't ch
62 border: 2px solid rgb(184, 218, 176); 65 border-color: rgb(184, 218, 176);
63 z-index: 0;
64 }
65
66 .image-popup {
67 width: 50%;
68 } 66 }
69 67
70 .image-thumbnail { 68 .image-thumbnail {
71 border: 2px solid white; 69 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 } 70 }
85 71
86 .image-thumbnail img { 72 .image-thumbnail img {
87 display: block; 73 display: block;
88 width: 200px; 74 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 } 75 }
159 76
160 #buttons-pane { 77 #buttons-pane {
161 /* Linux and Mac OS X display OK/Cancel dialogs in the reverse direction. */ 78 /* Linux and Mac OS X display OK/Cancel dialogs in the reverse direction. */
162 <if expr="not pp_ifdef('toolkit_views')"> 79 <if expr="not pp_ifdef('toolkit_views')">
163 -webkit-box-direction: reverse; 80 -webkit-box-direction: reverse;
164 </if> 81 </if>
165 display: -webkit-box; 82 display: -webkit-box;
166 padding: 0; 83 padding: 0;
167 } 84 }
168 85
169 #send-report-button,
170 #cancel-button {
171 display: block;
172 }
173
174 #privacy-note { 86 #privacy-note {
175 font-size: 90%;
176 font-weight: normal;
177 margin: 0;
178 padding-bottom: 10px; 87 padding-bottom: 10px;
179 padding-top: 24px;
180 text-align: start;
181 width: 44em; 88 width: 44em;
182 } 89 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/feedback.html » ('j') | chrome/browser/resources/feedback.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698