-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
80 lines (70 loc) · 1.47 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
body {
margin: 0;
overflow: hidden;
font-family: "Open Sans", sans-serif;
}
#upload-container {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#upload-container #drag-drop-input {
background-color: #fff;
box-sizing: border-box;
border: 2px dashed #ccc;
border-radius: 6px;
text-align: center;
padding: 120px;
}
#upload-container #drag-drop-input.dragging {
border-color: #4368a9;
}
#canvas-container {
width: 100%;
height: 100%;
}
#setting-panel-container {
position: absolute;
top: 0;
right: 0;
width: 300px;
height: 100%;
background: white;
border-left: 1px solid #ccc;
transition: 0.3s;
}
#setting-panel-container.closed {
right: -300px;
}
#setting-panel-container .content {
position: relative;
width: calc(100% - 40px);
height: calc(100% - 40px);
padding: 20px;
}
#setting-panel-container .content .hide-show-handle {
position: absolute;
width: 40px;
height: 80px;
background: white;
top: calc(50% - 40px);
left: -40px;
background-image: url('./lib/caret-right.svg');
background-size: 20px;
background-repeat: no-repeat;
background-position: center center;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
cursor: pointer;
}
#setting-panel-container.closed .content .hide-show-handle {
background-image: url('./lib/caret-left.svg');
}
#setting-panel-container .title {
color: #888;
margin-top: 5px;
margin-bottom: 5px;
}