Skip to content

Commit 4c8f77b

Browse files
committed
buttonify verify buttons
1 parent 58f2e51 commit 4c8f77b

File tree

2 files changed

+4
-29
lines changed

2 files changed

+4
-29
lines changed

src/skins/vector/css/matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,7 @@ limitations under the License.
2121
}
2222

2323
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_textButton {
24-
border: 0px;
25-
height: 36px;
26-
border-radius: 40px;
27-
border: solid 1px $accent-color;
28-
font-weight: 600;
29-
font-size: 14px;
30-
font-family: $font-family;
31-
margin-left: 0px;
32-
margin-right: 8px;
33-
padding-left: 1.5em;
34-
padding-right: 1.5em;
35-
outline: none;
36-
cursor: pointer;
37-
color: $accent-color;
24+
@mixin mx_DialogButton;
3825
background-color: $primary-bg-color;
26+
color: $accent-color;
3927
}

src/skins/vector/css/matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,9 @@ limitations under the License.
4343
}
4444

4545
.mx_UnknownDeviceDialog .mx_MemberDeviceInfo_textButton {
46-
border: 0px;
47-
height: 24px;
48-
border-radius: 40px;
49-
border: solid 1px $accent-color;
50-
font-weight: 600;
51-
font-size: 13px;
52-
font-family: $font-family;
53-
margin-left: 0px;
54-
margin-right: 8px;
55-
padding-left: 0.5em;
56-
padding-right: 0.5em;
57-
width: 85px;
58-
outline: none;
59-
cursor: pointer;
60-
color: $accent-color;
46+
@mixin mx_DialogButton_small;
6147
background-color: $primary-bg-color;
48+
color: $accent-color;
6249
}
6350

6451
.mx_UnknownDeviceDialog .mx_UnknownDeviceDialog_deviceList li {

0 commit comments

Comments
 (0)