-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (76 loc) · 1.73 KB
/
styles.css
File metadata and controls
87 lines (76 loc) · 1.73 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
body {
font-family: Arial, sans-serif;
width: 300px;
background-color: #f9f9f9;
padding: 0px;
}
ul#extensions-list {
list-style-type: none;
padding: 0;
margin: 0;
}
ul#extensions-list li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px;
border: 1px solid #e0e0e0;
margin-bottom: 5px;
background-color: #fff;
border-radius: 4px;
}
#groups-list li .delete-group {
display: none; /* 默认隐藏 */
color: red;
cursor: pointer;
margin-left: 10px; /* 添加一些间距 */
}
#newGroup {
padding: 5px;
border: 1px solid #e0e0e0;
margin: 5px 0;
background-color: #fff;
border-radius: 4px;
}
button {
padding: 5px 10px;
margin: 2px 5px 2px 5px;
border: none;
background-color: #4285f4;
color: #fff;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #357abf;
}
select {
padding: 5px;
border: 1px solid #e0e0e0;
background-color: #fff;
border-radius: 4px;
}
/* 分组列表样式 */
#groups-list {
display: flex; /* 横向排列 */
flex-wrap: wrap; /* 如果有很多分组,允许它们换行 */
gap: 10px; /* 分组之间的间距 */
margin: 0; /* 与下面的内容的间距 */
list-style-type: none; /* 去掉默认的列表样式 */
padding: 0; /* 去掉默认的内边距 */
}
#groups-list li {
padding: 5px 10px; /* 内边距 */
border: 1px solid #ccc; /* 边框 */
border-radius: 5px; /* 圆角 */
cursor: pointer; /* 鼠标悬停时的样式 */
transition: background-color 0.3s; /* 背景颜色过渡效果 */
}
#groups-list li:hover {
background-color: #f5f5f5; /* 鼠标悬停时的背景颜色 */
}
/* 选中的分组的样式 */
#groups-list li.selected {
background-color: #4285f4;
color: #fff;
}