UNPKG

15.9 kBCSSView Raw
1/*
2 * Power BI Visualizations
3 *
4 * Copyright (c) Microsoft Corporation
5 * All rights reserved.
6 * MIT License
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the ""Software""), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26* {
27 -webkit-tap-highlight-color: white;
28 /* make transparent link selection, adjust last value opacity 0 to 1.0 */
29 -webkit-tap-highlight-color: transparent;
30 /* For some Androids */
31}
32body {
33 -webkit-touch-callout: none;
34 -webkit-text-size-adjust: none;
35 -moz-text-size-adjust: none;
36 -ms-text-size-adjust: none;
37 -webkit-user-select: none;
38 -moz-user-select: none;
39 -ms-user-select: none;
40 -o-user-select: none;
41 user-select: none;
42 margin: 0;
43 padding: 0;
44 font-family: Helvetica, Arial, sans-serif;
45 background-color: #f2f2f2;
46 /* creating donutChart slices classes, to disable the hover defined by the web */
47}
48body h4 {
49 margin-bottom: 12px;
50 line-height: 16px;
51 font-size: 18px;
52 font-weight: bold;
53 color: #353535;
54 margin-top: 20px;
55}
56body .left-margin {
57 margin-right: 184px;
58}
59body button:active,
60body select:active,
61body input[type=checkbox]:active,
62body input[type=radio]:active,
63body input[type=text]:active,
64body button:checked,
65body select:checked,
66body input[type=checkbox]:checked,
67body input[type=radio]:checked,
68body input[type=text]:checked,
69body button:focus,
70body select:focus,
71body input[type=checkbox]:focus,
72body input[type=radio]:focus,
73body input[type=text]:focus,
74body button:hover,
75body select:hover,
76body input[type=checkbox]:hover,
77body input[type=radio]:hover,
78body input[type=text]:hover {
79 outline: none;
80}
81body span.subtitle {
82 display: block;
83 font-size: 12px;
84 font-weight: bolder;
85 color: #353535;
86}
87body header {
88 background-color: #f2c811;
89 height: 66px;
90}
91body header img {
92 margin-top: 17px;
93}
94body nav {
95 background-color: #ffffff;
96 height: 50px;
97 margin-bottom: 33px;
98}
99body nav .nav-tab {
100 display: inline-block;
101 vertical-align: top;
102 margin: 17px 0px 0px 0px;
103 padding: 0px;
104 border: none;
105 background: none;
106}
107body nav .nav-tab:hover {
108 background: none;
109 border: none;
110}
111body nav .nav-tab div img {
112 margin-left: 4px;
113 vertical-align: middle;
114}
115body nav .nav-tab div span {
116 line-height: 15px;
117 vertical-align: middle;
118}
119body nav .first-nav-tab {
120 display: inline-block;
121 vertical-align: top;
122 margin: 17px 0px 0px 0px;
123 padding: 0px;
124 border: none;
125 background: none;
126 margin-right: 184px;
127 margin-top: 18px;
128}
129body nav .first-nav-tab:hover {
130 background: none;
131 border: none;
132}
133body nav .first-nav-tab div img {
134 margin-left: 4px;
135 vertical-align: middle;
136}
137body nav .first-nav-tab div span {
138 line-height: 15px;
139 vertical-align: middle;
140}
141body nav .selected-nav-tab {
142 border-top: none;
143 border-left: none;
144 border-right: none;
145 border-bottom: 3px solid #CCC;
146 padding-bottom: 12px;
147}
148body nav #tabSeparator {
149 display: inline-block;
150 vertical-align: top;
151 border-left: 1px solid #CCC;
152 margin: 19px 15px 0px 15px;
153 height: 17px;
154}
155body section#sample,
156body section#controls {
157 display: inline-block;
158 float: right;
159}
160body section#controls {
161 width: 287px;
162}
163body section#controls select {
164 height: 30px;
165}
166body section#controls button {
167 background-color: #f2c811;
168 border: none;
169 color: #000;
170 height: 34px;
171 font-weight: 600;
172}
173body section#controls button:hover,
174body section#controls button:focus {
175 border: solid 2px #000;
176}
177body section#controls button:active {
178 background-color: #CDA521;
179}
180body section#controls #visualTypes,
181body section#controls #dataViewsSelect {
182 width: 100%;
183}
184body section#controls #dataViewsSelect {
185 margin-top: 10px;
186 margin-bottom: 10px;
187}
188body section#controls .optionsInnerSection {
189 border-bottom: 1px solid #CCC;
190}
191body section#controls #visualType {
192 padding-bottom: 18px;
193}
194body section#controls #orientation {
195 padding-bottom: 11px;
196}
197body section#controls #dataViewSelection {
198 margin-top: 9px;
199}
200body section#controls #dataViewSelection button {
201 margin-top: 2px;
202}
203body section#controls #randomize {
204 width: 120px;
205}
206body section#controls #capabilities {
207 margin-top: 26px;
208}
209body section#controls #capabilities span.subtitle {
210 margin-bottom: 9px;
211}
212body section#controls #capabilities div {
213 margin-bottom: 7px;
214}
215body section#controls #capabilities div span {
216 font-size: 12px;
217 font-weight: normal;
218 padding-right: 21px;
219 padding-left: 4px;
220}
221body section#controls #capabilities div input[name="animation_duration"] {
222 width: 40px;
223 height: 13px;
224}
225body section#controls .input-container {
226 position: relative;
227 margin-bottom: 7px;
228}
229body section#controls .input-container input[type=checkbox],
230body section#controls .input-container input[type=radio] {
231 opacity: 0;
232 position: absolute;
233 right: -20px;
234 z-index: 12;
235 width: 100%;
236 height: 18px;
237 color: #C8C8C8;
238}
239body section#controls .input-container input + label {
240 position: relative;
241 z-index: 11;
242 display: inline-block;
243 margin: 0px;
244 min-width: 14px;
245 font-weight: normal;
246 padding-right: 20px;
247 font-size: 12px;
248}
249body section#controls .input-container input + label:before,
250body section#controls .input-container input + label:after {
251 margin-right: -20px;
252 margin-left: 4px;
253 padding: 0;
254 position: absolute;
255 margin-top: 0;
256 text-align: center;
257}
258body section#controls .input-container input + label:before {
259 border-radius: 50%;
260 width: 13px;
261 height: 13px;
262 border: 2px solid #C8C8C8;
263 content: "";
264 top: 0px;
265}
266body section#controls .input-container input + label:after {
267 font-size: 6px;
268 font-weight: 900;
269 content: "";
270}
271body section#controls .input-container input[type=radio]:checked + label:after {
272 content: "";
273 font-size: 5px;
274 top: 4px;
275 right: 24px;
276 border-radius: 50%;
277 border: 0;
278 width: 5px;
279 height: 5px;
280 background-color: #000;
281}
282body section#controls .input-container input[type=radio]:checked + label:before {
283 border-color: #F2C811;
284}
285body section#controls .input-container input[type=radio] + label:before {
286 box-sizing: border-box;
287}
288body section#controls .input-container input[type=checkbox] + label:before {
289 border-radius: 0;
290 content: "";
291 width: 10px;
292 height: 10px;
293}
294body section#controls .input-container input[type=checkbox]:checked + label:before {
295 border-color: #F2C811;
296 background-color: #F2C811;
297}
298body section#controls .input-container input[type=checkbox]:checked + label:after {
299 content: "\2713";
300 font-size: 11px;
301 right: 21.5px;
302 top: 0px;
303 color: #000;
304}
305body section#sample {
306 padding-right: 119px;
307 padding-top: 20px;
308}
309body section#sample .container {
310 display: block;
311 border: 1px solid #CCC;
312 overflow: hidden;
313 background-color: white;
314 position: relative;
315}
316body section#sample .container .visual {
317 overflow: hidden;
318 padding: 10px;
319 width: 100%;
320 height: 100%;
321}
322body section#sample .container .visual .legend {
323 top: 8px !important;
324}
325body section#sample .container .visual .legendText {
326 fill: black;
327}
328body section#sample .scaled-container {
329 width: 100%;
330 height: 100%;
331 overflow: visible;
332}
333body section#sample #webContainer {
334 height: 500px;
335 width: 700px;
336}
337body section#sample .mobile-portrait-image-container {
338 display: inline-block;
339 width: 230px;
340 margin-left: 40px;
341}
342body section#sample .mobile-landscape-image-container {
343 display: block;
344 width: 421px;
345 margin-bottom: 45px;
346}
347body section#sample .mobile-portrait-image-container .mobile-view-title,
348body section#sample .mobile-landscape-image-container .mobile-view-title {
349 margin-bottom: 10px;
350}
351body section#sample .mobile-portrait-image-container .mobile-image,
352body section#sample .mobile-landscape-image-container .mobile-image {
353 position: absolute;
354 z-index: -1;
355}
356body section#sample .mobile-portrait-container {
357 position: absolute;
358 width: 188px;
359 height: 317px;
360}
361body section#sample .mobile-portrait-dashboard-container {
362 position: absolute;
363 width: 188px;
364 height: 317px;
365 padding-top: 72px;
366 padding-right: 31px;
367}
368body section#sample .mobile-portrait-in-focus-container {
369 position: absolute;
370 width: 188px;
371 height: 317px;
372 padding-top: 52px;
373 padding-right: 20px;
374}
375body section#sample .dashboard-portrait-tile {
376 display: block;
377 border: 1px solid #CCC;
378 overflow: hidden;
379 background-color: white;
380 position: relative;
381 height: 88px;
382 width: 160px;
383 margin-bottom: 4px;
384}
385body section#sample .dashboard-portrait-tile .visual {
386 overflow: hidden;
387 padding: 10px;
388 width: 100%;
389 height: 100%;
390}
391body section#sample .dashboard-portrait-tile .visual .legend {
392 top: 8px !important;
393}
394body section#sample .dashboard-portrait-tile .visual .legendText {
395 fill: black;
396}
397body section#sample .in-focus-portrait-tile {
398 display: block;
399 border: 1px solid #CCC;
400 overflow: hidden;
401 background-color: white;
402 position: relative;
403 height: 315px;
404 width: 185px;
405 border: 0px;
406}
407body section#sample .in-focus-portrait-tile .visual {
408 overflow: hidden;
409 padding: 10px;
410 width: 100%;
411 height: 100%;
412}
413body section#sample .in-focus-portrait-tile .visual .legend {
414 top: 8px !important;
415}
416body section#sample .in-focus-portrait-tile .visual .legendText {
417 fill: black;
418}
419body section#sample .mobile-landscape-dashboard-container {
420 padding-top: 25px;
421 padding-right: 58px;
422}
423body section#sample .mobile-landscape-dashboard-column {
424 display: inline-block;
425 vertical-align: top;
426}
427body section#sample .dashboard-landscape-tile {
428 border: 1px solid #CCC;
429 overflow: hidden;
430 background-color: white;
431 position: relative;
432 display: block;
433 margin-bottom: 4px;
434}
435body section#sample .dashboard-landscape-tile .visual {
436 overflow: hidden;
437 padding: 10px;
438 width: 100%;
439 height: 100%;
440}
441body section#sample .dashboard-landscape-tile .visual .legend {
442 top: 8px !important;
443}
444body section#sample .dashboard-landscape-tile .visual .legendText {
445 fill: black;
446}
447body section#sample .dashboard-landscape-tile-2x2 {
448 border: 1px solid #CCC;
449 overflow: hidden;
450 background-color: white;
451 position: relative;
452 display: block;
453 margin-bottom: 4px;
454 width: 110px;
455 height: 70px;
456}
457body section#sample .dashboard-landscape-tile-2x2 .visual {
458 overflow: hidden;
459 padding: 10px;
460 width: 100%;
461 height: 100%;
462}
463body section#sample .dashboard-landscape-tile-2x2 .visual .legend {
464 top: 8px !important;
465}
466body section#sample .dashboard-landscape-tile-2x2 .visual .legendText {
467 fill: black;
468}
469body section#sample .dashboard-landscape-tile-2x2-first-column-last-tile {
470 border: 1px solid #CCC;
471 overflow: hidden;
472 background-color: white;
473 position: relative;
474 display: block;
475 margin-bottom: 4px;
476 width: 110px;
477 height: 70px;
478 height: 22px;
479}
480body section#sample .dashboard-landscape-tile-2x2-first-column-last-tile .visual {
481 overflow: hidden;
482 padding: 10px;
483 width: 100%;
484 height: 100%;
485}
486body section#sample .dashboard-landscape-tile-2x2-first-column-last-tile .visual .legend {
487 top: 8px !important;
488}
489body section#sample .dashboard-landscape-tile-2x2-first-column-last-tile .visual .legendText {
490 fill: black;
491}
492body section#sample .dashboard-landscape-tile-3x3 {
493 width: 185px;
494 height: 100px;
495 border: 1px solid #CCC;
496 overflow: hidden;
497 background-color: white;
498 position: relative;
499 display: block;
500 margin-bottom: 4px;
501}
502body section#sample .dashboard-landscape-tile-3x3 .visual {
503 overflow: hidden;
504 padding: 10px;
505 width: 100%;
506 height: 100%;
507}
508body section#sample .dashboard-landscape-tile-3x3 .visual .legend {
509 top: 8px !important;
510}
511body section#sample .dashboard-landscape-tile-3x3 .visual .legendText {
512 fill: black;
513}
514body section#sample .dashboard-landscape-tile-2x2-second-column-last-tile {
515 border: 1px solid #CCC;
516 overflow: hidden;
517 background-color: white;
518 position: relative;
519 display: block;
520 margin-bottom: 4px;
521 width: 110px;
522 height: 70px;
523 width: 68px;
524}
525body section#sample .dashboard-landscape-tile-2x2-second-column-last-tile .visual {
526 overflow: hidden;
527 padding: 10px;
528 width: 100%;
529 height: 100%;
530}
531body section#sample .dashboard-landscape-tile-2x2-second-column-last-tile .visual .legend {
532 top: 8px !important;
533}
534body section#sample .dashboard-landscape-tile-2x2-second-column-last-tile .visual .legendText {
535 fill: black;
536}
537body section#sample .mobile-landscape-dashboard-last-line {
538 vertical-align: top;
539}
540body section#sample .mobile-landscape-dashboard-last-line .dashboard-landscape-tile-2x2,
541body section#sample .mobile-landscape-dashboard-last-line .dashboard-landscape-tile-2x2-second-column-last-tile {
542 display: inline-block;
543 height: 68px;
544}
545body section#sample .mobile-landscape-in-focus-container {
546 padding-top: 19px;
547 padding-right: 51px;
548}
549body section#sample .in-focus-landscape-tile {
550 display: block;
551 border: 1px solid #CCC;
552 overflow: hidden;
553 background-color: white;
554 position: relative;
555 height: 185px;
556 width: 315px;
557 border: 0px;
558}
559body section#sample .in-focus-landscape-tile .visual {
560 overflow: hidden;
561 padding: 10px;
562 width: 100%;
563 height: 100%;
564}
565body section#sample .in-focus-landscape-tile .visual .legend {
566 top: 8px !important;
567}
568body section#sample .in-focus-landscape-tile .visual .legendText {
569 fill: black;
570}
571body .visual-tile svg {
572 width: inherit;
573 height: inherit;
574}
575body div.chart-content {
576 position: relative;
577 top: 0;
578 height: 100%;
579 width: 100%;
580 background-repeat: no-repeat;
581 -ms-background-size: contain;
582 background-size: contain;
583}
584body .donutChart path.slice.selected:hover {
585 opacity: 1;
586}
587body .donutChart path.slice.not-selected:hover {
588 opacity: 0.6;
589}
590body #userData {
591 background-color: gray;
592 display: none;
593 padding-bottom: 2px;
594 padding-top: 5px;
595}
596body #userData input {
597 display: block;
598 margin: 1px 2px;
599 padding: 0 3px;
600}
601body #userData input.inline {
602 display: inline-block;
603}
604body li.slicerItemContainer {
605 list-style-type: none;
606}
607body .slicerContainer label.slicerCheckbox input:checked + span::before,
608body .slicerContainer label.slicerCheckbox span::before {
609 background-image: url(../../Visuals/images/visuals.sprites.png) !important;
610}
611body .wrongVisualWarning {
612 margin: 0 auto;
613 text-align: center;
614 width: 700px;
615 color: red;
616 font-size: 24px;
617 margin-top: 50px;
618}
619body .wrongVisualWarning span {
620 color: blue;
621}
622
623/*# sourceMappingURL=PowerBIVisualsPlayground.css.map*/
\No newline at end of file