forked from alibaba/GGEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.less
84 lines (71 loc) · 1.25 KB
/
index.less
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
:global {
#root {
display: flex;
width: 100%;
height: 100%;
overflow: hidden;
}
}
.editor {
display: flex;
flex: 1;
flex-direction: column;
background-color: #f4f6f8;
&-hd {
display: flex;
align-items: center;
padding: 8px;
border-bottom: 1px solid #e8e8e8;
background: #ffffff;
.command i {
display: inline-block;
width: 27px;
height: 27px;
margin: 0 6px;
padding-top: 6px;
text-align: center;
border: 1px solid #fff;
cursor: pointer;
&:hover {
border: 1px solid #e8e8e8;
}
}
.command-disabled i {
color: rgba(0, 0, 0, 0.25);
cursor: auto;
&:hover {
border: 1px solid #fff;
}
}
}
&-bd {
flex: 1;
}
}
.context-menu {
background: #ffffff;
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
overflow: hidden;
.command {
cursor: pointer;
display: flex;
align-items: center;
padding: 5px 12px;
transition: all 0.3s;
user-select: none;
&:hover {
background: #e6f7ff;
}
i {
margin-right: 8px;
}
}
.command-disabled {
cursor: auto;
color: rgba(0, 0, 0, 0.25);
&:hover {
background: #fff;
}
}
}