mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
CSS: move controls specific styles to controls.less
This commit is contained in:
parent
1c12d84eee
commit
21055d2bfe
@ -181,3 +181,27 @@ html.no-js .sort-control form {
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-top: 0.25em;
|
margin-top: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.controls form {
|
||||||
|
|
||||||
|
.control-label-group {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding-top: 0.25em;
|
||||||
|
padding-bottom: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
select {
|
||||||
|
padding: .5em;
|
||||||
|
max-width: 16em;
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
padding-right: 1.526em;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
/* compensate inconsistent select height calculations */
|
||||||
|
height: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -162,29 +162,6 @@ form input {
|
|||||||
margin: 1em .5em;
|
margin: 1em .5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.controls form {
|
|
||||||
|
|
||||||
.control-label-group {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-top: 0.25em;
|
|
||||||
padding-bottom: 0.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
select {
|
|
||||||
line-height: 1em;
|
|
||||||
padding: .3625em .5625em;
|
|
||||||
max-width: 16em;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
padding-right: 1.526em;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
form select {
|
form select {
|
||||||
padding-right: 1.5625em;
|
padding-right: 1.5625em;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user