Skip to content

Commit e673741

Browse files
committed
gwl: Implement proper styling for the slide buttons
1 parent 43b6b2e commit e673741

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

data/theme/cinnamon-sass/widgets/_windowlist.scss

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,19 +121,42 @@
121121
}
122122

123123
&-button {
124+
transition-duration: 100ms;
125+
124126
&-icon {
125127
icon-size: $scalable_icon_size;
128+
color: inherit;
126129
}
127130

128131
&.vertical { }
129132

130-
&-start { }
133+
&-start {
134+
margin-right: 1px;
135+
136+
&.vertical {
137+
margin-right: 0;
138+
margin-bottom: 1px;
139+
}
140+
}
131141

132-
&-end { }
142+
&-end {
143+
margin-left: 1px;
133144

134-
:hover { }
145+
&.vertical {
146+
margin-left: 0;
147+
margin-top: 1px;
148+
}
149+
}
135150

136-
:active { }
151+
&:hover {
152+
background-color: $lighter_bg_color;
153+
color: $fg_color;
154+
}
155+
156+
&:active {
157+
background-color: $lightest_bg_color;
158+
color: $fg_color;
159+
}
137160
}
138161
}
139162
}

0 commit comments

Comments
 (0)