forked from codex-team/editor.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.css
More file actions
110 lines (94 loc) · 1.97 KB
/
variables.css
File metadata and controls
110 lines (94 loc) · 1.97 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
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
107
108
109
110
:root {
/**
* Selection color
*/
--selectionColor: rgba(61,166,239,0.63);
/**
* Toolbar buttons
*/
--bg-light: #eff2f5;
/**
* All gray texts: placeholders, settings
*/
--grayText: #707684;
/** Blue icons */
--color-active-icon: #388AE5;
/**
* Block content width
*/
--content-width: 650px;
/**
* Toolbar buttons height and width
*/
--toolbar-buttons-size: 34px;
/**
* Toolbar Plus Button and Toolbox buttons height and width
*/
--toolbox-buttons-size: 20px;
/**
* Confirm deletion bg
*/
--color-confirm: #E24A4A;
--overlay-pane: {
position: absolute;
background-color: #FFFFFF;
box-shadow: 0 8px 23px -6px rgba(21,40,54,0.31), 22px -14px 34px -18px rgba(33,48,73,0.26);
border-radius: 4px;
z-index: 2;
&::before {
content: '';
width: 15px;
height: 15px;
position: absolute;
top: -7px;
left: 50%;
margin-left: -7px;
transform: rotate(-45deg);
background-color: #fff;
z-index: -1;
}
};
/**
* Styles for Toolbox Buttons and Plus Button
*/
--toolbox-button: {
color: var(--grayText);
cursor: pointer;
display: inline-block;
width: var(--toolbox-buttons-size);
height: var(--toolbox-buttons-size);
line-height: var(--toolbox-buttons-size);
&:not(:last-of-type){
margin-right: 3px;
}
&:hover {
color: var(--color-active-icon);
}
};
/**
* Styles for Settings Button in Toolbar
*/
--toolbar-button: {
display: inline-block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
border-radius: 3px;
cursor: pointer;
border: 0;
outline: none;
background-color: transparent;
vertical-align: bottom;
color: var(--grayText);
&:not(:last-of-type){
margin-right: 5px;
}
&:hover {
background-color: var(--bg-light);
}
&--active {
color: var(--color-active-icon);
}
};
}