forked from bptlab/fCM-design-support
-
Notifications
You must be signed in to change notification settings - Fork 1
/
dropdown.less
138 lines (113 loc) · 2.7 KB
/
dropdown.less
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
134
135
136
137
138
.dd-dropdown-menu, .dd-dropdown-menu-scrollable, .dd-dropdown-menu-warnings, .dd-dropdown-menu-termination-condition {
background-color: #29487D;
border-radius: 15px;
display: none;
position: absolute;
top: 100%;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dd-dropdown-content {
right: 0px;
max-width: 180px;
max-height: 400px;
overflow-y: auto;
}
.dd-dropdown-menu {
right: 0px;
max-width: 180px;
}
.dd-dropdown-menu-scrollable {
right: 0px;
max-width: 180px;
max-height: 400px;
overflow-y: auto;
}
.dd-dropdown-menu-warnings {
white-space: nowrap;
}
.dd-dropdown-menu-termination-condition {
left: 0px;
}
.dd-dropdown-entry, .dd-dropdown-create-input, .dd-dropdown-title {
color: #ffffff;
font-size: 14px;
padding: 12px 2px 12px 16px;
overflow: hidden;
text-overflow: ellipsis;
text-decoration: none;
display: inline-block;
}
.dd-dropdown-entry {
color: inherit;
width: 100%;
white-space: nowrap;
}
.dd-dropdown-box {
color: #ffffff;
display: flex;
}
.dd-dropdown-create-input {
padding-right: 16px;
}
.dd-dropdown-title {
font-size: 16px;
border-bottom-color: white;
border-bottom-width: 2px;
border-bottom-style: solid;
display: block;
}
.editButton, .deleteButton {
background-color: transparent;
font-size: 16px;
border-style: none;
padding-left: 0;
}
.dd-dropdown-create-input > input {
width: 100%;
}
.dd-dropdown-box:not(.unclickable):hover {
color: #29487D;
background-color: white;
}
.dd-dropdown-entry-selected-buttons {
float: left;
width: 70%;
}
.dd-dropdown-entry-selected::before {
content: "✔ ";
overflow: hidden;
white-space: nowrap;
}
.dd-dropdown-multicontainer {
display: flex;
}
.dd-dropdown-multicontainer > .dd-dropdown-menu {
display: block;
position: relative;
width: 50%;
border-radius: 0px;
}
.djs-overlay-classSelection, .djs-overlay-classSelection > div {
border-width: 1px;
border-radius: 15px;
}
.djs-overlay-classSelection > div > .dd-dropdown-menu:first-child {
border-radius: 15px 0px 0px 15px;
}
.djs-overlay-classSelection > div > .dd-dropdown-menu:last-child {
border-radius: 0px 15px 15px 0px;
}
.dd-dropdown-menu:first-of-type > .dd-dropdown-entry:first-child {
border-top-left-radius: 15px;
}
.dd-dropdown-menu:first-of-type > .dd-dropdown-entry:last-child {
border-bottom-left-radius: 15px;
}
.dd-dropdown-menu:last-of-type > .dd-dropdown-entry:first-child {
border-top-right-radius: 15px;
}
.dd-dropdown-menu:last-of-type > .dd-dropdown-entry:last-child {
border-bottom-right-radius: 15px;
}