Skip to content

Commit

Permalink
fix 26859: slate tree depth level #2
Browse files Browse the repository at this point in the history
  • Loading branch information
catkrahl committed Dec 17, 2019
1 parent 2a69593 commit 93a57b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
28 changes: 2 additions & 26 deletions src/UI/templates/default/MainControls/Slate/slate.less
Original file line number Diff line number Diff line change
Expand Up @@ -95,47 +95,23 @@
// see Mantis #26107
.il-maincontrols-slate.engaged {
&[data-depth-level="2"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 60%);
}
}
&[data-depth-level="3"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 40%);
}
}
&[data-depth-level="4"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 30%);
}
}
&[data-depth-level="5"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 20%);
}
}
&[data-depth-level="6"] {
&[data-depth-level="3"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 15%);
}
}
&[data-depth-level="7"] {
&[data-depth-level="4"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 10%);
}
}
&[data-depth-level="8"] {
.btn-bulky,
.link-bulky {
background-color: fade(@il-slate-bulky-bg-color-engaged, 5%);
}
}
}

.il-maincontrols-slate-content {
Expand Down
2 changes: 1 addition & 1 deletion templates/default/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@
//** slates
@il-slate-bulky-bg-color: #f2f2f2;
@il-slate-bulky-level2-bg-color: #e3e3e3;
@il-slate-bulky-bg-color-engaged: fade(@brand-primary, 25%);
@il-slate-bulky-bg-color-engaged: fade(@brand-primary, 30%);
@il-slate-content-padding: 10px 20px;
@il-slate-tree-padding: 4px 0;
@il-slate-bulky-padding: 10px 40px 15px 10px;
Expand Down

0 comments on commit 93a57b4

Please sign in to comment.