sidetab-adapta refactoring

This commit is contained in:
pojenodi 2019-09-26 06:23:37 +00:00
parent 2088c73e40
commit 1434a43913

View file

@ -13,28 +13,30 @@ configuration {
* { * {
background-color: #222d32; background-color: #222d32;
text-color: #ffffff; text-color: #cfd8dc;
selected-text-color: #ffffff;
accent-color: #00bcd4; accent-color: #00bcd4;
accent2-color: #4db6ac; second-accent-color: #4db6ac;
hover-color: #39454b;
urgent-color: #ff5252; urgent-color: #ff5252;
window-color: #ffffff; hover-color: #39454b;
selected-normal-foreground: @window-color; active-text: @selected-text-color;
normal-foreground: @text-color;
selected-normal-background: @hover-color;
normal-background: @background-color;
selected-urgent-foreground: @background-color;
urgent-foreground: @text-color;
selected-urgent-background: @urgent-color;
urgent-background: @background-color;
selected-active-foreground: @window-color;
active-foreground: @text-color;
selected-active-background: @hover-color;
active-background: @accent-color; active-background: @accent-color;
selected-active-text: @selected-text-color;
selected-active-background: @hover-color;
selected-active-border: @accent-color;
normal-text: @text-color;
normal-background: @background-color;
selected-normal-text: @selected-text-color;
selected-normal-background: @hover-color;
selected-normal-border: @second-accent-color;
urgent-text: @selected-text-color;
urgent-background: @urgent-color;
selected-urgent-text: @selected-text-color;
selected-urgent-background: @hover-color;
selected-urgent-border: @urgent-color;
} }
#window { #window {
@ -57,51 +59,56 @@ element {
padding: 8px; padding: 8px;
} }
element normal.active {
background-color: @active-background;
text-color: @active-text;
}
element normal.normal { element normal.normal {
background-color: @normal-background; background-color: @normal-background;
text-color: @normal-foreground; text-color: @normal-text;
} }
element normal.urgent { element normal.urgent {
background-color: @urgent-background; background-color: @urgent-background;
text-color: @urgent-foreground; text-color: @urgent-text;
} }
element normal.active { element selected {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
border: 0 4px solid 0 0; border: 0 4px solid 0 0;
border-color: @accent2-color;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
} }
element selected.active { element selected.active {
background-color: @selected-active-background; background-color: @selected-active-background;
text-color: @selected-active-foreground; text-color: @selected-active-text;
border-color: @selected-active-border;
} }
element alternate.normal { element selected.normal {
background-color: @normal-background; background-color: @selected-normal-background;
text-color: @normal-foreground; text-color: @selected-normal-text;
border-color: @selected-normal-border;
} }
element alternate.urgent { element selected.urgent {
background-color: @urgent-background; background-color: @selected-urgent-background;
text-color: @urgent-foreground; text-color: @selected-urgent-text;
border-color: @selected-urgent-border;
} }
element alternate.active { element alternate.active {
background-color: @active-background; background-color: @active-background;
text-color: @active-foreground; text-color: @active-text;
}
element alternate.normal {
background-color: @normal-background;
text-color: @normal-text;
}
element alternate.urgent {
background-color: @urgent-background;
text-color: @urgent-text;
} }
button { button {