mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
bf48b6d26b
commit
a43b54ae22
@ -41,7 +41,11 @@ form:not(.inline):not([role="search"]) {
|
|||||||
|
|
||||||
.control-group {
|
.control-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
margin: 0 -.5em;
|
||||||
|
|
||||||
|
> * {
|
||||||
|
margin: .5em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************************************************************
|
/**********************************************************************************************************************
|
||||||
@ -54,16 +58,11 @@ form:not(.inline):not([role="search"]) {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.control-label-group {
|
.control-label-group {
|
||||||
min-width: auto;
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
padding-bottom: 0;
|
||||||
|
padding-left: 0;
|
||||||
.form-controls {
|
margin-bottom: 0;
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,10 +72,6 @@ form:not(.inline):not([role="search"]) {
|
|||||||
|
|
||||||
.control-info {
|
.control-info {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 0;
|
|
||||||
&:before {
|
|
||||||
margin-left: -1.25em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.errors > li {
|
.errors > li {
|
||||||
@ -93,26 +88,29 @@ form:not(.inline):not([role="search"]) {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: .5em 1em 0.5em 0;
|
padding: .5625em;
|
||||||
max-height: 2.5em;
|
max-height: 2.5em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 15em;
|
width: 15em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-info {
|
.control-info {
|
||||||
position: absolute;
|
line-height: 2.5em;
|
||||||
right: -.75em;
|
|
||||||
line-height: 3.5em;
|
&:before {
|
||||||
|
margin-left: -.5em;
|
||||||
|
margin-right: .5em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch ~ .control-info {
|
.toggle-switch ~ .control-info {
|
||||||
position: relative;
|
position: relative;
|
||||||
right: 0;
|
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner {
|
.spinner {
|
||||||
line-height: 3.5em;
|
line-height: 2.5em;
|
||||||
|
margin: .5em 0;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
margin-left: .5em;
|
margin-left: .5em;
|
||||||
@ -121,7 +119,7 @@ form:not(.inline):not([role="search"]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
select ~ .spinner:before {
|
select ~ .spinner:before {
|
||||||
margin-left: -4em;
|
margin-left: -3.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************************************************************
|
/**********************************************************************************************************************
|
||||||
@ -137,7 +135,6 @@ select ~ .spinner:before {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-group .control-label-group,
|
|
||||||
.control-group input:not([type="checkbox"]),
|
.control-group input:not([type="checkbox"]),
|
||||||
.control-group .toggle-switch,
|
.control-group .toggle-switch,
|
||||||
.control-group button,
|
.control-group button,
|
||||||
@ -149,14 +146,13 @@ select ~ .spinner:before {
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: .25em;
|
border-radius: .25em;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
margin: .5em 1em 0.5em 0;
|
|
||||||
padding: .5625em;
|
padding: .5625em;
|
||||||
.appearance(none);
|
.appearance(none);
|
||||||
}
|
}
|
||||||
|
|
||||||
.control-group .toggle-switch,
|
.control-group .toggle-switch,
|
||||||
.form-controls .toggle-switch {
|
.form-controls .toggle-switch {
|
||||||
margin: 1em 0;
|
margin: 1em .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************************************************************
|
/**********************************************************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user