Skip to content

Commit 167cfe6

Browse files
committed
Minor dropdown fixes
1 parent e1b6e38 commit 167cfe6

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

extras/popup/popup.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,4 +466,37 @@ span.new-feature-tag.beta {
466466
.welcome {
467467
background-color: #fc8c4f20;
468468
border-bottom-color: #fc8c4f;
469+
}
470+
471+
.option-selection {
472+
text-align: right;
473+
width: 100%;
474+
}
475+
476+
.option-selection span {
477+
border: 1.5px solid var(--feature-input-bg);
478+
padding: .25rem;
479+
padding-left: .5rem;
480+
padding-right: .5rem;
481+
user-select: none;
482+
cursor: pointer;
483+
background-color: transparent;
484+
color: var(--secondary-color);
485+
transition: background-color .3s, border .3s, color .3s;
486+
}
487+
488+
.option-selection span.option-selected {
489+
background-color: var(--theme);
490+
color: white;
491+
border: 1.5px solid var(--theme);
492+
}
493+
494+
.option-selection span:first-child {
495+
border-top-left-radius: .25rem;
496+
border-bottom-left-radius: .25rem;
497+
}
498+
499+
.option-selection span:last-child {
500+
border-top-right-radius: .25rem;
501+
border-bottom-right-radius: .25rem;
469502
}

extras/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,8 @@ body {
860860
user-select: none;
861861
cursor: pointer;
862862
background-color: transparent;
863-
transition: background-color .3s, border .3s;
863+
color: var(--secondary-color);
864+
transition: background-color .3s, border .3s, color .3s;
864865
}
865866

866867
.option-selection span.option-selected {

0 commit comments

Comments
 (0)