sibu 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +38 -38
  4. data/Rakefile +36 -36
  5. data/app/assets/config/sibu_manifest.js +2 -2
  6. data/app/assets/fonts/sibu/Sibu.eot +0 -0
  7. data/app/assets/fonts/sibu/Sibu.svg +13 -13
  8. data/app/assets/fonts/sibu/Sibu.ttf +0 -0
  9. data/app/assets/fonts/sibu/Sibu.woff +0 -0
  10. data/app/assets/javascripts/cropper/cropper.js +3694 -3694
  11. data/app/assets/javascripts/quill/quill.js +11401 -11401
  12. data/app/assets/javascripts/sibu/common.js +6 -6
  13. data/app/assets/javascripts/sibu/sibu.js.erb +155 -155
  14. data/app/assets/javascripts/tabs/van11y-accessible-tab-panel-aria.js +465 -465
  15. data/app/assets/stylesheets/cropper/cropper.css +304 -304
  16. data/app/assets/stylesheets/quill/quill.snow.css +945 -945
  17. data/app/assets/stylesheets/sibu/defaults.scss +336 -336
  18. data/app/assets/stylesheets/sibu/icons.scss +40 -40
  19. data/app/assets/stylesheets/sibu/sibu.css +131 -131
  20. data/app/controllers/sibu/application_controller.rb +14 -14
  21. data/app/controllers/sibu/documents_controller.rb +35 -35
  22. data/app/controllers/sibu/images_controller.rb +78 -78
  23. data/app/controllers/sibu/pages_controller.rb +197 -197
  24. data/app/controllers/sibu/sites_controller.rb +81 -81
  25. data/app/helpers/sibu/application_helper.rb +11 -11
  26. data/app/helpers/sibu/documents_helper.rb +4 -4
  27. data/app/helpers/sibu/images_helper.rb +4 -4
  28. data/app/helpers/sibu/pages_helper.rb +194 -194
  29. data/app/helpers/sibu/sites_helper.rb +23 -23
  30. data/app/jobs/sibu/application_job.rb +4 -4
  31. data/app/mailers/sibu/application_mailer.rb +6 -6
  32. data/app/models/concerns/sibu/document_uploader.rb +8 -8
  33. data/app/models/concerns/sibu/image_uploader.rb +31 -31
  34. data/app/models/concerns/sibu/sections_concern.rb +134 -134
  35. data/app/models/concerns/sibu/style_uploader.rb +1 -1
  36. data/app/models/concerns/sibu/user_concern.rb +8 -8
  37. data/app/models/sibu/application_record.rb +5 -5
  38. data/app/models/sibu/document.rb +16 -16
  39. data/app/models/sibu/dynamic_style.rb +76 -76
  40. data/app/models/sibu/image.rb +10 -19
  41. data/app/models/sibu/page.rb +66 -66
  42. data/app/models/sibu/site.rb +97 -97
  43. data/app/models/sibu/site_template.rb +22 -22
  44. data/app/views/layouts/sibu/application.html.erb +23 -23
  45. data/app/views/layouts/sibu/edit_content.html.erb +262 -262
  46. data/app/views/layouts/sibu/site.html.erb +45 -45
  47. data/app/views/sibu/documents/_form.html.erb +14 -14
  48. data/app/views/sibu/documents/index.html.erb +37 -37
  49. data/app/views/sibu/documents/new.html.erb +12 -12
  50. data/app/views/sibu/images/_edit_form.html.erb +23 -23
  51. data/app/views/sibu/images/_form.html.erb +34 -34
  52. data/app/views/sibu/images/edit.js.erb +2 -2
  53. data/app/views/sibu/images/index.html.erb +31 -13
  54. data/app/views/sibu/images/new.html.erb +12 -12
  55. data/app/views/sibu/images/show.html.erb +2 -2
  56. data/app/views/sibu/pages/_code_edit_panel.html.erb +17 -17
  57. data/app/views/sibu/pages/_element_actions.html.erb +4 -4
  58. data/app/views/sibu/pages/_error_panel.html.erb +4 -4
  59. data/app/views/sibu/pages/_form.html.erb +62 -62
  60. data/app/views/sibu/pages/_group_edit_panel.html.erb +3 -3
  61. data/app/views/sibu/pages/_link_edit_panel.html.erb +50 -50
  62. data/app/views/sibu/pages/_map_edit_panel.html.erb +27 -27
  63. data/app/views/sibu/pages/_media_edit_panel.html.erb +46 -46
  64. data/app/views/sibu/pages/_new_section_panel.html.erb +43 -43
  65. data/app/views/sibu/pages/_paragraph_edit_panel.html.erb +18 -18
  66. data/app/views/sibu/pages/_text_edit_panel.html.erb +19 -19
  67. data/app/views/sibu/pages/child_element.js.erb +6 -6
  68. data/app/views/sibu/pages/clone_element.js.erb +6 -6
  69. data/app/views/sibu/pages/create_section.js.erb +6 -6
  70. data/app/views/sibu/pages/delete_element.js.erb +6 -6
  71. data/app/views/sibu/pages/delete_section.js.erb +6 -6
  72. data/app/views/sibu/pages/destroy.html.erb +2 -2
  73. data/app/views/sibu/pages/edit.html.erb +8 -8
  74. data/app/views/sibu/pages/edit_content.html.erb +3 -3
  75. data/app/views/sibu/pages/edit_element.js.erb +100 -100
  76. data/app/views/sibu/pages/edit_section.js.erb +7 -7
  77. data/app/views/sibu/pages/index.html.erb +40 -40
  78. data/app/views/sibu/pages/new.html.erb +8 -8
  79. data/app/views/sibu/pages/new_section.js.erb +19 -19
  80. data/app/views/sibu/pages/show.html.erb +3 -3
  81. data/app/views/sibu/pages/update.html.erb +2 -2
  82. data/app/views/sibu/pages/update_element.js.erb +5 -5
  83. data/app/views/sibu/pages/update_section.js.erb +5 -5
  84. data/app/views/sibu/sites/_form.html.erb +125 -125
  85. data/app/views/sibu/sites/destroy.html.erb +2 -2
  86. data/app/views/sibu/sites/edit.html.erb +9 -9
  87. data/app/views/sibu/sites/edit_styles.html.erb +8 -8
  88. data/app/views/sibu/sites/index.html.erb +41 -41
  89. data/app/views/sibu/sites/new.html.erb +18 -18
  90. data/app/views/sibu/sites/update.html.erb +2 -2
  91. data/config/initializers/constants.rb +2 -2
  92. data/config/initializers/shrine.rb +18 -18
  93. data/config/routes.rb +30 -30
  94. data/config/tinymce.yml +5 -5
  95. data/db/migrate/20180124095041_create_sibu_sites.rb +12 -12
  96. data/db/migrate/20180124095213_create_sibu_pages.rb +15 -15
  97. data/db/migrate/20180124145030_create_sibu_site_templates.rb +10 -10
  98. data/db/migrate/20180125231638_add_user_id_to_sites.rb +5 -5
  99. data/db/migrate/20180126114522_rename_url_to_path_in_pages.rb +5 -5
  100. data/db/migrate/20180126114628_add_domain_to_sites.rb +5 -5
  101. data/db/migrate/20180127211533_create_sibu_images.rb +11 -11
  102. data/db/migrate/20180208082317_rename_images_user_id_to_site_id.rb +5 -5
  103. data/db/migrate/20180208125024_rename_image_data_column.rb +5 -5
  104. data/db/migrate/20180210181644_add_defaults_to_site_templates.rb +6 -6
  105. data/db/migrate/20180214134653_add_fields_to_sites.rb +5 -5
  106. data/db/migrate/20180227151519_add_default_templates_to_site_templates.rb +5 -5
  107. data/db/migrate/20180301121902_add_style_data_to_sites.rb +5 -5
  108. data/db/migrate/20180301152101_add_default_styles_to_templates.rb +5 -5
  109. data/db/migrate/20180321144021_move_images_to_user_level.rb +7 -7
  110. data/db/migrate/20180321170310_add_version_to_sibu_sites.rb +7 -7
  111. data/db/migrate/20180405095448_create_sibu_documents.rb +10 -10
  112. data/db/migrate/20190110204854_add_custom_data_to_sibu_pages.rb +5 -5
  113. data/lib/sibu.rb +4 -4
  114. data/lib/sibu/engine.rb +19 -19
  115. data/lib/sibu/utils.rb +14 -14
  116. data/lib/sibu/version.rb +3 -3
  117. data/lib/tasks/sibu_tasks.rake +4 -4
  118. metadata +3 -3
