Skip to content

Commit 8f0f34e

Browse files
committed
fix buttons in other skins
1 parent ebbb677 commit 8f0f34e

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎src/skins/vector/css/_common.scss‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,10 @@ textarea {
205205
margin-right: 8px;
206206

207207
// flip colours for the secondary ones
208+
font-weight: 600;
209+
border: 1px solid $accent-color ! important;
208210
color: $accent-color;
209211
background-color: $accent-fg-color;
210-
211-
/* align images in buttons (eg spinners) */
212-
vertical-align: middle;
213212
}
214213

215214
.mx_Dialog button:focus, .mx_Dialog input[type="submit"]:focus {

‎src/skins/vector/css/themes/_base.scss‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ $progressbar-color: #000;
137137
// ***** Mixins! *****
138138

139139
@define-mixin mx_DialogButton {
140+
/* align images in buttons (eg spinners) */
140141
vertical-align: middle;
141142
border: 0px;
142143
border-radius: 36px;
143-
height: 33px;
144-
font-weight: 400;
145-
font-size: 16px;
144+
font-family: $font-family;
145+
font-size: 14px;
146146
color: $accent-fg-color;
147147
background-color: $accent-color;
148148
width: auto;
@@ -155,5 +155,6 @@ $progressbar-color: #000;
155155

156156
@define-mixin mx_DialogButton_small {
157157
@mixin mx_DialogButton;
158-
height: auto;
158+
font-size: 15px;
159+
padding: 0px 1.5em 0px 1.5em;
159160
}

‎src/skins/vector/themes/status/css/_status.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ $lightbox-border-color: #ffffff;
177177
$progressbar-color: #000;
178178

179179
@define-mixin mx_DialogButton {
180+
/* align images in buttons (eg spinners) */
181+
vertical-align: middle;
180182
border-radius: 8px;
181183
border: 1px solid rgba(199, 206, 209, 0.12);
182184
background-color: $accent-color;

0 commit comments

Comments
 (0)