forked from OtterMind/Chat2DB
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvar.less
More file actions
66 lines (58 loc) · 1 KB
/
Copy pathvar.less
File metadata and controls
66 lines (58 loc) · 1 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
.f-single-line() {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.f-lines(@lines) {
word-break: break-word;
display: -webkit-box;
-webkit-box-orient: vertical;
box-orient: vertical;
-webkit-line-clamp: @lines;
line-clamp: @lines;
overflow: hidden;
text-overflow: ellipsis;
}
.f-icon-button {
display: flex;
justify-content: center;
align-items: center;
height: 32px;
width: 32px;
border-radius: 4px;
cursor: pointer;
color: var(--color-text-45);
&:hover {
background-color: var(--color-bg-hover);
}
i {
font-size: 22px;
}
}
.f-fill-absolute {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
.f-button {
display: flex !important;
align-items: center;
span {
font-size: 12px !important;
font-weight: 400 !important;
}
}
// 文档英文强制换行
.f-doc-en-break {
word-break: break-all;
}
@keyframes loading-animation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}