-
Notifications
You must be signed in to change notification settings - Fork 313
Expand file tree
/
Copy pathstyle.less
More file actions
executable file
·61 lines (53 loc) · 1.14 KB
/
style.less
File metadata and controls
executable file
·61 lines (53 loc) · 1.14 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
:host {
flex-shrink: 0;
}
.TDesign-theme-tabs {
min-width: 60px;
width: 100%;
height: 32px;
padding: 2px;
box-sizing: border-box;
border-radius: var(--border-radius);
background: var(--bg-color-component);
position: relative;
display: flex;
justify-content: space-between;
&__block {
background-color: var(--bg-color-tab-select);
box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
position: absolute;
height: calc(100% - 4px);
transition: all var(--anim-time-fn-easing) var(--anim-duration-moderate);
border-radius: var(--border-radius);
}
.item {
width: 50%;
height: 28px;
padding: 4px;
display: inline-flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
color: var(--text-disabled);
position: relative;
cursor: pointer;
svg {
width: 16px;
height: 16px;
pointer-events: none;
transition: all .2s linear;
}
&:hover:not(.active) {
color: var(--text-secondary);
}
&.active.sun {
color: #ffbd2e;
}
&.active.moon {
color: #fff;
}
&.active.system{
color:#00bcff;
}
}
}