forked from oxen-io/session-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_global.scss
137 lines (119 loc) · 2.08 KB
/
_global.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
* {
box-sizing: border-box;
}
html {
height: 100%;
// Default theme is Classic Dark
background-color: #1b1b1b;
font-size: 14px;
}
body {
position: relative;
height: 100%;
width: 100%;
margin: 0;
font-family: var(--font-default);
letter-spacing: 0.3px;
}
// scrollbars
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background-color: var(--scroll-bar-track-color);
}
::-webkit-scrollbar-thumb {
background: var(--scroll-bar-thumb-color);
border-radius: 20px;
&:hover {
background: var(--scroll-bar-thumb-hover-color);
}
}
audio {
max-width: 100%;
}
.hide {
display: none;
}
button {
cursor: pointer;
font-size: inherit;
border: none;
&[disabled='disabled'] {
&,
&:hover {
opacity: 0.5;
box-shadow: none;
cursor: default;
}
}
}
a {
cursor: pointer;
user-select: text;
}
@keyframes loading {
50% {
transform: scale(1);
opacity: 1;
}
100% {
opacity: 0;
}
}
.app-loading-screen {
z-index: 99;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
align-items: center;
user-select: none;
// Default theme is Classic Dark so we force this for the password prompt
background-color: #1b1b1b;
.content {
margin-inline-start: auto;
margin-inline-end: auto;
text-align: center;
}
.container {
margin-inline-start: auto;
margin-inline-end: auto;
width: 78px;
height: 22px;
}
.message {
-webkit-user-select: text;
user-select: text;
max-width: 35rem;
}
.dot {
width: 14px;
height: 14px;
border: 3px solid white;
border-radius: 50%;
float: left;
margin: 0 6px;
transform: scale(0);
animation: loading 1500ms ease infinite 0ms;
&:nth-child(2) {
animation: loading 1500ms ease infinite 333ms;
}
&:nth-child(3) {
animation: loading 1500ms ease infinite 666ms;
}
}
.session-text-logo {
filter: var(--session-logo-text-current-filter);
}
}
//yellow border fix
.inbox:focus {
outline: none;
}
.inbox {
position: relative;
}