-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (115 loc) · 2.54 KB
/
style.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
html {
--draggable-handle-color: #777;
}
#app {
display: flex;
align-items: center;
flex-direction: column;
}
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.clickable:hover, .clickable *:hover {
cursor: pointer;
}
.draggable, .draggable:hover {
cursor: move;
}
.preferential-vote-ordering-ui {
max-width: 500px;
}
.level-creator {
display: flex;
align-items: center;
flex-direction: column;
}
.level-creator__add-icon {
background: #ccc;
border-radius: 30px;
display: flex;
font-size: 11px;
padding: 6px 10px;
}
.column-container {
margin: 6px;
border: 1px solid lightgrey;
border-radius: 6px;
max-width: 500px;
}
.column-header {
display: flex;
padding: 6px 8px 2px 8px;
min-height: 23px;
}
.column-title {
padding: 0 1px;
flex-grow: 1;
margin: 0;
font-size: 14px;
}
.column-actions__action {
display: flex;
flex-direction: column;
background: #ccc;
border-radius: 30px;
width: 22px;
height: 22px;
line-height: 22px;
font-size: 18px;
text-align: center;
position: relative;
top: -2px;
}
.column-candidate-list {
padding: 0 6px 2px 6px;
transition: all 350ms;
min-height: 44px; /* for when there are no elements, and smoother transition */
}
.candidate {
display: flex;
border: 1px solid lightgrey;
border-radius: 8px;
margin-bottom: 6px;
background-color: white;
min-height: 32px;
box-sizing: border-box;
}
.candidate-handle {
font-weight: bolder;
display: flex;
align-items: center;
flex-direction: row;
}
.candidate-handle__icon {
width: 0px;
font-size: 22px;
padding-left: 14px;
padding-right: 17px;
position: relative;
top: -1px;
color: var(--draggable-handle-color);
}
.candidate-handle__icon::before {
content: ".";
text-shadow: -5px 0 var(--draggable-handle-color), -5px -5px var(--draggable-handle-color), 0 -5px var(--draggable-handle-color), -5px -10px var(--draggable-handle-color), 0 -10px var(--draggable-handle-color);
font-size: 16px;
color: var(--draggable-handle-color);
}
.candidate-label {
flex-grow: 1;
display: flex;
flex-direction: row;
align-items: center;
padding: 1px 8px 1px 0;
font-size: 12px;
}
.candidate-select-destination {
font-size: 11px;
vertical-align: middle;
margin: auto 2px;
}