intia-theme 0.1.0 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/hero.html +5 -3
- data/_includes/introduction.html +1 -1
- data/_includes/story-slider.html +1 -1
- data/_layouts/404.html +7 -0
- data/_sass/_layout.scss +40 -11
- data/_sass/_main.scss +32 -11
- data/assets/img/404.png +0 -0
- data/assets/img/arrow-down.png +0 -0
- data/assets/img/arrow-left.png +0 -0
- data/assets/js/main.js +4 -1
- data/favicon.png +0 -0
- data/node_modules/bulma/CHANGELOG.md +1558 -0
- data/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma/README.md +134 -0
- data/node_modules/bulma/bulma.sass +10 -0
- data/node_modules/bulma/css/bulma-rtl.css +11811 -0
- data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
- data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
- data/node_modules/bulma/css/bulma.css +11811 -0
- data/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma/package.json +82 -0
- data/node_modules/bulma/sass/base/_all.sass +6 -0
- data/node_modules/bulma/sass/base/animations.sass +5 -0
- data/node_modules/bulma/sass/base/generic.sass +145 -0
- data/node_modules/bulma/sass/base/helpers.sass +1 -0
- data/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma/sass/components/breadcrumb.sass +77 -0
- data/node_modules/bulma/sass/components/card.sass +103 -0
- data/node_modules/bulma/sass/components/dropdown.sass +83 -0
- data/node_modules/bulma/sass/components/level.sass +79 -0
- data/node_modules/bulma/sass/components/media.sass +59 -0
- data/node_modules/bulma/sass/components/menu.sass +59 -0
- data/node_modules/bulma/sass/components/message.sass +101 -0
- data/node_modules/bulma/sass/components/modal.sass +117 -0
- data/node_modules/bulma/sass/components/navbar.sass +446 -0
- data/node_modules/bulma/sass/components/pagination.sass +166 -0
- data/node_modules/bulma/sass/components/panel.sass +121 -0
- data/node_modules/bulma/sass/components/tabs.sass +176 -0
- data/node_modules/bulma/sass/elements/_all.sass +16 -0
- data/node_modules/bulma/sass/elements/box.sass +26 -0
- data/node_modules/bulma/sass/elements/button.sass +345 -0
- data/node_modules/bulma/sass/elements/container.sass +29 -0
- data/node_modules/bulma/sass/elements/content.sass +159 -0
- data/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma/sass/elements/icon.sass +46 -0
- data/node_modules/bulma/sass/elements/image.sass +73 -0
- data/node_modules/bulma/sass/elements/notification.sass +52 -0
- data/node_modules/bulma/sass/elements/other.sass +31 -0
- data/node_modules/bulma/sass/elements/progress.sass +73 -0
- data/node_modules/bulma/sass/elements/table.sass +133 -0
- data/node_modules/bulma/sass/elements/tag.sass +140 -0
- data/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma/sass/form/_all.sass +9 -0
- data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -0
- data/node_modules/bulma/sass/form/file.sass +184 -0
- data/node_modules/bulma/sass/form/input-textarea.sass +66 -0
- data/node_modules/bulma/sass/form/select.sass +87 -0
- data/node_modules/bulma/sass/form/shared.sass +60 -0
- data/node_modules/bulma/sass/form/tools.sass +215 -0
- data/node_modules/bulma/sass/grid/_all.sass +5 -0
- data/node_modules/bulma/sass/grid/columns.sass +513 -0
- data/node_modules/bulma/sass/grid/tiles.sass +36 -0
- data/node_modules/bulma/sass/helpers/_all.sass +12 -0
- data/node_modules/bulma/sass/helpers/color.sass +39 -0
- data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
- data/node_modules/bulma/sass/helpers/float.sass +10 -0
- data/node_modules/bulma/sass/helpers/other.sass +14 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +7 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
- data/node_modules/bulma/sass/helpers/typography.sass +103 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/_all.sass +6 -0
- data/node_modules/bulma/sass/layout/footer.sass +11 -0
- data/node_modules/bulma/sass/layout/hero.sass +153 -0
- data/node_modules/bulma/sass/layout/section.sass +17 -0
- data/node_modules/bulma/sass/utilities/_all.sass +9 -0
- data/node_modules/bulma/sass/utilities/animations.sass +1 -0
- data/node_modules/bulma/sass/utilities/controls.sass +49 -0
- data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -0
- data/node_modules/bulma/sass/utilities/extends.sass +25 -0
- data/node_modules/bulma/sass/utilities/functions.sass +136 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +280 -0
- data/node_modules/bulma-block-list/LICENSE.txt +21 -0
- data/node_modules/bulma-block-list/README.md +32 -0
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +80 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
- data/node_modules/bulma-block-list/package.json +59 -0
- data/node_modules/bulma-block-list/src/block-list.scss +109 -0
- data/node_modules/bulma-block-list/src/demo.scss +3 -0
- data/node_modules/bulma-carousel/CHANGELOG.md +307 -0
- data/node_modules/bulma-carousel/LICENSE +21 -0
- data/node_modules/bulma-carousel/README.md +13 -0
- data/node_modules/bulma-carousel/dist/css/bulma-carousel.min.css +1 -0
- data/node_modules/bulma-carousel/dist/js/bulma-carousel.js +2371 -0
- data/node_modules/bulma-carousel/package.json +108 -0
- data/node_modules/bulma-carousel/src/demo/_data/events.yml +15 -0
- data/node_modules/bulma-carousel/src/demo/_data/getters.yml +26 -0
- data/node_modules/bulma-carousel/src/demo/_data/menu.yml +26 -0
- data/node_modules/bulma-carousel/src/demo/_data/methods.yml +57 -0
- data/node_modules/bulma-carousel/src/demo/_data/options.yml +79 -0
- data/node_modules/bulma-carousel/src/demo/_data/setters.yml +0 -0
- data/node_modules/bulma-carousel/src/demo/_data/tree.yml +30 -0
- data/node_modules/bulma-carousel/src/demo/_includes/anchor.html +3 -0
- data/node_modules/bulma-carousel/src/demo/_includes/breadcrumb.html +5 -0
- data/node_modules/bulma-carousel/src/demo/_includes/events.html +33 -0
- data/node_modules/bulma-carousel/src/demo/_includes/getters.html +28 -0
- data/node_modules/bulma-carousel/src/demo/_includes/head.html +22 -0
- data/node_modules/bulma-carousel/src/demo/_includes/menu.html +22 -0
- data/node_modules/bulma-carousel/src/demo/_includes/methods.html +49 -0
- data/node_modules/bulma-carousel/src/demo/_includes/options.html +33 -0
- data/node_modules/bulma-carousel/src/demo/_includes/setters.html +28 -0
- data/node_modules/bulma-carousel/src/demo/_includes/tree.html +25 -0
- data/node_modules/bulma-carousel/src/demo/_includes/variables.html +28 -0
- data/node_modules/bulma-carousel/src/demo/_layouts/default.html +47 -0
- data/node_modules/bulma-carousel/src/demo/assets/css/bulma-carousel.min.css +1 -0
- data/node_modules/bulma-carousel/src/demo/assets/css/documentation.min.css +1 -0
- data/node_modules/bulma-carousel/src/demo/assets/css/highlight.css +78 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/1.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/2.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/3.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/4.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/5.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/6.jpg +0 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/left.svg +3 -0
- data/node_modules/bulma-carousel/src/demo/assets/images/right.svg +3 -0
- data/node_modules/bulma-carousel/src/demo/assets/js/bulma-carousel.min.js +1 -0
- data/node_modules/bulma-carousel/src/demo/assets/js/doc.js +111 -0
- data/node_modules/bulma-carousel/src/demo/assets/js/main.js +23 -0
- data/node_modules/bulma-carousel/src/demo/changelog.html +17 -0
- data/node_modules/bulma-carousel/src/demo/customization.html +78 -0
- data/node_modules/bulma-carousel/src/demo/demonstration/index.html +402 -0
- data/node_modules/bulma-carousel/src/demo/index.html +396 -0
- data/node_modules/bulma-carousel/src/js/components/Media.js +129 -0
- data/node_modules/bulma-carousel/src/js/components/autoplay.js +111 -0
- data/node_modules/bulma-carousel/src/js/components/breakpoint.js +91 -0
- data/node_modules/bulma-carousel/src/js/components/infinite.js +60 -0
- data/node_modules/bulma-carousel/src/js/components/loop.js +35 -0
- data/node_modules/bulma-carousel/src/js/components/navigation.js +107 -0
- data/node_modules/bulma-carousel/src/js/components/pagination.js +103 -0
- data/node_modules/bulma-carousel/src/js/components/swipe.js +106 -0
- data/node_modules/bulma-carousel/src/js/components/transitioner.js +74 -0
- data/node_modules/bulma-carousel/src/js/components/transitions/fade.js +90 -0
- data/node_modules/bulma-carousel/src/js/components/transitions/translate.js +98 -0
- data/node_modules/bulma-carousel/src/js/defaultOptions.js +50 -0
- data/node_modules/bulma-carousel/src/js/index.js +428 -0
- data/node_modules/bulma-carousel/src/js/templates/index.js +5 -0
- data/node_modules/bulma-carousel/src/js/templates/item.js +3 -0
- data/node_modules/bulma-carousel/src/js/templates/navigation.js +4 -0
- data/node_modules/bulma-carousel/src/js/templates/pagination-page.js +3 -0
- data/node_modules/bulma-carousel/src/js/templates/pagination.js +3 -0
- data/node_modules/bulma-carousel/src/js/utils/coordinate.js +98 -0
- data/node_modules/bulma-carousel/src/js/utils/css.js +84 -0
- data/node_modules/bulma-carousel/src/js/utils/detect-prefixes.js +50 -0
- data/node_modules/bulma-carousel/src/js/utils/detect-supportsPassive.js +16 -0
- data/node_modules/bulma-carousel/src/js/utils/device.js +17 -0
- data/node_modules/bulma-carousel/src/js/utils/dom.js +10 -0
- data/node_modules/bulma-carousel/src/js/utils/eventEmitter.js +19 -0
- data/node_modules/bulma-carousel/src/js/utils/events.js +65 -0
- data/node_modules/bulma-carousel/src/js/utils/index.js +16 -0
- data/node_modules/bulma-carousel/src/js/utils/type.js +21 -0
- data/node_modules/bulma-carousel/src/sass/index.sass +145 -0
- data/package-lock.json +32 -0
- data/package.json +10 -0
- metadata +222 -4
- data/_config.yml +0 -72
- data/assets/img/arrow.png +0 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
$control-radius: $radius !default
|
2
|
+
$control-radius-small: $radius-small !default
|
3
|
+
|
4
|
+
$control-border-width: 1px !default
|
5
|
+
|
6
|
+
$control-height: 2.5em !default
|
7
|
+
$control-line-height: 1.5 !default
|
8
|
+
|
9
|
+
$control-padding-vertical: calc(0.5em - #{$control-border-width}) !default
|
10
|
+
$control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default
|
11
|
+
|
12
|
+
=control
|
13
|
+
-moz-appearance: none
|
14
|
+
-webkit-appearance: none
|
15
|
+
align-items: center
|
16
|
+
border: $control-border-width solid transparent
|
17
|
+
border-radius: $control-radius
|
18
|
+
box-shadow: none
|
19
|
+
display: inline-flex
|
20
|
+
font-size: $size-normal
|
21
|
+
height: $control-height
|
22
|
+
justify-content: flex-start
|
23
|
+
line-height: $control-line-height
|
24
|
+
padding-bottom: $control-padding-vertical
|
25
|
+
padding-left: $control-padding-horizontal
|
26
|
+
padding-right: $control-padding-horizontal
|
27
|
+
padding-top: $control-padding-vertical
|
28
|
+
position: relative
|
29
|
+
vertical-align: top
|
30
|
+
// States
|
31
|
+
&:focus,
|
32
|
+
&.is-focused,
|
33
|
+
&:active,
|
34
|
+
&.is-active
|
35
|
+
outline: none
|
36
|
+
&[disabled],
|
37
|
+
fieldset[disabled] &
|
38
|
+
cursor: not-allowed
|
39
|
+
|
40
|
+
%control
|
41
|
+
+control
|
42
|
+
|
43
|
+
// The controls sizes use mixins so they can be used at different breakpoints
|
44
|
+
=control-small
|
45
|
+
border-radius: $control-radius-small
|
46
|
+
font-size: $size-small
|
47
|
+
=control-medium
|
48
|
+
font-size: $size-medium
|
49
|
+
=control-large
|
50
|
+
font-size: $size-large
|
@@ -0,0 +1,106 @@
|
|
1
|
+
$primary: $turquoise !default
|
2
|
+
|
3
|
+
$info: $cyan !default
|
4
|
+
$success: $green !default
|
5
|
+
$warning: $yellow !default
|
6
|
+
$danger: $red !default
|
7
|
+
|
8
|
+
$light: $white-ter !default
|
9
|
+
$dark: $grey-darker !default
|
10
|
+
|
11
|
+
// Invert colors
|
12
|
+
|
13
|
+
$orange-invert: findColorInvert($orange) !default
|
14
|
+
$yellow-invert: findColorInvert($yellow) !default
|
15
|
+
$green-invert: findColorInvert($green) !default
|
16
|
+
$turquoise-invert: findColorInvert($turquoise) !default
|
17
|
+
$cyan-invert: findColorInvert($cyan) !default
|
18
|
+
$blue-invert: findColorInvert($blue) !default
|
19
|
+
$purple-invert: findColorInvert($purple) !default
|
20
|
+
$red-invert: findColorInvert($red) !default
|
21
|
+
|
22
|
+
$primary-invert: findColorInvert($primary) !default
|
23
|
+
$primary-light: findLightColor($primary) !default
|
24
|
+
$primary-dark: findDarkColor($primary) !default
|
25
|
+
$info-invert: findColorInvert($info) !default
|
26
|
+
$info-light: findLightColor($info) !default
|
27
|
+
$info-dark: findDarkColor($info) !default
|
28
|
+
$success-invert: findColorInvert($success) !default
|
29
|
+
$success-light: findLightColor($success) !default
|
30
|
+
$success-dark: findDarkColor($success) !default
|
31
|
+
$warning-invert: findColorInvert($warning) !default
|
32
|
+
$warning-light: findLightColor($warning) !default
|
33
|
+
$warning-dark: findDarkColor($warning) !default
|
34
|
+
$danger-invert: findColorInvert($danger) !default
|
35
|
+
$danger-light: findLightColor($danger) !default
|
36
|
+
$danger-dark: findDarkColor($danger) !default
|
37
|
+
$light-invert: findColorInvert($light) !default
|
38
|
+
$dark-invert: findColorInvert($dark) !default
|
39
|
+
|
40
|
+
// General colors
|
41
|
+
|
42
|
+
$scheme-main: $white !default
|
43
|
+
$scheme-main-bis: $white-bis !default
|
44
|
+
$scheme-main-ter: $white-ter !default
|
45
|
+
$scheme-invert: $black !default
|
46
|
+
$scheme-invert-bis: $black-bis !default
|
47
|
+
$scheme-invert-ter: $black-ter !default
|
48
|
+
|
49
|
+
$background: $white-ter !default
|
50
|
+
|
51
|
+
$border: $grey-lighter !default
|
52
|
+
$border-hover: $grey-light !default
|
53
|
+
$border-light: $grey-lightest !default
|
54
|
+
$border-light-hover: $grey-light !default
|
55
|
+
|
56
|
+
// Text colors
|
57
|
+
|
58
|
+
$text: $grey-dark !default
|
59
|
+
$text-invert: findColorInvert($text) !default
|
60
|
+
$text-light: $grey !default
|
61
|
+
$text-strong: $grey-darker !default
|
62
|
+
|
63
|
+
// Code colors
|
64
|
+
|
65
|
+
$code: $red !default
|
66
|
+
$code-background: $background !default
|
67
|
+
|
68
|
+
$pre: $text !default
|
69
|
+
$pre-background: $background !default
|
70
|
+
|
71
|
+
// Link colors
|
72
|
+
|
73
|
+
$link: $blue !default
|
74
|
+
$link-invert: findColorInvert($link) !default
|
75
|
+
$link-light: findLightColor($link) !default
|
76
|
+
$link-dark: findDarkColor($link) !default
|
77
|
+
$link-visited: $purple !default
|
78
|
+
|
79
|
+
$link-hover: $grey-darker !default
|
80
|
+
$link-hover-border: $grey-light !default
|
81
|
+
|
82
|
+
$link-focus: $grey-darker !default
|
83
|
+
$link-focus-border: $blue !default
|
84
|
+
|
85
|
+
$link-active: $grey-darker !default
|
86
|
+
$link-active-border: $grey-dark !default
|
87
|
+
|
88
|
+
// Typography
|
89
|
+
|
90
|
+
$family-primary: $family-sans-serif !default
|
91
|
+
$family-secondary: $family-sans-serif !default
|
92
|
+
$family-code: $family-monospace !default
|
93
|
+
|
94
|
+
$size-small: $size-7 !default
|
95
|
+
$size-normal: $size-6 !default
|
96
|
+
$size-medium: $size-5 !default
|
97
|
+
$size-large: $size-4 !default
|
98
|
+
|
99
|
+
// Lists and maps
|
100
|
+
$custom-colors: null !default
|
101
|
+
$custom-shades: null !default
|
102
|
+
|
103
|
+
$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
|
104
|
+
$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
|
105
|
+
|
106
|
+
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
|
@@ -0,0 +1,110 @@
|
|
1
|
+
@function mergeColorMaps($bulma-colors, $custom-colors)
|
2
|
+
// We return at least Bulma's hard-coded colors
|
3
|
+
$merged-colors: $bulma-colors
|
4
|
+
|
5
|
+
// We want a map as input
|
6
|
+
@if type-of($custom-colors) == 'map'
|
7
|
+
@each $name, $components in $custom-colors
|
8
|
+
// The color name should be a string
|
9
|
+
// and the components either a single color
|
10
|
+
// or a colors list with at least one element
|
11
|
+
@if type-of($name) == 'string' and (type-of($components) == 'list' or type-of($components) == 'color') and length($components) >= 1
|
12
|
+
$color-base: null
|
13
|
+
$color-invert: null
|
14
|
+
$color-light: null
|
15
|
+
$color-dark: null
|
16
|
+
$value: null
|
17
|
+
|
18
|
+
// The param can either be a single color
|
19
|
+
// or a list of 2 colors
|
20
|
+
@if type-of($components) == 'color'
|
21
|
+
$color-base: $components
|
22
|
+
$color-invert: findColorInvert($color-base)
|
23
|
+
$color-light: findLightColor($color-base)
|
24
|
+
$color-dark: findDarkColor($color-base)
|
25
|
+
@else if type-of($components) == 'list'
|
26
|
+
$color-base: nth($components, 1)
|
27
|
+
// If Invert, Light and Dark are provided
|
28
|
+
@if length($components) > 3
|
29
|
+
$color-invert: nth($components, 2)
|
30
|
+
$color-light: nth($components, 3)
|
31
|
+
$color-dark: nth($components, 4)
|
32
|
+
// If only Invert and Light are provided
|
33
|
+
@else if length($components) > 2
|
34
|
+
$color-invert: nth($components, 2)
|
35
|
+
$color-light: nth($components, 3)
|
36
|
+
$color-dark: findDarkColor($color-base)
|
37
|
+
// If only Invert is provided
|
38
|
+
@else
|
39
|
+
$color-invert: nth($components, 2)
|
40
|
+
$color-light: findLightColor($color-base)
|
41
|
+
$color-dark: findDarkColor($color-base)
|
42
|
+
|
43
|
+
$value: ($color-base, $color-invert, $color-light, $color-dark)
|
44
|
+
|
45
|
+
// We only want to merge the map if the color base is an actual color
|
46
|
+
@if type-of($color-base) == 'color'
|
47
|
+
// We merge this colors elements as map with Bulma's colors map
|
48
|
+
// (we can override them this way, no multiple definition for the same name)
|
49
|
+
// $merged-colors: map_merge($merged-colors, ($name: ($color-base, $color-invert, $color-light, $color-dark)))
|
50
|
+
$merged-colors: map_merge($merged-colors, ($name: $value))
|
51
|
+
|
52
|
+
@return $merged-colors
|
53
|
+
|
54
|
+
@function powerNumber($number, $exp)
|
55
|
+
$value: 1
|
56
|
+
@if $exp > 0
|
57
|
+
@for $i from 1 through $exp
|
58
|
+
$value: $value * $number
|
59
|
+
@else if $exp < 0
|
60
|
+
@for $i from 1 through -$exp
|
61
|
+
$value: $value / $number
|
62
|
+
@return $value
|
63
|
+
|
64
|
+
@function colorLuminance($color)
|
65
|
+
@if type-of($color) != 'color'
|
66
|
+
@return 0.55
|
67
|
+
$color-rgb: ('red': red($color),'green': green($color),'blue': blue($color))
|
68
|
+
@each $name, $value in $color-rgb
|
69
|
+
$adjusted: 0
|
70
|
+
$value: $value / 255
|
71
|
+
@if $value < 0.03928
|
72
|
+
$value: $value / 12.92
|
73
|
+
@else
|
74
|
+
$value: ($value + .055) / 1.055
|
75
|
+
$value: powerNumber($value, 2)
|
76
|
+
$color-rgb: map-merge($color-rgb, ($name: $value))
|
77
|
+
@return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
|
78
|
+
|
79
|
+
@function findColorInvert($color)
|
80
|
+
@if (colorLuminance($color) > 0.55)
|
81
|
+
@return rgba(#000, 0.7)
|
82
|
+
@else
|
83
|
+
@return #fff
|
84
|
+
|
85
|
+
@function findLightColor($color)
|
86
|
+
@if type-of($color) == 'color'
|
87
|
+
$l: 96%
|
88
|
+
@if lightness($color) > 96%
|
89
|
+
$l: lightness($color)
|
90
|
+
@return change-color($color, $lightness: $l)
|
91
|
+
@return $background
|
92
|
+
|
93
|
+
@function findDarkColor($color)
|
94
|
+
@if type-of($color) == 'color'
|
95
|
+
$base-l: 29%
|
96
|
+
$luminance: colorLuminance($color)
|
97
|
+
$luminance-delta: (0.53 - $luminance)
|
98
|
+
$target-l: round($base-l + ($luminance-delta * 53))
|
99
|
+
@return change-color($color, $lightness: max($base-l, $target-l))
|
100
|
+
@return $text-strong
|
101
|
+
|
102
|
+
@function bulmaRgba($color, $alpha)
|
103
|
+
@if type-of($color) != 'color'
|
104
|
+
@return $color
|
105
|
+
@return rgba($color, $alpha)
|
106
|
+
|
107
|
+
@function bulmaDarken($color, $amount)
|
108
|
+
@if type-of($color) != 'color'
|
109
|
+
@return $color
|
110
|
+
@return darken($color, $amount)
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// Colors
|
2
|
+
|
3
|
+
$black: hsl(0, 0%, 4%) !default
|
4
|
+
$black-bis: hsl(0, 0%, 7%) !default
|
5
|
+
$black-ter: hsl(0, 0%, 14%) !default
|
6
|
+
|
7
|
+
$grey-darker: hsl(0, 0%, 21%) !default
|
8
|
+
$grey-dark: hsl(0, 0%, 29%) !default
|
9
|
+
$grey: hsl(0, 0%, 48%) !default
|
10
|
+
$grey-light: hsl(0, 0%, 71%) !default
|
11
|
+
$grey-lighter: hsl(0, 0%, 86%) !default
|
12
|
+
$grey-lightest: hsl(0, 0%, 93%) !default
|
13
|
+
|
14
|
+
$white-ter: hsl(0, 0%, 96%) !default
|
15
|
+
$white-bis: hsl(0, 0%, 98%) !default
|
16
|
+
$white: hsl(0, 0%, 100%) !default
|
17
|
+
|
18
|
+
$orange: hsl(14, 100%, 53%) !default
|
19
|
+
$yellow: hsl(48, 100%, 67%) !default
|
20
|
+
$green: hsl(141, 53%, 53%) !default
|
21
|
+
$turquoise: hsl(171, 100%, 41%) !default
|
22
|
+
$cyan: hsl(204, 71%, 53%) !default
|
23
|
+
$blue: hsl(217, 71%, 53%) !default
|
24
|
+
$purple: hsl(271, 100%, 71%) !default
|
25
|
+
$red: hsl(348, 86%, 61%) !default
|
26
|
+
|
27
|
+
// Typography
|
28
|
+
|
29
|
+
$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
|
30
|
+
$family-monospace: monospace !default
|
31
|
+
$render-mode: optimizeLegibility !default
|
32
|
+
|
33
|
+
$size-1: 3rem !default
|
34
|
+
$size-2: 2.5rem !default
|
35
|
+
$size-3: 2rem !default
|
36
|
+
$size-4: 1.5rem !default
|
37
|
+
$size-5: 1.25rem !default
|
38
|
+
$size-6: 1rem !default
|
39
|
+
$size-7: 0.75rem !default
|
40
|
+
|
41
|
+
$weight-light: 300 !default
|
42
|
+
$weight-normal: 400 !default
|
43
|
+
$weight-medium: 500 !default
|
44
|
+
$weight-semibold: 600 !default
|
45
|
+
$weight-bold: 700 !default
|
46
|
+
|
47
|
+
// Spacing
|
48
|
+
|
49
|
+
$block-spacing: 1.5rem !default
|
50
|
+
|
51
|
+
// Responsiveness
|
52
|
+
|
53
|
+
// The container horizontal gap, which acts as the offset for breakpoints
|
54
|
+
$gap: 32px !default
|
55
|
+
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
56
|
+
$tablet: 769px !default
|
57
|
+
// 960px container + 4rem
|
58
|
+
$desktop: 960px + (2 * $gap) !default
|
59
|
+
// 1152px container + 4rem
|
60
|
+
$widescreen: 1152px + (2 * $gap) !default
|
61
|
+
$widescreen-enabled: true !default
|
62
|
+
// 1344px container + 4rem
|
63
|
+
$fullhd: 1344px + (2 * $gap) !default
|
64
|
+
$fullhd-enabled: true !default
|
65
|
+
|
66
|
+
// Miscellaneous
|
67
|
+
|
68
|
+
$easing: ease-out !default
|
69
|
+
$radius-small: 2px !default
|
70
|
+
$radius: 4px !default
|
71
|
+
$radius-large: 6px !default
|
72
|
+
$radius-rounded: 290486px !default
|
73
|
+
$speed: 86ms !default
|
74
|
+
|
75
|
+
// Flags
|
76
|
+
|
77
|
+
$variable-columns: true !default
|
@@ -0,0 +1,261 @@
|
|
1
|
+
@import "initial-variables"
|
2
|
+
|
3
|
+
=clearfix
|
4
|
+
&::after
|
5
|
+
clear: both
|
6
|
+
content: " "
|
7
|
+
display: table
|
8
|
+
|
9
|
+
=center($width, $height: 0)
|
10
|
+
position: absolute
|
11
|
+
@if $height != 0
|
12
|
+
left: calc(50% - (#{$width} / 2))
|
13
|
+
top: calc(50% - (#{$height} / 2))
|
14
|
+
@else
|
15
|
+
left: calc(50% - (#{$width} / 2))
|
16
|
+
top: calc(50% - (#{$width} / 2))
|
17
|
+
|
18
|
+
=fa($size, $dimensions)
|
19
|
+
display: inline-block
|
20
|
+
font-size: $size
|
21
|
+
height: $dimensions
|
22
|
+
line-height: $dimensions
|
23
|
+
text-align: center
|
24
|
+
vertical-align: top
|
25
|
+
width: $dimensions
|
26
|
+
|
27
|
+
=hamburger($dimensions)
|
28
|
+
cursor: pointer
|
29
|
+
display: block
|
30
|
+
height: $dimensions
|
31
|
+
position: relative
|
32
|
+
width: $dimensions
|
33
|
+
span
|
34
|
+
background-color: currentColor
|
35
|
+
display: block
|
36
|
+
height: 1px
|
37
|
+
left: calc(50% - 8px)
|
38
|
+
position: absolute
|
39
|
+
transform-origin: center
|
40
|
+
transition-duration: $speed
|
41
|
+
transition-property: background-color, opacity, transform
|
42
|
+
transition-timing-function: $easing
|
43
|
+
width: 16px
|
44
|
+
&:nth-child(1)
|
45
|
+
top: calc(50% - 6px)
|
46
|
+
&:nth-child(2)
|
47
|
+
top: calc(50% - 1px)
|
48
|
+
&:nth-child(3)
|
49
|
+
top: calc(50% + 4px)
|
50
|
+
&:hover
|
51
|
+
background-color: bulmaRgba(black, 0.05)
|
52
|
+
// Modifers
|
53
|
+
&.is-active
|
54
|
+
span
|
55
|
+
&:nth-child(1)
|
56
|
+
transform: translateY(5px) rotate(45deg)
|
57
|
+
&:nth-child(2)
|
58
|
+
opacity: 0
|
59
|
+
&:nth-child(3)
|
60
|
+
transform: translateY(-5px) rotate(-45deg)
|
61
|
+
|
62
|
+
=overflow-touch
|
63
|
+
-webkit-overflow-scrolling: touch
|
64
|
+
|
65
|
+
=placeholder
|
66
|
+
$placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input'
|
67
|
+
@each $placeholder in $placeholders
|
68
|
+
&:#{$placeholder}-placeholder
|
69
|
+
@content
|
70
|
+
|
71
|
+
// Responsiveness
|
72
|
+
|
73
|
+
=from($device)
|
74
|
+
@media screen and (min-width: $device)
|
75
|
+
@content
|
76
|
+
|
77
|
+
=until($device)
|
78
|
+
@media screen and (max-width: $device - 1px)
|
79
|
+
@content
|
80
|
+
|
81
|
+
=mobile
|
82
|
+
@media screen and (max-width: $tablet - 1px)
|
83
|
+
@content
|
84
|
+
|
85
|
+
=tablet
|
86
|
+
@media screen and (min-width: $tablet), print
|
87
|
+
@content
|
88
|
+
|
89
|
+
=tablet-only
|
90
|
+
@media screen and (min-width: $tablet) and (max-width: $desktop - 1px)
|
91
|
+
@content
|
92
|
+
|
93
|
+
=touch
|
94
|
+
@media screen and (max-width: $desktop - 1px)
|
95
|
+
@content
|
96
|
+
|
97
|
+
=desktop
|
98
|
+
@media screen and (min-width: $desktop)
|
99
|
+
@content
|
100
|
+
|
101
|
+
=desktop-only
|
102
|
+
@if $widescreen-enabled
|
103
|
+
@media screen and (min-width: $desktop) and (max-width: $widescreen - 1px)
|
104
|
+
@content
|
105
|
+
|
106
|
+
=until-widescreen
|
107
|
+
@if $widescreen-enabled
|
108
|
+
@media screen and (max-width: $widescreen - 1px)
|
109
|
+
@content
|
110
|
+
|
111
|
+
=widescreen
|
112
|
+
@if $widescreen-enabled
|
113
|
+
@media screen and (min-width: $widescreen)
|
114
|
+
@content
|
115
|
+
|
116
|
+
=widescreen-only
|
117
|
+
@if $widescreen-enabled and $fullhd-enabled
|
118
|
+
@media screen and (min-width: $widescreen) and (max-width: $fullhd - 1px)
|
119
|
+
@content
|
120
|
+
|
121
|
+
=until-fullhd
|
122
|
+
@if $fullhd-enabled
|
123
|
+
@media screen and (max-width: $fullhd - 1px)
|
124
|
+
@content
|
125
|
+
|
126
|
+
=fullhd
|
127
|
+
@if $fullhd-enabled
|
128
|
+
@media screen and (min-width: $fullhd)
|
129
|
+
@content
|
130
|
+
|
131
|
+
// Placeholders
|
132
|
+
|
133
|
+
=unselectable
|
134
|
+
-webkit-touch-callout: none
|
135
|
+
-webkit-user-select: none
|
136
|
+
-moz-user-select: none
|
137
|
+
-ms-user-select: none
|
138
|
+
user-select: none
|
139
|
+
|
140
|
+
%unselectable
|
141
|
+
+unselectable
|
142
|
+
|
143
|
+
=arrow($color: transparent)
|
144
|
+
border: 3px solid $color
|
145
|
+
border-radius: 2px
|
146
|
+
border-right: 0
|
147
|
+
border-top: 0
|
148
|
+
content: " "
|
149
|
+
display: block
|
150
|
+
height: 0.625em
|
151
|
+
margin-top: -0.4375em
|
152
|
+
pointer-events: none
|
153
|
+
position: absolute
|
154
|
+
top: 50%
|
155
|
+
transform: rotate(-45deg)
|
156
|
+
transform-origin: center
|
157
|
+
width: 0.625em
|
158
|
+
|
159
|
+
%arrow
|
160
|
+
+arrow
|
161
|
+
|
162
|
+
=block($spacing: $block-spacing)
|
163
|
+
&:not(:last-child)
|
164
|
+
margin-bottom: $spacing
|
165
|
+
|
166
|
+
%block
|
167
|
+
+block
|
168
|
+
|
169
|
+
=delete
|
170
|
+
@extend %unselectable
|
171
|
+
-moz-appearance: none
|
172
|
+
-webkit-appearance: none
|
173
|
+
background-color: bulmaRgba($scheme-invert, 0.2)
|
174
|
+
border: none
|
175
|
+
border-radius: $radius-rounded
|
176
|
+
cursor: pointer
|
177
|
+
pointer-events: auto
|
178
|
+
display: inline-block
|
179
|
+
flex-grow: 0
|
180
|
+
flex-shrink: 0
|
181
|
+
font-size: 0
|
182
|
+
height: 20px
|
183
|
+
max-height: 20px
|
184
|
+
max-width: 20px
|
185
|
+
min-height: 20px
|
186
|
+
min-width: 20px
|
187
|
+
outline: none
|
188
|
+
position: relative
|
189
|
+
vertical-align: top
|
190
|
+
width: 20px
|
191
|
+
&::before,
|
192
|
+
&::after
|
193
|
+
background-color: $scheme-main
|
194
|
+
content: ""
|
195
|
+
display: block
|
196
|
+
left: 50%
|
197
|
+
position: absolute
|
198
|
+
top: 50%
|
199
|
+
transform: translateX(-50%) translateY(-50%) rotate(45deg)
|
200
|
+
transform-origin: center center
|
201
|
+
&::before
|
202
|
+
height: 2px
|
203
|
+
width: 50%
|
204
|
+
&::after
|
205
|
+
height: 50%
|
206
|
+
width: 2px
|
207
|
+
&:hover,
|
208
|
+
&:focus
|
209
|
+
background-color: bulmaRgba($scheme-invert, 0.3)
|
210
|
+
&:active
|
211
|
+
background-color: bulmaRgba($scheme-invert, 0.4)
|
212
|
+
// Sizes
|
213
|
+
&.is-small
|
214
|
+
height: 16px
|
215
|
+
max-height: 16px
|
216
|
+
max-width: 16px
|
217
|
+
min-height: 16px
|
218
|
+
min-width: 16px
|
219
|
+
width: 16px
|
220
|
+
&.is-medium
|
221
|
+
height: 24px
|
222
|
+
max-height: 24px
|
223
|
+
max-width: 24px
|
224
|
+
min-height: 24px
|
225
|
+
min-width: 24px
|
226
|
+
width: 24px
|
227
|
+
&.is-large
|
228
|
+
height: 32px
|
229
|
+
max-height: 32px
|
230
|
+
max-width: 32px
|
231
|
+
min-height: 32px
|
232
|
+
min-width: 32px
|
233
|
+
width: 32px
|
234
|
+
|
235
|
+
%delete
|
236
|
+
+delete
|
237
|
+
|
238
|
+
=loader
|
239
|
+
animation: spinAround 500ms infinite linear
|
240
|
+
border: 2px solid $grey-lighter
|
241
|
+
border-radius: $radius-rounded
|
242
|
+
border-right-color: transparent
|
243
|
+
border-top-color: transparent
|
244
|
+
content: ""
|
245
|
+
display: block
|
246
|
+
height: 1em
|
247
|
+
position: relative
|
248
|
+
width: 1em
|
249
|
+
|
250
|
+
%loader
|
251
|
+
+loader
|
252
|
+
|
253
|
+
=overlay($offset: 0)
|
254
|
+
bottom: $offset
|
255
|
+
left: $offset
|
256
|
+
position: absolute
|
257
|
+
right: $offset
|
258
|
+
top: $offset
|
259
|
+
|
260
|
+
%overlay
|
261
|
+
+overlay
|
@@ -0,0 +1,59 @@
|
|
1
|
+
{
|
2
|
+
"_args": [
|
3
|
+
[
|
4
|
+
"bulma-block-list@0.4.2",
|
5
|
+
"C:\\Users\\marc\\Desktop\\portal.intia.de"
|
6
|
+
]
|
7
|
+
],
|
8
|
+
"_from": "bulma-block-list@0.4.2",
|
9
|
+
"_id": "bulma-block-list@0.4.2",
|
10
|
+
"_inBundle": false,
|
11
|
+
"_integrity": "sha512-WxcGcxNFa6ZrF/CIR7uETLHJVwnFemKuTS5hI3CMn5hJ2PONp2WghldBGlINzxrj6jcf89cyE/YoEEtKUxYJcw==",
|
12
|
+
"_location": "/bulma-block-list",
|
13
|
+
"_phantomChildren": {},
|
14
|
+
"_requested": {
|
15
|
+
"type": "version",
|
16
|
+
"registry": true,
|
17
|
+
"raw": "bulma-block-list@0.4.2",
|
18
|
+
"name": "bulma-block-list",
|
19
|
+
"escapedName": "bulma-block-list",
|
20
|
+
"rawSpec": "0.4.2",
|
21
|
+
"saveSpec": null,
|
22
|
+
"fetchSpec": "0.4.2"
|
23
|
+
},
|
24
|
+
"_requiredBy": [
|
25
|
+
"/"
|
26
|
+
],
|
27
|
+
"_resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.4.2.tgz",
|
28
|
+
"_spec": "0.4.2",
|
29
|
+
"_where": "C:\\Users\\marc\\Desktop\\portal.intia.de",
|
30
|
+
"author": {
|
31
|
+
"name": "chrisrhymes"
|
32
|
+
},
|
33
|
+
"bugs": {
|
34
|
+
"url": "https://github.com/chrisrhymes/bulma-block-list/issues"
|
35
|
+
},
|
36
|
+
"dependencies": {
|
37
|
+
"bulma": "^0.8.0"
|
38
|
+
},
|
39
|
+
"description": "A simple scss package extending Bulma with block style list elements",
|
40
|
+
"devDependencies": {
|
41
|
+
"node-sass": "^4.9.2"
|
42
|
+
},
|
43
|
+
"homepage": "https://github.com/chrisrhymes/bulma-block-list#readme",
|
44
|
+
"keywords": [
|
45
|
+
"Bulma",
|
46
|
+
"List",
|
47
|
+
"BlockList",
|
48
|
+
"Unordered List"
|
49
|
+
],
|
50
|
+
"license": "MIT",
|
51
|
+
"main": "src/block-list.scss",
|
52
|
+
"name": "bulma-block-list",
|
53
|
+
"scripts": {
|
54
|
+
"css-build": "node-sass --omit-source-map-url src/demo.scss docs/demo.css",
|
55
|
+
"css-watch": "npm run css-build -- --watch",
|
56
|
+
"start": "npm run css-watch"
|
57
|
+
},
|
58
|
+
"version": "0.4.2"
|
59
|
+
}
|