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

Side by Side Diff: charted/lib/charts/themes/quantum_theme.css

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
(Empty)
1
2 /*noinspection CssUnknownTarget,CssUnknownTarget*/
3 @import '//fonts.googleapis.com/css?family=Roboto:400,700';
4
5 /*
6 * Chart components layout
7 */
8
9 .chart-wrapper {
10 font-family: Roboto, sans-serif;
11 display: block;
12 }
13
14 .chart-host-wrapper {
15 display: flex;
16 width: 100%;
17 }
18
19 .chart-host {
20 display: block;
21 width: 70%;
22 }
23
24 .chart-legend-host {
25 display: block;
26 width: 30%;
27 }
28
29 /*
30 * Chart title
31 */
32
33 .chart-title-wrapper {
34 margin-bottom: 26px; /* charts adds an extra 10px */
35 }
36
37 .chart-title {
38 font-size: 16px;
39 color: #757575;
40 margin-bottom: 8px;
41 }
42
43 .chart-subtitle {
44 font-size: 14px;
45 color: #BDBDBD;
46 }
47
48 /*
49 * Styles for the SVG chart rendering
50 */
51
52 .chart-canvas {
53 font-family: Roboto, sans-serif;
54 display: block;
55 }
56
57 .chart-axis-label {
58 font-size: 12px;
59 color: #424242;
60 }
61
62 .chart-axis-label-tooltip {
63 color: white;
64 opacity: 0;
65 transition: opacity .25s;
66 background-color: black;
67 position: absolute;
68 padding: 4px;
69 border-radius: 2px;
70 z-index: 9999;
71 }
72
73 .chart-axis-text,
74 .dimension-axis-group text, .measure-axis-group text {
75 font-size: 12px;
76 fill: #757575;
77 stroke: none;
78 }
79
80 /*
81 * Styles for the legend.
82 */
83
84 .chart-legend-row,
85 .chart-legend-more {
86 width: 100%;
87 display: flex;
88 font-size: 14px;
89 margin-bottom: 16px;
90 position: relative;
91 cursor: default;
92 }
93
94 .chart-legend-title {
95 color: #838383;
96 }
97
98 .chart-legend-subtitle {
99 color: #C1C1C1;
100 }
101
102 .chart-legend-selected,
103 .chart-legend-hover {
104 color: #434343;
105 font-weight: bold;
106 }
107
108 .chart-legend-more-row {
109 white-space: nowrap;
110 display: flex;
111 font-size: 14px;
112 margin-top: 10px;
113 }
114
115 .chart-legend-more-row:first-child {
116 margin-top: 0;
117 }
118
119 .chart-legend-label {
120 overflow: hidden;
121 text-overflow: ellipsis;
122 max-width: 120px;
123 flex: 1;
124 }
125
126 .chart-legend-color,
127 .chart-legend-more-color {
128 width: 12px;
129 height: 12px;
130 margin: auto 8px;
131 border-radius: 2px;
132 }
133 .type-line-rdr > .chart-legend-color {
134 height: 4px;
135 }
136 .type-pie-rdr > .chart-legend-color {
137 border-radius: 6px;
138 }
139
140 .chart-legend-more-tooltip {
141 position: absolute;
142 left: 70px;
143 padding: 10px;
144 top: 0;
145 border-radius: 2px;
146 border: 1px solid #C1C1C1;
147 box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);
148 z-index: 9999;
149 background-color: white;
150 font-size: 14px;
151 pointer-events: none;
152 opacity: 0;
153 transition: opacity .4s;
154 }
155
156 /*
157 * Axes styles
158 */
159
160 .tick line, .domain {
161 fill: none;
162 stroke: #E0E0E0;
163 stroke-width: 1px;
164 shape-rendering: crispEdges;
165 }
166
167 .measure-axis-group .domain {
168 stroke-width: 0;
169 }
170
171 .dimension-axis-group .domain {
172 stroke: #9E9E9E;
173 }
174
175 /*
176 * Axis markers
177 */
178
179 .axis-marker {
180 stroke: #E0E0E0;
181 stroke-dasharray: 3 3;
182 }
183
184
185 /*
186 * Styles for LineChartRenderer
187 */
188
189 .line-rdr-line {
190 stroke-width: 2px;
191 transition: stroke-width .2s;
192 stroke-linecap: round;
193 }
194
195 .line-rdr-line.col-selected,
196 .line-rdr-line.col-previewed {
197 stroke-width: 4px;
198 }
199
200 .line-rdr-point {
201 opacity: 0;
202 transition: opacity .2s;
203 }
204
205 /*
206 * Styles for the tooltip.
207 */
208
209 .tooltip,
210 .hovercard {
211 opacity: 0;
212 display: flex;
213 flex-direction: column;
214 position: absolute;
215 border-radius: 2px;
216 border: 1px solid #C1C1C1;
217 padding: 16px;
218 box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);
219 z-index: 9999;
220 background-color: white;
221 font-size: 14px;
222 transition: opacity .25s;
223 pointer-events: none;
224 }
225
226 .tooltip-title,
227 .hovercard-title {
228 color: #434343;
229 font-weight: bold;
230 margin-bottom: 16px;
231 }
232
233 .hovercard-measure {
234 display: flex;
235 color: #838383;
236 }
237 .hovercard-measure.hovercard-multi {
238 flex-direction: row;
239 margin-bottom: 16px;
240 }
241 .hovercard-measure.hovercard-single {
242 flex-direction: column;
243 }
244 .hovercard-measure:last-child {
245 margin-bottom: 0;
246 }
247
248 .hovercard-single .hovercard-measure-value {
249 font-size: 24px;
250 }
251 .hovercard-multi .hovercard-measure-label {
252 padding-right: 16px;
253 flex: 1;
254 }
255
256 .tooltip-total {
257 color: #636363;
258 font-weight: bold;
259 margin-bottom: 16px;
260 }
261
262 .tooltip-item {
263 white-space: nowrap;
264 display: flex;
265 flex-direction: row;
266 justify-content: space-between;
267 color: #838383;
268 margin-bottom: 16px;
269 }
270
271 .tooltip-item:last-child {
272 margin-bottom: 0;
273 }
274
275 .tooltip .tooltip-item-value {
276 margin-left: 20px;
277 margin-right: 0;
278 }
279 .tooltip.rtl .tooltip-item-value {
280 margin-left: 0;
281 margin-right: 20px;
282 }
OLDNEW
« no previous file with comments | « charted/lib/charts/src/layout_area_impl.dart ('k') | charted/lib/charts/themes/quantum_theme.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698