-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (74 loc) · 1.36 KB
/
style.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
/* line-clamp 定义缩写 */
.line-1 {
@apply line-clamp-1 break-words;
}
.line-2 {
@apply line-clamp-2 break-words;
}
.line-3 {
@apply line-clamp-3 break-words;
}
/* flex 定义缩写 */
.f-c {
@apply flex items-center;
}
.f-s {
@apply flex items-start;
}
.f-e {
@apply flex items-end;
}
.f-c-c {
@apply flex items-center justify-center;
}
.f-c-e {
@apply flex items-center justify-end;
}
.f-c-a {
@apply flex items-center justify-around;
}
.f-c-b {
@apply flex items-center justify-between;
}
/* 页面切换动画 */
/* .fade-slide-enter-active {
transition: all 0.3s ease-out;
}
.fade-slide-leave-active {
transition: all 0.5s cubic-bezier(1, 0.5, 0.8, 1);
}
.fade-slide-enter-from,
.fade-slide-leave-to {
transform: translateX(20px);
opacity: 0;
} */
/* 修改默认样式 */
input,
button,
select,
textarea {
outline: none !important;
}
textarea {
resize: none !important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
/* 自定义滚动条样式 */
.hide-scrollbar::-webkit-scrollbar {
@apply w-0.5 md:w-1
}
.hide-scrollbar::-webkit-scrollbar-track {
@apply bg-transparent
}
.hide-scrollbar::-webkit-scrollbar-thumb {
@apply bg-black/20 rounded-xl
}
.hide-scrollbar::-webkit-scrollbar-thumb:hover {
@apply bg-black/30
}