This repository has been archived by the owner on Apr 3, 2022. It is now read-only.
forked from quarterpast/Elessar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elessar.css
120 lines (120 loc) · 2.38 KB
/
elessar.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
.elessar-handle {
display: block;
background: black;
height: 100%;
width: 5px;
cursor: ew-resize;
position: absolute;
top: 0;
bottom: 0;
}
.elessar-handle:first-child {
left: 0;
}
.elessar-handle:last-child {
right: 0;
}
.elessar-vertical .elessar-handle {
height: 5px;
width: 100%;
left: 0;
right: 0;
top: auto;
bottom: auto;
cursor: ns-resize;
}
.elessar-vertical .elessar-handle:first-child {
top: 0;
}
.elessar-vertical .elessar-handle:last-child {
bottom: 0;
}
.elessar-indicator {
position: absolute;
background: black;
border-color: white;
border-style: solid;
border-width: 0 1px;
width: 2px;
height: 100%;
z-index: 15;
}
.elessar-vertical .elessar-indicator {
width: 100%;
height: 2px;
}
.elessar-range {
position: absolute;
cursor: pointer;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background: blue;
width: 0;
z-index: 10;
}
.elessar-vertical .elessar-range {
width: auto;
height: 0;
}
.elessar-label {
position: absolute;
z-index: 5;
pointer-events: none;
border-left: 1px solid #999;
padding-left: 10px;
}
.elessar-readonly {
opacity: 0.6;
cursor: default !important;
}
.elessar-phantom {
background-color: transparent;
background: rgba(0,0,0,0.5);
color: white;
cursor: pointer !important;
}
.elessar-rangebar {
position: relative;
height: 30px;
line-height: 30px;
background: #ccc;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.elessar-delete-confirm {
background: red;
}
body.elessar-resizing, body.elessar-dragging {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body.elessar-resizing,
body.elessar-resizing .bar,
body.elessar-resizing .handle {
cursor: ew-resize !important;
}
body.elessar-resizing.elessar-resizing-vertical,
body.elessar-resizing.elessar-resizing-vertical .bar,
body.elessar-resizing.elessar-resizing-vertical .handle {
cursor: ns-resize !important;
}
body.elessar-dragging,
body.elessar-dragging .bar,
body.elessar-dragging .handle {
cursor: move !important;
cursor: -webkit-grabbing !important;
cursor: -moz-grabbing !important;
cursor: grabbing !important;
}