@@ -1,337 +1,337 @@
1
- $sibu-color1 : #acb3c2 !default;
2
- $sibu-color2 : #727e96 !default;
3
- $sibu-color3 : #333 !default;
4
-
5
- .sibu_view {
6
- padding: 2rem;
7
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8
-
9
- h2 {
10
- padding-bottom: 1rem;
11
- border-bottom: 2px solid $sibu-color1;
12
- }
13
-
14
- > .actions {
15
- float: right;
16
-
17
- a {
18
- text-decoration: none;
19
- }
20
- }
21
-
22
- .sibu_images {
23
- width: 70%;
24
- float: left;
25
- max-height: calc(100vh - 160px);
26
- overflow: auto;
27
- }
28
-
29
- .sibu_edit_image {
30
- margin-top: 1rem;
31
- padding: 1rem;
32
- text-align: center;
33
- height: calc(100vh - 160px);
34
- float: right;
35
- width: 30%;
36
- background-color: $sibu-color2;
37
-
38
- .sibu_field {
39
- margin-top: 1rem;
40
- label {
41
- font-weight: bold;
42
- }
43
- }
44
- }
45
-
46
- .sibu_image {
47
- display: inline-block;
48
- margin-right: 1rem;
49
- margin-top: 1rem;
50
-
51
- img {
52
- padding: 5px;
53
- border: 1px solid $sibu-color3;
54
- height: 100px;
55
- width: auto;
56
- }
57
-
58
- &.selected {
59
- background-color: $sibu-color3;
60
- }
61
- }
62
-
63
- .sibu_form {
64
- padding: 2rem;
65
- text-align: center;
66
-
67
- .sibu_field {
68
- width: 90%;
69
- margin: 0 auto 2rem auto;
70
-
71
- 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
- & + * {
82
- display: inline-block;
83
- width: 75%;
84
- > * {
85
- display: inline-block;
86
- width: 100%;
87
- }
88
- small {
89
- text-align: left;
90
- font-style: italic;
91
- }
92
- }
93
- }
94
- }
95
-
96
- .sibu_colors {
97
- label {
98
- vertical-align: top;
99
- }
100
-
101
- label + div {
102
- text-align: left;
103
- }
104
-
105
- .sibu_color {
106
- display: inline-block;
107
- width: 4rem;
108
- height: 4rem;
109
- margin-right: 0.5rem;
110
-
111
- &.selected {
112
- border: 2px solid $sibu-color3;
113
- outline: solid white 2px;
114
- outline-offset: -3px;
115
- }
116
-
117
- &:hover {
118
- cursor: pointer;
119
- }
120
- }
121
- }
122
- }
123
-
124
- .sibu_edit_form {
125
- padding: 2rem 0;
126
- text-align: left;
127
-
128
- .sibu_actions {
129
- text-align: center;
130
- }
131
-
132
- .sibu_field {
133
- width: 100%;
134
- margin: 0 auto 2rem auto;
135
-
136
- p {
137
- font-weight: bold;
138
- }
139
-
140
- label {
141
- text-align: left;
142
- font-weight: bold;
143
-
144
- & + * {
145
- display: block;
146
- width: 100%;
147
- }
148
-
149
- & + input[type='checkbox'] {
150
- display: inline-block;
151
- width: 2rem;
152
- margin-right: 2rem;
153
- }
154
- }
155
- }
156
-
157
- .sibu_image_selection {
158
- display: flex;
159
- flex-direction: row;
160
- }
161
-
162
- .sibu_select_images {
163
- width: 70%;
164
- max-height: calc(100vh - 300px);
165
- overflow: auto;
166
-
167
- .sibu_image {
168
- position: relative;
169
- span {
170
- position: absolute;
171
- z-index: -1;
172
- line-height: 1;
173
- width: 100%;
174
- text-align: center;
175
- top: 30px;
176
-
177
- & + .selected {
178
- background-color: transparentize($sibu-color3, 0.5);
179
- }
180
- }
181
- }
182
-
183
- img {
184
- padding: 5px;
185
- border: 1px solid $sibu-color3;
186
-
187
- &.selected {
188
- background-color: $sibu-color3;
189
- }
190
-
191
- &:hover {
192
- cursor: pointer;
193
- }
194
- }
195
- }
196
-
197
- .sibu_selected_image {
198
- background-color: $sibu-color2;
199
- width: 30%;
200
- margin-bottom: 2rem;
201
- text-align: center;
202
- padding: 1rem;
203
-
204
- .sibu_field {
205
- margin-top: 1rem;
206
- label {
207
- font-weight: bold;
208
- }
209
- }
210
-
211
- .sibu_center {
212
- position: relative;
213
-
214
- #sibu_center_pos {
215
- position: absolute;
216
- z-index: 3;
217
- font-size: 20px;
218
- font-weight: bold;
219
- color: white;
220
- text-shadow: 0 2px grey;
221
- }
222
- }
223
- }
224
-
225
- #editor-container .ql-editor {
226
- color: $sibu-color2;
227
- }
228
- }
229
-
230
- .sibu_actions {
231
- margin-top: 2rem;
232
- margin-bottom: 2rem;
233
-
234
- input, a {
235
- font-size: 18px;
236
- padding: 0.5em 1em;
237
- }
238
- }
239
-
240
- .sibu_template {
241
- display: inline-block;
242
- width: 33%;
243
- vertical-align: top;
244
- padding: 2rem;
245
-
246
- img {
247
- padding-top: 2rem;
248
- padding-bottom: 2rem;
249
- border-top: 2px solid $sibu-color1;
250
- box-shadow: 0 0 5px #ccc;
251
- }
252
- }
253
- }
254
-
255
- #sections_panel {
256
- .sibu_sections {
257
- padding: 2rem;
258
- max-height: 60vh;
259
- overflow-y: scroll;
260
-
261
- .tabs__list {
262
- margin: 0;
263
- padding: 0;
264
- display: table;
265
- width: 100%;
266
- }
267
- .tabs__item {
268
- display: table-cell;
269
- > a {
270
- text-decoration: none;
271
- }
272
- }
273
-
274
- .tabs__link {
275
- display: inline-block;
276
- cursor: pointer;
277
- margin-bottom: -2px;
278
- padding: 1rem 2.5rem;
279
- border-bottom: 4px solid transparent;
280
- color: $sibu-color1;
281
- text-decoration: none;
282
- border-radius: 0 0 0 0;
283
- transition: .25s;
284
- transition-property: color, border, background-color;
285
- font-size: 2rem;
286
- &:focus {
287
- border-bottom-color: $sibu-color2;
288
- color: $sibu-color2;
289
- outline: 0;
290
- }
291
- }
292
-
293
- [aria-selected="true"].tabs__link {
294
- border-bottom-color: $sibu-color2;
295
- color: $sibu-color2;
296
- outline: 0;
297
- }
298
-
299
- .tabs__content {
300
- padding: 2rem 0;
301
- background-color: white;
302
- max-height: calc(100% - 40px);
303
- overflow-y: scroll;
304
-
305
- > * {
306
- padding: 4px 0;
307
- margin: 0 1rem 2rem 1rem;
308
- min-height: auto;
309
- box-shadow: 0 0 5px #cdcdcd;
310
-
311
- &:hover {
312
- cursor: pointer;
313
- outline: dashed $sibu-color2 4px;
314
- outline-offset: -5px;
315
- }
316
-
317
- &.selected {
318
- outline: solid $sibu-color1 5px;
319
- outline-offset: -5px;
320
- }
321
-
322
- > * {
323
- margin-top: 0 !important;
324
- margin-bottom: 0 !important;
325
- }
326
- }
327
- }
328
-
329
- [aria-hidden="true"].tabs__content {
330
- display: none;
331
- }
332
- }
333
-
334
- .sibu_actions {
335
- text-align: center;
336
- }
1
+ $sibu-color1 : #acb3c2 !default;
2
+ $sibu-color2 : #727e96 !default;
3
+ $sibu-color3 : #333 !default;
4
+
5
+ .sibu_view {
6
+ padding: 2rem;
7
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
8
+
9
+ h2 {
10
+ padding-bottom: 1rem;
11
+ border-bottom: 2px solid $sibu-color1;
12
+ }
13
+
14
+ > .actions {
15
+ float: right;
16
+
17
+ a {
18
+ text-decoration: none;
19
+ }
20
+ }
21
+
22
+ .sibu_images {
23
+ width: 70%;
24
+ float: left;
25
+ max-height: calc(100vh - 160px);
26
+ overflow: auto;
27
+ }
28
+
29
+ .sibu_edit_image {
30
+ margin-top: 1rem;
31
+ padding: 1rem;
32
+ text-align: center;
33
+ height: calc(100vh - 160px);
34
+ float: right;
35
+ width: 30%;
36
+ background-color: $sibu-color2;
37
+
38
+ .sibu_field {
39
+ margin-top: 1rem;
40
+ label {
41
+ font-weight: bold;
42
+ }
43
+ }
44
+ }
45
+
46
+ .sibu_image {
47
+ display: inline-block;
48
+ margin-right: 1rem;
49
+ margin-top: 1rem;
50
+
51
+ img {
52
+ padding: 5px;
53
+ border: 1px solid $sibu-color3;
54
+ height: 100px;
55
+ width: auto;
56
+ }
57
+
58
+ &.selected {
59
+ background-color: $sibu-color3;
60
+ }
61
+ }
62
+
63
+ .sibu_form {
64
+ padding: 2rem;
65
+ text-align: center;
66
+
67
+ .sibu_field {
68
+ width: 90%;
69
+ margin: 0 auto 2rem auto;
70
+
71
+ 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
+ & + * {
82
+ display: inline-block;
83
+ width: 75%;
84
+ > * {
85
+ display: inline-block;
86
+ width: 100%;
87
+ }
88
+ small {
89
+ text-align: left;
90
+ font-style: italic;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ .sibu_colors {
97
+ label {
98
+ vertical-align: top;
99
+ }
100
+
101
+ label + div {
102
+ text-align: left;
103
+ }
104
+
105
+ .sibu_color {
106
+ display: inline-block;
107
+ width: 4rem;
108
+ height: 4rem;
109
+ margin-right: 0.5rem;
110
+
111
+ &.selected {
112
+ border: 2px solid $sibu-color3;
113
+ outline: solid white 2px;
114
+ outline-offset: -3px;
115
+ }
116
+
117
+ &:hover {
118
+ cursor: pointer;
119
+ }
120
+ }
121
+ }
122
+ }
123
+
124
+ .sibu_edit_form {
125
+ padding: 2rem 0;
126
+ text-align: left;
127
+
128
+ .sibu_actions {
129
+ text-align: center;
130
+ }
131
+
132
+ .sibu_field {
133
+ width: 100%;
134
+ margin: 0 auto 2rem auto;
135
+
136
+ p {
137
+ font-weight: bold;
138
+ }
139
+
140
+ label {
141
+ text-align: left;
142
+ font-weight: bold;
143
+
144
+ & + * {
145
+ display: block;
146
+ width: 100%;
147
+ }
148
+
149
+ & + input[type='checkbox'] {
150
+ display: inline-block;
151
+ width: 2rem;
152
+ margin-right: 2rem;
153
+ }
154
+ }
155
+ }
156
+
157
+ .sibu_image_selection {
158
+ display: flex;
159
+ flex-direction: row;
160
+ }
161
+
162
+ .sibu_select_images {
163
+ width: 70%;
164
+ max-height: calc(100vh - 300px);
165
+ overflow: auto;
166
+
167
+ .sibu_image {
168
+ position: relative;
169
+ span {
170
+ position: absolute;
171
+ z-index: -1;
172
+ line-height: 1;
173
+ width: 100%;
174
+ text-align: center;
175
+ top: 30px;
176
+
177
+ & + .selected {
178
+ background-color: transparentize($sibu-color3, 0.5);
179
+ }
180
+ }
181
+ }
182
+
183
+ img {
184
+ padding: 5px;
185
+ border: 1px solid $sibu-color3;
186
+
187
+ &.selected {
188
+ background-color: $sibu-color3;
189
+ }
190
+
191
+ &:hover {
192
+ cursor: pointer;
193
+ }
194
+ }
195
+ }
196
+
197
+ .sibu_selected_image {
198
+ background-color: $sibu-color2;
199
+ width: 30%;
200
+ margin-bottom: 2rem;
201
+ text-align: center;
202
+ padding: 1rem;
203
+
204
+ .sibu_field {
205
+ margin-top: 1rem;
206
+ label {
207
+ font-weight: bold;
208
+ }
209
+ }
210
+
211
+ .sibu_center {
212
+ position: relative;
213
+
214
+ #sibu_center_pos {
215
+ position: absolute;
216
+ z-index: 3;
217
+ font-size: 20px;
218
+ font-weight: bold;
219
+ color: white;
220
+ text-shadow: 0 2px grey;
221
+ }
222
+ }
223
+ }
224
+
225
+ #editor-container .ql-editor {
226
+ color: $sibu-color2;
227
+ }
228
+ }
229
+
230
+ .sibu_actions {
231
+ margin-top: 2rem;
232
+ margin-bottom: 2rem;
233
+
234
+ input, a {
235
+ font-size: 18px;
236
+ padding: 0.5em 1em;
237
+ }
238
+ }
239
+
240
+ .sibu_template {
241
+ display: inline-block;
242
+ width: 33%;
243
+ vertical-align: top;
244
+ padding: 2rem;
245
+
246
+ img {
247
+ padding-top: 2rem;
248
+ padding-bottom: 2rem;
249
+ border-top: 2px solid $sibu-color1;
250
+ box-shadow: 0 0 5px #ccc;
251
+ }
252
+ }
253
+ }
254
+
255
+ #sections_panel {
256
+ .sibu_sections {
257
+ padding: 2rem;
258
+ max-height: 60vh;
259
+ overflow-y: scroll;
260
+
261
+ .tabs__list {
262
+ margin: 0;
263
+ padding: 0;
264
+ display: table;
265
+ width: 100%;
266
+ }
267
+ .tabs__item {
268
+ display: table-cell;
269
+ > a {
270
+ text-decoration: none;
271
+ }
272
+ }
273
+
274
+ .tabs__link {
275
+ display: inline-block;
276
+ cursor: pointer;
277
+ margin-bottom: -2px;
278
+ padding: 1rem 2.5rem;
279
+ border-bottom: 4px solid transparent;
280
+ color: $sibu-color1;
281
+ text-decoration: none;
282
+ border-radius: 0 0 0 0;
283
+ transition: .25s;
284
+ transition-property: color, border, background-color;
285
+ font-size: 2rem;
286
+ &:focus {
287
+ border-bottom-color: $sibu-color2;
288
+ color: $sibu-color2;
289
+ outline: 0;
290
+ }
291
+ }
292
+
293
+ [aria-selected="true"].tabs__link {
294
+ border-bottom-color: $sibu-color2;
295
+ color: $sibu-color2;
296
+ outline: 0;
297
+ }
298
+
299
+ .tabs__content {
300
+ padding: 2rem 0;
301
+ background-color: white;
302
+ max-height: calc(100% - 40px);
303
+ overflow-y: scroll;
304
+
305
+ > * {
306
+ padding: 4px 0;
307
+ margin: 0 1rem 2rem 1rem;
308
+ min-height: auto;
309
+ box-shadow: 0 0 5px #cdcdcd;
310
+
311
+ &:hover {
312
+ cursor: pointer;
313
+ outline: dashed $sibu-color2 4px;
314
+ outline-offset: -5px;
315
+ }
316
+
317
+ &.selected {
318
+ outline: solid $sibu-color1 5px;
319
+ outline-offset: -5px;
320
+ }
321
+
322
+ > * {
323
+ margin-top: 0 !important;
324
+ margin-bottom: 0 !important;
325
+ }
326
+ }
327
+ }
328
+
329
+ [aria-hidden="true"].tabs__content {
330
+ display: none;
331
+ }
332
+ }
333
+
334
+ .sibu_actions {
335
+ text-align: center;
336
+ }
337
337
  }