forked from codex-team/editor.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoolbar.css
More file actions
58 lines (50 loc) · 929 Bytes
/
toolbar.css
File metadata and controls
58 lines (50 loc) · 929 Bytes
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
.ce-toolbar {
position: absolute;
left: 0;
right: 0;
top: 0;
/*opacity: 0;*/
/*visibility: hidden;*/
transition: opacity 100ms ease;
will-change: opacity, transform;
display: none;
&--opened {
display: block;
/*opacity: 1;*/
/*visibility: visible;*/
}
&__content {
max-width: var(--content-width);
margin: 0 auto;
position: relative;
}
&__plus {
@apply --toolbox-button;
position: absolute;
top: -1px;
left: calc(calc(var(--toolbox-buttons-size) + 10px) * -1);
&--hidden {
display: none;
}
}
/**
* Block actions Zone
* -------------------------
*/
&__actions {
position: absolute;
right: 0;
top: 0;
padding-right: 16px;
&-buttons {
text-align: right;
}
}
&__settings-btn {
display: inline-block;
width: 24px;
height: 24px;
color: var(--grayText);
cursor: pointer;
}
}