decidim-theme 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE-AGPLv3.txt +661 -0
  3. data/README.md +104 -0
  4. data/Rakefile +9 -0
  5. data/app/cells/decidim/meetings/meeting_cell.rb +65 -0
  6. data/app/cells/decidim/meetings/meeting_s_overrides/show.erb +25 -0
  7. data/app/cells/decidim/meetings/meeting_s_overrides_cell.rb +53 -0
  8. data/app/controllers/decidim/theme/admin/application_controller.rb +15 -0
  9. data/app/controllers/decidim/theme/application_controller.rb +13 -0
  10. data/app/helpers/decidim/theme/application_helper.rb +10 -0
  11. data/app/models/decidim/theme/application_record.rb +10 -0
  12. data/app/overrides/insert_javascript_tag.rb +6 -0
  13. data/app/overrides/language_chooser_icon.rb +4 -0
  14. data/app/overrides/layouts/decidim/_main_footer/replace_content.html.erb.deface +96 -0
  15. data/app/overrides/layouts/decidim/_mini_footer/replace_content.html.erb.deface +25 -0
  16. data/app/overrides/mailer_styles.rb +36 -0
  17. data/app/overrides/prefix_body.rb +10 -0
  18. data/app/overrides/prefix_classes.rb +63 -0
  19. data/app/overrides/prefix_processes_wrapper.rb +10 -0
  20. data/app/packs/entrypoints/decidim_theme_email.js +1 -0
  21. data/app/packs/entrypoints/decidim_theme_email.scss +2 -0
  22. data/app/packs/entrypoints/decidim_theme_polyfill.js +5 -0
  23. data/app/packs/fonts/decidim/Inter-Black.woff +0 -0
  24. data/app/packs/fonts/decidim/Inter-Black.woff2 +0 -0
  25. data/app/packs/fonts/decidim/Inter-BlackItalic.woff +0 -0
  26. data/app/packs/fonts/decidim/Inter-BlackItalic.woff2 +0 -0
  27. data/app/packs/fonts/decidim/Inter-Bold.woff +0 -0
  28. data/app/packs/fonts/decidim/Inter-Bold.woff2 +0 -0
  29. data/app/packs/fonts/decidim/Inter-BoldItalic.woff +0 -0
  30. data/app/packs/fonts/decidim/Inter-BoldItalic.woff2 +0 -0
  31. data/app/packs/fonts/decidim/Inter-ExtraBold.woff +0 -0
  32. data/app/packs/fonts/decidim/Inter-ExtraBold.woff2 +0 -0
  33. data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff +0 -0
  34. data/app/packs/fonts/decidim/Inter-ExtraBoldItalic.woff2 +0 -0
  35. data/app/packs/fonts/decidim/Inter-ExtraLight.woff +0 -0
  36. data/app/packs/fonts/decidim/Inter-ExtraLight.woff2 +0 -0
  37. data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff +0 -0
  38. data/app/packs/fonts/decidim/Inter-ExtraLightItalic.woff2 +0 -0
  39. data/app/packs/fonts/decidim/Inter-Italic.woff +0 -0
  40. data/app/packs/fonts/decidim/Inter-Italic.woff2 +0 -0
  41. data/app/packs/fonts/decidim/Inter-Light.woff +0 -0
  42. data/app/packs/fonts/decidim/Inter-Light.woff2 +0 -0
  43. data/app/packs/fonts/decidim/Inter-LightItalic.woff +0 -0
  44. data/app/packs/fonts/decidim/Inter-LightItalic.woff2 +0 -0
  45. data/app/packs/fonts/decidim/Inter-Medium.woff +0 -0
  46. data/app/packs/fonts/decidim/Inter-Medium.woff2 +0 -0
  47. data/app/packs/fonts/decidim/Inter-MediumItalic.woff +0 -0
  48. data/app/packs/fonts/decidim/Inter-MediumItalic.woff2 +0 -0
  49. data/app/packs/fonts/decidim/Inter-Regular.woff +0 -0
  50. data/app/packs/fonts/decidim/Inter-Regular.woff2 +0 -0
  51. data/app/packs/fonts/decidim/Inter-SemiBold.woff +0 -0
  52. data/app/packs/fonts/decidim/Inter-SemiBold.woff2 +0 -0
  53. data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff +0 -0
  54. data/app/packs/fonts/decidim/Inter-SemiBoldItalic.woff2 +0 -0
  55. data/app/packs/fonts/decidim/Inter-Thin.woff +0 -0
  56. data/app/packs/fonts/decidim/Inter-Thin.woff2 +0 -0
  57. data/app/packs/fonts/decidim/Inter-ThinItalic.woff +0 -0
  58. data/app/packs/fonts/decidim/Inter-ThinItalic.woff2 +0 -0
  59. data/app/packs/fonts/decidim/Inter-italic.var.woff2 +0 -0
  60. data/app/packs/fonts/decidim/Inter-roman.var.woff2 +0 -0
  61. data/app/packs/fonts/decidim/Inter.var.woff2 +0 -0
  62. data/app/packs/images/decidim/cc-by-sa-4.svg +8 -0
  63. data/app/packs/images/decidim/decidim-initial.svg +9 -0
  64. data/app/packs/images/decidim/theme/icon.svg +1 -0
  65. data/app/packs/javascripts/empty.polyfill.js +7 -0
  66. data/app/packs/javascripts/has.polyfill.js +30 -0
  67. data/app/packs/stylesheets/decidim/theme/_font_face.scss +180 -0
  68. data/app/packs/stylesheets/decidim/theme/_theme.scss +121 -0
  69. data/app/packs/stylesheets/decidim/theme/_theme_settings.scss +923 -0
  70. data/app/packs/stylesheets/decidim/theme/_theme_variables.scss +80 -0
  71. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Generic.scss +98 -0
  72. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Misc.scss +115 -0
  73. data/app/packs/stylesheets/decidim/theme/atoms/Buttons/_Navigation.scss +83 -0
  74. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Body.scss +88 -0
  75. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_Headline.scss +98 -0
  76. data/app/packs/stylesheets/decidim/theme/atoms/Typography/_mixins.scss +109 -0
  77. data/app/packs/stylesheets/decidim/theme/email.scss +41 -0
  78. data/app/packs/stylesheets/decidim/theme/molecules/Callouts/_default.scss +41 -0
  79. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_card_process.scss +24 -0
  80. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_data-item.scss +31 -0
  81. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_documents.scss +46 -0
  82. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_extra.scss +32 -0
  83. data/app/packs/stylesheets/decidim/theme/molecules/Cards/_upcoming_meetings.scss +47 -0
  84. data/app/packs/stylesheets/decidim/theme/organisms/_account.scss +129 -0
  85. data/app/packs/stylesheets/decidim/theme/organisms/_accountability.scss +119 -0
  86. data/app/packs/stylesheets/decidim/theme/organisms/_assembly.scss +5 -0
  87. data/app/packs/stylesheets/decidim/theme/organisms/_authorizations.scss +25 -0
  88. data/app/packs/stylesheets/decidim/theme/organisms/_blog.scss +77 -0
  89. data/app/packs/stylesheets/decidim/theme/organisms/_budgets.scss +221 -0
  90. data/app/packs/stylesheets/decidim/theme/organisms/_cookie_warning.scss +6 -0
  91. data/app/packs/stylesheets/decidim/theme/organisms/_debate.scss +65 -0
  92. data/app/packs/stylesheets/decidim/theme/organisms/_footer.scss +145 -0
  93. data/app/packs/stylesheets/decidim/theme/organisms/_groups.scss +49 -0
  94. data/app/packs/stylesheets/decidim/theme/organisms/_logins.scss +45 -0
  95. data/app/packs/stylesheets/decidim/theme/organisms/_meetings.scss +214 -0
  96. data/app/packs/stylesheets/decidim/theme/organisms/_members.scss +6 -0
  97. data/app/packs/stylesheets/decidim/theme/organisms/_messaging.scss +118 -0
  98. data/app/packs/stylesheets/decidim/theme/organisms/_metrics.scss +31 -0
  99. data/app/packs/stylesheets/decidim/theme/organisms/_notifications.scss +20 -0
  100. data/app/packs/stylesheets/decidim/theme/organisms/_processes.scss +12 -0
  101. data/app/packs/stylesheets/decidim/theme/organisms/_proposals.scss +150 -0
  102. data/app/packs/stylesheets/decidim/theme/organisms/_search.scss +12 -0
  103. data/app/packs/stylesheets/decidim/theme/organisms/_sortitions.scss +65 -0
  104. data/app/packs/stylesheets/decidim/theme/organisms/_surveys.scss +65 -0
  105. data/app/packs/stylesheets/decidim/theme/organisms/_text_page.scss +115 -0
  106. data/app/packs/stylesheets/decidim/theme/organisms/_user_conversations.scss +7 -0
  107. data/app/packs/stylesheets/decidim/theme/reset/_author.scss +36 -0
  108. data/app/packs/stylesheets/decidim/theme/reset/_author_avatar.scss +182 -0
  109. data/app/packs/stylesheets/decidim/theme/reset/_badges.scss +159 -0
  110. data/app/packs/stylesheets/decidim/theme/reset/_base.scss +543 -0
  111. data/app/packs/stylesheets/decidim/theme/reset/_budget-list.scss +202 -0
  112. data/app/packs/stylesheets/decidim/theme/reset/_budget-meter.scss +85 -0
  113. data/app/packs/stylesheets/decidim/theme/reset/_buttons.scss +538 -0
  114. data/app/packs/stylesheets/decidim/theme/reset/_callout.scss +37 -0
  115. data/app/packs/stylesheets/decidim/theme/reset/_card.scss +1480 -0
  116. data/app/packs/stylesheets/decidim/theme/reset/_categories.scss +130 -0
  117. data/app/packs/stylesheets/decidim/theme/reset/_collapsible.scss +59 -0
  118. data/app/packs/stylesheets/decidim/theme/reset/_columns.scss +8 -0
  119. data/app/packs/stylesheets/decidim/theme/reset/_comments.scss +320 -0
  120. data/app/packs/stylesheets/decidim/theme/reset/_conversation.scss +158 -0
  121. data/app/packs/stylesheets/decidim/theme/reset/_data-consent.scss +133 -0
  122. data/app/packs/stylesheets/decidim/theme/reset/_data-picker.scss +243 -0
  123. data/app/packs/stylesheets/decidim/theme/reset/_definition_data.scss +93 -0
  124. data/app/packs/stylesheets/decidim/theme/reset/_docs-manager.scss +16 -0
  125. data/app/packs/stylesheets/decidim/theme/reset/_dropdown_menu.scss +312 -0
  126. data/app/packs/stylesheets/decidim/theme/reset/_errors.scss +87 -0
  127. data/app/packs/stylesheets/decidim/theme/reset/_extra.scss +56 -0
  128. data/app/packs/stylesheets/decidim/theme/reset/_filters.scss +224 -0
  129. data/app/packs/stylesheets/decidim/theme/reset/_floating_helper.scss +133 -0
  130. data/app/packs/stylesheets/decidim/theme/reset/_form.scss +176 -0
  131. data/app/packs/stylesheets/decidim/theme/reset/_home.scss +416 -0
  132. data/app/packs/stylesheets/decidim/theme/reset/_home_section.scss +23 -0
  133. data/app/packs/stylesheets/decidim/theme/reset/_horizontal-tabs.scss +130 -0
  134. data/app/packs/stylesheets/decidim/theme/reset/_icons.scss +3 -0
  135. data/app/packs/stylesheets/decidim/theme/reset/_inline-filters.scss +77 -0
  136. data/app/packs/stylesheets/decidim/theme/reset/_label.scss +79 -0
  137. data/app/packs/stylesheets/decidim/theme/reset/_labels.scss +53 -0
  138. data/app/packs/stylesheets/decidim/theme/reset/_layout.scss +82 -0
  139. data/app/packs/stylesheets/decidim/theme/reset/_lines_breadcrumb.scss +38 -0
  140. data/app/packs/stylesheets/decidim/theme/reset/_login.scss +3 -0
  141. data/app/packs/stylesheets/decidim/theme/reset/_logo_wrapper.scss +28 -0
  142. data/app/packs/stylesheets/decidim/theme/reset/_main_container.scss +96 -0
  143. data/app/packs/stylesheets/decidim/theme/reset/_metric-chart.scss +25 -0
  144. data/app/packs/stylesheets/decidim/theme/reset/_navbar.scss +763 -0
  145. data/app/packs/stylesheets/decidim/theme/reset/_opinion_toggle.scss +55 -0
  146. data/app/packs/stylesheets/decidim/theme/reset/_order-by.scss +34 -0
  147. data/app/packs/stylesheets/decidim/theme/reset/_org-chart.scss +6 -0
  148. data/app/packs/stylesheets/decidim/theme/reset/_pagination.scss +195 -0
  149. data/app/packs/stylesheets/decidim/theme/reset/_process.scss +20 -0
  150. data/app/packs/stylesheets/decidim/theme/reset/_process_header.scss +97 -0
  151. data/app/packs/stylesheets/decidim/theme/reset/_process_header_phase.scss +13 -0
  152. data/app/packs/stylesheets/decidim/theme/reset/_process_nav.scss +317 -0
  153. data/app/packs/stylesheets/decidim/theme/reset/_progress_bar.scss +89 -0
  154. data/app/packs/stylesheets/decidim/theme/reset/_quill.scss +47 -0
  155. data/app/packs/stylesheets/decidim/theme/reset/_result_per_page.scss +82 -0
  156. data/app/packs/stylesheets/decidim/theme/reset/_results.scss +158 -0
  157. data/app/packs/stylesheets/decidim/theme/reset/_reveal.scss +210 -0
  158. data/app/packs/stylesheets/decidim/theme/reset/_scope-picker.scss +10 -0
  159. data/app/packs/stylesheets/decidim/theme/reset/_select.scss +92 -0
  160. data/app/packs/stylesheets/decidim/theme/reset/_signup.scss +179 -0
  161. data/app/packs/stylesheets/decidim/theme/reset/_statistics.scss +42 -0
  162. data/app/packs/stylesheets/decidim/theme/reset/_switch.scss +272 -0
  163. data/app/packs/stylesheets/decidim/theme/reset/_tabs.scss +4 -0
  164. data/app/packs/stylesheets/decidim/theme/reset/_tags.scss +47 -0
  165. data/app/packs/stylesheets/decidim/theme/reset/_thumbnail.scss +66 -0
  166. data/app/packs/stylesheets/decidim/theme/reset/_timeline.scss +183 -0
  167. data/app/packs/stylesheets/decidim/theme/reset/_title_bar.scss +89 -0
  168. data/app/packs/stylesheets/decidim/theme/reset/_toggle.scss +14 -0
  169. data/app/packs/stylesheets/decidim/theme/reset/_tooltip.scss +173 -0
  170. data/app/packs/stylesheets/decidim/theme/reset/_typography.scss +283 -0
  171. data/app/packs/stylesheets/decidim/theme/reset/_upload_modal.scss +140 -0
  172. data/app/packs/stylesheets/decidim/theme/reset/_user-form.scss +15 -0
  173. data/app/packs/stylesheets/decidim/theme/reset/_user.scss +184 -0
  174. data/app/packs/stylesheets/decidim/theme/reset/_versions.scss +82 -0
  175. data/app/packs/stylesheets/decidim/theme/reset/_wrapper.scss +3 -0
  176. data/config/assets.rb +17 -0
  177. data/config/i18n-tasks.yml +10 -0
  178. data/config/locales/en.yml +62 -0
  179. data/config/locales/fr.yml +11 -0
  180. data/lib/decidim/theme/admin.rb +10 -0
  181. data/lib/decidim/theme/admin_engine.rb +27 -0
  182. data/lib/decidim/theme/engine.rb +29 -0
  183. data/lib/decidim/theme/test/factories.rb +13 -0
  184. data/lib/decidim/theme/version.rb +13 -0
  185. data/lib/decidim/theme.rb +12 -0
  186. metadata +271 -0
