-
-
Notifications
You must be signed in to change notification settings - Fork 550
/
index.styl
97 lines (85 loc) · 2.44 KB
/
index.styl
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
[data-ns="widgets/visualizer"] {
.widget-content {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
.btn-toolbar {
position: absolute;
top: 10px;
left: 10px;
z-index: 1;
.btn-group {
background-color: #fff;
}
}
.joystick {
position: absolute;
top: 5px;
right: 5px;
z-index: 1;
.joystick-button {
font-size: 14px;
color: #777;
text-align: center;
width: 16px;
&:hover,
&:focus {
cursor: pointer;
color: #333;
}
&:active {
color: #333;
text-shadow: 0 1px #ccc;
}
}
.joystick-button[disabled] {
cursor: not-allowed;
color: #777;
}
}
.file-uploader-block {
position: fixed;
top: 50px;
bottom: 0;
left: 0;
right: 0;
// Centering in the Unknown
// https://css-tricks.com/centering-in-the-unknown/
text-align: center;
// May want to do this if there is risk the container may be narrower than the element inside
white-space: nowrap;
// The ghost, nudged to maintain perfect centering
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -.25em; // Adjusts for spacing
}
.file-uploader-box {
display: inline-block;
vertical-align: middle;
background-color: #fff;
border-width: 1px;
border-color: #d0d0d0;
border-style: solid;
border-radius: 4px;
margin: 0 auto;
min-width: 240px;
max-width: 480px;
padding: 20px;
z-index: 1;
}
.file-uploader-content[disabled] {
cursor: not-allowed;
box-shadow: none;
opacity: .65;
}
}
.visualizer {
cursor: move;
}
}
}