-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
_settings.scss
116 lines (101 loc) · 1.94 KB
/
_settings.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// Copyright 2016-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.settings {
user-select: none;
&.modal {
padding: 0;
background-color: transparent;
z-index: 1;
.content {
margin: 0;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width: 450px;
border-radius: 0;
box-shadow: 0px 0px 0px 0px;
}
}
hr {
margin: 10px 0;
@include dark-theme {
border-color: $color-gray-45;
}
}
.device-name-settings {
text-align: center;
margin-bottom: 1em;
}
.syncSettings {
button {
float: right;
line-height: 36px;
padding: 0 20px;
margin: 0 0 20px 20px;
}
.synced_at {
@include font-body-2;
color: $color-gray-60;
}
.sync_failed {
display: none;
@include font-body-2;
color: $color-accent-red;
}
}
.restart-needed {
margin-top: 1em;
}
.clear-data-settings {
button {
float: right;
line-height: 36px;
padding: 0 20px;
margin: 0 0 20px 20px;
}
.destructive {
background-color: $color-accent-red;
color: $color-white;
}
}
.send-link-previews-setting {
margin-top: 0.75em;
}
.description {
margin-top: 0.3em;
margin-left: 1.5em;
}
.detail {
margin-top: 0.3em;
margin-left: 1.5em;
@include font-body-2;
color: $color-gray-60;
}
.disappearing-messages-setting {
&__timer {
display: flex;
flex-direction: row;
align-items: center;
&__label {
flex-grow: 1;
margin-right: 20px;
}
margin-bottom: 10px;
&__right {
position: relative;
&__info {
position: absolute;
@include font-subtitle;
padding-left: 14px;
}
}
&--with-info {
margin-bottom: 16px;
}
}
&__footer {
@include font-body-2;
color: $color-gray-60;
}
}
}