forked from codex-team/editor.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconversion-toolbar.css
More file actions
81 lines (67 loc) · 1.32 KB
/
conversion-toolbar.css
File metadata and controls
81 lines (67 loc) · 1.32 KB
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
.ce-conversion-toolbar {
@apply --overlay-pane;
opacity: 0;
visibility: hidden;
will-change: transform, opacity;
transition: transform 100ms ease, opacity 100ms ease;
transform: translateY(-8px);
left: -1px;
width: 150px;
margin-top: 5px;
box-sizing: content-box;
&--showed {
opacity: 1;
visibility: visible;
transform: none;
}
[hidden] {
display: none !important;
}
&__buttons {
display: flex;
}
&__label {
color: var(--grayText);
font-size: 11px;
font-weight: 500;
letter-spacing: 0.33px;
padding: 10px 10px 5px;
text-transform: uppercase;
}
}
.ce-conversion-tool {
display: flex;
padding: 5px 10px;
font-size: 14px;
line-height: 20px;
font-weight: 500;
cursor: pointer;
align-items: center;
&--hidden {
display: none;
}
&--focused {
box-shadow: inset 0 0 0px 1px rgba(7, 161, 227, 0.08);
background: rgba(34, 186, 255, 0.08) !important;
&-animated {
animation-name: buttonClicked;
animation-duration: 250ms;
}
}
&:hover {
background: var(--bg-light);
}
&__icon {
@apply --tool-icon;
}
&--last {
margin-right: 0 !important;
}
&--active {
color: var(--color-active-icon) !important;
}
&--active {
animation: bounceIn 0.75s 1;
animation-fill-mode: forwards;
}
}