decidim-system 0.27.9 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -7
  3. data/app/commands/decidim/system/create_admin.rb +1 -1
  4. data/app/commands/decidim/system/create_default_content_blocks.rb +1 -14
  5. data/app/commands/decidim/system/create_default_pages.rb +23 -4
  6. data/app/commands/decidim/system/populate_help.rb +2 -2
  7. data/app/commands/decidim/system/register_organization.rb +18 -8
  8. data/app/commands/decidim/system/update_admin.rb +1 -1
  9. data/app/commands/decidim/system/update_organization.rb +2 -1
  10. data/app/controllers/decidim/system/application_controller.rb +1 -1
  11. data/app/controllers/decidim/system/dashboard_controller.rb +1 -0
  12. data/app/controllers/decidim/system/organizations_controller.rb +30 -9
  13. data/app/forms/decidim/system/admin_form.rb +1 -1
  14. data/app/forms/decidim/system/update_organization_form.rb +16 -17
  15. data/app/jobs/decidim/system/application_job.rb +1 -1
  16. data/app/mailers/decidim/system/application_mailer.rb +12 -0
  17. data/app/packs/entrypoints/decidim_system.js +5 -3
  18. data/app/packs/stylesheets/decidim/system/application.scss +108 -21
  19. data/app/views/decidim/system/admins/_form.html.erb +1 -7
  20. data/app/views/decidim/system/admins/edit.html.erb +3 -3
  21. data/app/views/decidim/system/admins/index.html.erb +3 -31
  22. data/app/views/decidim/system/admins/new.html.erb +3 -3
  23. data/app/views/decidim/system/dashboard/show.html.erb +13 -3
  24. data/app/views/decidim/system/devise/mailers/password_change.html.erb +1 -1
  25. data/app/views/decidim/system/devise/mailers/reset_password_instructions.html.erb +2 -2
  26. data/app/views/decidim/system/devise/passwords/edit.html.erb +5 -8
  27. data/app/views/decidim/system/devise/passwords/new.html.erb +5 -5
  28. data/app/views/decidim/system/devise/sessions/new.html.erb +10 -12
  29. data/app/views/decidim/system/oauth_applications/_form.html.erb +5 -20
  30. data/app/views/decidim/system/oauth_applications/edit.html.erb +9 -11
  31. data/app/views/decidim/system/oauth_applications/index.html.erb +6 -8
  32. data/app/views/decidim/system/oauth_applications/new.html.erb +9 -11
  33. data/app/views/decidim/system/oauth_applications/show.html.erb +20 -23
  34. data/app/views/decidim/system/organizations/_advanced_settings.html.erb +10 -8
  35. data/app/views/decidim/system/organizations/_csp_settings.html.erb +12 -0
  36. data/app/views/decidim/system/organizations/_file_upload_settings.erb +23 -46
  37. data/app/views/decidim/system/organizations/_omniauth_provider.html.erb +13 -16
  38. data/app/views/decidim/system/organizations/_omniauth_settings.html.erb +6 -8
  39. data/app/views/decidim/system/organizations/_smtp_settings.html.erb +12 -22
  40. data/app/views/decidim/system/organizations/edit.html.erb +29 -26
  41. data/app/views/decidim/system/organizations/index.html.erb +3 -4
  42. data/app/views/decidim/system/organizations/new.html.erb +29 -42
  43. data/app/views/decidim/system/shared/_admins_list.html.erb +27 -0
  44. data/app/views/decidim/system/shared/_notices.html.erb +4 -6
  45. data/app/views/decidim/system/shared/_organizations_list.html.erb +10 -3
  46. data/app/views/layouts/decidim/system/_header.html.erb +2 -2
  47. data/app/views/layouts/decidim/system/_login_items.html.erb +3 -7
  48. data/app/views/layouts/decidim/system/_sidebar.html.erb +3 -7
  49. data/app/views/layouts/decidim/system/application.html.erb +24 -28
  50. data/app/views/layouts/decidim/system/login.html.erb +10 -9
  51. data/config/locales/ar.yml +0 -12
  52. data/config/locales/bg.yml +0 -214
  53. data/config/locales/ca.yml +69 -18
  54. data/config/locales/cs.yml +69 -12
  55. data/config/locales/de.yml +62 -18
  56. data/config/locales/el.yml +8 -11
  57. data/config/locales/en.yml +70 -18
  58. data/config/locales/eo.yml +0 -7
  59. data/config/locales/es-MX.yml +70 -18
  60. data/config/locales/es-PY.yml +70 -18
  61. data/config/locales/es.yml +70 -18
  62. data/config/locales/eu.yml +69 -17
  63. data/config/locales/fa-IR.yml +0 -5
  64. data/config/locales/fi-plain.yml +69 -18
  65. data/config/locales/fi.yml +71 -20
  66. data/config/locales/fr-CA.yml +44 -24
  67. data/config/locales/fr.yml +54 -18
  68. data/config/locales/ga-IE.yml +0 -4
  69. data/config/locales/gl.yml +0 -12
  70. data/config/locales/hu.yml +0 -35
  71. data/config/locales/id-ID.yml +0 -10
  72. data/config/locales/is-IS.yml +0 -10
  73. data/config/locales/it.yml +0 -13
  74. data/config/locales/ja.yml +43 -24
  75. data/config/locales/lb.yml +0 -5
  76. data/config/locales/lt.yml +18 -11
  77. data/config/locales/lv.yml +0 -27
  78. data/config/locales/nl.yml +0 -20
  79. data/config/locales/no.yml +0 -12
  80. data/config/locales/pl.yml +0 -53
  81. data/config/locales/pt-BR.yml +0 -38
  82. data/config/locales/pt.yml +0 -12
  83. data/config/locales/ro-RO.yml +3 -19
  84. data/config/locales/ru.yml +0 -27
  85. data/config/locales/sk.yml +0 -27
  86. data/config/locales/sl.yml +0 -26
  87. data/config/locales/sr-CS.yml +0 -17
  88. data/config/locales/sv.yml +0 -12
  89. data/config/locales/tr-TR.yml +3 -15
  90. data/config/locales/uk.yml +0 -21
  91. data/config/locales/zh-CN.yml +0 -12
  92. data/config/locales/zh-TW.yml +7 -10
  93. data/config/routes.rb +6 -2
  94. data/db/seeds.rb +1 -1
  95. data/lib/decidim/system/engine.rb +2 -25
  96. data/lib/decidim/system/menu.rb +35 -0
  97. data/lib/decidim/system/version.rb +1 -1
  98. data/lib/tasks/decidim_system.rake +1 -1
  99. metadata +22 -28
  100. data/app/packs/entrypoints/decidim_system.scss +0 -1
  101. data/app/packs/images/decidim/system/.keep +0 -0
  102. data/app/packs/src/decidim/system/application.js +0 -41
  103. data/app/packs/stylesheets/decidim/system/_actions.scss +0 -8
  104. data/app/packs/stylesheets/decidim/system/_forms.scss +0 -36
  105. data/app/packs/stylesheets/decidim/system/_foundation_and_overrides.scss +0 -53
  106. data/app/packs/stylesheets/decidim/system/_layout.scss +0 -18
  107. data/app/packs/stylesheets/decidim/system/_login.scss +0 -37
  108. data/app/packs/stylesheets/decidim/system/_settings.scss +0 -569
  109. data/app/packs/stylesheets/decidim/system/_sidebar.scss +0 -83
  110. data/app/packs/stylesheets/decidim/system/_tables.scss +0 -6
  111. data/app/views/decidim/system/admins/show.html.erb +0 -9
  112. data/app/views/decidim/system/organizations/show.html.erb +0 -10
  113. data/config/locales/he-IL.yml +0 -1
  114. data/decidim-system.gemspec +0 -35
