forked from darkreader/darkreader
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshared.less
More file actions
78 lines (63 loc) · 1.53 KB
/
Copy pathshared.less
File metadata and controls
78 lines (63 loc) · 1.53 KB
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
@import "./theme.less";
@import "./icons/icons.less";
@font-face {
font-family: 'Open Sans';
src: url('../assets/fonts/OpenSans-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('../assets/fonts/OpenSans-SemiBold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('../assets/fonts/OpenSans-Light.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}
@import "./controls/style";
html {
background-color: @color-back;
color: @color-fore;
color-scheme: dark;
font-family: @font-family;
font-size: 16px;
}
body {
font-family: @font-family;
font-size: @size-text-normal;
}
input, button {
font-family: @font-family;
font-size: @size-text-normal;
}
::-moz-selection {
background-color: @color-selection-back;
color: @color-selection-fore;
}
::selection {
background-color: @color-selection-back;
color: @color-selection-fore;
}
::-webkit-scrollbar {
background-color: @color-back;
width: @size-scrollbar-thickness;
&-thumb {
background-color: @color-control-hover;
&:hover {
background-color: mix(@color-control-hover, @color-control-active, 50%);
}
&:active {
background-color: @color-control-active;
}
}
&-corner {
background-color: @color-back;
}
}
* {
scrollbar-color: @color-control-hover @color-back;
}