Skip to content

Commit ec51fa4

Browse files
committed
Styling changes to hovering
1 parent 7311793 commit ec51fa4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/styles/_language-selector.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
border: none;
99
border-radius: 4px;
1010
padding: 1px 8px;
11+
&:hover {
12+
background: rgba(0, 0, 0, 0.35);
13+
}
1114
}
1215
.ts-dropdown {
1316
bottom: 100%;

src/styles/polyglot.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
.polyglot.polyglot-lang-select {
5252
.ts-wrapper {
5353
.ts-control {
54-
background: rgba(255, 255, 255, 0.6)
54+
background: rgba(255, 255, 255, 0.6);
55+
&:hover {
56+
background: rgba(255, 255, 255, 0.85);
57+
}
5558
}
5659
.ts-dropdown {
5760
.optgroup-header {

0 commit comments

Comments
 (0)