1
0
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:
Daniel Molina 2016-04-14 16:13:29 +02:00
parent a9e8e21e8d
commit a5e5c82c14
2 changed files with 37 additions and 1 deletions

View File

@ -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">';
}

View 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;
}
}