forked from VirtualHotBar/NetMount
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
78 lines (67 loc) · 1.44 KB
/
index.css
File metadata and controls
78 lines (67 loc) · 1.44 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
@tailwind base;
@tailwind components;
@tailwind utilities;
p,
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--color-text-1);
}
.singe-line {
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
white-space: nowrap;
}
/* 字体 */
@font-face {
font-family: "Inter";
src: url("./assets/font/HarmonyOS_Sans_Regular.ttf") format("truetype");
}
@font-face {
font-family: "Inter-Bold";
src: url("./assets/font/HarmonyOS_Sans_Bold.ttf") format("truetype");
}
/* @font-face {
font-family: 'emoji';
src: url('./assets/font/seguiemj.woff2') format('woff2');
}
*/
/* 美化滚动条 */
::-webkit-scrollbar {
width: 6px;
height: 10px;
}
::-webkit-scrollbar-track {
width: 6px;
background: rgba(#101F1C, 0.1);
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
}
::-webkit-scrollbar-thumb {
background-color: rgba(144, 147, 153, .5);
background-clip: padding-box;
min-height: 28px;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
border-radius: 2em;
transition: background-color .3s;
cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(144, 147, 153, .3);
}
/* 选择存储卡片 */
.custom-radio-card {
padding: 10px 16px;
border: 1px solid var(--color-border-2);
border-radius: 4px;
box-sizing: border-box;
}
.custom-radio-card-checked {
background-color: var(--color-primary-light-1);
}