lesli 5.0.1 → 5.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/lesli_manifest.js +7 -4
  3. data/app/assets/fonts/lesli/Domine/Domine-VariableFont_wght.ttf +0 -0
  4. data/app/assets/fonts/lesli/Domine/OFL.txt +2 -0
  5. data/app/assets/javascripts/lesli/users/passwords.js +776 -0
  6. data/app/assets/javascripts/lesli/users/registrations.js +776 -0
  7. data/app/assets/javascripts/lesli/users/sessions.js +776 -1
  8. data/app/assets/stylesheets/lesli/users/passwords.scss +5 -6
  9. data/app/assets/stylesheets/lesli/users/registrations.scss +5 -6
  10. data/app/assets/stylesheets/lesli/users/sessions.scss +5 -10
  11. data/app/controllers/lesli/abouts_controller.rb +66 -0
  12. data/app/controllers/lesli/application_lesli_controller.rb +0 -1
  13. data/app/controllers/lesli/interfaces/application/logger.rb +9 -9
  14. data/app/controllers/lesli/roles_controller.rb +43 -0
  15. data/{lib/sass/lesli/devise/registrations.scss.erb → app/controllers/lesli/users_controller.rb} +18 -23
  16. data/app/controllers/users/registrations_controller.rb +137 -58
  17. data/app/helpers/lesli/assets_helper.rb +2 -2
  18. data/app/helpers/lesli/general_helper.rb +1 -1
  19. data/app/helpers/lesli/navigation_helper.rb +7 -10
  20. data/app/helpers/lesli/system_helper.rb +1 -1
  21. data/app/lib/lesli/system.rb +7 -3
  22. data/app/mailers/lesli/application_lesli_mailer.rb +199 -0
  23. data/app/mailers/lesli/application_mailer.rb +7 -0
  24. data/app/mailers/lesli/devise_mailer.rb +33 -0
  25. data/app/models/concerns/user_guard.rb +3 -4
  26. data/app/models/lesli/account.rb +29 -0
  27. data/{lib/sass/lesli/pages/passes.scss → app/models/lesli/descriptor.rb} +14 -8
  28. data/app/models/lesli/role.rb +90 -0
  29. data/app/models/lesli/system_controller.rb +1 -0
  30. data/app/models/lesli/user/detail.rb +55 -0
  31. data/{lib/sass/lesli/pages/otps.scss → app/models/lesli/user/role.rb} +13 -9
  32. data/app/models/lesli/user.rb +4 -3
  33. data/app/services/lesli/role_service.rb +45 -0
  34. data/app/services/lesli/user_service.rb +69 -0
  35. data/app/views/devise/passwords/new.html.erb +72 -12
  36. data/app/views/devise/registrations/new.html.erb +146 -28
  37. data/app/views/devise/sessions/new.html.erb +11 -78
  38. data/app/views/devise/shared/_links.html.erb +96 -25
  39. data/app/views/lesli/emails/devise_mailer/confirmation_instructions.html.erb +23 -0
  40. data/app/views/lesli/emails/user_mailer/invitation.html.erb +23 -0
  41. data/app/views/lesli/layouts/application-devise.html.erb +1 -1
  42. data/app/views/lesli/layouts/application-public.html.erb +2 -2
  43. data/app/views/lesli/layouts/mailer.html.erb +13 -0
  44. data/app/views/lesli/layouts/mailer.text.erb +1 -0
  45. data/app/views/lesli/partials/_application-lesli-header.html.erb +27 -41
  46. data/app/views/lesli/partials/_application-lesli-javascript.html.erb +10 -6
  47. data/app/views/lesli/partials/_application-public-javascript.html.erb +12 -8
  48. data/{lib/sass/lesli/devise/confirmations.scss.erb → app/views/lesli/wrappers/_application-devise-simple.erb} +30 -46
  49. data/app/views/lesli/wrappers/{_application-auth.html.erb → _application-devise.html.erb} +15 -0
  50. data/config/initializers/{lesli_defaults.rb → lesli.rb} +4 -2
  51. data/config/locales/translations.en.yml +7 -0
  52. data/config/locales/translations.es.yml +7 -0
  53. data/config/routes.rb +24 -17
  54. data/db/migrate/v1.0/0010000210_create_lesli_roles.rb +1 -1
  55. data/db/{tables/0010003010_create_user_details.rb → migrate/v1.0/0010003010_create_lesli_user_details.rb} +6 -6
  56. data/db/{tables/0010003510_create_user_roles.rb → migrate/v1.0/0010003410_create_lesli_user_roles.rb} +4 -4
  57. data/db/{tables/0010005010_create_descriptors.rb → migrate/v1.0/0010005010_create_lesli_descriptors.rb} +5 -6
  58. data/db/{tables/0010005110_create_descriptor_privileges.rb → migrate/v1.0/0010005110_create_lesli_descriptor_privileges.rb} +8 -7
  59. data/db/{tables/0010005210_create_descriptor_activities.rb → migrate/v1.0/0010005210_create_lesli_descriptor_activities.rb} +6 -8
  60. data/db/seeds.rb +0 -2
  61. data/lib/lesli/engine.rb +25 -2
  62. data/lib/lesli/routing.rb +26 -0
  63. data/lib/lesli/version.rb +2 -2
  64. data/lib/lesli.rb +1 -0
  65. data/lib/{sass/lesli/pages/mfas.scss → mailer_previews/devise_mailer_preview.rb} +12 -6
  66. data/lib/sass/lesli/bulma/loader.scss +3 -0
  67. data/lib/sass/lesli/elements/header.scss +1 -1
  68. data/lib/sass/lesli/fonts/families.scss +3 -3
  69. data/lib/sass/lesli/layouts/application-container.scss +4 -0
  70. data/lib/sass/lesli/{devise/passwords.scss.erb → pages/devise-simple.scss} +38 -38
  71. data/lib/sass/lesli/{templates → pages}/devise.scss +4 -26
  72. data/lib/sass/lesli/settings/variables.scss +1 -1
  73. data/lib/sass/lesli/templates/application.scss +8 -4
  74. data/lib/sass/lesli/templates/dashboards.scss +8 -0
  75. data/lib/sass/lesli/templates/public.scss +2 -3
  76. data/lib/tasks/lesli/controllers.rake +33 -0
  77. data/lib/tasks/lesli/db.rake +88 -0
  78. data/lib/tasks/lesli/git.rake +74 -0
  79. data/lib/tasks/lesli_tasks.rake +70 -20
  80. data/lib/vue/devise/registrations.js +10 -15
  81. data/lib/vue/layouts/application-container.vue +10 -2
  82. data/lib/vue/layouts/application-header.vue +10 -3
  83. data/lib/vue/stores/account.js +113 -0
  84. data/lib/vue/stores/role.js +243 -0
  85. data/lib/vue/stores/translations.json +86 -0
  86. data/lib/vue/stores/user.js +102 -0
  87. data/lib/{sass/lesli/devise/sessions.scss → vue/translation.js} +14 -5
  88. data/lib/webpack/base.js +2 -2
  89. data/lib/webpack/core.js +2 -0
  90. data/readme.md +74 -55
  91. data/vendor/bulma/LICENSE +21 -0
  92. data/vendor/bulma/bulma.sass +10 -0
  93. data/vendor/bulma/css/bulma-rtl.css +11851 -0
  94. data/vendor/bulma/css/bulma-rtl.min.css +1 -0
  95. data/vendor/bulma/css/bulma.css +11851 -0
  96. data/vendor/bulma/css/bulma.min.css +1 -0
  97. data/vendor/bulma/sass/base/_all.sass +6 -0
  98. data/vendor/bulma/sass/base/animations.sass +5 -0
  99. data/vendor/bulma/sass/base/generic.sass +145 -0
  100. data/vendor/bulma/sass/base/helpers.sass +1 -0
  101. data/vendor/bulma/sass/base/minireset.sass +79 -0
  102. data/vendor/bulma/sass/components/_all.sass +15 -0
  103. data/vendor/bulma/sass/components/breadcrumb.sass +77 -0
  104. data/vendor/bulma/sass/components/card.sass +103 -0
  105. data/vendor/bulma/sass/components/dropdown.sass +83 -0
  106. data/vendor/bulma/sass/components/level.sass +79 -0
  107. data/vendor/bulma/sass/components/media.sass +59 -0
  108. data/vendor/bulma/sass/components/menu.sass +59 -0
  109. data/vendor/bulma/sass/components/message.sass +101 -0
  110. data/vendor/bulma/sass/components/modal.sass +117 -0
  111. data/vendor/bulma/sass/components/navbar.sass +446 -0
  112. data/vendor/bulma/sass/components/pagination.sass +167 -0
  113. data/vendor/bulma/sass/components/panel.sass +121 -0
  114. data/vendor/bulma/sass/components/tabs.sass +176 -0
  115. data/vendor/bulma/sass/elements/_all.sass +16 -0
  116. data/vendor/bulma/sass/elements/box.sass +26 -0
  117. data/vendor/bulma/sass/elements/button.sass +357 -0
  118. data/vendor/bulma/sass/elements/container.sass +29 -0
  119. data/vendor/bulma/sass/elements/content.sass +162 -0
  120. data/vendor/bulma/sass/elements/form.sass +1 -0
  121. data/vendor/bulma/sass/elements/icon.sass +46 -0
  122. data/vendor/bulma/sass/elements/image.sass +73 -0
  123. data/vendor/bulma/sass/elements/notification.sass +52 -0
  124. data/vendor/bulma/sass/elements/other.sass +31 -0
  125. data/vendor/bulma/sass/elements/progress.sass +73 -0
  126. data/vendor/bulma/sass/elements/table.sass +134 -0
  127. data/vendor/bulma/sass/elements/tag.sass +140 -0
  128. data/vendor/bulma/sass/elements/title.sass +70 -0
  129. data/vendor/bulma/sass/form/_all.sass +9 -0
  130. data/vendor/bulma/sass/form/checkbox-radio.sass +22 -0
  131. data/vendor/bulma/sass/form/file.sass +184 -0
  132. data/vendor/bulma/sass/form/input-textarea.sass +66 -0
  133. data/vendor/bulma/sass/form/select.sass +88 -0
  134. data/vendor/bulma/sass/form/shared.sass +60 -0
  135. data/vendor/bulma/sass/form/tools.sass +215 -0
  136. data/vendor/bulma/sass/grid/_all.sass +5 -0
  137. data/vendor/bulma/sass/grid/columns.sass +513 -0
  138. data/vendor/bulma/sass/grid/tiles.sass +36 -0
  139. data/vendor/bulma/sass/helpers/_all.sass +12 -0
  140. data/vendor/bulma/sass/helpers/color.sass +39 -0
  141. data/vendor/bulma/sass/helpers/flexbox.sass +35 -0
  142. data/vendor/bulma/sass/helpers/float.sass +10 -0
  143. data/vendor/bulma/sass/helpers/other.sass +14 -0
  144. data/vendor/bulma/sass/helpers/overflow.sass +2 -0
  145. data/vendor/bulma/sass/helpers/position.sass +7 -0
  146. data/vendor/bulma/sass/helpers/spacing.sass +31 -0
  147. data/vendor/bulma/sass/helpers/typography.sass +103 -0
  148. data/vendor/bulma/sass/helpers/visibility.sass +122 -0
  149. data/vendor/bulma/sass/layout/_all.sass +6 -0
  150. data/vendor/bulma/sass/layout/footer.sass +11 -0
  151. data/vendor/bulma/sass/layout/hero.sass +153 -0
  152. data/vendor/bulma/sass/layout/section.sass +17 -0
  153. data/vendor/bulma/sass/utilities/_all.sass +9 -0
  154. data/vendor/bulma/sass/utilities/animations.sass +1 -0
  155. data/vendor/bulma/sass/utilities/controls.sass +49 -0
  156. data/vendor/bulma/sass/utilities/derived-variables.sass +114 -0
  157. data/vendor/bulma/sass/utilities/extends.sass +25 -0
  158. data/vendor/bulma/sass/utilities/functions.sass +135 -0
  159. data/vendor/bulma/sass/utilities/initial-variables.sass +79 -0
  160. data/vendor/bulma/sass/utilities/mixins.sass +303 -0
  161. data/vendor/lesli-css/_index.scss +34 -0
  162. data/vendor/lesli-css/lesli.scss +51 -0
  163. data/{app/assets/stylesheets/lesli/users/devise.scss → vendor/lesli-css/license} +7 -11
  164. data/vendor/lesli-css/src/base/fonts.scss +50 -0
  165. data/vendor/lesli-css/src/base/normalize.scss +118 -0
  166. data/vendor/lesli-css/src/components/blockquote.scss +61 -0
  167. data/vendor/lesli-css/src/components/columns.scss +92 -0
  168. data/vendor/lesli-css/src/components/container.scss +47 -0
  169. data/vendor/lesli-css/src/components/grid.scss +0 -0
  170. data/vendor/lesli-css/src/components/navigation.scss +59 -0
  171. data/vendor/lesli-css/src/functions/colors.scss +184 -0
  172. data/vendor/lesli-css/src/helpers/units.scss +44 -0
  173. data/vendor/lesli-css/src/mixins/breakpoint.scss +184 -0
  174. data/vendor/lesli-css/src/mixins/flex.scss +80 -0
  175. data/vendor/lesli-css/src/mixins/scrollbar.scss +46 -0
  176. data/vendor/lesli-css/src/settings/variables.scss +26 -0
  177. data/vendor/lesli-css/tests/base/normalize.spec.scss +125 -0
  178. data/vendor/lesli-css/tests/functions/colors.spec.scss +117 -0
  179. data/vendor/lesli-css/tests/mixins/breakpoint.spec.scss +429 -0
  180. data/vendor/lesli-css/tests/mixins/scrollbar.spec.scss +82 -0
  181. data/vendor/lesli-css/vendor/normalize.scss +351 -0
  182. data/vendor/remixicon/License +201 -0
  183. data/vendor/remixicon/fonts/remixicon.css +2583 -0
  184. metadata +290 -51
  185. data/app/assets/fonts/lesli/Domine/Domine-Bold.ttf +0 -0
  186. data/app/assets/fonts/lesli/Domine/Domine-Regular.ttf +0 -0
  187. data/app/controllers/lesli/profiles_controller.rb +0 -60
  188. data/app/helpers/lesli/profiles_helper.rb +0 -4
  189. data/app/models/lesli/profile.rb +0 -4
  190. data/app/views/lesli/devise/sessions/_form.html.erb +0 -17
  191. data/app/views/lesli/devise/sessions/_session.html.erb +0 -2
  192. data/app/views/lesli/devise/sessions/edit.html.erb +0 -10
  193. data/app/views/lesli/devise/sessions/index.html.erb +0 -14
  194. data/app/views/lesli/devise/sessions/new.html.erb +0 -9
  195. data/app/views/lesli/devise/sessions/show.html.erb +0 -10
  196. data/app/views/lesli/profiles/_form.html.erb +0 -17
  197. data/app/views/lesli/profiles/_profile.html.erb +0 -2
  198. data/app/views/lesli/profiles/edit.html.erb +0 -10
  199. data/app/views/lesli/profiles/index.html.erb +0 -14
  200. data/app/views/lesli/profiles/new.html.erb +0 -9
  201. data/app/views/lesli/profiles/show.html.erb +0 -10
  202. data/lib/sass/lesli/pages/dashboards.scss +0 -57
  203. data/lib/tasks/db.rb +0 -76
  204. data/lib/vue/stores/profile.js +0 -90
  205. data/lib/vue/stores/workflow2.js +0 -345
  206. data/lib/vue/stores/workflows/actions.js +0 -327
  207. data/lib/vue/stores/workflows/associations.js +0 -130
  208. data/lib/vue/stores/workflows/checks.js +0 -210
  209. /data/lib/vue/stores/{announcements.js → entities/announcements.js} +0 -0
  210. /data/lib/vue/stores/{dashboard.js → entities/dashboard.js} +0 -0
  211. /data/lib/vue/stores/{workflow.js → entities/workflow.js} +0 -0
  212. /data/lib/vue/stores/{cloud-bell → panels}/notification.js +0 -0
  213. /data/lib/vue/stores/{firebase.js → services/firebase.js} +0 -0
