Skip to content

Commit

Permalink
fix: various issues (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
huyenltnguyen authored Apr 19, 2024
1 parent 647308c commit 8e9fbc8
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -551,10 +551,10 @@ a.curriculum-nav:focus {
}

// theme specific --------------------
.btn:hover d-icon,
.btn:hover .d-icon,
.btn .d-icon,
.btn-primary .d-icon {
color: inherit;
color: inherit $i;
}

.d-header-icons .badge-notification {
Expand Down Expand Up @@ -678,7 +678,7 @@ td.poster-names a {
}
}

.d-editor-button-bar button {
.d-editor-button-bar .btn {
background-color: transparent;
border: $n;
box-shadow: $n;
Expand Down Expand Up @@ -855,3 +855,20 @@ div.select-kit-header {
background-color: $primary $i;
color: $fcc-quaternary-background $i;
}

.search-menu-container .search-input {
// `.search-input` is a div that wraps around the input and the search button.
// This div already has an focus outline set by Discourse,
// so we need to remove ours to avoid having nested focus outlines.
#search-term:focus-visible {
outline: none $i;
}
}

.topic-body .contents details {
&:not([open]):hover,
&:not([open]):focus,
&:not([open]):focus-within {
background-color: $fcc-d-hover;
}
}

0 comments on commit 8e9fbc8

Please sign in to comment.