Skip to content
Snippets Groups Projects
Commit 0eeddb52 authored by Michael Enz's avatar Michael Enz
Browse files

FXOLAT-478: tree colors fixed

parent 6ff39421
No related branches found
No related tags found
No related merge requests found
...@@ -7,13 +7,20 @@ ...@@ -7,13 +7,20 @@
@include border-bottom-radius($o-tree-border-radius); @include border-bottom-radius($o-tree-border-radius);
overflow: hidden; overflow: hidden;
font-size: $o-tree-font-size; font-size: $o-tree-font-size;
a { a {
color : $o-tree-link-color; color : $o-tree-link-color;
background-color: none;
&:hover,
&:focus {
color: $o-tree-link-hover-color;
}
}
.o_tree_link {
background-color : $o-tree-link-bg; background-color : $o-tree-link-bg;
&:hover, &:hover,
&:focus { &:focus {
color: $o-tree-link-hover-color;
background-color : $o-tree-link-hover-bg; background-color : $o-tree-link-hover-bg;
} }
&:first-child { &:first-child {
...@@ -22,7 +29,6 @@ ...@@ -22,7 +29,6 @@
&:last-child{ &:last-child{
&:hover, &:hover,
&:focus { &:focus {
color: $o-tree-link-hover-color;
background-color : $o-tree-link-hover-bg; background-color : $o-tree-link-hover-bg;
} }
} }
...@@ -122,22 +128,24 @@ ...@@ -122,22 +128,24 @@
border-bottom: none; border-bottom: none;
} }
li span.active>a { li .active.o_tree_link {
color : $o-tree-link-active-color; a { color : $o-tree-link-active-color; }
background-color : $o-tree-link-active-bg; background-color : $o-tree-link-active-bg;
&:hover, &:hover,
&:focus { &:focus {
color: $o-tree-link-active-hover-color; a { color: $o-tree-link-active-hover-color; }
background-color : $o-tree-link-active-hover-bg; background-color : $o-tree-link-active-hover-bg;
} }
font-weight: $o-tree-link-active-font-weight; font-weight: $o-tree-link-active-font-weight;
} }
li span.active_parent>a { li .active_parent.o_tree_link {
color : $o-tree-link-active-parent-color; a {
&:hover, color : $o-tree-link-active-parent-color;
&:focus { &:hover,
color: $o-tree-link-active-parent-hover-color; &:focus {
color: $o-tree-link-active-parent-hover-color;
}
} }
font-weight: $o-tree-link-active-parent-font-weight; font-weight: $o-tree-link-active-parent-font-weight;
} }
......
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment