-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
133 lines (117 loc) · 2.58 KB
/
styles.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.loader {
border: 4px solid #f3f3f3;
border-top: 4px solid #2563eb;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.tooltip {
position: relative;
display: inline-block;
cursor: pointer;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 300px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
top: 50%;
left: -305px; /* 调整这个值以适应你的需求 */
transform: translateY(-50%);
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
.star {
color: gold;
}
#toast {
visibility: hidden;
min-width: 250px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 12px; /* 添加圆角 */
padding: 16px;
position: fixed;
z-index: 1;
left: 50%;
bottom: 30px;
transform: translateX(-50%);
font-size: 17px;
white-space: nowrap;
}
#toast.show {
visibility: visible;
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
.max-width-200 {
max-width: 200px; /* 你希望的最大宽度 */
}
.min-width-300 {
min-width: 300px; /* 你希望的最大宽度 */
}
.url-tab {
margin-right: -1px;
padding-left: 24px;
display: flex;
align-items: center;
height: 32px;
min-width: 0px;
outline: transparent solid 2px;
outline-offset: 2px;
position: relative;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
/* border-width: 1px; */
border-left: 2px;
border-top: 2px;
border-bottom: 2px;
border-style: solid;
-o-border-image: initial;
border-image: initial;
border-color: inherit;
background: inherit;
width: 100%;
background-color: white;
border-color: #e0eafd;
/* border-radius: 6px; */
border-radius: 6px 0px 0px 6px;
font-size: 16px;
color: #333333;
height: 66px;
}
.lh-1-2{
line-height: 1.2;
}