-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathdropdown.css
More file actions
74 lines (67 loc) · 1.53 KB
/
Copy pathdropdown.css
File metadata and controls
74 lines (67 loc) · 1.53 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
@charset "UTF-8";
@import "./common/var.css";
@import "./button.css";
@component-namespace el {
@b dropdown {
display: inline-block;
position: relative;
color: var(--color-extra-light-black);
font-size: var(--font-size-base);
.el-button-group {
display: block;
.el-button {
float: none;
}
}
& .el-dropdown__caret-button {
padding: * 5px;
& .el-dropdown__icon {
padding-left: 0;
}
}
@e icon {
font-size: 12px;
margin: 0 3px;
}
}
@b dropdown-menu {
margin: 5px 0;
background-color: var(--color-white);
border: 1px solid var(--color-base-gray);
box-shadow: var(--dropdown-menu-box-shadow);
padding: 6px 0;
z-index: 10;
position: absolute;
top: 0;
left: 0;
min-width: 100px;
@e item {
list-style: none;
line-height: 36px;
padding: 0 10px;
margin: 0;
cursor: pointer;
&:not(.is-disabled):hover {
background-color: var(--dropdown-menuItem-hover-fill);
color: var(--dropdown-menuItem-hover-color);
}
@m divided {
position: relative;
margin-top: 6px;
border-top: 1px solid var(--color-base-gray);
&:before {
content: '';
height: 6px;
display: block;
margin: 0 -10px;
background-color: var(--color-white);
}
}
@when disabled {
cursor: default;
color: var(--color-extra-light-silver);
pointer-events: none;
}
}
}
}