]> git.proxmox.com Git - proxmox-widget-toolkit.git/blame - src/css/ext6-pmx.css
icons: switch cpu/ram bitmaps to svg
[proxmox-widget-toolkit.git] / src / css / ext6-pmx.css
CommitLineData
94953ba8
DC
1.pmx-clear-trigger {
2 background-image: url(../images/pmx-clear-trigger.png);
3}
3e8c6d3c
SI
4
5.pmx-hint {
6 background-color: LightYellow;
7}
dca21e59
TL
8
9.x-mask-msg-text {
10 text-align: center;
11}
88725b27 12
89de7ec5
TL
13.proxmox-disabled-row, .proxmox-disabled-row td {
14 /*color: #a0a0a0;*/
15 color: #666665;
16}
17
88725b27
TL
18.proxmox-invalid-row {
19 background-color: #f3d6d7;
20}
6d812e6d 21
b1d446d0
DC
22.proxmox-warning-row {
23 background-color: #f5e5d8;
24}
25
6d812e6d
DC
26/* some icons have to be color manually */
27.black {
28 color: #000;
29}
30
31.normal {
32 color: #c2ddf2;
33}
34
35.faded {
36 color: #cfcfcf;
37}
38
39.good {
40 color: #21BF4B;
41}
42
43.warning {
44 color: #fc0;
45}
46
47.critical {
48 color: #FF6C59;
49}
9f1b3a70 50
9e059d56
DC
51.info-blue {
52 color: #3892d4;
53}
54
9716d0de
TL
55.pwt-eol-icon {
56 position: relative;
57 float: left;
58 margin-right: 5px;
59 font-size: 1.3em;
60 color: #FF6C59;
61}
62
9f1b3a70
TL
63/* reduce chart legend space usage to something more sane */
64.x-legend-item {
65 padding: 0.4em 0.8em 0.4em 1.8em;
66}
67
68.x-legend-item-marker {
69 left: 0.5em;
70 top: 0.6em;
71}
9354dc13
DC
72
73/* for info widget */
74div.left-aligned {
75 float: left;
76}
77
78div.right-aligned {
79 float: right;
80}
81
82.x-progress.critical .x-progress-bar{
83 background-color: #FF8888;
84}
85
86.x-progress.warning .x-progress-bar{
87 background-color: #FFCC00;
88}
7bb32b58
TL
89
90.x-treelist-item-icon {
91 color: #000;
92 font-size: 14px;
93}
94
abbb4818
TL
95.x-btn-icon-el-default-toolbar-small {
96 font-size: 14px;
97}
98.x-btn-icon-el-default-small {
99 font-size: 14px;
100}
101
7bb32b58
TL
102.x-tab-icon-el-default {
103 color: #000;
104 font-size: 14px;
105 margin-top: 2px;
106}
bf147dcc
DC
107
108.pmx-icon {
109 height: 16px;
110 background-position: bottom;
111 vertical-align: bottom;
112 padding: 0;
113}
114
115.pmx-itype-icon-memory,
259c29df
TL
116.pmx-itype-icon-processor,
117.pmx-itype-icon /* NOTE: use this one instead of adding new specific ones! */
bf147dcc
DC
118{
119 background-repeat: no-repeat;
120 background-position:3px center;
121 padding-left: 20px;
563cf87d 122 background-size: 16px 16px; /* Chrom* needs both as else it gets cut-off due do non 1:1 ratio */
bf147dcc
DC
123}
124
259c29df 125.pmx-itype-icon-memory {
563cf87d 126 background-image:url(../images/icon-ram.svg);
bf147dcc
DC
127}
128
259c29df 129.pmx-itype-icon-processor {
563cf87d 130 background-image:url(../images/icon-cpu.svg);
bf147dcc 131}
ee480147 132
259c29df 133.pmx-itype-icon-debian-swirl {
3dfb0b9a 134 padding-left: 22px;
665b206b 135 background-size: 16px 16px; /* Chrom* needs both as else it gets cut-off due do non 1:1 ratio */
259c29df
TL
136 background-image:url(../images/debian-swirl-openlogo.svg);
137}
138.pmx-itype-icon-proxmox-x {
3dfb0b9a 139 padding-left: 22px;
665b206b 140 background-size: 16px 16px; /* Not really required here, as here WxH is 1:1 but cannot hurt */
259c29df
TL
141 background-image:url(../images/proxmox-symbol-x.svg);
142}
143
de73e0b3
TL
144.pmx-itype-icon-openid-logo {
145 padding-left: 22px;
146 background-size: 16px 16px;
147 background-image:url(../images/openid-icon-100x100.png);
148}
149
ee480147
DC
150/* change font for config panel back to fontawesome */
151.x-treelist-item-expanded > * > * > .x-treelist-item-expander::after,
152.x-treelist-item-expander::after {
153 font: 16px/1 FontAwesome;
154}
155
156.x-treelist-pve-nav {
157 background-color: #f5f5f5;
158}
fef7d024
DC
159
160/* fix padding for legend in header */
161.x-legend-inner {
162 padding: 0;
163}
51a2f11c 164
994fe897
TL
165.proxmox-apt-repos .x-grid-group-hd {
166 color: #000000;
167 background-color: #f5f5f5;
168}
169.proxmox-apt-repos .x-grid-group-title {
170 color: #333;
171}
172
5267494a
TL
173/* some general helper classes */
174.centered-flex-column {
175 display: flex;
176 justify-content: center;
177 flex-direction: column;
178 width: 100%;
179 height: 100%;
180}
181
51a2f11c 182/* rules for the markdown content, prefix with the .pmx-md class */
87c64c49
TL
183.pmx-md {
184 font-size: 1.0em;
185 line-height: 1.25em;
186}
187.pmx-md p {
188 margin-top: 0.75em;
189 margin-bottom: 0.75em;
190}
191.pmx-md :is(h1, h2, h3, h4, h5, h6) {
192 margin-top: 0.9em;
193 margin-bottom: 0.75em;
194}
195.pmx-md h1 { font-size: 175%; }
196.pmx-md h2 { font-size: 150%; }
197.pmx-md h3 { font-size: 125%; }
198.pmx-md h4 { font-size: 110%; }
199.pmx-md h5 { font-size: 100%; }
200.pmx-md h6 { font-size: 100%; }
201
51a2f11c
TL
202.pmx-md code {
203 white-space: pre;
204 background-color: #f5f5f5;
205 padding: 1px;
206}
51a2f11c
TL
207.pmx-md pre code {
208 display: inline-block;
209 padding: 5px;
210 border-left: 3px solid #e0e0e0;
211}
51a2f11c
TL
212.pmx-md strong {
213 font-weight: bold;
214}
f869d73e
TL
215.pmx-md blockquote {
216 border-left: 1px solid #666666;
217 padding-left: 4px;
218 margin: 10px 2ch;
219}
d1c4a738
TL
220/* markdown tables */
221.pmx-md table {
222 border-spacing: 0;
223 border-collapse: collapse;
224}
225.pmx-md td, .pmx-md th {
226 padding: 5px;
227}
228.pmx-md td[align="center"] {
229 text-align: center;
230}
231.pmx-md td[align="right"] {
232 text-align: right;
233}
234.pmx-md tbody td {
235 border-bottom: 1px solid #e0e0e0;
236}
237.pmx-md tbody tr:nth-of-type(even) {
238 background-color: #f5f5f5;
239}
240.pmx-md tbody tr:last-of-type td {
241 border-bottom: 1px solid #666666;
242}
243.pmx-md tbody tr:hover td {
244 background-color: #e0e0e0;
245}
87c64c49
TL
246/* markdown tables end */
247
248/* markdown content end */