Skip to content

Commit d907421

Browse files
committed
crappy CSS for UnknownDeviceDialog
1 parent ef51923 commit d907421

3 files changed

Lines changed: 48 additions & 1 deletion

File tree

src/skins/vector/css/_components.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@import "./matrix-react-sdk/views/dialogs/_ChatInviteDialog.scss";
1616
@import "./matrix-react-sdk/views/dialogs/_EncryptedEventDialog.scss";
1717
@import "./matrix-react-sdk/views/dialogs/_SetDisplayNameDialog.scss";
18+
@import "./matrix-react-sdk/views/dialogs/_UnknownDeviceDialog.scss";
1819
@import "./matrix-react-sdk/views/elements/_AddressSelector.scss";
1920
@import "./matrix-react-sdk/views/elements/_AddressTile.scss";
2021
@import "./matrix-react-sdk/views/elements/_DirectorySearchBox.scss";
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
Copyright 2016 OpenMarket Ltd
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
.mx_UnknownDeviceDialog .mx_MemberDeviceInfo {
18+
float: right;
19+
clear: both;
20+
padding: 0px;
21+
padding-top: 8px;
22+
}
23+
24+
.mx_UnknownDeviceDialog .mx_MemberDeviceInfo_textButton {
25+
border: 0px;
26+
height: 24px;
27+
border-radius: 40px;
28+
border: solid 1px $accent-color;
29+
font-weight: 600;
30+
font-size: 13px;
31+
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
32+
margin-left: 0px;
33+
margin-right: 8px;
34+
padding-left: 0.5em;
35+
padding-right: 0.5em;
36+
width: 70px;
37+
outline: none;
38+
cursor: pointer;
39+
color: $accent-color;
40+
background-color: $primary-bg-color;
41+
}
42+
43+
.mx_UnknownDeviceDialog .mx_UnknownDeviceDialog_deviceList li {
44+
height: 40px;
45+
border-bottom: 1px solid $primary-hairline-color;
46+
}

src/skins/vector/css/themes/_dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ $progressbar-color: #000;
114114

115115
.gm-scrollbar .thumb {
116116
filter: invert();
117-
}
117+
}

0 commit comments

Comments
 (0)