mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-30 22:50:10 +03:00
Fix labels styles
This commit is contained in:
parent
a9e8e21e8d
commit
a5e5c82c14
@ -73,7 +73,7 @@ define(function(require) {
|
||||
}
|
||||
|
||||
html += tree.htmlStr;
|
||||
html += '<i class="fa fa-fw fa-square-o labelsCheckbox"></i> ';
|
||||
html += '<i class="fa fa-fw fa-square-o labelsCheckbox right"></i> ';
|
||||
html += '<ul class="menu vertical is-active">';
|
||||
}
|
||||
|
||||
|
36
src/sunstone/public/scss/_labels.scss
Normal file
36
src/sunstone/public/scss/_labels.scss
Normal file
@ -0,0 +1,36 @@
|
||||
.labels-tree {
|
||||
margin-left: 1rem;
|
||||
max-height: rem-calc(100px);
|
||||
overflow-y: overlay;
|
||||
|
||||
ul {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.one-label {
|
||||
cursor: pointer;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
& > li:last-child {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
li {
|
||||
color: $dark-gray;
|
||||
font-weight: normal;
|
||||
|
||||
.active {
|
||||
color: $light-black;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-check-square-o,
|
||||
.fa-square-o,
|
||||
.fa-minus-square-o {
|
||||
cursor: pointer;
|
||||
margin-top: 0.3rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user