@@ -1,569 +0,0 @@
1
- // Foundation for Sites Settings
2
- // -----------------------------
3
- //
4
- // Table of Contents:
5
- //
6
- // 1. Global
7
- // 2. Breakpoints
8
- // 3. The Grid
9
- // 4. Base Typography
10
- // 5. Typography Helpers
11
- // 6. Abide
12
- // 7. Accordion
13
- // 8. Accordion Menu
14
- // 9. Badge
15
- // 10. Breadcrumbs
16
- // 11. Button
17
- // 12. Button Group
18
- // 13. Callout
19
- // 14. Close Button
20
- // 15. Drilldown
21
- // 16. Dropdown
22
- // 17. Dropdown Menu
23
- // 18. Flex Video
24
- // 19. Forms
25
- // 20. Label
26
- // 21. Media Object
27
- // 22. Menu
28
- // 23. Meter
29
- // 24. Off-canvas
30
- // 25. Orbit
31
- // 26. Pagination
32
- // 27. Progress Bar
33
- // 28. Reveal
34
- // 29. Slider
35
- // 30. Switch
36
- // 31. Table
37
- // 32. Tabs
38
- // 33. Thumbnail
39
- // 34. Title Bar
40
- // 35. Tooltip
41
- // 36. Top Bar
42
-
43
- @import "foundation-sites/scss/util/util";
44
-
45
- // 1. Global
46
- // ---------
47
-
48
- // $global-font-size: 100%;
49
- // $global-width: rem-calc(1200);
50
- // $global-lineheight: 1.5;
51
- $foundation-palette: (
52
- primary: #e73e36,
53
- secondary: #777,
54
- success: #3adb76,
55
- warning: #ffae00,
56
- alert: #ec5840,
57
- );
58
- $light-gray: #e6e6e6;
59
- // $medium-gray: #cacaca;
60
- // $dark-gray: #8a8a8a;
61
- $black: #232323;
62
- // $white: #fefefe;
63
- // $body-background: $white;
64
- // $body-font-color: $black;
65
- $body-font-family: 'Montserrat', sans-serif;
66
- // $body-antialiased: true;
67
- // $global-margin: 1rem;
68
- // $global-padding: 1rem;
69
- // $global-weight-normal: normal;
70
- // $global-weight-bold: bold;
71
- // $global-radius: 0;
72
- // $global-text-direction: ltr;
73
- $global-flexbox: true;
74
- // $print-transparent-backgrounds: true;
75
-
76
- @include add-foundation-colors;
77
-
78
- // 2. Breakpoints
79
- // --------------
80
-
81
- // $breakpoints: (
82
- // small: 0,
83
- // medium: 640px,
84
- // large: 1024px,
85
- // xlarge: 1200px,
86
- // xxlarge: 1440px,
87
- // );
88
- // $breakpoint-classes: (small medium large);
89
-
90
- // 3. The Grid
91
- // -----------
92
-
93
- // $grid-row-width: $global-width;
94
- // $grid-column-count: 12;
95
- // $grid-column-gutter: (
96
- // small: 20px,
97
- // medium: 30px,
98
- // );
99
- // $grid-column-align-edge: true;
100
- // $block-grid-max: 8;
101
-
102
- // 4. Base Typography
103
- // ------------------
104
-
105
- // $header-font-family: $body-font-family;
106
- // $header-font-weight: $global-weight-normal;
107
- // $header-font-style: normal;
108
- // $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
109
- // $header-sizes: (
110
- // small: (
111
- // 'h1': 24,
112
- // 'h2': 20,
113
- // 'h3': 19,
114
- // 'h4': 18,
115
- // 'h5': 17,
116
- // 'h6': 16,
117
- // ),
118
- // medium: (
119
- // 'h1': 48,
120
- // 'h2': 40,
121
- // 'h3': 31,
122
- // 'h4': 25,
123
- // 'h5': 20,
124
- // 'h6': 16,
125
- // ),
126
- // );
127
- // $header-color: inherit;
128
- // $header-lineheight: 1.4;
129
- // $header-margin-bottom: 0.5rem;
130
- // $header-text-rendering: optimizeLegibility;
131
- // $small-font-size: 80%;
132
- // $header-small-font-color: $medium-gray;
133
- // $paragraph-lineheight: 1.6;
134
- // $paragraph-margin-bottom: 1rem;
135
- // $paragraph-text-rendering: optimizeLegibility;
136
- // $code-color: $black;
137
- // $code-font-family: $font-family-monospace;
138
- // $code-font-weight: $global-weight-normal;
139
- // $code-background: $light-gray;
140
- // $code-border: 1px solid $medium-gray;
141
- // $code-padding: rem-calc(2 5 1);
142
- // $anchor-color: $primary-color;
143
- // $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
144
- // $anchor-text-decoration: none;
145
- // $anchor-text-decoration-hover: none;
146
- // $hr-width: $global-width;
147
- // $hr-border: 1px solid $medium-gray;
148
- // $hr-margin: rem-calc(20) auto;
149
- // $list-lineheight: $paragraph-lineheight;
150
- // $list-margin-bottom: $paragraph-margin-bottom;
151
- // $list-style-type: disc;
152
- // $list-style-position: outside;
153
- // $list-side-margin: 1.25rem;
154
- // $list-nested-side-margin: 1.25rem;
155
- // $defnlist-margin-bottom: 1rem;
156
- // $defnlist-term-weight: $global-weight-bold;
157
- // $defnlist-term-margin-bottom: 0.3rem;
158
- // $blockquote-color: $dark-gray;
159
- // $blockquote-padding: rem-calc(9 20 0 19);
160
- // $blockquote-border: 1px solid $medium-gray;
161
- // $cite-font-size: rem-calc(13);
162
- // $cite-color: $dark-gray;
163
- // $keystroke-font: $font-family-monospace;
164
- // $keystroke-color: $black;
165
- // $keystroke-background: $light-gray;
166
- // $keystroke-padding: rem-calc(2 4 0);
167
- // $keystroke-radius: $global-radius;
168
- // $abbr-underline: 1px dotted $black;
169
-
170
- // 5. Typography Helpers
171
- // ---------------------
172
-
173
- // $lead-font-size: $global-font-size * 1.25;
174
- // $lead-lineheight: 1.6;
175
- // $subheader-lineheight: 1.4;
176
- // $subheader-color: $dark-gray;
177
- // $subheader-font-weight: $global-weight-normal;
178
- // $subheader-margin-t#23262Cop: 0.2rem;
179
- // $subheader-margin-bottom: 0.5rem;
180
- // $stat-font-size: 2.5rem;
181
-
182
- // 6. Abide
183
- // --------
184
-
185
- // $abide-inputs: true;
186
- // $abide-labels: true;
187
- // $input-background-invalid: map-get($foundation-palette, alert);
188
- // $form-label-color-invalid: map-get($foundation-palette, alert);
189
- // $input-error-color: map-get($foundation-palette, alert);
190
- // $input-error-font-size: rem-calc(12);
191
- // $input-error-font-weight: $global-weight-bold;
192
-
193
- // 7. Accordion
194
- // ------------
195
-
196
- // $accordion-background: $white;
197
- // $accordion-plusminus: true;
198
- // $accordion-item-color: foreground($accordion-background, $primary-color);
199
- // $accordion-item-background-hover: $light-gray;
200
- // $accordion-item-padding: 1.25rem 1rem;
201
- // $accordion-content-background: $white;
202
- // $accordion-content-border: 1px solid $light-gray;
203
- // $accordion-content-color: foreground($accordion-content-background, $body-font-color);
204
- // $accordion-content-padding: 1rem;
205
-
206
- // 8. Accordion Menu
207
- // -----------------
208
-
209
- // $accordionmenu-arrows: true;
210
- // $accordionmenu-arrow-color: $primary-color;
211
-
212
- // 9. Badge
213
- // --------
214
-
215
- // $badge-background: $primary-color;
216
- // $badge-color: foreground($badge-background);
217
- // $badge-padding: 0.3em;
218
- // $badge-minwidth: 2.1em;
219
- // $badge-font-size: 0.6rem;
220
-
221
- // 10. Breadcrumbs
222
- // ---------------
223
-
224
- // $breadcrumbs-margin: 0 0 $global-margin 0;
225
- // $breadcrumbs-item-font-size: rem-calc(11);
226
- // $breadcrumbs-item-color: $primary-color;
227
- // $breadcrumbs-item-color-current: $black;
228
- // $breadcrumbs-item-color-disabled: $medium-gray;
229
- // $breadcrumbs-item-margin: 0.75rem;
230
- // $breadcrumbs-item-uppercase: true;
231
- // $breadcrumbs-item-slash: true;
232
-
233
- // 11. Button
234
- // ----------
235
-
236
- // $button-padding: 0.85em 1em;
237
- $button-margin: 0;
238
- // $button-fill: solid;
239
- // $button-background: $primary-color;
240
- // $button-background-hover: scale-color($button-background, $lightness: -15%);
241
- // $button-color: $white;
242
- // $button-color-alt: $black;
243
- // $button-radius: $global-radius;
244
- // $button-sizes: (
245
- // tiny: 0.6rem,
246
- // small: 0.75rem,
247
- // default: 0.9rem,
248
- // large: 1.25rem,
249
- // );
250
- // $button-opacity-disabled: 0.25;
251
-
252
- // 12. Button Group
253
- // ----------------
254
-
255
- // $buttongroup-margin: 1rem;
256
- // $buttongroup-spacing: 1px;
257
- // $buttongroup-child-selector: ".button";
258
- // $buttongroup-expand-max: 6;
259
-
260
- // 13. Callout
261
- // -----------
262
-
263
- // $callout-background: $white;
264
- // $callout-background-fade: 85%;
265
- // $callout-border: 1px solid rgba($black, 0.25);
266
- // $callout-margin: 0 0 1rem 0;
267
- // $callout-padding: 1rem;
268
- // $callout-font-color: $body-font-color;
269
- // $callout-font-color-alt: $body-background;
270
- // $callout-radius: $global-radius;
271
- // $callout-link-tint: 30%;
272
-
273
- // 14. Close Button
274
- // ----------------
275
-
276
- // $closebutton-position: right top;
277
- // $closebutton-offset-horizontal: 1rem;
278
- // $closebutton-offset-vertical: 0.5rem;
279
- // $closebutton-size: 2em;
280
- // $closebutton-lineheight: 1;
281
- // $closebutton-color: $dark-gray;
282
- // $closebutton-color-hover: $black;
283
-
284
- // 15. Drilldown
285
- // -------------
286
-
287
- // $drilldown-transition: transform 0.15s linear;
288
- // $drilldown-arrows: true;
289
- // $drilldown-arrow-color: $primary-color;
290
- // $drilldown-background: $white;
291
-
292
- // 16. Dropdown
293
- // ------------
294
-
295
- // $dropdown-padding: 1rem;
296
- // $dropdown-border: 1px solid $medium-gray;
297
- // $dropdown-font-size: 1rem;
298
- // $dropdown-width: 300px;
299
- // $dropdown-radius: $global-radius;
300
- // $dropdown-sizes: (
301
- // tiny: 100px,
302
- // small: 200px,
303
- // large: 400px,
304
- // );
305
-
306
- // 17. Dropdown Menu
307
- // -----------------
308
-
309
- // $dropdownmenu-arrows: true;
310
- // $dropdownmenu-arrow-color: $anchor-color;
311
- // $dropdownmenu-min-width: 200px;
312
- // $dropdownmenu-background: $white;
313
- // $dropdownmenu-border: 1px solid $medium-gray;
314
-
315
- // 18. Flex Video
316
- // --------------
317
-
318
- // $flexvideo-margin-bottom: rem-calc(16);
319
- // $flexvideo-ratio: 4 by 3;
320
- // $flexvideo-ratio-widescreen: 16 by 9;
321
-
322
- // 19. Forms
323
- // ---------
324
-
325
- // $fieldset-border: 1px solid $medium-gray;
326
- // $fieldset-padding: rem-calc(20);
327
- // $fieldset-margin: rem-calc(18 0);
328
- // $legend-padding: rem-calc(0 3);
329
- // $form-spacing: rem-calc(16);
330
- // $helptext-color: $black;
331
- // $helptext-font-size: rem-calc(13);
332
- // $helptext-font-style: italic;
333
- // $input-prefix-color: $black;
334
- // $input-prefix-background: $light-gray;
335
- // $input-prefix-border: 1px solid $medium-gray;
336
- // $input-prefix-padding: 1rem;
337
- // $form-label-color: $black;
338
- // $form-label-font-size: rem-calc(14);
339
- // $form-label-font-weight: $global-weight-normal;
340
- // $form-label-line-height: 1.8;
341
- // $select-background: $white;
342
- // $select-triangle-color: $dark-gray;
343
- // $select-radius: $global-radius;
344
- // $input-color: $black;
345
- // $input-placeholder-color: $medium-gray;
346
- // $input-font-family: inherit;
347
- // $input-font-size: rem-calc(16);
348
- // $input-background: $white;
349
- // $input-background-focus: $white;
350
- // $input-background-disabled: $light-gray;
351
- // $input-border: 1px solid $medium-gray;
352
- // $input-border-focus: 1px solid $dark-gray;
353
- // $input-shadow: inset 0 1px 2px rgba($black, 0.1);
354
- // $input-shadow-focus: 0 0 5px $medium-gray;
355
- // $input-cursor-disabled: not-allowed;
356
- // $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
357
- // $input-number-spinners: true;
358
- // $input-radius: $global-radius;
359
-
360
- // 20. Label
361
- // ---------
362
-
363
- // $label-background: $primary-color;
364
- // $label-color: foreground($label-background);
365
- // $label-font-size: 0.8rem;
366
- // $label-padding: 0.33333rem 0.5rem;
367
- // $label-radius: $global-radius;
368
-
369
- // 21. Media Object
370
- // ----------------
371
-
372
- // $mediaobject-margin-bottom: $global-margin;
373
- // $mediaobject-section-padding: $global-padding;
374
- // $mediaobject-image-width-stacked: 100%;
375
-
376
- // 22. Menu
377
- // --------
378
-
379
- // $menu-margin: 0;
380
- // $menu-margin-nested: 1rem;
381
- // $menu-item-padding: 0.7rem 1rem;
382
- // $menu-item-color-active: $white;
383
- // $menu-item-background-active: map-get($foundation-palette, primary);
384
- // $menu-icon-spacing: 0.25rem;
385
-
386
- // 23. Meter
387
- // ---------
388
-
389
- // $meter-height: 1rem;
390
- // $meter-radius: $global-radius;
391
- // $meter-background: $medium-gray;
392
- // $meter-fill-good: $success-color;
393
- // $meter-fill-medium: $warning-color;
394
- // $meter-fill-bad: $alert-color;
395
-
396
- // 24. Off-canvas
397
- // --------------
398
-
399
- // $offcanvas-sizes: (
400
- // small: 250px
401
- // );
402
- //
403
- $offcanvas-background: $black;
404
- // $offcanvas-zindex: -1;
405
- // $offcanvas-transition-length: 0.5s;
406
- // $offcanvas-transition-timing: ease;
407
- // $offcanvas-fixed-reveal: true;
408
- // $offcanvas-exit-background: rgba($white, 0.25);
409
- // $maincontent-class: "off-canvas-content";
410
- $maincontent-shadow: none;
411
-
412
- // 25. Orbit
413
- // ---------
414
-
415
- // $orbit-bullet-background: $medium-gray;
416
- // $orbit-bullet-background-active: $dark-gray;
417
- // $orbit-bullet-diameter: 1.2rem;
418
- // $orbit-bullet-margin: 0.1rem;
419
- // $orbit-bullet-margin-top: 0.8rem;
420
- // $orbit-bullet-margin-bottom: 0.8rem;
421
- // $orbit-caption-background: rgba($black, 0.5);
422
- // $orbit-caption-padding: 1rem;
423
- // $orbit-control-background-hover: rgba($black, 0.5);
424
- // $orbit-control-padding: 1rem;
425
- // $orbit-control-zindex: 10;
426
-
427
- // 26. Pagination
428
- // --------------
429
-
430
- // $pagination-font-size: rem-calc(14);
431
- // $pagination-margin-bottom: $global-margin;
432
- // $pagination-item-color: $black;
433
- // $pagination-item-padding: rem-calc(3 10);
434
- // $pagination-item-spacing: rem-calc(1);
435
- // $pagination-radius: $global-radius;
436
- // $pagination-item-background-hover: $light-gray;
437
- // $pagination-item-background-current: $primary-color;
438
- // $pagination-item-color-current: foreground($pagination-item-background-current);
439
- // $pagination-item-color-disabled: $medium-gray;
440
- // $pagination-ellipsis-color: $black;
441
- // $pagination-mobile-items: false;
442
- // $pagination-arrows: true;
443
-
444
- // 27. Progress Bar
445
- // ----------------
446
-
447
- // $progress-height: 1rem;
448
- // $progress-background: $medium-gray;
449
- // $progress-margin-bottom: $global-margin;
450
- // $progress-meter-background: $primary-color;
451
- // $progress-radius: $global-radius;
452
-
453
- // 28. Reveal
454
- // ----------
455
-
456
- // $reveal-background: $white;
457
- // $reveal-width: 600px;
458
- // $reveal-max-width: $global-width;
459
- // $reveal-padding: $global-padding;
460
- // $reveal-border: 1px solid $medium-gray;
461
- // $reveal-radius: $global-radius;
462
- // $reveal-zindex: 1005;
463
- // $reveal-overlay-background: rgba($black, 0.45);
464
-
465
- // 29. Slider
466
- // ----------
467
-
468
- // $slider-width-vertical: 0.5rem;
469
- // $slider-transition: all 0.2s ease-in-out;
470
- // $slider-height: 0.5rem;
471
- // $slider-background: $light-gray;
472
- // $slider-fill-background: $medium-gray;
473
- // $slider-handle-height: 1.4rem;
474
- // $slider-handle-width: 1.4rem;
475
- // $slider-handle-background: $primary-color;
476
- // $slider-opacity-disabled: 0.25;
477
- // $slider-radius: $global-radius;
478
-
479
- // 30. Switch
480
- // ----------
481
-
482
- // $switch-background: $medium-gray;
483
- // $switch-background-active: $primary-color;
484
- // $switch-height: 2rem;
485
- // $switch-height-tiny: 1.5rem;
486
- // $switch-height-small: 1.75rem;
487
- // $switch-height-large: 2.5rem;
488
- // $switch-radius: $global-radius;
489
- // $switch-margin: $global-margin;
490
- // $switch-paddle-background: $white;
491
- // $switch-paddle-offset: 0.25rem;
492
- // $switch-paddle-radius: $global-radius;
493
- // $switch-paddle-transition: all 0.25s ease-out;
494
-
495
- // 31. Table
496
- // ---------
497
-
498
- // $table-background: $white;
499
- // $table-color-scale: 5%;
500
- // $table-border: 1px solid smart-scale($table-background, $table-color-scale);
501
- // $table-padding: rem-calc(8 10 10);
502
- // $table-hover-scale: 2%;
503
- // $table-row-hover: darken($table-background, $table-hover-scale);
504
- // $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
505
- // $table-striped-background: smart-scale($table-background, $table-color-scale);
506
- // $table-stripe: even;
507
- // $table-head-background: smart-scale($table-background, $table-color-scale / 2);
508
- // $table-foot-background: smart-scale($table-background, $table-color-scale);
509
- // $table-head-font-color: $body-font-color;
510
- // $show-header-for-stacked: false;
511
-
512
- // 32. Tabs
513
- // --------
514
-
515
- // $tab-margin: 0;
516
- // $tab-background: $white;
517
- // $tab-background-active: $light-gray;
518
- // $tab-item-font-size: rem-calc(12);
519
- // $tab-item-background-hover: $white;
520
- // $tab-item-padding: 1.25rem 1.5rem;
521
- // $tab-expand-max: 6;
522
- // $tab-content-background: $white;
523
- // $tab-content-border: $light-gray;
524
- // $tab-content-color: foreground($tab-background, $primary-color);
525
- // $tab-content-padding: 1rem;
526
-
527
- // 33. Thumbnail
528
- // -------------
529
-
530
- // $thumbnail-border: solid 4px $white;
531
- // $thumbnail-margin-bottom: $global-margin;
532
- // $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
533
- // $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
534
- // $thumbnail-transition: box-shadow 200ms ease-out;
535
- // $thumbnail-radius: $global-radius;
536
-
537
- // 34. Title Bar
538
- // -------------
539
-
540
- $titlebar-background: map-get($foundation-palette, primary);
541
- // $titlebar-color: $white;
542
- // $titlebar-padding: 0.5rem;
543
- // $titlebar-text-font-weight: bold;
544
- // $titlebar-icon-color: $white;
545
- // $titlebar-icon-color-hover: $medium-gray;
546
- // $titlebar-icon-spacing: 0.25rem;
547
-
548
- // 35. Tooltip
549
- // -----------
550
-
551
- // $has-tip-font-weight: $global-weight-bold;
552
- // $has-tip-border-bottom: dotted 1px $dark-gray;
553
- // $tooltip-background-color: $black;
554
- // $tooltip-color: $white;
555
- // $tooltip-padding: 0.75rem;
556
- // $tooltip-font-size: $small-font-size;
557
- // $tooltip-pip-width: 0.75rem;
558
- // $tooltip-pip-height: $tooltip-pip-width * 0.866;
559
- // $tooltip-radius: $global-radius;
560
-
561
- // 36. Top Bar
562
- // -----------
563
-
564
- // $topbar-padding: 0.5rem;
565
- // $topbar-background: $light-gray;
566
- // $topbar-submenu-background: $topbar-background;
567
- // $topbar-title-spacing: 1rem;
568
- // $topbar-input-width: 200px;
569
- // $topbar-unstack-breakpoint: medium;
@@ -1,83 +0,0 @@
1
- @mixin menu-title{
2
- letter-spacing: 5px;
3
- }
4
-
5
- .title-bar-title{
6
- @include menu-title;
7
- }
8
-
9
- .sidebar{
10
- color: $light-gray;
11
-
12
- .title{
13
- background-color: black;
14
- background-color: map-get($foundation-palette, primary);
15
-
16
- h1{
17
- margin: 0;
18
- padding: 0;
19
- font-size: rem-calc(18);
20
- font-weight: bold;
21
- }
22
-
23
- a{
24
- display: block;
25
- color: inherit;
26
- padding: rem-calc(20) $global-padding;
27
-
28
- @include menu-title;
29
- }
30
-
31
- @include show-for(large);
32
- }
33
-
34
- .main-nav{
35
- border-top: 1px solid black;
36
- border-bottom: 1px solid black;
37
-
38
- a{
39
- padding: $global-padding;
40
- display: block;
41
- color: $light-gray;
42
- }
43
-
44
- ul{
45
- list-style: none;
46
- margin-left: 0;
47
- }
48
-
49
- li{
50
- font-weight: bold;
51
- font-size: .9em;
52
- border-left: 2px solid transparent;
53
- transition: all .3s;
54
-
55
- &.active{
56
- border-color: map-get($foundation-palette, primary);
57
-
58
- &,
59
- &:hover{
60
- background-color: #101010;
61
- }
62
- }
63
-
64
- &:hover{
65
- background-color: #1a1a1a;
66
- }
67
- }
68
- }
69
-
70
- .session-box{
71
- padding: $global-padding 0;
72
-
73
- @include grid-row;
74
-
75
- .admin-email{
76
- @include grid-column(8);
77
-
78
- text-overflow: ellipsis;
79
- overflow: hidden;
80
- }
81
- .sign-out{ @include grid-column(4); }
82
- }
83
- }
@@ -1,6 +0,0 @@
1
- table{
2
- td.actions,
3
- th.actions{
4
- text-align: right;
5
- }
6
- }
@@ -1,9 +0,0 @@
1
- <% provide :title do %>
2
- <h2><%= link_to @admin.email, @admin %></h2>
3
- <% end %>
4
-
5
- <div class="actions">
6
- <hr>
7
- <%= link_to t(".edit"), ["edit", @admin] %>
8
- <%= link_to t(".destroy"), @admin, method: :delete, class: "alert button", data: { confirm: "Are you sure you want to do this?" } %>
9
- </div>
@@ -1,10 +0,0 @@
1
- <% provide :title do %>
2
- <h2><%= link_to @organization.name, @organization %></h2>
3
- <h3 class="subheader"><%= @organization.host %></h3>
4
- <p><%== translated_attribute @organization.description %></p>
5
- <% end %>
6
-
7
- <div class="actions">
8
- <hr>
9
- <%= link_to t("decidim.system.actions.edit"), [:edit, @organization] %>
10
- </div>
@@ -1 +0,0 @@
1
- he: