Do not shift buttons in high contrast theme (#7102)
parent
71d8946641
commit
8ea551fb6d
|
@ -57,15 +57,28 @@ $roomtopic-color: $secondary-content;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AccessibleButton {
|
// Draw an outline on buttons with focus
|
||||||
margin-left: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_AccessibleButton:focus {
|
.mx_AccessibleButton:focus {
|
||||||
outline: 2px solid $accent-color;
|
outline: 2px solid $accent-color;
|
||||||
outline-offset: 2px;
|
outline-offset: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add padding (and remove margin to compensate), so the outline is not
|
||||||
|
// chopped off on the left
|
||||||
|
.mx_TabbedView_tabPanel {
|
||||||
|
margin-left: 236px !important; // Remove 4 to allow 4 in mx_SettingsTab
|
||||||
|
}
|
||||||
|
.mx_SettingsTab {
|
||||||
|
padding-left: 4px !important;
|
||||||
|
}
|
||||||
|
.mx_BaseCard {
|
||||||
|
padding-left: 4px !important; // Remove 4 to allow 4 in mx_BaseCard_Group
|
||||||
|
}
|
||||||
|
.mx_BaseCard_Group {
|
||||||
|
padding-left: 4px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.mx_BasicMessageComposer .mx_BasicMessageComposer_inputEmpty > :first-child::before {
|
.mx_BasicMessageComposer .mx_BasicMessageComposer_inputEmpty > :first-child::before {
|
||||||
color: $secondary-content;
|
color: $secondary-content;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
|
|
Loading…
Reference in New Issue