Skip to content

Commit e48b583

Browse files
committed
Styling changes to themes
1 parent ec51fa4 commit e48b583

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/styles/_language-selector.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
text-decoration: line-through;
55
}
66
.ts-control {
7-
background: rgba(0, 0, 0, 0.1);
7+
background: var(--color-cool-5-75);
88
border: none;
99
border-radius: 4px;
1010
padding: 1px 8px;
11-
&:hover {
12-
background: rgba(0, 0, 0, 0.35);
13-
}
1411
}
1512
.ts-dropdown {
1613
bottom: 100%;
@@ -19,6 +16,9 @@
1916
padding: 1px 8px;
2017
}
2118
}
19+
&.focus .ts-control, .ts-control:hover {
20+
background: var(--color-cool-5);
21+
}
2222
&.input-active .ts-control {
2323
cursor: pointer;
2424
}

src/styles/polyglot.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
.ts-wrapper {
5353
.ts-control {
5454
background: rgba(255, 255, 255, 0.6);
55-
&:hover {
56-
background: rgba(255, 255, 255, 0.85);
57-
}
5855
}
5956
.ts-dropdown {
6057
.optgroup-header {
6158
border-bottom: solid 1px;
6259
}
6360
}
61+
&.focus .ts-control, .ts-control:hover {
62+
background: rgba(255, 255, 255, 0.85);
63+
}
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)