mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
mgr/dashboard: Tree SCSS file
In order to align the CSS in all ng2-tree usages. Fixes: https://tracker.ceph.com/issues/41575 Signed-off-by: Stephan Müller <smueller@suse.com>
This commit is contained in:
parent
e8e75b9155
commit
1c7b3d01b6
@ -1,3 +1,5 @@
|
||||
@import 'ng2-tree.scss';
|
||||
|
||||
::ng-deep tree .fa {
|
||||
font-weight: unset !important;
|
||||
}
|
||||
|
@ -1,21 +1 @@
|
||||
::ng-deep tree-internal .tree li {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
::ng-deep tree-internal .tree .node-value {
|
||||
color: #2b99a8;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
::ng-deep tree-internal .tree .node-selected {
|
||||
background-color: #d9edf7;
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
::ng-deep tree-internal .tree .node-value:hover {
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
::ng-deep tree-internal .tree .node-value:after {
|
||||
height: 0;
|
||||
}
|
||||
@import 'ng2-tree.scss';
|
||||
|
25
src/pybind/mgr/dashboard/frontend/src/styles/ng2-tree.scss
Normal file
25
src/pybind/mgr/dashboard/frontend/src/styles/ng2-tree.scss
Normal file
@ -0,0 +1,25 @@
|
||||
@import 'defaults';
|
||||
|
||||
/* ng2-tree */
|
||||
::ng-deep tree-internal .tree {
|
||||
li {
|
||||
cursor: pointer;
|
||||
}
|
||||
.node-value {
|
||||
&:hover {
|
||||
color: #212121;
|
||||
}
|
||||
&:after {
|
||||
height: 0;
|
||||
}
|
||||
color: #2b99a8;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.node-selected {
|
||||
background-color: #d9edf7;
|
||||
color: #212121;
|
||||
}
|
||||
.loading-children {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user