Improve high-contrast support for spotlight (#8948)
This commit is contained in:
committed by
GitHub
parent
bb859d5886
commit
c3f26d619e
@@ -34,7 +34,7 @@ limitations under the License.
|
||||
line-height: $font-15px;
|
||||
color: $secondary-content;
|
||||
|
||||
> span > div {
|
||||
kbd {
|
||||
display: inline-block;
|
||||
padding: 2px $spacing-4; // TODO: Use a spacing variable
|
||||
margin: 0 $spacing-4;
|
||||
@@ -42,6 +42,10 @@ limitations under the License.
|
||||
background-color: $quinary-content;
|
||||
vertical-align: middle;
|
||||
color: $tertiary-content;
|
||||
// To avoid any styling inherent with <kbd> elements
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -424,6 +428,9 @@ limitations under the License.
|
||||
|
||||
.mx_SpotlightDialog_enterPrompt {
|
||||
padding: 2px $spacing-4; // TODO: Use a spacing variable
|
||||
// To avoid any styling inherent with <kbd> elements
|
||||
font-family: inherit;
|
||||
font-weight: inherit;
|
||||
font-size: $font-12px;
|
||||
line-height: $font-15px;
|
||||
color: $tertiary-content;
|
||||
|
||||
Reference in New Issue
Block a user