]> git.proxmox.com Git - proxmox-widget-toolkit.git/blame - src/css/ext6-pmx.css
bump version to 3.4-9
[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
7d602ae6
TL
182/* Fix icon/text baseline */
183.x-tab-default {
184 display: inline-flex;
185 align-items: center;
186 justify-content: center;
187}
188.x-tab-default > span {
189 text-align: center;
190 vertical-align: middle;
191}
192.x-tab-button {
193 line-height: unset;
194}
195.x-tab-inner {
196 display: unset;
197 vertical-align: text-top;
198}
199.x-tab-wrap {
200 display: unset;
201}
202.x-tab-default-top {
203 padding: 2px 6px 2px 6px;
204}
205
51a2f11c 206/* rules for the markdown content, prefix with the .pmx-md class */
87c64c49
TL
207.pmx-md {
208 font-size: 1.0em;
209 line-height: 1.25em;
210}
211.pmx-md p {
212 margin-top: 0.75em;
213 margin-bottom: 0.75em;
214}
215.pmx-md :is(h1, h2, h3, h4, h5, h6) {
216 margin-top: 0.9em;
217 margin-bottom: 0.75em;
218}
219.pmx-md h1 { font-size: 175%; }
220.pmx-md h2 { font-size: 150%; }
221.pmx-md h3 { font-size: 125%; }
222.pmx-md h4 { font-size: 110%; }
223.pmx-md h5 { font-size: 100%; }
224.pmx-md h6 { font-size: 100%; }
225
51a2f11c
TL
226.pmx-md code {
227 white-space: pre;
228 background-color: #f5f5f5;
229 padding: 1px;
230}
51a2f11c
TL
231.pmx-md pre code {
232 display: inline-block;
233 padding: 5px;
234 border-left: 3px solid #e0e0e0;
235}
51a2f11c
TL
236.pmx-md strong {
237 font-weight: bold;
238}
f869d73e
TL
239.pmx-md blockquote {
240 border-left: 1px solid #666666;
241 padding-left: 4px;
242 margin: 10px 2ch;
243}
d1c4a738
TL
244/* markdown tables */
245.pmx-md table {
246 border-spacing: 0;
247 border-collapse: collapse;
248}
249.pmx-md td, .pmx-md th {
250 padding: 5px;
251}
252.pmx-md td[align="center"] {
253 text-align: center;
254}
255.pmx-md td[align="right"] {
256 text-align: right;
257}
258.pmx-md tbody td {
259 border-bottom: 1px solid #e0e0e0;
260}
261.pmx-md tbody tr:nth-of-type(even) {
262 background-color: #f5f5f5;
263}
264.pmx-md tbody tr:last-of-type td {
265 border-bottom: 1px solid #666666;
266}
267.pmx-md tbody tr:hover td {
268 background-color: #e0e0e0;
269}
87c64c49
TL
270/* markdown tables end */
271
272/* markdown content end */