ProxmoxAAS-Dashboard/css/form.css

66 lines
879 B
CSS
Raw Permalink 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;
}
.input-grid .last-item {
text-align: right;
2023-05-07 04:31:04 +00:00
}
2024-09-05 16:37:57 +00:00
/* sibling of input-grid that is not inside another input grid */
:not(.input-grid) .input-grid + * {
display: inline-block;
width: 100%;
margin-top: 5px;
}
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
}
div[draggable="true"] {
cursor: grab;
}
.w3-select, select {
padding: 8px;
2024-06-05 22:11:53 +00:00
}