Revize 278f83f2
Přidáno uživatelem Lukáš Moučka před více než 3 roky(ů)
src/assets/scss/_dashboard.scss | ||
---|---|---|
7 | 7 |
} |
8 | 8 |
|
9 | 9 |
.dashboard { |
10 |
margin-top: 5px; |
|
10 |
padding: $grid-gutter-width 0; |
|
11 |
|
|
12 |
h3 { |
|
13 |
margin: 0; |
|
14 |
font-weight: $font-weight-bold; |
|
15 |
} |
|
16 |
|
|
17 |
h4 { |
|
18 |
margin: 0; |
|
19 |
} |
|
11 | 20 |
|
12 | 21 |
.p-accordion { |
13 | 22 |
.p-accordion-header { |
14 | 23 |
.p-accordion-header-link { |
24 |
padding-top: $grid-gutter-width / 2; |
|
25 |
padding-bottom: $grid-gutter-width / 2; |
|
15 | 26 |
color: #0B1226; |
16 | 27 |
background: #F2F2F2; |
28 |
} |
|
17 | 29 |
|
18 |
&:hover { |
|
19 |
.p-button { |
|
20 |
color: #0B1226; |
|
21 |
background: #F2F2F2; |
|
22 |
} |
|
23 |
} |
|
30 |
&:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link { |
|
31 |
color: #0B1226; |
|
32 |
background: #BCBCBC; |
|
24 | 33 |
} |
25 | 34 |
|
26 | 35 |
&:not(.p-disabled).p-highlight { |
27 |
.p-button {
|
|
36 |
.p-accordion-header-link {
|
|
28 | 37 |
color: #0B1226; |
29 |
background: #F2F2F2; |
|
30 |
} |
|
31 |
|
|
32 |
&:hover { |
|
33 |
.p-accordion-header-link { |
|
34 |
color: #F2F2F2; |
|
35 |
background: #0B1226; |
|
36 |
} |
|
38 |
background: #BCBCBC; |
|
37 | 39 |
} |
40 |
} |
|
38 | 41 |
|
39 |
.p-accordion-header-link { |
|
40 |
color: #F2F2F2; |
|
41 |
background: #0B1226; |
|
42 |
} |
|
42 |
.p-splitbutton-defaultbutton{ |
|
43 |
margin-left: $grid-gutter-width / 2; |
|
43 | 44 |
} |
44 | 45 |
} |
45 | 46 |
|
46 | 47 |
.p-accordion-content { |
47 |
color: #F2F2F2; |
|
48 |
background: #0B1226; |
|
48 |
padding: 0; |
|
49 |
color: #0B1226; |
|
50 |
background: #F2F2F2; |
|
49 | 51 |
|
50 |
.p-button {
|
|
51 |
color: #0B1226;
|
|
52 |
background: #F2F2F2;
|
|
53 |
} |
|
52 |
.ng-star-inserted {
|
|
53 |
&:nth-child(2n) .row {
|
|
54 |
background: #D3D3D3;
|
|
55 |
}
|
|
54 | 56 |
|
55 |
.p-accordion .p-accordion-header { |
|
56 |
&:hover { |
|
57 |
color: #F2F2F2; |
|
58 |
background: #0B1226; |
|
57 |
.row { |
|
58 |
margin: 0; |
|
59 |
padding: 5px 0; |
|
60 |
|
|
61 |
@include hover-focus() { |
|
62 |
cursor: pointer; |
|
63 |
color: #0B1226; |
|
64 |
background: #619CE2; |
|
65 |
} |
|
59 | 66 |
} |
60 | 67 |
} |
68 |
|
|
69 |
.p-button { |
|
70 |
margin: 0 5px; |
|
71 |
padding: 5px 7px; |
|
72 |
} |
|
61 | 73 |
} |
62 | 74 |
} |
63 | 75 |
} |
76 |
|
|
77 |
.dashboard-sensor-heading-wrapper { |
|
78 |
display: flex; |
|
79 |
align-items: center; |
|
80 |
height: 100% |
|
81 |
} |
|
82 |
|
|
83 |
.dashboard-button-separator { |
|
84 |
display: inline-flex; |
|
85 |
align-items: center; |
|
86 |
vertical-align: bottom; |
|
87 |
margin: 0 $grid-gutter-width / 2; |
|
88 |
width: 2px; |
|
89 |
height: 100%; |
|
90 |
background: $secondary; |
|
91 |
} |
|
92 |
|
|
93 |
.p-dialog { |
|
94 |
background: $primary |
|
95 |
} |
Také k dispozici: Unified diff
Re #8621 - Návrh modelu dashboardu
- úprava modelu dashboardu