@@ -0,0 +1,23 @@
1
+ .home-section:nth-of-type(2n + 1) {
2
+ background-color: white;
3
+ }
4
+
5
+ .hero {
6
+ height: 90vh;
7
+ min-height: 70vh;
8
+ max-height: unset;
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ @include breakpoint(small only) {
13
+ height: 70vh;
14
+ }
15
+ }
16
+
17
+ .hero-heading {
18
+ text-align: left;
19
+ margin-bottom: 0;
20
+ }
21
+ .home-section.upcoming-meetings .icon--datetime {
22
+ display: none;
23
+ }
@@ -0,0 +1,130 @@
1
+ // name specific
2
+ #profile-tabs {
3
+ // Override foundation
4
+ &.tabs {
5
+ background: transparent;
6
+ border: 0;
7
+ display: flex;
8
+ justify-content: stretch;
9
+ border-bottom: $border;
10
+ margin-bottom: $global-margin;
11
+ position: relative;
12
+ &::before {
13
+ width: 100%;
14
+ height: 3px;
15
+ background-color: var(--grey2);
16
+ position: absolute;
17
+ bottom: 0px;
18
+ }
19
+ .tabs-title {
20
+ float: none;
21
+ flex: 1;
22
+ &.is-active {
23
+ a {
24
+ @extend .body-4;
25
+ background: transparent;
26
+ color: var(--primary);
27
+ background: transparent;
28
+ font-weight: normal;
29
+ border-bottom: 3px solid var(--primary);
30
+ padding-left: 1rem;
31
+ padding-right: 1rem;
32
+ &:hover,
33
+ &:focus {
34
+ text-decoration: none !important;
35
+ }
36
+ }
37
+ }
38
+
39
+ a {
40
+ color: var(--emphasis-low);
41
+ padding: 1rem 0.625rem 1.1875rem 0.625rem;
42
+ position: relative;
43
+ text-align: center;
44
+ @extend .body-4;
45
+
46
+ &:focus,
47
+ &:hover,
48
+ &[aria-selected="true"] {
49
+ background: transparent;
50
+ color: var(--primary);
51
+ font-weight: normal;
52
+ border-bottom: 3px solid var(--primary);
53
+ text-decoration: none !important;
54
+ }
55
+
56
+ &::after {
57
+ display: block;
58
+ content: attr(title);
59
+ font-weight: bold;
60
+ height: 0;
61
+ overflow: hidden;
62
+ visibility: hidden;
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+
69
+ // Make the connection between the title and the content
70
+ [data-tabs-content="profile-tabs"] {
71
+ border-top: 0;
72
+ background: transparent;
73
+ color: inherit;
74
+ transition: all 0.5s ease;
75
+ }
76
+
77
+ .responsive-tab-block {
78
+ @media only screen and (max-width: 639px) {
79
+ overflow: hidden;
80
+ height: 44px;
81
+
82
+ & > ul.tabs {
83
+ flex-direction: column;
84
+
85
+ & > li {
86
+ flex: 0 0 auto;
87
+
88
+ &.is-active {
89
+ -webkit-box-ordinal-group: -1; // fixes older Safari issues
90
+ order: -1;
91
+
92
+ &::before {
93
+ display: block;
94
+ content: " ";
95
+ font-weight: normal;
96
+ float: right;
97
+ width: 0;
98
+ height: 0;
99
+ border-left: 5px solid transparent;
100
+ border-right: 5px solid transparent;
101
+ border-top-color: var(--emphasis-high) !important;
102
+ transform: translateY(6px);
103
+ margin-top: 20px;
104
+ }
105
+
106
+ & > a:focus {
107
+ outline: 0 !important;
108
+ }
109
+ }
110
+
111
+ & > a {
112
+ border-bottom: 3px solid transparent;
113
+ color: green;
114
+
115
+ &:focus {
116
+ outline: 0 !important;
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ &.expanded {
123
+ height: auto;
124
+
125
+ & > ul.tabs > li.is-active::before {
126
+ transform: translateY(6px) rotate(180deg);
127
+ }
128
+ }
129
+ }
130
+ }
@@ -0,0 +1,3 @@
1
+ .icon--datetime {
2
+ display: none;
3
+ }
@@ -0,0 +1,77 @@
1
+ .inline-filters {
2
+ @include flexgap($global-margin * 2);
3
+ width: 41.7%;
4
+ // Override gap display property
5
+ display: inline-flex;
6
+ justify-content: space-between;
7
+ text-align: left;
8
+
9
+ label {
10
+ width: 100%;
11
+ display: flex;
12
+ align-items: baseline;
13
+
14
+ @include flexgap($global-margin * 0.5);
15
+
16
+ span {
17
+ white-space: nowrap;
18
+ @extend .mini-title;
19
+ width: 25%;
20
+ display: inline-block;
21
+ }
22
+ }
23
+
24
+ $dropdown-width: 12rem;
25
+
26
+ button[data-toggle] {
27
+ @extend select;
28
+ color: var(--emphasis-med);
29
+ margin: 0;
30
+ min-width: $dropdown-width;
31
+ width: 75%;
32
+ text-align: left;
33
+ align-items: center;
34
+ min-height: 35.58px;
35
+ box-shadow: unset;
36
+ &.hover {
37
+ border-bottom-left-radius: 0;
38
+ border-bottom-right-radius: 0;
39
+ }
40
+ }
41
+
42
+ .dropdown-pane {
43
+ padding: 0;
44
+ background-color: $white;
45
+ width: calc(31.275% - 4rem);
46
+ min-width: $dropdown-width;
47
+
48
+ li {
49
+ a {
50
+ display: block;
51
+ padding: 1rem;
52
+ color: var(--emphasis-med);
53
+ text-decoration: none;
54
+ &:hover {
55
+ text-decoration: none;
56
+ color: var(--primary);
57
+ }
58
+ }
59
+
60
+ &:not(:last-child) {
61
+ border-bottom: 1px solid var(--grey2);
62
+ }
63
+
64
+ &:hover {
65
+ cursor: pointer;
66
+ color: var(--primary);
67
+ background-color: var(--primary-10);
68
+ }
69
+ }
70
+
71
+ &.is-open {
72
+ margin-top: -1px;
73
+ border-top-left-radius: 0;
74
+ border-top-right-radius: 0;
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,79 @@
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group label
7
+ ////
8
+
9
+ /// Default background color for labels.
10
+ /// @type Color
11
+ $label-background: $primary-color;
12
+
13
+ /// Default text color for labels.
14
+ /// @type Color
15
+ $label-color: $white;
16
+
17
+ /// Alternate text color for labels.
18
+ /// @type Color
19
+ $label-color-alt: $black;
20
+
21
+ /// Coloring classes. A map of classes to output in your CSS, like `.secondary`, `.success`, and so on.
22
+ /// @type Map
23
+ $label-palette: $foundation-palette;
24
+
25
+ /// Default font size for labels.
26
+ /// @type Number
27
+ $label-font-size: 0.8rem;
28
+
29
+ /// Default padding inside labels.
30
+ /// @type Number
31
+ $label-padding: 0.33333rem 0.5rem;
32
+
33
+ /// Default radius of labels.
34
+ /// @type Number
35
+ $label-radius: 40px;
36
+
37
+ /// Generates base styles for a label.
38
+ @mixin label {
39
+ display: inline-block;
40
+ padding: $label-padding;
41
+ border-radius: $label-radius;
42
+
43
+ font-size: $label-font-size;
44
+ line-height: 1;
45
+ white-space: nowrap;
46
+ cursor: default;
47
+ }
48
+
49
+ .label {
50
+ @include label;
51
+
52
+ background: var(--grey-2);
53
+ color: var(--emphasis-med);
54
+
55
+ &.primary,
56
+ &.secondary,
57
+ &.success,
58
+ &.warning,
59
+ &.danger {
60
+ color: var(--white);
61
+ }
62
+ }
63
+ .label.primary,
64
+ .label.secondary,
65
+ .label--primary {
66
+ background: var(--primary);
67
+ }
68
+ .label.success,
69
+ .label--success {
70
+ background-color: var(--green);
71
+ }
72
+ .label.warning,
73
+ .label--warning {
74
+ background-color: var(--yellow);
75
+ }
76
+ .label.danger,
77
+ .label--danger {
78
+ background-color: var(--red);
79
+ }
@@ -0,0 +1,53 @@
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
+ // Licensed under MIT Open Source
4
+
5
+ ////
6
+ /// @group forms
7
+ ////
8
+
9
+ /// Color for form labels.
10
+ /// @type Color
11
+ $form-label-color: $black;
12
+
13
+ /// Font size for form labels.
14
+ /// @type Number
15
+ $form-label-font-size: rem-calc(14);
16
+
17
+ /// Font weight for form labels.
18
+ /// @type Keyword
19
+ $form-label-font-weight: $global-weight-normal;
20
+
21
+ /// Line height for form labels. The higher the number, the more space between the label and its input field.
22
+ /// @type Number
23
+ $form-label-line-height: 1.8;
24
+
25
+ @mixin form-label {
26
+ display: block;
27
+ margin: 0;
28
+ margin-bottom: 0;
29
+ &:not(:first-child) {
30
+ margin-top: 0.5rem;
31
+ }
32
+ color: var(--emphasis-high);
33
+ &,
34
+ & > * {
35
+ @extend .body-5;
36
+ }
37
+ }
38
+
39
+ @mixin form-label-middle {
40
+ $input-border-width: get-border-value($input-border, width);
41
+
42
+ margin: 0 0 $form-spacing;
43
+ line-height: $global-lineheight;
44
+ padding: ($form-spacing * 0.5 + rem-calc($input-border-width)) 0;
45
+ }
46
+
47
+ label {
48
+ @include form-label;
49
+
50
+ &.middle {
51
+ @include form-label-middle;
52
+ }
53
+ }
@@ -0,0 +1,82 @@
1
+ .wrapper {
2
+ padding: 1.5rem 1rem;
3
+ position: relative;
4
+
5
+ @include breakpoint(medium) {
6
+ padding: 3rem 1.5rem;
7
+ }
8
+
9
+ @include breakpoint(large) {
10
+ padding-left: 4rem;
11
+ padding-right: 4rem;
12
+ }
13
+ }
14
+
15
+ .wrapper-mini {
16
+ padding: 1.2rem 1rem 0;
17
+ position: relative;
18
+
19
+ @include breakpoint(medium) {
20
+ padding: 2rem 1.5rem 0;
21
+ }
22
+
23
+ @include breakpoint(large) {
24
+ padding: 3rem 4rem 0;
25
+ }
26
+ }
27
+
28
+ .wrapper--inner {
29
+ background: var(--grey1);
30
+ padding-top: 1rem;
31
+ }
32
+
33
+ //Flexbox sticky footer
34
+ html {
35
+ height: 100%;
36
+ }
37
+
38
+ body {
39
+ display: flex;
40
+ flex-direction: column;
41
+ height: auto;
42
+ min-height: 100%;
43
+
44
+ @include breakpoint(smallmedium down) {
45
+ background-color: var(--grey1);
46
+ }
47
+ }
48
+
49
+ .footer-separator {
50
+ flex-grow: 1;
51
+ }
52
+
53
+ //fixes for off-canvas wrappers
54
+ .off-canvas-wrapper {
55
+ background-color: var(--grey1);
56
+ }
57
+
58
+ .off-canvas-wrapper,
59
+ .off-canvas-wrapper-inner,
60
+ .off-canvas-content {
61
+ display: flex;
62
+ flex-direction: column;
63
+ flex-grow: 1;
64
+ }
65
+
66
+ .off-canvas {
67
+ background-color: var(--grey1);
68
+
69
+ .close-button {
70
+ color: var(--emphasis-med) !important;
71
+ padding: 0.3rem 0.6rem;
72
+ margin-right: -0.5rem;
73
+ }
74
+ }
75
+
76
+ .translation-bar {
77
+ a.button {
78
+ margin-bottom: 0;
79
+ margin-top: -4px;
80
+ margin-right: 5px;
81
+ }
82
+ }
@@ -0,0 +1,38 @@
1
+ .lines-breadcrumb {
2
+ margin-bottom: 2rem;
3
+
4
+ .breadcrumb--separator {
5
+ color: var(--emphasis-lowest);
6
+ padding: 0 0.25rem;
7
+ }
8
+
9
+ div {
10
+ display: inline-block;
11
+ }
12
+
13
+ a {
14
+ font-weight: normal;
15
+ @extend .body-4;
16
+ @extend .body-4-link;
17
+ color: var(--emphasis-low);
18
+ &:hover,
19
+ &:focus {
20
+ text-decoration: underline;
21
+ color: var(--primary);
22
+ outline: unset;
23
+ outline-offset: 0;
24
+ }
25
+ }
26
+
27
+ ul {
28
+ list-style: none;
29
+ margin-left: 0;
30
+ }
31
+
32
+ .percentage {
33
+ color: var(--emphasis-lowest);
34
+ @extend .body-4;
35
+ padding-left: 0.15rem;
36
+ display: inline-block;
37
+ }
38
+ }
@@ -0,0 +1,3 @@
1
+ .social-register {
2
+ display: flex;
3
+ }
@@ -0,0 +1,28 @@
1
+ .logo-wrapper span {
2
+ color: var(--emphasis-high);
3
+ font-weight: var(--font-weight-bold);
4
+ font-size: 26px;
5
+ display: inline-block;
6
+ text-align: left;
7
+ line-height: 1.2em;
8
+ position: relative;
9
+ padding-left: 0;
10
+ &:hover {
11
+ text-decoration: underline;
12
+ }
13
+ }
14
+
15
+ .logo-wrapper img {
16
+ max-height:70px;
17
+ }
18
+
19
+
20
+ .logo-wrapper span::before {
21
+ content: none;
22
+ display: none;
23
+ position: static;
24
+ border-left: unset;
25
+ height: 0;
26
+ top: 0;
27
+ left: inherit;
28
+ }
@@ -0,0 +1,96 @@
1
+ $container-bg: $white;
2
+ $container-border: $border;
3
+ $container-shadow: 0 2px 7px var(--black-6);
4
+ $container-padding-x: rem-calc(22);
5
+ $container-padding-y: rem-calc(24);
6
+ $container-padding-2x: rem-calc(32);
7
+ $container-padding-2y: rem-calc(34);
8
+
9
+ /* Main container */
10
+
11
+ .main-container {
12
+ background: $container-bg;
13
+ border: $container-border;
14
+
15
+ &.tabbed-container {
16
+ border: 0;
17
+ }
18
+ }
19
+
20
+ .main-container__content {
21
+ padding: $container-padding-y $container-padding-x;
22
+
23
+ @include breakpoint(medium) {
24
+ padding: $container-padding-2y $container-padding-2x;
25
+ }
26
+ }
27
+
28
+ /* Main container side panel */
29
+
30
+ .main-container--side-panel {
31
+ @include breakpoint(medium) {
32
+ display: flex;
33
+ }
34
+ }
35
+
36
+ .side-panel {
37
+ background-color: transparent;
38
+ border-width: 0;
39
+ border-color: transparent;
40
+ @include breakpoint(medium) {
41
+ border-bottom: 0;
42
+ border-right: unset;
43
+ }
44
+ }
45
+ .tabs {
46
+ background-color: transparent;
47
+ }
48
+
49
+ .tabs-content {
50
+ border: 0 !important;
51
+ padding: 0;
52
+ }
53
+
54
+ .side-panel__tabs {
55
+ border: none;
56
+
57
+ .tabs-title {
58
+ border-bottom: $border;
59
+ padding: $global-padding;
60
+ &:last-of-type {
61
+ @include breakpoint(medium) {
62
+ margin-bottom: rem-calc(64);
63
+ }
64
+ }
65
+
66
+ > [role="tab"],
67
+ > a {
68
+ @extend .body-4;
69
+ color: var(--emphasis-med);
70
+ border-radius: $global-radius;
71
+ overflow: hidden;
72
+ &:hover,
73
+ &:focus {
74
+ color: var(--primary);
75
+ box-shadow: none;
76
+ background: var(--primary-10);
77
+ text-decoration: none !important;
78
+ }
79
+ }
80
+
81
+ &.is-active > [role="tab"],
82
+ &.is-active > a {
83
+ color: var(--primary);
84
+ box-shadow: none;
85
+ background: var(--primary-10);
86
+ }
87
+ }
88
+ }
89
+
90
+ .floating-helper__layout {
91
+ z-index: 1000;
92
+ }
93
+
94
+ .floating-helper__trigger {
95
+ position: fixed !important;
96
+ }
@@ -0,0 +1,25 @@
1
+ .areachart.metric-chart {
2
+ svg {
3
+ max-height: rem-calc(120);
4
+ }
5
+ .circle,
6
+ .line,
7
+ .area {
8
+ display: none !important;
9
+ }
10
+ .title {
11
+ color: var(--emphasis-low);
12
+ @extend .body-5;
13
+ letter-spacing: normal;
14
+ text-transform: uppercase;
15
+ font-weight: 400;
16
+ letter-spacing: 0.03em;
17
+ transform: translateY(83px);
18
+ }
19
+ .sum {
20
+ @extend .heading-3;
21
+ @extend .heading-3-bold;
22
+ font-size: 4rem;
23
+ fill: var(--emphasis-med);
24
+ }
25
+ }