mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
forms.less: Move role-form related styles to widgets.less
This commit is contained in:
parent
66c436b98c
commit
23d9eb8f38
@ -23,62 +23,6 @@ form.icinga-form {
|
|||||||
max-width: 70em;
|
max-width: 70em;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
|
||||||
> fieldset {
|
|
||||||
border: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
h3 em {
|
|
||||||
font-size: .857em;
|
|
||||||
font-weight: normal;
|
|
||||||
color: @text-color-light;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
margin-top: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.collapsible:before {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:last-of-type) .collapsible-control {
|
|
||||||
border-bottom: 1px solid @gray-light;
|
|
||||||
cursor: default;
|
|
||||||
-webkit-touch-callout: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-khtml-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.collapsed .collapsible-control {
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.collapsible-control:after {
|
|
||||||
content: "\f103";
|
|
||||||
display: inline-block;
|
|
||||||
font-family: 'ifont';
|
|
||||||
font-weight: normal;
|
|
||||||
padding: 0 .25em;
|
|
||||||
margin-right: .25em;
|
|
||||||
width: 1em;
|
|
||||||
opacity: .6;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.collapsed .collapsible-control:after {
|
|
||||||
content: "\e87b";
|
|
||||||
/*content: "\e87a";*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.permission-heading {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.control-group {
|
.control-group {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -227,6 +227,53 @@ form.role-form {
|
|||||||
color: @text-color-light;
|
color: @text-color-light;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fieldset.collapsible {
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 em {
|
||||||
|
font-size: .857em;
|
||||||
|
font-weight: normal;
|
||||||
|
color: @text-color-light;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4 {
|
||||||
|
margin-top: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible-control {
|
||||||
|
border-bottom: 1px solid @gray-light;
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.collapsible-control:after {
|
||||||
|
content: "\f103";
|
||||||
|
display: inline-block;
|
||||||
|
font-family: 'ifont';
|
||||||
|
font-weight: normal;
|
||||||
|
padding: 0 .25em;
|
||||||
|
margin-right: .25em;
|
||||||
|
width: 1em;
|
||||||
|
opacity: .6;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.collapsed .collapsible-control:after {
|
||||||
|
content: "\e87a";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.tree select:first-of-type { /* ?? */
|
ul.tree select:first-of-type { /* ?? */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user