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,21 @@
|
|
1
|
+
$icon-dimensions: 1.5rem !default
|
2
|
+
$icon-dimensions-small: 1rem !default
|
3
|
+
$icon-dimensions-medium: 2rem !default
|
4
|
+
$icon-dimensions-large: 3rem !default
|
5
|
+
|
6
|
+
.icon
|
7
|
+
align-items: center
|
8
|
+
display: inline-flex
|
9
|
+
justify-content: center
|
10
|
+
height: $icon-dimensions
|
11
|
+
width: $icon-dimensions
|
12
|
+
// Sizes
|
13
|
+
&.is-small
|
14
|
+
height: $icon-dimensions-small
|
15
|
+
width: $icon-dimensions-small
|
16
|
+
&.is-medium
|
17
|
+
height: $icon-dimensions-medium
|
18
|
+
width: $icon-dimensions-medium
|
19
|
+
&.is-large
|
20
|
+
height: $icon-dimensions-large
|
21
|
+
width: $icon-dimensions-large
|
@@ -0,0 +1,71 @@
|
|
1
|
+
$dimensions: 16 24 32 48 64 96 128 !default
|
2
|
+
|
3
|
+
.image
|
4
|
+
display: block
|
5
|
+
position: relative
|
6
|
+
img
|
7
|
+
display: block
|
8
|
+
height: auto
|
9
|
+
width: 100%
|
10
|
+
&.is-rounded
|
11
|
+
border-radius: $radius-rounded
|
12
|
+
&.is-fullwidth
|
13
|
+
width: 100%
|
14
|
+
// Ratio
|
15
|
+
&.is-square,
|
16
|
+
&.is-1by1,
|
17
|
+
&.is-5by4,
|
18
|
+
&.is-4by3,
|
19
|
+
&.is-3by2,
|
20
|
+
&.is-5by3,
|
21
|
+
&.is-16by9,
|
22
|
+
&.is-2by1,
|
23
|
+
&.is-3by1,
|
24
|
+
&.is-4by5,
|
25
|
+
&.is-3by4,
|
26
|
+
&.is-2by3,
|
27
|
+
&.is-3by5,
|
28
|
+
&.is-9by16,
|
29
|
+
&.is-1by2,
|
30
|
+
&.is-1by3
|
31
|
+
img,
|
32
|
+
.has-ratio
|
33
|
+
@extend %overlay
|
34
|
+
height: 100%
|
35
|
+
width: 100%
|
36
|
+
&.is-square,
|
37
|
+
&.is-1by1
|
38
|
+
padding-top: 100%
|
39
|
+
&.is-5by4
|
40
|
+
padding-top: 80%
|
41
|
+
&.is-4by3
|
42
|
+
padding-top: 75%
|
43
|
+
&.is-3by2
|
44
|
+
padding-top: 66.6666%
|
45
|
+
&.is-5by3
|
46
|
+
padding-top: 60%
|
47
|
+
&.is-16by9
|
48
|
+
padding-top: 56.25%
|
49
|
+
&.is-2by1
|
50
|
+
padding-top: 50%
|
51
|
+
&.is-3by1
|
52
|
+
padding-top: 33.3333%
|
53
|
+
&.is-4by5
|
54
|
+
padding-top: 125%
|
55
|
+
&.is-3by4
|
56
|
+
padding-top: 133.3333%
|
57
|
+
&.is-2by3
|
58
|
+
padding-top: 150%
|
59
|
+
&.is-3by5
|
60
|
+
padding-top: 166.6666%
|
61
|
+
&.is-9by16
|
62
|
+
padding-top: 177.7777%
|
63
|
+
&.is-1by2
|
64
|
+
padding-top: 200%
|
65
|
+
&.is-1by3
|
66
|
+
padding-top: 300%
|
67
|
+
// Sizes
|
68
|
+
@each $dimension in $dimensions
|
69
|
+
&.is-#{$dimension}x#{$dimension}
|
70
|
+
height: $dimension * 1px
|
71
|
+
width: $dimension * 1px
|
@@ -0,0 +1,43 @@
|
|
1
|
+
$notification-background-color: $background !default
|
2
|
+
$notification-code-background-color: $scheme-main !default
|
3
|
+
$notification-radius: $radius !default
|
4
|
+
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
5
|
+
|
6
|
+
.notification
|
7
|
+
@extend %block
|
8
|
+
background-color: $notification-background-color
|
9
|
+
border-radius: $notification-radius
|
10
|
+
padding: $notification-padding
|
11
|
+
position: relative
|
12
|
+
a:not(.button):not(.dropdown-item)
|
13
|
+
color: currentColor
|
14
|
+
text-decoration: underline
|
15
|
+
strong
|
16
|
+
color: currentColor
|
17
|
+
code,
|
18
|
+
pre
|
19
|
+
background: $notification-code-background-color
|
20
|
+
pre code
|
21
|
+
background: transparent
|
22
|
+
& > .delete
|
23
|
+
position: absolute
|
24
|
+
right: 0.5rem
|
25
|
+
top: 0.5rem
|
26
|
+
.title,
|
27
|
+
.subtitle,
|
28
|
+
.content
|
29
|
+
color: currentColor
|
30
|
+
// Colors
|
31
|
+
@each $name, $pair in $colors
|
32
|
+
$color: nth($pair, 1)
|
33
|
+
$color-invert: nth($pair, 2)
|
34
|
+
&.is-#{$name}
|
35
|
+
background-color: $color
|
36
|
+
color: $color-invert
|
37
|
+
// If light and dark colors are provided
|
38
|
+
@if length($pair) >= 4
|
39
|
+
$color-light: nth($pair, 3)
|
40
|
+
$color-dark: nth($pair, 4)
|
41
|
+
&.is-light
|
42
|
+
background-color: $color-light
|
43
|
+
color: $color-dark
|
@@ -0,0 +1,39 @@
|
|
1
|
+
.block
|
2
|
+
@extend %block
|
3
|
+
|
4
|
+
.delete
|
5
|
+
@extend %delete
|
6
|
+
|
7
|
+
.heading
|
8
|
+
display: block
|
9
|
+
font-size: 11px
|
10
|
+
letter-spacing: 1px
|
11
|
+
margin-bottom: 5px
|
12
|
+
text-transform: uppercase
|
13
|
+
|
14
|
+
.highlight
|
15
|
+
@extend %block
|
16
|
+
font-weight: $weight-normal
|
17
|
+
max-width: 100%
|
18
|
+
overflow: hidden
|
19
|
+
padding: 0
|
20
|
+
pre
|
21
|
+
overflow: auto
|
22
|
+
max-width: 100%
|
23
|
+
|
24
|
+
.loader
|
25
|
+
@extend %loader
|
26
|
+
|
27
|
+
.number
|
28
|
+
align-items: center
|
29
|
+
background-color: $background
|
30
|
+
border-radius: $radius-rounded
|
31
|
+
display: inline-flex
|
32
|
+
font-size: $size-medium
|
33
|
+
height: 2em
|
34
|
+
justify-content: center
|
35
|
+
margin-right: 1.5rem
|
36
|
+
min-width: 2.5em
|
37
|
+
padding: 0.25rem 0.5rem
|
38
|
+
text-align: center
|
39
|
+
vertical-align: top
|
@@ -0,0 +1,67 @@
|
|
1
|
+
$progress-bar-background-color: $border-light !default
|
2
|
+
$progress-value-background-color: $text !default
|
3
|
+
$progress-border-radius: $radius-rounded !default
|
4
|
+
|
5
|
+
$progress-indeterminate-duration: 1.5s !default
|
6
|
+
|
7
|
+
.progress
|
8
|
+
@extend %block
|
9
|
+
-moz-appearance: none
|
10
|
+
-webkit-appearance: none
|
11
|
+
border: none
|
12
|
+
border-radius: $progress-border-radius
|
13
|
+
display: block
|
14
|
+
height: $size-normal
|
15
|
+
overflow: hidden
|
16
|
+
padding: 0
|
17
|
+
width: 100%
|
18
|
+
&::-webkit-progress-bar
|
19
|
+
background-color: $progress-bar-background-color
|
20
|
+
&::-webkit-progress-value
|
21
|
+
background-color: $progress-value-background-color
|
22
|
+
&::-moz-progress-bar
|
23
|
+
background-color: $progress-value-background-color
|
24
|
+
&::-ms-fill
|
25
|
+
background-color: $progress-value-background-color
|
26
|
+
border: none
|
27
|
+
// Colors
|
28
|
+
@each $name, $pair in $colors
|
29
|
+
$color: nth($pair, 1)
|
30
|
+
&.is-#{$name}
|
31
|
+
&::-webkit-progress-value
|
32
|
+
background-color: $color
|
33
|
+
&::-moz-progress-bar
|
34
|
+
background-color: $color
|
35
|
+
&::-ms-fill
|
36
|
+
background-color: $color
|
37
|
+
&:indeterminate
|
38
|
+
background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
|
39
|
+
|
40
|
+
&:indeterminate
|
41
|
+
animation-duration: $progress-indeterminate-duration
|
42
|
+
animation-iteration-count: infinite
|
43
|
+
animation-name: moveIndeterminate
|
44
|
+
animation-timing-function: linear
|
45
|
+
background-color: $progress-bar-background-color
|
46
|
+
background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
|
47
|
+
background-position: top left
|
48
|
+
background-repeat: no-repeat
|
49
|
+
background-size: 150% 150%
|
50
|
+
&::-webkit-progress-bar
|
51
|
+
background-color: transparent
|
52
|
+
&::-moz-progress-bar
|
53
|
+
background-color: transparent
|
54
|
+
|
55
|
+
// Sizes
|
56
|
+
&.is-small
|
57
|
+
height: $size-small
|
58
|
+
&.is-medium
|
59
|
+
height: $size-medium
|
60
|
+
&.is-large
|
61
|
+
height: $size-large
|
62
|
+
|
63
|
+
@keyframes moveIndeterminate
|
64
|
+
from
|
65
|
+
background-position: 200% 0
|
66
|
+
to
|
67
|
+
background-position: -200% 0
|
@@ -0,0 +1,127 @@
|
|
1
|
+
$table-color: $text-strong !default
|
2
|
+
$table-background-color: $scheme-main !default
|
3
|
+
|
4
|
+
$table-cell-border: 1px solid $border !default
|
5
|
+
$table-cell-border-width: 0 0 1px !default
|
6
|
+
$table-cell-padding: 0.5em 0.75em !default
|
7
|
+
$table-cell-heading-color: $text-strong !default
|
8
|
+
|
9
|
+
$table-head-cell-border-width: 0 0 2px !default
|
10
|
+
$table-head-cell-color: $text-strong !default
|
11
|
+
$table-foot-cell-border-width: 2px 0 0 !default
|
12
|
+
$table-foot-cell-color: $text-strong !default
|
13
|
+
|
14
|
+
$table-head-background-color: transparent !default
|
15
|
+
$table-body-background-color: transparent !default
|
16
|
+
$table-foot-background-color: transparent !default
|
17
|
+
|
18
|
+
$table-row-hover-background-color: $scheme-main-bis !default
|
19
|
+
|
20
|
+
$table-row-active-background-color: $primary !default
|
21
|
+
$table-row-active-color: $primary-invert !default
|
22
|
+
|
23
|
+
$table-striped-row-even-background-color: $scheme-main-bis !default
|
24
|
+
$table-striped-row-even-hover-background-color: $scheme-main-ter !default
|
25
|
+
|
26
|
+
.table
|
27
|
+
@extend %block
|
28
|
+
background-color: $table-background-color
|
29
|
+
color: $table-color
|
30
|
+
td,
|
31
|
+
th
|
32
|
+
border: $table-cell-border
|
33
|
+
border-width: $table-cell-border-width
|
34
|
+
padding: $table-cell-padding
|
35
|
+
vertical-align: top
|
36
|
+
// Colors
|
37
|
+
@each $name, $pair in $colors
|
38
|
+
$color: nth($pair, 1)
|
39
|
+
$color-invert: nth($pair, 2)
|
40
|
+
&.is-#{$name}
|
41
|
+
background-color: $color
|
42
|
+
border-color: $color
|
43
|
+
color: $color-invert
|
44
|
+
// Modifiers
|
45
|
+
&.is-narrow
|
46
|
+
white-space: nowrap
|
47
|
+
width: 1%
|
48
|
+
&.is-selected
|
49
|
+
background-color: $table-row-active-background-color
|
50
|
+
color: $table-row-active-color
|
51
|
+
a,
|
52
|
+
strong
|
53
|
+
color: currentColor
|
54
|
+
th
|
55
|
+
color: $table-cell-heading-color
|
56
|
+
&:not([align])
|
57
|
+
text-align: left
|
58
|
+
tr
|
59
|
+
&.is-selected
|
60
|
+
background-color: $table-row-active-background-color
|
61
|
+
color: $table-row-active-color
|
62
|
+
a,
|
63
|
+
strong
|
64
|
+
color: currentColor
|
65
|
+
td,
|
66
|
+
th
|
67
|
+
border-color: $table-row-active-color
|
68
|
+
color: currentColor
|
69
|
+
thead
|
70
|
+
background-color: $table-head-background-color
|
71
|
+
td,
|
72
|
+
th
|
73
|
+
border-width: $table-head-cell-border-width
|
74
|
+
color: $table-head-cell-color
|
75
|
+
tfoot
|
76
|
+
background-color: $table-foot-background-color
|
77
|
+
td,
|
78
|
+
th
|
79
|
+
border-width: $table-foot-cell-border-width
|
80
|
+
color: $table-foot-cell-color
|
81
|
+
tbody
|
82
|
+
background-color: $table-body-background-color
|
83
|
+
tr
|
84
|
+
&:last-child
|
85
|
+
td,
|
86
|
+
th
|
87
|
+
border-bottom-width: 0
|
88
|
+
// Modifiers
|
89
|
+
&.is-bordered
|
90
|
+
td,
|
91
|
+
th
|
92
|
+
border-width: 1px
|
93
|
+
tr
|
94
|
+
&:last-child
|
95
|
+
td,
|
96
|
+
th
|
97
|
+
border-bottom-width: 1px
|
98
|
+
&.is-fullwidth
|
99
|
+
width: 100%
|
100
|
+
&.is-hoverable
|
101
|
+
tbody
|
102
|
+
tr:not(.is-selected)
|
103
|
+
&:hover
|
104
|
+
background-color: $table-row-hover-background-color
|
105
|
+
&.is-striped
|
106
|
+
tbody
|
107
|
+
tr:not(.is-selected)
|
108
|
+
&:hover
|
109
|
+
background-color: $table-row-hover-background-color
|
110
|
+
&:nth-child(even)
|
111
|
+
background-color: $table-striped-row-even-hover-background-color
|
112
|
+
&.is-narrow
|
113
|
+
td,
|
114
|
+
th
|
115
|
+
padding: 0.25em 0.5em
|
116
|
+
&.is-striped
|
117
|
+
tbody
|
118
|
+
tr:not(.is-selected)
|
119
|
+
&:nth-child(even)
|
120
|
+
background-color: $table-striped-row-even-background-color
|
121
|
+
|
122
|
+
.table-container
|
123
|
+
@extend %block
|
124
|
+
+overflow-touch
|
125
|
+
overflow: auto
|
126
|
+
overflow-y: hidden
|
127
|
+
max-width: 100%
|
@@ -0,0 +1,128 @@
|
|
1
|
+
$tag-background-color: $background !default
|
2
|
+
$tag-color: $text !default
|
3
|
+
$tag-radius: $radius !default
|
4
|
+
$tag-delete-margin: 1px !default
|
5
|
+
|
6
|
+
.tags
|
7
|
+
align-items: center
|
8
|
+
display: flex
|
9
|
+
flex-wrap: wrap
|
10
|
+
justify-content: flex-start
|
11
|
+
.tag
|
12
|
+
margin-bottom: 0.5rem
|
13
|
+
&:not(:last-child)
|
14
|
+
margin-right: 0.5rem
|
15
|
+
&:last-child
|
16
|
+
margin-bottom: -0.5rem
|
17
|
+
&:not(:last-child)
|
18
|
+
margin-bottom: 1rem
|
19
|
+
// Sizes
|
20
|
+
&.are-medium
|
21
|
+
.tag:not(.is-normal):not(.is-large)
|
22
|
+
font-size: $size-normal
|
23
|
+
&.are-large
|
24
|
+
.tag:not(.is-normal):not(.is-medium)
|
25
|
+
font-size: $size-medium
|
26
|
+
&.is-centered
|
27
|
+
justify-content: center
|
28
|
+
.tag
|
29
|
+
margin-right: 0.25rem
|
30
|
+
margin-left: 0.25rem
|
31
|
+
&.is-right
|
32
|
+
justify-content: flex-end
|
33
|
+
.tag
|
34
|
+
&:not(:first-child)
|
35
|
+
margin-left: 0.5rem
|
36
|
+
&:not(:last-child)
|
37
|
+
margin-right: 0
|
38
|
+
&.has-addons
|
39
|
+
.tag
|
40
|
+
margin-right: 0
|
41
|
+
&:not(:first-child)
|
42
|
+
margin-left: 0
|
43
|
+
border-bottom-left-radius: 0
|
44
|
+
border-top-left-radius: 0
|
45
|
+
&:not(:last-child)
|
46
|
+
border-bottom-right-radius: 0
|
47
|
+
border-top-right-radius: 0
|
48
|
+
|
49
|
+
.tag:not(body)
|
50
|
+
align-items: center
|
51
|
+
background-color: $tag-background-color
|
52
|
+
border-radius: $tag-radius
|
53
|
+
color: $tag-color
|
54
|
+
display: inline-flex
|
55
|
+
font-size: $size-small
|
56
|
+
height: 2em
|
57
|
+
justify-content: center
|
58
|
+
line-height: 1.5
|
59
|
+
padding-left: 0.75em
|
60
|
+
padding-right: 0.75em
|
61
|
+
white-space: nowrap
|
62
|
+
.delete
|
63
|
+
margin-left: 0.25rem
|
64
|
+
margin-right: -0.375rem
|
65
|
+
// Colors
|
66
|
+
@each $name, $pair in $colors
|
67
|
+
$color: nth($pair, 1)
|
68
|
+
$color-invert: nth($pair, 2)
|
69
|
+
&.is-#{$name}
|
70
|
+
background-color: $color
|
71
|
+
color: $color-invert
|
72
|
+
// If a light and dark colors are provided
|
73
|
+
@if length($pair) > 3
|
74
|
+
$color-light: nth($pair, 3)
|
75
|
+
$color-dark: nth($pair, 4)
|
76
|
+
&.is-light
|
77
|
+
background-color: $color-light
|
78
|
+
color: $color-dark
|
79
|
+
// Sizes
|
80
|
+
&.is-normal
|
81
|
+
font-size: $size-small
|
82
|
+
&.is-medium
|
83
|
+
font-size: $size-normal
|
84
|
+
&.is-large
|
85
|
+
font-size: $size-medium
|
86
|
+
.icon
|
87
|
+
&:first-child:not(:last-child)
|
88
|
+
margin-left: -0.375em
|
89
|
+
margin-right: 0.1875em
|
90
|
+
&:last-child:not(:first-child)
|
91
|
+
margin-left: 0.1875em
|
92
|
+
margin-right: -0.375em
|
93
|
+
&:first-child:last-child
|
94
|
+
margin-left: -0.375em
|
95
|
+
margin-right: -0.375em
|
96
|
+
// Modifiers
|
97
|
+
&.is-delete
|
98
|
+
margin-left: $tag-delete-margin
|
99
|
+
padding: 0
|
100
|
+
position: relative
|
101
|
+
width: 2em
|
102
|
+
&::before,
|
103
|
+
&::after
|
104
|
+
background-color: currentColor
|
105
|
+
content: ""
|
106
|
+
display: block
|
107
|
+
left: 50%
|
108
|
+
position: absolute
|
109
|
+
top: 50%
|
110
|
+
transform: translateX(-50%) translateY(-50%) rotate(45deg)
|
111
|
+
transform-origin: center center
|
112
|
+
&::before
|
113
|
+
height: 1px
|
114
|
+
width: 50%
|
115
|
+
&::after
|
116
|
+
height: 50%
|
117
|
+
width: 1px
|
118
|
+
&:hover,
|
119
|
+
&:focus
|
120
|
+
background-color: darken($tag-background-color, 5%)
|
121
|
+
&:active
|
122
|
+
background-color: darken($tag-background-color, 10%)
|
123
|
+
&.is-rounded
|
124
|
+
border-radius: $radius-rounded
|
125
|
+
|
126
|
+
a.tag
|
127
|
+
&:hover
|
128
|
+
text-decoration: underline
|
@@ -0,0 +1,70 @@
|
|
1
|
+
$title-color: $text-strong !default
|
2
|
+
$title-family: false !default
|
3
|
+
$title-size: $size-3 !default
|
4
|
+
$title-weight: $weight-semibold !default
|
5
|
+
$title-line-height: 1.125 !default
|
6
|
+
$title-strong-color: inherit !default
|
7
|
+
$title-strong-weight: inherit !default
|
8
|
+
$title-sub-size: 0.75em !default
|
9
|
+
$title-sup-size: 0.75em !default
|
10
|
+
|
11
|
+
$subtitle-color: $text !default
|
12
|
+
$subtitle-family: false !default
|
13
|
+
$subtitle-size: $size-5 !default
|
14
|
+
$subtitle-weight: $weight-normal !default
|
15
|
+
$subtitle-line-height: 1.25 !default
|
16
|
+
$subtitle-strong-color: $text-strong !default
|
17
|
+
$subtitle-strong-weight: $weight-semibold !default
|
18
|
+
$subtitle-negative-margin: -1.25rem !default
|
19
|
+
|
20
|
+
.title,
|
21
|
+
.subtitle
|
22
|
+
@extend %block
|
23
|
+
word-break: break-word
|
24
|
+
em,
|
25
|
+
span
|
26
|
+
font-weight: inherit
|
27
|
+
sub
|
28
|
+
font-size: $title-sub-size
|
29
|
+
sup
|
30
|
+
font-size: $title-sup-size
|
31
|
+
.tag
|
32
|
+
vertical-align: middle
|
33
|
+
|
34
|
+
.title
|
35
|
+
color: $title-color
|
36
|
+
@if $title-family
|
37
|
+
font-family: $title-family
|
38
|
+
font-size: $title-size
|
39
|
+
font-weight: $title-weight
|
40
|
+
line-height: $title-line-height
|
41
|
+
strong
|
42
|
+
color: $title-strong-color
|
43
|
+
font-weight: $title-strong-weight
|
44
|
+
& + .highlight
|
45
|
+
margin-top: -0.75rem
|
46
|
+
&:not(.is-spaced) + .subtitle
|
47
|
+
margin-top: $subtitle-negative-margin
|
48
|
+
// Sizes
|
49
|
+
@each $size in $sizes
|
50
|
+
$i: index($sizes, $size)
|
51
|
+
&.is-#{$i}
|
52
|
+
font-size: $size
|
53
|
+
|
54
|
+
.subtitle
|
55
|
+
color: $subtitle-color
|
56
|
+
@if $subtitle-family
|
57
|
+
font-family: $subtitle-family
|
58
|
+
font-size: $subtitle-size
|
59
|
+
font-weight: $subtitle-weight
|
60
|
+
line-height: $subtitle-line-height
|
61
|
+
strong
|
62
|
+
color: $subtitle-strong-color
|
63
|
+
font-weight: $subtitle-strong-weight
|
64
|
+
&:not(.is-spaced) + .title
|
65
|
+
margin-top: $subtitle-negative-margin
|
66
|
+
// Sizes
|
67
|
+
@each $size in $sizes
|
68
|
+
$i: index($sizes, $size)
|
69
|
+
&.is-#{$i}
|
70
|
+
font-size: $size
|
@@ -0,0 +1,21 @@
|
|
1
|
+
%checkbox-radio
|
2
|
+
cursor: pointer
|
3
|
+
display: inline-block
|
4
|
+
line-height: 1.25
|
5
|
+
position: relative
|
6
|
+
input
|
7
|
+
cursor: pointer
|
8
|
+
&:hover
|
9
|
+
color: $input-hover-color
|
10
|
+
&[disabled],
|
11
|
+
fieldset[disabled] &
|
12
|
+
color: $input-disabled-color
|
13
|
+
cursor: not-allowed
|
14
|
+
|
15
|
+
.checkbox
|
16
|
+
@extend %checkbox-radio
|
17
|
+
|
18
|
+
.radio
|
19
|
+
@extend %checkbox-radio
|
20
|
+
& + .radio
|
21
|
+
margin-left: 0.5em
|