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

Side by Side Diff: chrome/browser/resources/options/intents_view.css

Issue 7624012: First pass on intents options UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
(Empty)
1 /*
2 Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 */
6
7 /* styles for the intents list elements in intents_view.html */
8
9 #intents-column-headers {
10 position: relative;
11 width: 100%;
12 }
13
14 #intents-column-headers h3 {
15 font-size: 105%;
16 font-weight: bold;
17 margin: 10px 0;
18 }
19
20 /* notice the width and padding for these columns match up with those below */
James Hawkins 2011/08/17 03:18:39 Capitalize sentence, add period. HAE
Greg Billock 2011/08/17 18:49:50 Done.
21 #intents-site-column {
22 display: inline-block;
23 font-weight: bold;
24 width: 11em;
25 }
26
27 #intents-data-column {
28 -webkit-padding-start: 7px;
29 display: inline-block;
30 font-weight: bold;
31 }
32
33 #intents-list {
34 border: 1px solid #D9D9D9;
James Hawkins 2011/08/17 03:18:39 Lower-case letters in hex.
Greg Billock 2011/08/17 18:49:50 Done.
35 margin: 0;
36 }
37
38
39 /* enable animating the height of items */
40 list.intents-list .deletable-item {
41 -webkit-transition: height .15s ease-in-out;
42 }
43
44 /* disable webkit-box display */
45 list.intents-list .deletable-item > :first-child {
46 display: block;
47 }
48
49 /* force the X for deleting an origin to stay at the top */
50 list.intents-list > .deletable-item > .close-button {
51 position: absolute;
52 right: 2px;
James Hawkins 2011/08/17 03:18:39 RTL
Greg Billock 2011/08/17 18:49:50 The rtl is right below. I assume that's because we
53 top: 8px;
54 }
55
56 html[dir=rtl] list.intents-list > .deletable-item > .close-button {
57 left: 2px;
58 right: auto;
59 }
60
61
62 /* styles for the site (aka origin) and its summary */
63 .intents-site {
64 /* notice that the width, margin, and padding match up with those above */
65 -webkit-margin-end: 2px;
66 -webkit-padding-start: 5px;
67 display: inline-block;
68 overflow: hidden;
69 text-overflow: ellipsis;
70 width: 11em;
71 }
72
73 list.intents-list > .deletable-item[selected] .intents-site {
74 -webkit-user-select: text;
75 }
76
77 .intents-data {
78 display: inline-block;
79 }
80
81 list.intents-list > .deletable-item[selected] .intents-data {
82 -webkit-user-select: text;
83 }
84
85
86 .intents-items {
87 display: table;
88 /* notice that the margin and padding match up with those above */
89 -webkit-margin-start: 11em;
90 -webkit-padding-start: 7px;
91 -webkit-transition: .15s ease-in-out;
92 height: 0;
93 opacity: 0;
94 /* make the intents items wrap correctly */
95 white-space: normal;
96 }
97
98 .measure-items .intents-items {
99 -webkit-transition: none;
100 height: auto;
101 visibility: hidden;
102 }
103
104 .show-items .intents-items {
105 opacity: 1;
106 }
107
108 .intents-items .intents-item {
109 display: table-row;
James Hawkins 2011/08/17 03:18:39 Alphabetize
Greg Billock 2011/08/17 18:49:50 Done.
110 -webkit-box-orient: horizontal;
111 -webkit-box-pack: start;
112 background: #E0E9F5;
113 border: 1px solid #8392AE;
114 font-size: 85%;
115 height: auto;
116 margin: 2px 4px 2px 0;
117 overflow: hidden;
118 padding: 0 3px;
119 text-align: center;
120 text-overflow: ellipsis;
121 }
122
123
124 .intents-item .intents-item-action {
125 display: table-cell;
126 padding: 2px 5px 2px 5px;
127 }
128
129 .intents-item .intents-item-types {
130 display: table-cell;
131 padding: 2px 5px 2px 5px;
132 overflow: hidden;
133 }
134
135 .intents-item .intents-item-url {
136 display: table-cell;
137 text-overflow: ellipsis;
138 padding: 2px 5px 2px 5px;
139 overflow: hidden;
140 }
141
142 .intents-items .intents-item:hover {
143 background: #EEF3F9;
144 border-color: #647187;
145 }
146
147 .intents-items .intents-item[selected] {
148 background: #F5F8F8;
149 border-color: #B2B2B2;
150 }
151
152 .intents-items .intents-item[selected]:hover {
153 background: #F5F8F8;
154 border-color: #647187;
155 }
156
157
158 /* styles for the intents details box */
159 .intents-details {
160 background: #F5F8F8;
161 border-radius: 5px;
162 border: 1px solid #B2B2B2;
163 margin-top: 2px;
164 padding: 5px;
165 }
166
167 list.intents-list > .deletable-item[selected] .intents-details {
168 -webkit-user-select: text;
169 }
170
171 .intents-details-table {
172 table-layout: fixed;
173 width: 100%;
174 }
175
176 .intents-details-label {
177 vertical-align: top;
178 white-space: pre;
179 width: 10em;
180 }
181
182 .intents-details-value {
183 word-wrap: break-word;
184 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698