-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (80 loc) · 1.8 KB
/
Copy pathstyle.css
File metadata and controls
90 lines (80 loc) · 1.8 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
79
80
81
82
83
84
85
86
87
88
89
90
/* 包围容器 */
.container {
margin: 20px auto;
padding: 20px;
background: #ffffff;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.center {
display: flex;
justify-content: center;
align-items: center;
}
/* 分割线 */
.divider {
height: 1px;
background: #dee2e6; /* 更加柔和的分割线颜色 */
margin: 10px 0; /* 分割线的上下间距 */
}
/* 按钮 */
button {
font-weight: bold;
padding: 10px 15px;
background-color: #007bff;
border: none;
color: white;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s; /* 添加过渡效果 */
}
button:hover {
background-color: #0056b3; /* 鼠标悬停效果 */
}
/* 输入框 */
.input-text {
padding: 10px;
border: 1px solid #ced4da;
color: #495057;
border-radius: 5px;
width: 150px;
transition: border-color 0.3s; /* 添加过渡效果 */
}
.input-text:focus {
border-color: #80bdff; /* 当前输入框边框高亮 */
}
.input-container {
position: relative; /* 使子元素绝对定位 */
width: 100%; /* 容器宽度 */
}
.input-tip {
position: absolute;
right: 10px;
top: 50%; /* 垂直居中 */
transform: translateY(-50%); /* 调整为居中 */
color: #ced4da;
font-size: 10px;
pointer-events: none; /* 确保提示文本不影响输入框的事件 */
}
/* 提示信息文本 */
.tip {
padding-bottom: 20px;
font-size: 14px;
display: flex;
align-items: center;
color: #dc3545;
}
.tip-icon {
margin-right: 8px;
}
/* 内容文本 */
.content {
font-size: 16px;
line-height: 1.2;
color: #495057;
align-items: start;
flex-direction: column;
justify-content: flex-start;
text-align: justify; /* 两端对齐 */
text-justify: inter-word;
}