forked from shixia226/ffd-designer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.scss
106 lines (101 loc) · 2.11 KB
/
index.scss
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
html {
width: 100%;
height: 100%;
overflow: hidden;
box-sizing: border-box;
}
body {
width: 100%;
height: 100%;
padding: 0 260px 0 200px;
.widgets {
position: absolute;
top: 0;
left: 0;
width: 200px;
height: 100%;
padding-right: 5px;
border-right: 1px solid #CCC;
overflow: auto;
span[widget] {
cursor: move;
}
}
.ppt {
position: absolute;
top: 0;
right: 0;
width: 260px;
height: 100%;
padding: 10px;
border: 1px solid #CCC;
overflow: auto;
}
.designer {
width: 100%;
height: 100%;
padding: 44px 0 0;
.nav-designer {
position: relative;
z-index: 225;
height: 2.75rem;
margin-top: -44px;
box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
.nav-link {
padding-top: .75rem;
padding-bottom: .75rem;
font-size: .875rem;
color: var(--secondary);
outline: none;
&:hover {
color: var(--blue);
}
}
}
.editor {
width: 100%;
height: 100%;
padding: 10px;
position: relative;
overflow: auto;
.content {
overflow: hidden;
}
}
}
}
.draggable {
background: #FFF;
border: 1px solid #CCC;
padding: 3px 5px;
border-radius: 3px;
z-index: 1000;
}
.drag-status {
[widget-container] {
border: 1px dashed #CCC;
padding: 10px;
}
}
.droppable {
border: 2px solid red;
opacity: 0.5;
}
.drop-helper {
display: block;
width: 100%;
height: 0px;
background: #ACACAC;
background-size: auto 100%;
position: relative;
pointer-events: none;
&::before {
content: '';
display: block;
width: 100%;
height: 20px;
background: #ACACAC;
margin-top: -10px;
position: absolute;
}
}