forked from storaged-project/blivet-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrectangle.css
172 lines (143 loc) · 4 KB
/
rectangle.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/* Basic rectangle */
box#bg-visualization button {
background-color: #ff0000;
}
box#bg-visualization button {
border: 1px solid @theme_text_color;
border-radius: 6px;
background-image: none;
background-color: @theme_bg_color;
}
box#bg-visualization button:checked {
background-image: none;
background: @theme_selected_bg_color;
}
/* Parent rectangle */
box#bg-visualization button#bg-parent-rect {
border-color: @theme_text_color;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid @borders;
border-radius: 6px 6px 0 0;
}
/* Child rectangle */
box#bg-visualization button#bg-child-rect-inner {
border-top: none;
border-left: none;
border-right: 1px solid @borders;
border-bottom: 1px solid;
border-radius: 0;
}
box#bg-visualization button#bg-child-rect-first {
border-top: none;
border-left: 1px solid;
border-right: 1px solid @borders;
border-bottom: 1px solid;
border-radius: 0 0 0 6px;
}
box#bg-visualization button#bg-child-rect-last {
border-top: none;
border-left: none;
border-right: 1px solid;
border-bottom: 1px solid;
border-radius: 0 0 6px 0;
}
box#bg-visualization button#bg-child-rect-single {
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
border-bottom: 1px solid;
border-radius: 0 0 6px 6px;
}
/* Labels inside box#bg-visualization buttons */
box#bg-visualization button:checked label {
color: @theme_selected_fg_color;
text-shadow: none;
}
/* Physical view box#bg-visualization buttons */
box#bg-visualization button#bg-root-device:checked {
background-color: @theme_bg_color;
border-color: @theme_fg_color;
}
box#bg-visualization button#bg-child-valid-inner {
background-color: @theme_bg_color;
border: 2px solid #FF0000;
border-radius: 0;
}
box#bg-visualization button#bg-child-valid-first {
background-color: @theme_bg_color;
border: 2px solid #FF0000;
border-radius: 0;
}
box#bg-visualization button#bg-child-valid-last {
background-color: @theme_bg_color;
border: 2px solid #FF0000;
border-radius: 0;
}
box#bg-visualization button#bg-child-invalid-inner {
background-color: @theme_bg_color;
background-image: url("../img/line.png");
background-repeat: space;
border-top: 2px solid @theme_fg_color;
border-bottom: 2px solid @theme_fg_color;
border-left: none;
border-right: 1px solid @borders;
border-radius: 0;
}
box#bg-visualization button#bg-child-invalid-first {
background-color: @theme_bg_color;
background-image: url("../img/line.png");
background-repeat: space;
border-top: 2px solid @theme_fg_color;
border-bottom: 2px solid @theme_fg_color;
border-left: 2px solid @theme_fg_color;
border-right: 1px solid @borders;
border-radius: 0;
}
box#bg-visualization button#bg-child-invalid-last {
background-color: @theme_bg_color;
background-image: url("../img/line.png");
background-repeat: space;
border-top: 2px solid @theme_fg_color;
border-bottom: 2px solid @theme_fg_color;
border-right: 2px solid @theme_fg_color;
border-left: none;
border-radius: 0;
color: @theme_fg_color;
}
/* PhysicalView - Labels inside rectangles */
box#bg-visualization button#bg-root-device:checked label {
color: @theme_fg_color;
}
box#bg-visualization button#bg-child-valid-inner:checked label {
color: @theme_fg_color;
}
box#bg-visualization button#bg-child-valid-first:checked label {
color: @theme_fg_color;
}
box#bg-visualization button#bg-child-valid-last:checked label {
color: @theme_fg_color;
}
/* BlivetGUI Window -- actions button */
button#bg-button-actions, button#bg-button-actions:hover {
background-image: none;
border: none;
}
/* BlivetGUI Window -- actions toolbar background */
box#bg-toolbar {
background-color: @theme_bg_color;
padding: 4px;
}
/* BlivetGUI Window -- actions toolbar border */
button#bg-toolbar-button-inner {
border-right: none;
border-radius: 0;
}
button#bg-toolbar-button-first {
border-radius: 4px 0 0 4px;
border-right: none;
}
button#bg-toolbar-button-last {
border-radius: 0 4px 4px 0;
}