@@ -0,0 +1,103 @@
1
+ @import "../utilities/mixins"
2
+
3
+ =typography-size($target:'')
4
+ @each $size in $sizes
5
+ $i: index($sizes, $size)
6
+ .is-size-#{$i}#{if($target == '', '', '-' + $target)}
7
+ font-size: $size !important
8
+
9
+ +typography-size()
10
+
11
+ +mobile
12
+ +typography-size('mobile')
13
+
14
+ +tablet
15
+ +typography-size('tablet')
16
+
17
+ +touch
18
+ +typography-size('touch')
19
+
20
+ +desktop
21
+ +typography-size('desktop')
22
+
23
+ +widescreen
24
+ +typography-size('widescreen')
25
+
26
+ +fullhd
27
+ +typography-size('fullhd')
28
+
29
+ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
30
+
31
+ @each $alignment, $text-align in $alignments
32
+ .has-text-#{$alignment}
33
+ text-align: #{$text-align} !important
34
+
35
+ @each $alignment, $text-align in $alignments
36
+ +mobile
37
+ .has-text-#{$alignment}-mobile
38
+ text-align: #{$text-align} !important
39
+ +tablet
40
+ .has-text-#{$alignment}-tablet
41
+ text-align: #{$text-align} !important
42
+ +tablet-only
43
+ .has-text-#{$alignment}-tablet-only
44
+ text-align: #{$text-align} !important
45
+ +touch
46
+ .has-text-#{$alignment}-touch
47
+ text-align: #{$text-align} !important
48
+ +desktop
49
+ .has-text-#{$alignment}-desktop
50
+ text-align: #{$text-align} !important
51
+ +desktop-only
52
+ .has-text-#{$alignment}-desktop-only
53
+ text-align: #{$text-align} !important
54
+ +widescreen
55
+ .has-text-#{$alignment}-widescreen
56
+ text-align: #{$text-align} !important
57
+ +widescreen-only
58
+ .has-text-#{$alignment}-widescreen-only
59
+ text-align: #{$text-align} !important
60
+ +fullhd
61
+ .has-text-#{$alignment}-fullhd
62
+ text-align: #{$text-align} !important
63
+
64
+ .is-capitalized
65
+ text-transform: capitalize !important
66
+
67
+ .is-lowercase
68
+ text-transform: lowercase !important
69
+
70
+ .is-uppercase
71
+ text-transform: uppercase !important
72
+
73
+ .is-italic
74
+ font-style: italic !important
75
+
76
+ .is-underlined
77
+ text-decoration: underline !important
78
+
79
+ .has-text-weight-light
80
+ font-weight: $weight-light !important
81
+ .has-text-weight-normal
82
+ font-weight: $weight-normal !important
83
+ .has-text-weight-medium
84
+ font-weight: $weight-medium !important
85
+ .has-text-weight-semibold
86
+ font-weight: $weight-semibold !important
87
+ .has-text-weight-bold
88
+ font-weight: $weight-bold !important
89
+
90
+ .is-family-primary
91
+ font-family: $family-primary !important
92
+
93
+ .is-family-secondary
94
+ font-family: $family-secondary !important
95
+
96
+ .is-family-sans-serif
97
+ font-family: $family-sans-serif !important
98
+
99
+ .is-family-monospace
100
+ font-family: $family-monospace !important
101
+
102
+ .is-family-code
103
+ font-family: $family-code !important
@@ -0,0 +1,122 @@
1
+ @import "../utilities/mixins"
2
+
3
+ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
4
+
5
+ @each $display in $displays
6
+ .is-#{$display}
7
+ display: #{$display} !important
8
+ +mobile
9
+ .is-#{$display}-mobile
10
+ display: #{$display} !important
11
+ +tablet
12
+ .is-#{$display}-tablet
13
+ display: #{$display} !important
14
+ +tablet-only
15
+ .is-#{$display}-tablet-only
16
+ display: #{$display} !important
17
+ +touch
18
+ .is-#{$display}-touch
19
+ display: #{$display} !important
20
+ +desktop
21
+ .is-#{$display}-desktop
22
+ display: #{$display} !important
23
+ +desktop-only
24
+ .is-#{$display}-desktop-only
25
+ display: #{$display} !important
26
+ +widescreen
27
+ .is-#{$display}-widescreen
28
+ display: #{$display} !important
29
+ +widescreen-only
30
+ .is-#{$display}-widescreen-only
31
+ display: #{$display} !important
32
+ +fullhd
33
+ .is-#{$display}-fullhd
34
+ display: #{$display} !important
35
+
36
+ .is-hidden
37
+ display: none !important
38
+
39
+ .is-sr-only
40
+ border: none !important
41
+ clip: rect(0, 0, 0, 0) !important
42
+ height: 0.01em !important
43
+ overflow: hidden !important
44
+ padding: 0 !important
45
+ position: absolute !important
46
+ white-space: nowrap !important
47
+ width: 0.01em !important
48
+
49
+ +mobile
50
+ .is-hidden-mobile
51
+ display: none !important
52
+
53
+ +tablet
54
+ .is-hidden-tablet
55
+ display: none !important
56
+
57
+ +tablet-only
58
+ .is-hidden-tablet-only
59
+ display: none !important
60
+
61
+ +touch
62
+ .is-hidden-touch
63
+ display: none !important
64
+
65
+ +desktop
66
+ .is-hidden-desktop
67
+ display: none !important
68
+
69
+ +desktop-only
70
+ .is-hidden-desktop-only
71
+ display: none !important
72
+
73
+ +widescreen
74
+ .is-hidden-widescreen
75
+ display: none !important
76
+
77
+ +widescreen-only
78
+ .is-hidden-widescreen-only
79
+ display: none !important
80
+
81
+ +fullhd
82
+ .is-hidden-fullhd
83
+ display: none !important
84
+
85
+ .is-invisible
86
+ visibility: hidden !important
87
+
88
+ +mobile
89
+ .is-invisible-mobile
90
+ visibility: hidden !important
91
+
92
+ +tablet
93
+ .is-invisible-tablet
94
+ visibility: hidden !important
95
+
96
+ +tablet-only
97
+ .is-invisible-tablet-only
98
+ visibility: hidden !important
99
+
100
+ +touch
101
+ .is-invisible-touch
102
+ visibility: hidden !important
103
+
104
+ +desktop
105
+ .is-invisible-desktop
106
+ visibility: hidden !important
107
+
108
+ +desktop-only
109
+ .is-invisible-desktop-only
110
+ visibility: hidden !important
111
+
112
+ +widescreen
113
+ .is-invisible-widescreen
114
+ visibility: hidden !important
115
+
116
+ +widescreen-only
117
+ .is-invisible-widescreen-only
118
+ visibility: hidden !important
119
+
120
+ +fullhd
121
+ .is-invisible-fullhd
122
+ visibility: hidden !important
@@ -0,0 +1,6 @@
1
+ /* Bulma Layout */
2
+ @charset "utf-8"
3
+
4
+ @import "hero"
5
+ @import "section"
6
+ @import "footer"
@@ -0,0 +1,11 @@
1
+ @import "../utilities/derived-variables"
2
+
3
+ $footer-background-color: $scheme-main-bis !default
4
+ $footer-color: false !default
5
+ $footer-padding: 3rem 1.5rem 6rem !default
6
+
7
+ .footer
8
+ background-color: $footer-background-color
9
+ padding: $footer-padding
10
+ @if $footer-color
11
+ color: $footer-color
@@ -0,0 +1,153 @@
1
+ @import "../utilities/mixins"
2
+
3
+ $hero-body-padding: 3rem 1.5rem !default
4
+ $hero-body-padding-tablet: 3rem 3rem !default
5
+ $hero-body-padding-small: 1.5rem !default
6
+ $hero-body-padding-medium: 9rem 4.5rem !default
7
+ $hero-body-padding-large: 18rem 6rem !default
8
+
9
+ $hero-colors: $colors !default
10
+
11
+ // Main container
12
+ .hero
13
+ align-items: stretch
14
+ display: flex
15
+ flex-direction: column
16
+ justify-content: space-between
17
+ .navbar
18
+ background: none
19
+ .tabs
20
+ ul
21
+ border-bottom: none
22
+ // Colors
23
+ @each $name, $pair in $hero-colors
24
+ $color: nth($pair, 1)
25
+ $color-invert: nth($pair, 2)
26
+ &.is-#{$name}
27
+ background-color: $color
28
+ color: $color-invert
29
+ a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current),
30
+ strong
31
+ color: inherit
32
+ .title
33
+ color: $color-invert
34
+ .subtitle
35
+ color: bulmaRgba($color-invert, 0.9)
36
+ a:not(.button),
37
+ strong
38
+ color: $color-invert
39
+ .navbar-menu
40
+ +touch
41
+ background-color: $color
42
+ .navbar-item,
43
+ .navbar-link
44
+ color: bulmaRgba($color-invert, 0.7)
45
+ a.navbar-item,
46
+ .navbar-link
47
+ &:hover,
48
+ &.is-active
49
+ background-color: bulmaDarken($color, 5%)
50
+ color: $color-invert
51
+ .tabs
52
+ a
53
+ color: $color-invert
54
+ opacity: 0.9
55
+ &:hover
56
+ opacity: 1
57
+ li
58
+ &.is-active a
59
+ color: $color !important
60
+ opacity: 1
61
+ &.is-boxed,
62
+ &.is-toggle
63
+ a
64
+ color: $color-invert
65
+ &:hover
66
+ background-color: bulmaRgba($scheme-invert, 0.1)
67
+ li.is-active a
68
+ &,
69
+ &:hover
70
+ background-color: $color-invert
71
+ border-color: $color-invert
72
+ color: $color
73
+ // Modifiers
74
+ @if type-of($color) == 'color'
75
+ &.is-bold
76
+ $gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
77
+ $gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
78
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
79
+ +mobile
80
+ .navbar-menu
81
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
82
+ // Sizes
83
+ &.is-small
84
+ .hero-body
85
+ padding: $hero-body-padding-small
86
+ &.is-medium
87
+ +tablet
88
+ .hero-body
89
+ padding: $hero-body-padding-medium
90
+ &.is-large
91
+ +tablet
92
+ .hero-body
93
+ padding: $hero-body-padding-large
94
+ &.is-halfheight,
95
+ &.is-fullheight,
96
+ &.is-fullheight-with-navbar
97
+ .hero-body
98
+ align-items: center
99
+ display: flex
100
+ & > .container
101
+ flex-grow: 1
102
+ flex-shrink: 1
103
+ &.is-halfheight
104
+ min-height: 50vh
105
+ &.is-fullheight
106
+ min-height: 100vh
107
+
108
+ // Components
109
+
110
+ .hero-video
111
+ @extend %overlay
112
+ overflow: hidden
113
+ video
114
+ left: 50%
115
+ min-height: 100%
116
+ min-width: 100%
117
+ position: absolute
118
+ top: 50%
119
+ transform: translate3d(-50%, -50%, 0)
120
+ // Modifiers
121
+ &.is-transparent
122
+ opacity: 0.3
123
+ // Responsiveness
124
+ +mobile
125
+ display: none
126
+
127
+ .hero-buttons
128
+ margin-top: 1.5rem
129
+ // Responsiveness
130
+ +mobile
131
+ .button
132
+ display: flex
133
+ &:not(:last-child)
134
+ margin-bottom: 0.75rem
135
+ +tablet
136
+ display: flex
137
+ justify-content: center
138
+ .button:not(:last-child)
139
+ +ltr-property("margin", 1.5rem)
140
+
141
+ // Containers
142
+
143
+ .hero-head,
144
+ .hero-foot
145
+ flex-grow: 0
146
+ flex-shrink: 0
147
+
148
+ .hero-body
149
+ flex-grow: 1
150
+ flex-shrink: 0
151
+ padding: $hero-body-padding
152
+ +tablet
153
+ padding: $hero-body-padding-tablet
@@ -0,0 +1,17 @@
1
+ @import "../utilities/mixins"
2
+
3
+ $section-padding: 3rem 1.5rem !default
4
+ $section-padding-desktop: 3rem 3rem !default
5
+ $section-padding-medium: 9rem 4.5rem !default
6
+ $section-padding-large: 18rem 6rem !default
7
+
8
+ .section
9
+ padding: $section-padding
10
+ // Responsiveness
11
+ +desktop
12
+ padding: $section-padding-desktop
13
+ // Sizes
14
+ &.is-medium
15
+ padding: $section-padding-medium
16
+ &.is-large
17
+ padding: $section-padding-large
@@ -0,0 +1,9 @@
1
+ /* Bulma Utilities */
2
+ @charset "utf-8"
3
+
4
+ @import "initial-variables"
5
+ @import "functions"
6
+ @import "derived-variables"
7
+ @import "mixins"
8
+ @import "controls"
9
+ @import "extends"
@@ -0,0 +1 @@
1
+ @warn "The animations.sass file has MOVED. It is now in the /base folder. Please import sass/base/animations instead."
@@ -0,0 +1,49 @@
1
+ @import "derived-variables"
2
+
3
+ $control-radius: $radius !default
4
+ $control-radius-small: $radius-small !default
5
+
6
+ $control-border-width: 1px !default
7
+
8
+ $control-height: 2.5em !default
9
+ $control-line-height: 1.5 !default
10
+
11
+ $control-padding-vertical: calc(0.5em - #{$control-border-width}) !default
12
+ $control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default
13
+
14
+ =control
15
+ -moz-appearance: none
16
+ -webkit-appearance: none
17
+ align-items: center
18
+ border: $control-border-width solid transparent
19
+ border-radius: $control-radius
20
+ box-shadow: none
21
+ display: inline-flex
22
+ font-size: $size-normal
23
+ height: $control-height
24
+ justify-content: flex-start
25
+ line-height: $control-line-height
26
+ padding-bottom: $control-padding-vertical
27
+ padding-left: $control-padding-horizontal
28
+ padding-right: $control-padding-horizontal
29
+ padding-top: $control-padding-vertical
30
+ position: relative
31
+ vertical-align: top
32
+ // States
33
+ &:focus,
34
+ &.is-focused,
35
+ &:active,
36
+ &.is-active
37
+ outline: none
38
+ &[disabled],
39
+ fieldset[disabled] &
40
+ cursor: not-allowed
41
+
42
+ // The controls sizes use mixins so they can be used at different breakpoints
43
+ =control-small
44
+ border-radius: $control-radius-small
45
+ font-size: $size-small
46
+ =control-medium
47
+ font-size: $size-medium
48
+ =control-large
49
+ font-size: $size-large
@@ -0,0 +1,114 @@
1
+ @import "initial-variables"
2
+ @import "functions"
3
+
4
+ $primary: $turquoise !default
5
+
6
+ $info: $cyan !default
7
+ $success: $green !default
8
+ $warning: $yellow !default
9
+ $danger: $red !default
10
+
11
+ $light: $white-ter !default
12
+ $dark: $grey-darker !default
13
+
14
+ // Invert colors
15
+
16
+ $orange-invert: findColorInvert($orange) !default
17
+ $yellow-invert: findColorInvert($yellow) !default
18
+ $green-invert: findColorInvert($green) !default
19
+ $turquoise-invert: findColorInvert($turquoise) !default
20
+ $cyan-invert: findColorInvert($cyan) !default
21
+ $blue-invert: findColorInvert($blue) !default
22
+ $purple-invert: findColorInvert($purple) !default
23
+ $red-invert: findColorInvert($red) !default
24
+
25
+ $primary-invert: findColorInvert($primary) !default
26
+ $primary-light: findLightColor($primary) !default
27
+ $primary-dark: findDarkColor($primary) !default
28
+ $info-invert: findColorInvert($info) !default
29
+ $info-light: findLightColor($info) !default
30
+ $info-dark: findDarkColor($info) !default
31
+ $success-invert: findColorInvert($success) !default
32
+ $success-light: findLightColor($success) !default
33
+ $success-dark: findDarkColor($success) !default
34
+ $warning-invert: findColorInvert($warning) !default
35
+ $warning-light: findLightColor($warning) !default
36
+ $warning-dark: findDarkColor($warning) !default
37
+ $danger-invert: findColorInvert($danger) !default
38
+ $danger-light: findLightColor($danger) !default
39
+ $danger-dark: findDarkColor($danger) !default
40
+ $light-invert: findColorInvert($light) !default
41
+ $dark-invert: findColorInvert($dark) !default
42
+
43
+ // General colors
44
+
45
+ $scheme-main: $white !default
46
+ $scheme-main-bis: $white-bis !default
47
+ $scheme-main-ter: $white-ter !default
48
+ $scheme-invert: $black !default
49
+ $scheme-invert-bis: $black-bis !default
50
+ $scheme-invert-ter: $black-ter !default
51
+
52
+ $background: $white-ter !default
53
+
54
+ $border: $grey-lighter !default
55
+ $border-hover: $grey-light !default
56
+ $border-light: $grey-lightest !default
57
+ $border-light-hover: $grey-light !default
58
+
59
+ // Text colors
60
+
61
+ $text: $grey-dark !default
62
+ $text-invert: findColorInvert($text) !default
63
+ $text-light: $grey !default
64
+ $text-strong: $grey-darker !default
65
+
66
+ // Code colors
67
+
68
+ $code: darken($red, 15%) !default
69
+ $code-background: $background !default
70
+
71
+ $pre: $text !default
72
+ $pre-background: $background !default
73
+
74
+ // Link colors
75
+
76
+ $link: $blue !default
77
+ $link-invert: findColorInvert($link) !default
78
+ $link-light: findLightColor($link) !default
79
+ $link-dark: findDarkColor($link) !default
80
+ $link-visited: $purple !default
81
+
82
+ $link-hover: $grey-darker !default
83
+ $link-hover-border: $grey-light !default
84
+
85
+ $link-focus: $grey-darker !default
86
+ $link-focus-border: $blue !default
87
+
88
+ $link-active: $grey-darker !default
89
+ $link-active-border: $grey-dark !default
90
+
91
+ // Typography
92
+
93
+ $family-primary: $family-sans-serif !default
94
+ $family-secondary: $family-sans-serif !default
95
+ $family-code: $family-monospace !default
96
+
97
+ $size-small: $size-7 !default
98
+ $size-normal: $size-6 !default
99
+ $size-medium: $size-5 !default
100
+ $size-large: $size-4 !default
101
+
102
+ // Effects
103
+
104
+ $shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
105
+
106
+ // Lists and maps
107
+ $custom-colors: null !default
108
+ $custom-shades: null !default
109
+
110
+ $colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default
111
+
112
+ $shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis), $custom-shades) !default
113
+
114
+ $sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
@@ -0,0 +1,25 @@
1
+ @import "mixins"
2
+
3
+ %control
4
+ +control
5
+
6
+ %unselectable
7
+ +unselectable
8
+
9
+ %arrow
10
+ +arrow
11
+
12
+ %block
13
+ +block
14
+
15
+ %delete
16
+ +delete
17
+
18
+ %loader
19
+ +loader
20
+
21
+ %overlay
22
+ +overlay
23
+
24
+ %reset
25
+ +reset