ProxmoxAAS-Dashboard/css/form.css

76 lines
974 B
CSS
Raw Normal View History

.input-grid {
display: grid;
2024-01-29 21:49:19 +00:00
gap: 5px 10px;
align-items: center;
2023-07-06 05:02:04 +00:00
width: 100%;
}
.input-grid * {
margin-top: 0;
margin-bottom: 0;
2024-09-27 20:42:41 +00:00
padding-top: 8px;
padding-bottom: 8px;
}
2024-09-27 20:42:41 +00:00
.input-grid input {
padding: 8px;
2023-05-07 04:31:04 +00:00
}
2024-09-27 20:42:41 +00:00
.input-grid svg {
padding: 0;
}
.input-grid .last-item {
text-align: right;
}
2023-05-07 04:31:04 +00:00
legend {
float: left;
width: 100%;
margin: 0;
padding: 0;
line-height: 1.5em;
margin-top: 0.25lh;
margin-bottom: 0.25lh;
2023-05-07 04:31:04 +00:00
}
fieldset {
2023-05-08 00:50:14 +00:00
border: 0;
2023-05-07 04:31:04 +00:00
}
fieldset > *:last-child {
margin-bottom: 8px;
}
fieldset > .input-grid {
float: left;
}
2023-05-07 04:31:04 +00:00
body:not(:-moz-handler-blocked) fieldset {
2023-05-08 00:50:14 +00:00
display: table-cell;
}
input[type="checkbox"] {
width: min-content;
margin-left: auto;
margin-right: auto;
2023-07-12 00:24:16 +00:00
}
input[type="radio"] {
position: inherit;
2023-08-11 22:06:26 +00:00
}
.w3-select, select {
padding: 8px;
2024-09-27 20:42:41 +00:00
}
.w3-check {
top: 0;
}
/* sibling of input-grid that is not inside another input grid */
:not(.input-grid) .input-grid + * {
display: inline-block;
width: 100%;
margin-top: 5px;
2024-06-05 22:11:53 +00:00
}