sibu 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/sibu/defaults.css +308 -0
- data/lib/sibu/version.rb +1 -1
- metadata +2 -2
- data/app/assets/stylesheets/sibu/defaults.scss +0 -377
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 232ac4c7614a9d626ef80869988f9602e06714f222520354bc6b71193b9ab3d3
|
|
4
|
+
data.tar.gz: e92eede80c83c4df341a3d3a6d1ea951de05ffdc15626d18f3ee8548a85a0fd9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58d4ea89c0354dc84dd5d086b797717551db6b89c25b36b1e3eb11621c0e6e85752ba3fa3478149585bf326879b965735a23418d989863a52b4a2c8fcb59d864
|
|
7
|
+
data.tar.gz: 46c7dd3775a9245f3f6dd382d406533d16ba52efe065e406db1e812aedb6c8f4f3deb7830cb2d1022013073767579be9250aa273f5ab063af2d5a7c943a0d432
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
.sibu_edit_content {
|
|
2
|
+
--sibu-color1: #acb3c2;
|
|
3
|
+
--sibu-color2: #727e96;
|
|
4
|
+
--sibu-color3: #333;
|
|
5
|
+
--sibu-fonts: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.sibu_view {
|
|
9
|
+
padding: 2rem;
|
|
10
|
+
font-family: var(--sibu-fonts);
|
|
11
|
+
}
|
|
12
|
+
.sibu_view h2 {
|
|
13
|
+
padding-bottom: 1rem;
|
|
14
|
+
border-bottom: 2px solid var(--sibu-color1);
|
|
15
|
+
}
|
|
16
|
+
.sibu_view > .actions {
|
|
17
|
+
float: right;
|
|
18
|
+
}
|
|
19
|
+
.sibu_view > .actions a {
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
}
|
|
22
|
+
.sibu_view .sibu_images {
|
|
23
|
+
width: 70%;
|
|
24
|
+
float: left;
|
|
25
|
+
max-height: calc(100vh - 160px);
|
|
26
|
+
overflow: auto;
|
|
27
|
+
}
|
|
28
|
+
.sibu_view .sibu_edit_image {
|
|
29
|
+
margin-top: 1rem;
|
|
30
|
+
padding: 1rem;
|
|
31
|
+
text-align: center;
|
|
32
|
+
height: calc(100vh - 160px);
|
|
33
|
+
float: right;
|
|
34
|
+
width: 30%;
|
|
35
|
+
background-color: var(--sibu-color2);
|
|
36
|
+
}
|
|
37
|
+
.sibu_view .sibu_edit_image .sibu_field {
|
|
38
|
+
margin-top: 1rem;
|
|
39
|
+
}
|
|
40
|
+
.sibu_view .sibu_edit_image .sibu_field label {
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
}
|
|
43
|
+
.sibu_view .sibu_edit_image img {
|
|
44
|
+
max-height: 45vh;
|
|
45
|
+
}
|
|
46
|
+
.sibu_view .sibu_image {
|
|
47
|
+
display: inline-block;
|
|
48
|
+
margin-right: 1rem;
|
|
49
|
+
margin-top: 1rem;
|
|
50
|
+
}
|
|
51
|
+
.sibu_view .sibu_image img {
|
|
52
|
+
padding: 5px;
|
|
53
|
+
border: 1px solid var(--sibu-color3);
|
|
54
|
+
height: 100px;
|
|
55
|
+
width: auto;
|
|
56
|
+
}
|
|
57
|
+
.sibu_view .sibu_image.selected {
|
|
58
|
+
background-color: var(--sibu-color3);
|
|
59
|
+
}
|
|
60
|
+
.sibu_view .sibu_image:hover {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
.sibu_view .sibu_form {
|
|
64
|
+
padding: 2rem;
|
|
65
|
+
text-align: center;
|
|
66
|
+
}
|
|
67
|
+
.sibu_view .sibu_form .sibu_field {
|
|
68
|
+
width: 90%;
|
|
69
|
+
margin: 0 auto 2rem auto;
|
|
70
|
+
}
|
|
71
|
+
.sibu_view .sibu_form .sibu_field label {
|
|
72
|
+
display: inline-block;
|
|
73
|
+
width: 20%;
|
|
74
|
+
text-align: right;
|
|
75
|
+
padding-right: 1rem;
|
|
76
|
+
vertical-align: top;
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
margin-top: 0.5rem;
|
|
79
|
+
line-height: 1;
|
|
80
|
+
}
|
|
81
|
+
.sibu_view .sibu_form .sibu_field label + * {
|
|
82
|
+
display: inline-block;
|
|
83
|
+
width: 75%;
|
|
84
|
+
}
|
|
85
|
+
.sibu_view .sibu_form .sibu_field label + * > * {
|
|
86
|
+
display: inline-block;
|
|
87
|
+
width: 100%;
|
|
88
|
+
}
|
|
89
|
+
.sibu_view .sibu_form .sibu_field label + * small {
|
|
90
|
+
text-align: left;
|
|
91
|
+
font-style: italic;
|
|
92
|
+
}
|
|
93
|
+
.sibu_view .sibu_form .sibu_colors label {
|
|
94
|
+
vertical-align: top;
|
|
95
|
+
}
|
|
96
|
+
.sibu_view .sibu_form .sibu_colors label + div {
|
|
97
|
+
text-align: left;
|
|
98
|
+
}
|
|
99
|
+
.sibu_view .sibu_form .sibu_colors .sibu_color {
|
|
100
|
+
display: inline-block;
|
|
101
|
+
width: 4rem;
|
|
102
|
+
height: 4rem;
|
|
103
|
+
margin-right: 0.5rem;
|
|
104
|
+
}
|
|
105
|
+
.sibu_view .sibu_form .sibu_colors .sibu_color.selected {
|
|
106
|
+
border: 2px solid var(--sibu-color3);
|
|
107
|
+
outline: solid white 2px;
|
|
108
|
+
outline-offset: -3px;
|
|
109
|
+
}
|
|
110
|
+
.sibu_view .sibu_form .sibu_colors .sibu_color:hover {
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
}
|
|
113
|
+
.sibu_view .sibu_edit_form {
|
|
114
|
+
padding: 2rem 0;
|
|
115
|
+
text-align: left;
|
|
116
|
+
}
|
|
117
|
+
.sibu_view .sibu_edit_form .sibu_actions {
|
|
118
|
+
text-align: center;
|
|
119
|
+
}
|
|
120
|
+
.sibu_view .sibu_edit_form .sibu_field {
|
|
121
|
+
width: 100%;
|
|
122
|
+
margin: 0 auto 2rem auto;
|
|
123
|
+
}
|
|
124
|
+
.sibu_view .sibu_edit_form .sibu_field p {
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
}
|
|
127
|
+
.sibu_view .sibu_edit_form .sibu_field label {
|
|
128
|
+
text-align: left;
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
}
|
|
131
|
+
.sibu_view .sibu_edit_form .sibu_field label + * {
|
|
132
|
+
display: block;
|
|
133
|
+
width: 100%;
|
|
134
|
+
}
|
|
135
|
+
.sibu_view .sibu_edit_form .sibu_field label + input[type='checkbox'] {
|
|
136
|
+
display: inline-block;
|
|
137
|
+
width: 2rem;
|
|
138
|
+
margin-right: 2rem;
|
|
139
|
+
}
|
|
140
|
+
.sibu_view .sibu_edit_form .sibu_image_selection {
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-direction: row;
|
|
143
|
+
}
|
|
144
|
+
.sibu_view .sibu_edit_form .sibu_select_images {
|
|
145
|
+
width: 70%;
|
|
146
|
+
max-height: calc(100vh - 300px);
|
|
147
|
+
overflow: auto;
|
|
148
|
+
}
|
|
149
|
+
.sibu_view .sibu_edit_form .sibu_selected_image {
|
|
150
|
+
background-color: var(--sibu-color2);
|
|
151
|
+
width: 30%;
|
|
152
|
+
margin-bottom: 2rem;
|
|
153
|
+
text-align: center;
|
|
154
|
+
padding: 1rem;
|
|
155
|
+
}
|
|
156
|
+
.sibu_view .sibu_edit_form .sibu_selected_image .sibu_field {
|
|
157
|
+
margin-top: 1rem;
|
|
158
|
+
}
|
|
159
|
+
.sibu_view .sibu_edit_form .sibu_selected_image .sibu_field label {
|
|
160
|
+
font-weight: bold;
|
|
161
|
+
}
|
|
162
|
+
.sibu_view .sibu_edit_form .sibu_selected_image .sibu_center {
|
|
163
|
+
position: relative;
|
|
164
|
+
}
|
|
165
|
+
.sibu_view .sibu_edit_form .sibu_selected_image .sibu_center #sibu_center_pos {
|
|
166
|
+
position: absolute;
|
|
167
|
+
z-index: 3;
|
|
168
|
+
font-size: 20px;
|
|
169
|
+
font-weight: bold;
|
|
170
|
+
color: white;
|
|
171
|
+
text-shadow: 0 2px grey;
|
|
172
|
+
}
|
|
173
|
+
.sibu_view .sibu_edit_form .sibu_selected_image .sibu_center #sibu_center_desc {
|
|
174
|
+
font-size: 10px;
|
|
175
|
+
line-height: 1.2;
|
|
176
|
+
margin-top: 5px;
|
|
177
|
+
}
|
|
178
|
+
.sibu_view .sibu_edit_form #editor-container .ql-editor {
|
|
179
|
+
color: var(--sibu-color2);
|
|
180
|
+
}
|
|
181
|
+
.sibu_view .sibu_actions {
|
|
182
|
+
margin-top: 2rem;
|
|
183
|
+
margin-bottom: 2rem;
|
|
184
|
+
}
|
|
185
|
+
.sibu_view .sibu_actions input, .sibu_view .sibu_actions a {
|
|
186
|
+
font-size: 18px;
|
|
187
|
+
padding: 0.5em 1em;
|
|
188
|
+
}
|
|
189
|
+
.sibu_view .sibu_template {
|
|
190
|
+
display: inline-block;
|
|
191
|
+
width: 33%;
|
|
192
|
+
vertical-align: top;
|
|
193
|
+
padding: 2rem;
|
|
194
|
+
}
|
|
195
|
+
.sibu_view .sibu_template img {
|
|
196
|
+
margin-bottom: 2rem;
|
|
197
|
+
border-top: 2px solid var(--sibu-color1);
|
|
198
|
+
box-shadow: 0 0 5px #ccc;
|
|
199
|
+
}
|
|
200
|
+
#sections_panel .sibu_site_content {
|
|
201
|
+
padding: 2rem;
|
|
202
|
+
max-height: 60vh;
|
|
203
|
+
overflow-y: scroll;
|
|
204
|
+
}
|
|
205
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs {
|
|
206
|
+
height: 100%;
|
|
207
|
+
}
|
|
208
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs {
|
|
209
|
+
height: 100%;
|
|
210
|
+
}
|
|
211
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list {
|
|
212
|
+
margin: 0;
|
|
213
|
+
padding: 0;
|
|
214
|
+
display: table;
|
|
215
|
+
width: 100%;
|
|
216
|
+
}
|
|
217
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list .tabs__item {
|
|
218
|
+
display: table-cell;
|
|
219
|
+
}
|
|
220
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list .tabs__item > a {
|
|
221
|
+
text-decoration: none;
|
|
222
|
+
}
|
|
223
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list .tabs__link {
|
|
224
|
+
display: inline-block;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
margin-bottom: -2px;
|
|
227
|
+
padding: 1rem 2.5rem;
|
|
228
|
+
border-bottom: 4px solid transparent;
|
|
229
|
+
color: var(--sibu-color1);
|
|
230
|
+
text-decoration: none;
|
|
231
|
+
border-radius: 0 0 0 0;
|
|
232
|
+
transition: 0.25s;
|
|
233
|
+
transition-property: color, border, background-color;
|
|
234
|
+
font-size: 2rem;
|
|
235
|
+
}
|
|
236
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list .tabs__link:focus {
|
|
237
|
+
border-bottom-color: var(--sibu-color2);
|
|
238
|
+
color: var(--sibu-color2);
|
|
239
|
+
outline: 0;
|
|
240
|
+
}
|
|
241
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__list [aria-selected="true"].tabs__link {
|
|
242
|
+
border-bottom-color: var(--sibu-color2);
|
|
243
|
+
color: var(--sibu-color2);
|
|
244
|
+
outline: 0;
|
|
245
|
+
}
|
|
246
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content {
|
|
247
|
+
padding: 2rem 0;
|
|
248
|
+
background-color: white;
|
|
249
|
+
max-height: calc(100% - 40px);
|
|
250
|
+
overflow-y: scroll;
|
|
251
|
+
}
|
|
252
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content > * {
|
|
253
|
+
padding: 4px 0;
|
|
254
|
+
margin: 0 1rem 2rem 1rem;
|
|
255
|
+
min-height: auto;
|
|
256
|
+
box-shadow: 0 0 5px #cdcdcd;
|
|
257
|
+
}
|
|
258
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content > *:hover {
|
|
259
|
+
cursor: pointer;
|
|
260
|
+
outline: dashed var(--sibu-color2) 4px;
|
|
261
|
+
outline-offset: -5px;
|
|
262
|
+
}
|
|
263
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content > *.selected {
|
|
264
|
+
outline: solid var(--sibu-color1) 5px;
|
|
265
|
+
outline-offset: -5px;
|
|
266
|
+
}
|
|
267
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content > * > * {
|
|
268
|
+
margin-top: 0 !important;
|
|
269
|
+
margin-bottom: 0 !important;
|
|
270
|
+
}
|
|
271
|
+
#sections_panel .sibu_site_content > .sibu_sections_tabs > .tabs > .tabs__content[aria-hidden="true"] {
|
|
272
|
+
display: none;
|
|
273
|
+
}
|
|
274
|
+
#sections_panel .sibu_actions {
|
|
275
|
+
text-align: center;
|
|
276
|
+
margin: 1rem 0;
|
|
277
|
+
}
|
|
278
|
+
#sections_panel form .sibu_panel.sibu_view {
|
|
279
|
+
border-top: 2px solid var(--sibu-color3);
|
|
280
|
+
}
|
|
281
|
+
#edit_panel {
|
|
282
|
+
background-color: white;
|
|
283
|
+
border-top: 1px solid var(--sibu-color3);
|
|
284
|
+
max-height: 100%;
|
|
285
|
+
overflow: auto;
|
|
286
|
+
}
|
|
287
|
+
#edit_panel #element_actions {
|
|
288
|
+
display: block;
|
|
289
|
+
position: absolute;
|
|
290
|
+
right: 2rem;
|
|
291
|
+
top: 2rem;
|
|
292
|
+
}
|
|
293
|
+
#edit_mode_overlay .overlay_top, #edit_mode_overlay .overlay_bottom, #edit_mode_overlay .overlay_left, #edit_mode_overlay .overlay_right {
|
|
294
|
+
background-color: var(--sibu-color2);
|
|
295
|
+
}
|
|
296
|
+
#edit_mode_overlay .edit_mode_actions {
|
|
297
|
+
display: flex;
|
|
298
|
+
color: white;
|
|
299
|
+
min-width: 300px;
|
|
300
|
+
align-items: flex-start;
|
|
301
|
+
padding: 1rem 0;
|
|
302
|
+
}
|
|
303
|
+
#edit_mode_overlay .edit_mode_actions p {
|
|
304
|
+
font-weight: bold;
|
|
305
|
+
font-size: 1.2rem;
|
|
306
|
+
flex: 1 1 0%;
|
|
307
|
+
margin: 0;
|
|
308
|
+
}
|
data/lib/sibu/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sibu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jean-Baptiste Vilain
|
|
@@ -129,7 +129,7 @@ files:
|
|
|
129
129
|
- app/assets/javascripts/tarteaucitron/tarteaucitron.services.js
|
|
130
130
|
- app/assets/stylesheets/cropper/cropper.css
|
|
131
131
|
- app/assets/stylesheets/quill/quill.snow.css
|
|
132
|
-
- app/assets/stylesheets/sibu/defaults.
|
|
132
|
+
- app/assets/stylesheets/sibu/defaults.css
|
|
133
133
|
- app/assets/stylesheets/sibu/sibu.css
|
|
134
134
|
- app/assets/stylesheets/tarteaucitron/tarteaucitron.css
|
|
135
135
|
- app/controllers/sibu/application_controller.rb
|
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
.sibu_edit_content {
|
|
2
|
-
--sibu-color1: #acb3c2;
|
|
3
|
-
--sibu-color2: #727e96;
|
|
4
|
-
--sibu-color3: #333;
|
|
5
|
-
--sibu-fonts: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.sibu_view {
|
|
9
|
-
padding: 2rem;
|
|
10
|
-
font-family: var(--sibu-fonts);
|
|
11
|
-
|
|
12
|
-
h2 {
|
|
13
|
-
padding-bottom: 1rem;
|
|
14
|
-
border-bottom: 2px solid var(--sibu-color1);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
> .actions {
|
|
18
|
-
float: right;
|
|
19
|
-
|
|
20
|
-
a {
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.sibu_images {
|
|
26
|
-
width: 70%;
|
|
27
|
-
float: left;
|
|
28
|
-
max-height: calc(100vh - 160px);
|
|
29
|
-
overflow: auto;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.sibu_edit_image {
|
|
33
|
-
margin-top: 1rem;
|
|
34
|
-
padding: 1rem;
|
|
35
|
-
text-align: center;
|
|
36
|
-
height: calc(100vh - 160px);
|
|
37
|
-
float: right;
|
|
38
|
-
width: 30%;
|
|
39
|
-
background-color: var(--sibu-color2);
|
|
40
|
-
|
|
41
|
-
.sibu_field {
|
|
42
|
-
margin-top: 1rem;
|
|
43
|
-
label {
|
|
44
|
-
font-weight: bold;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
img {
|
|
49
|
-
max-height: 45vh;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.sibu_image {
|
|
54
|
-
display: inline-block;
|
|
55
|
-
margin-right: 1rem;
|
|
56
|
-
margin-top: 1rem;
|
|
57
|
-
|
|
58
|
-
img {
|
|
59
|
-
padding: 5px;
|
|
60
|
-
border: 1px solid var(--sibu-color3);
|
|
61
|
-
height: 100px;
|
|
62
|
-
width: auto;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&.selected {
|
|
66
|
-
background-color: var(--sibu-color3);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:hover {
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.sibu_form {
|
|
75
|
-
padding: 2rem;
|
|
76
|
-
text-align: center;
|
|
77
|
-
|
|
78
|
-
.sibu_field {
|
|
79
|
-
width: 90%;
|
|
80
|
-
margin: 0 auto 2rem auto;
|
|
81
|
-
|
|
82
|
-
label {
|
|
83
|
-
display: inline-block;
|
|
84
|
-
width: 20%;
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 1rem;
|
|
87
|
-
vertical-align: top;
|
|
88
|
-
font-weight: bold;
|
|
89
|
-
margin-top: 0.5rem;
|
|
90
|
-
line-height: 1;
|
|
91
|
-
|
|
92
|
-
& + * {
|
|
93
|
-
display: inline-block;
|
|
94
|
-
width: 75%;
|
|
95
|
-
> * {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
width: 100%;
|
|
98
|
-
}
|
|
99
|
-
small {
|
|
100
|
-
text-align: left;
|
|
101
|
-
font-style: italic;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.sibu_colors {
|
|
108
|
-
label {
|
|
109
|
-
vertical-align: top;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
label + div {
|
|
113
|
-
text-align: left;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.sibu_color {
|
|
117
|
-
display: inline-block;
|
|
118
|
-
width: 4rem;
|
|
119
|
-
height: 4rem;
|
|
120
|
-
margin-right: 0.5rem;
|
|
121
|
-
|
|
122
|
-
&.selected {
|
|
123
|
-
border: 2px solid var(--sibu-color3);
|
|
124
|
-
outline: solid white 2px;
|
|
125
|
-
outline-offset: -3px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&:hover {
|
|
129
|
-
cursor: pointer;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.sibu_edit_form {
|
|
136
|
-
padding: 2rem 0;
|
|
137
|
-
text-align: left;
|
|
138
|
-
|
|
139
|
-
.sibu_actions {
|
|
140
|
-
text-align: center;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.sibu_field {
|
|
144
|
-
width: 100%;
|
|
145
|
-
margin: 0 auto 2rem auto;
|
|
146
|
-
|
|
147
|
-
p {
|
|
148
|
-
font-weight: bold;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
label {
|
|
152
|
-
text-align: left;
|
|
153
|
-
font-weight: bold;
|
|
154
|
-
|
|
155
|
-
& + * {
|
|
156
|
-
display: block;
|
|
157
|
-
width: 100%;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
& + input[type='checkbox'] {
|
|
161
|
-
display: inline-block;
|
|
162
|
-
width: 2rem;
|
|
163
|
-
margin-right: 2rem;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.sibu_image_selection {
|
|
169
|
-
display: flex;
|
|
170
|
-
flex-direction: row;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.sibu_select_images {
|
|
174
|
-
width: 70%;
|
|
175
|
-
max-height: calc(100vh - 300px);
|
|
176
|
-
overflow: auto;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.sibu_selected_image {
|
|
180
|
-
background-color: var(--sibu-color2);
|
|
181
|
-
width: 30%;
|
|
182
|
-
margin-bottom: 2rem;
|
|
183
|
-
text-align: center;
|
|
184
|
-
padding: 1rem;
|
|
185
|
-
|
|
186
|
-
.sibu_field {
|
|
187
|
-
margin-top: 1rem;
|
|
188
|
-
label {
|
|
189
|
-
font-weight: bold;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.sibu_center {
|
|
194
|
-
position: relative;
|
|
195
|
-
|
|
196
|
-
#sibu_center_pos {
|
|
197
|
-
position: absolute;
|
|
198
|
-
z-index: 3;
|
|
199
|
-
font-size: 20px;
|
|
200
|
-
font-weight: bold;
|
|
201
|
-
color: white;
|
|
202
|
-
text-shadow: 0 2px grey;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
#sibu_center_desc {
|
|
206
|
-
font-size: 10px;
|
|
207
|
-
line-height: 1.2;
|
|
208
|
-
margin-top: 5px;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
#editor-container .ql-editor {
|
|
214
|
-
color: var(--sibu-color2);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.sibu_actions {
|
|
219
|
-
margin-top: 2rem;
|
|
220
|
-
margin-bottom: 2rem;
|
|
221
|
-
|
|
222
|
-
input, a {
|
|
223
|
-
font-size: 18px;
|
|
224
|
-
padding: 0.5em 1em;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.sibu_template {
|
|
229
|
-
display: inline-block;
|
|
230
|
-
width: 33%;
|
|
231
|
-
vertical-align: top;
|
|
232
|
-
padding: 2rem;
|
|
233
|
-
|
|
234
|
-
img {
|
|
235
|
-
margin-bottom: 2rem;
|
|
236
|
-
border-top: 2px solid var(--sibu-color1);
|
|
237
|
-
box-shadow: 0 0 5px #ccc;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
#sections_panel {
|
|
243
|
-
.sibu_site_content {
|
|
244
|
-
padding: 2rem;
|
|
245
|
-
max-height: 60vh;
|
|
246
|
-
overflow-y: scroll;
|
|
247
|
-
|
|
248
|
-
& > .sibu_sections_tabs {
|
|
249
|
-
height: 100%;
|
|
250
|
-
|
|
251
|
-
& > .tabs {
|
|
252
|
-
height: 100%;
|
|
253
|
-
|
|
254
|
-
& > .tabs__list {
|
|
255
|
-
margin: 0;
|
|
256
|
-
padding: 0;
|
|
257
|
-
display: table;
|
|
258
|
-
width: 100%;
|
|
259
|
-
|
|
260
|
-
.tabs__item {
|
|
261
|
-
display: table-cell;
|
|
262
|
-
|
|
263
|
-
> a {
|
|
264
|
-
text-decoration: none;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.tabs__link {
|
|
269
|
-
display: inline-block;
|
|
270
|
-
cursor: pointer;
|
|
271
|
-
margin-bottom: -2px;
|
|
272
|
-
padding: 1rem 2.5rem;
|
|
273
|
-
border-bottom: 4px solid transparent;
|
|
274
|
-
color: var(--sibu-color1);
|
|
275
|
-
text-decoration: none;
|
|
276
|
-
border-radius: 0 0 0 0;
|
|
277
|
-
transition: .25s;
|
|
278
|
-
transition-property: color, border, background-color;
|
|
279
|
-
font-size: 2rem;
|
|
280
|
-
|
|
281
|
-
&:focus {
|
|
282
|
-
border-bottom-color: var(--sibu-color2);
|
|
283
|
-
color: var(--sibu-color2);
|
|
284
|
-
outline: 0;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
[aria-selected="true"].tabs__link {
|
|
289
|
-
border-bottom-color: var(--sibu-color2);
|
|
290
|
-
color: var(--sibu-color2);
|
|
291
|
-
outline: 0;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
& > .tabs__content {
|
|
296
|
-
padding: 2rem 0;
|
|
297
|
-
background-color: white;
|
|
298
|
-
max-height: calc(100% - 40px);
|
|
299
|
-
overflow-y: scroll;
|
|
300
|
-
|
|
301
|
-
> * {
|
|
302
|
-
padding: 4px 0;
|
|
303
|
-
margin: 0 1rem 2rem 1rem;
|
|
304
|
-
min-height: auto;
|
|
305
|
-
box-shadow: 0 0 5px #cdcdcd;
|
|
306
|
-
|
|
307
|
-
&:hover {
|
|
308
|
-
cursor: pointer;
|
|
309
|
-
outline: dashed var(--sibu-color2) 4px;
|
|
310
|
-
outline-offset: -5px;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
&.selected {
|
|
314
|
-
outline: solid var(--sibu-color1) 5px;
|
|
315
|
-
outline-offset: -5px;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
> * {
|
|
319
|
-
margin-top: 0 !important;
|
|
320
|
-
margin-bottom: 0 !important;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
&[aria-hidden="true"] {
|
|
325
|
-
display: none;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.sibu_actions {
|
|
333
|
-
text-align: center;
|
|
334
|
-
margin: 1rem 0;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
form {
|
|
338
|
-
.sibu_panel.sibu_view {
|
|
339
|
-
border-top: 2px solid var(--sibu-color3);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
#edit_panel {
|
|
345
|
-
background-color: white;
|
|
346
|
-
border-top: 1px solid var(--sibu-color3);
|
|
347
|
-
max-height: 100%;
|
|
348
|
-
overflow: auto;
|
|
349
|
-
|
|
350
|
-
#element_actions {
|
|
351
|
-
display: block;
|
|
352
|
-
position: absolute;
|
|
353
|
-
right: 2rem;
|
|
354
|
-
top: 2rem;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
#edit_mode_overlay {
|
|
359
|
-
.overlay_top, .overlay_bottom, .overlay_left, .overlay_right {
|
|
360
|
-
background-color: var(--sibu-color2);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
.edit_mode_actions {
|
|
364
|
-
display: flex;
|
|
365
|
-
color: white;
|
|
366
|
-
min-width: 300px;
|
|
367
|
-
align-items: flex-start;
|
|
368
|
-
padding: 1rem 0;
|
|
369
|
-
|
|
370
|
-
p {
|
|
371
|
-
font-weight: bold;
|
|
372
|
-
font-size: 1.2rem;
|
|
373
|
-
flex: 1 1 0%;
|
|
374
|
-
margin: 0;
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|