jekyll-theme-opentoolbox 1.0.8 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +58 -31
- data/_includes/banner.html +4 -4
- data/_includes/callouts.html +10 -3
- data/_includes/contribute.html +19 -0
- data/_includes/credits.html +13 -0
- data/_includes/disqus.html +16 -16
- data/_includes/footer.html +7 -18
- data/_includes/gallery.html +24 -24
- data/_includes/google-analytics.html +7 -7
- data/_includes/header.html +11 -12
- data/_includes/icon.html +3 -0
- data/_includes/image-modal.html +18 -18
- data/_includes/important-message.html +5 -0
- data/_includes/latest-posts.html +14 -12
- data/_includes/menubar.html +20 -20
- data/_includes/notification.html +17 -16
- data/_includes/pagination.html +21 -23
- data/_includes/post-card.html +2 -2
- data/_includes/section-divider.html +5 -0
- data/_includes/setup.html +11 -0
- data/_includes/showcase.html +1 -1
- data/_includes/simple_banner.html +11 -0
- data/_includes/sponsors.html +43 -41
- data/_includes/subscribe.html +15 -5
- data/_includes/tabs.html +18 -17
- data/_includes/tag.html +2 -2
- data/_includes/toc.html +82 -82
- data/_includes/vimeo.html +2 -2
- data/_includes/youtube.html +7 -7
- data/_layouts/base.html +25 -0
- data/_layouts/blog.html +4 -3
- data/_layouts/default.html +34 -61
- data/_layouts/page.html +10 -10
- data/_layouts/post.html +50 -17
- data/_layouts/resource.html +1 -1
- data/_posts/2021-03-24-hello.md +1 -0
- data/_sass/_external.scss +1 -0
- data/_sass/_layout.scss +48 -36
- data/_sass/_main.scss +49 -22
- data/_sass/_showcase.scss +12 -12
- data/_sass/{syntax.scss → _syntax.scss} +209 -209
- data/_sass/_variables.scss +126 -0
- data/_sass/highlight/_dark.scss +71 -0
- data/_sass/highlight/_light.scss +259 -0
- data/assets/css/app.scss +8 -147
- data/blog/index.html +4 -2
- data/node_modules/bulma/CHANGELOG.md +1558 -1558
- data/node_modules/bulma/LICENSE +21 -21
- data/node_modules/bulma/README.md +134 -134
- data/node_modules/bulma/bulma.sass +10 -10
- data/node_modules/bulma/css/bulma-rtl.css +11810 -11810
- data/node_modules/bulma/css/bulma.css +11810 -11810
- data/node_modules/bulma/package.json +81 -81
- data/node_modules/bulma/sass/base/_all.sass +6 -6
- data/node_modules/bulma/sass/base/animations.sass +5 -5
- data/node_modules/bulma/sass/base/generic.sass +145 -145
- data/node_modules/bulma/sass/base/helpers.sass +1 -1
- data/node_modules/bulma/sass/base/minireset.sass +79 -79
- data/node_modules/bulma/sass/components/_all.sass +15 -15
- data/node_modules/bulma/sass/components/breadcrumb.sass +77 -77
- data/node_modules/bulma/sass/components/card.sass +103 -103
- data/node_modules/bulma/sass/components/dropdown.sass +83 -83
- data/node_modules/bulma/sass/components/level.sass +79 -79
- data/node_modules/bulma/sass/components/media.sass +59 -59
- data/node_modules/bulma/sass/components/menu.sass +59 -59
- data/node_modules/bulma/sass/components/message.sass +101 -101
- data/node_modules/bulma/sass/components/modal.sass +117 -117
- data/node_modules/bulma/sass/components/navbar.sass +446 -446
- data/node_modules/bulma/sass/components/pagination.sass +166 -166
- data/node_modules/bulma/sass/components/panel.sass +121 -121
- data/node_modules/bulma/sass/components/tabs.sass +176 -176
- data/node_modules/bulma/sass/elements/_all.sass +16 -16
- data/node_modules/bulma/sass/elements/box.sass +26 -26
- data/node_modules/bulma/sass/elements/button.sass +345 -345
- data/node_modules/bulma/sass/elements/container.sass +29 -29
- data/node_modules/bulma/sass/elements/content.sass +159 -159
- data/node_modules/bulma/sass/elements/form.sass +1 -1
- data/node_modules/bulma/sass/elements/icon.sass +46 -46
- data/node_modules/bulma/sass/elements/image.sass +73 -73
- data/node_modules/bulma/sass/elements/notification.sass +52 -52
- data/node_modules/bulma/sass/elements/other.sass +31 -31
- data/node_modules/bulma/sass/elements/progress.sass +73 -73
- data/node_modules/bulma/sass/elements/table.sass +133 -133
- data/node_modules/bulma/sass/elements/tag.sass +140 -140
- data/node_modules/bulma/sass/elements/title.sass +70 -70
- data/node_modules/bulma/sass/form/_all.sass +9 -9
- data/node_modules/bulma/sass/form/checkbox-radio.sass +22 -22
- data/node_modules/bulma/sass/form/file.sass +184 -184
- data/node_modules/bulma/sass/form/input-textarea.sass +66 -66
- data/node_modules/bulma/sass/form/select.sass +87 -87
- data/node_modules/bulma/sass/form/shared.sass +60 -60
- data/node_modules/bulma/sass/form/tools.sass +215 -215
- data/node_modules/bulma/sass/grid/_all.sass +5 -5
- data/node_modules/bulma/sass/grid/columns.sass +513 -513
- data/node_modules/bulma/sass/grid/tiles.sass +36 -36
- data/node_modules/bulma/sass/helpers/_all.sass +12 -12
- data/node_modules/bulma/sass/helpers/color.sass +39 -39
- data/node_modules/bulma/sass/helpers/flexbox.sass +35 -35
- data/node_modules/bulma/sass/helpers/float.sass +10 -10
- data/node_modules/bulma/sass/helpers/other.sass +14 -14
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -2
- data/node_modules/bulma/sass/helpers/position.sass +7 -7
- data/node_modules/bulma/sass/helpers/spacing.sass +31 -31
- data/node_modules/bulma/sass/helpers/typography.sass +103 -103
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -122
- data/node_modules/bulma/sass/layout/_all.sass +6 -6
- data/node_modules/bulma/sass/layout/footer.sass +11 -11
- data/node_modules/bulma/sass/layout/hero.sass +153 -153
- data/node_modules/bulma/sass/layout/section.sass +17 -17
- data/node_modules/bulma/sass/utilities/_all.sass +9 -9
- data/node_modules/bulma/sass/utilities/animations.sass +1 -1
- data/node_modules/bulma/sass/utilities/controls.sass +49 -49
- data/node_modules/bulma/sass/utilities/derived-variables.sass +114 -114
- data/node_modules/bulma/sass/utilities/extends.sass +25 -25
- data/node_modules/bulma/sass/utilities/functions.sass +136 -136
- data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -78
- data/node_modules/bulma/sass/utilities/mixins.sass +280 -280
- data/node_modules/bulma-block-list/LICENSE.txt +21 -21
- data/node_modules/bulma-block-list/README.md +31 -31
- data/node_modules/bulma-block-list/docs/Gemfile +2 -2
- data/node_modules/bulma-block-list/docs/_config.yml +15 -15
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +19 -19
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +108 -108
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +19 -19
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +6 -6
- data/node_modules/bulma-block-list/docs/index.html +260 -260
- data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -1390
- data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -21
- data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -130
- data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -9
- data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10854 -10854
- data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -142
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -281
- data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -75
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -79
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -81
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/list.sass +39 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -57
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -99
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -113
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -441
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -150
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -119
- data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -151
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -15
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -323
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -24
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -155
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -1
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -71
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -43
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -39
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -67
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -127
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -128
- data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -70
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -21
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -180
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -64
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -85
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -55
- data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -205
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -4
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -504
- data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -34
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -9
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -145
- data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -13
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -8
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -5
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -50
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -106
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -110
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -77
- data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -261
- data/node_modules/bulma-block-list/package.json +56 -56
- data/node_modules/bulma-block-list/src/block-list.scss +108 -108
- data/node_modules/bulma-block-list/src/demo.scss +2 -2
- data/package-lock.json +28 -28
- data/package.json +20 -20
- metadata +16 -13
- data/_includes/hero.html +0 -11
- data/_includes/join.html +0 -30
- data/_includes/rating.html +0 -14
- data/_includes/review.html +0 -27
- data/_includes/share-buttons.html +0 -19
- data/_layouts/product-category.html +0 -42
- data/_layouts/product.html +0 -61
- data/_layouts/recipe.html +0 -98
- data/assets/css/highlight.css +0 -78
@@ -1,77 +1,77 @@
|
|
1
|
-
@import "../utilities/mixins"
|
2
|
-
|
3
|
-
$breadcrumb-item-color: $link !default
|
4
|
-
$breadcrumb-item-hover-color: $link-hover !default
|
5
|
-
$breadcrumb-item-active-color: $text-strong !default
|
6
|
-
|
7
|
-
$breadcrumb-item-padding-vertical: 0 !default
|
8
|
-
$breadcrumb-item-padding-horizontal: 0.75em !default
|
9
|
-
|
10
|
-
$breadcrumb-item-separator-color: $border-hover !default
|
11
|
-
|
12
|
-
.breadcrumb
|
13
|
-
@extend %block
|
14
|
-
@extend %unselectable
|
15
|
-
font-size: $size-normal
|
16
|
-
white-space: nowrap
|
17
|
-
a
|
18
|
-
align-items: center
|
19
|
-
color: $breadcrumb-item-color
|
20
|
-
display: flex
|
21
|
-
justify-content: center
|
22
|
-
padding: $breadcrumb-item-padding-vertical $breadcrumb-item-padding-horizontal
|
23
|
-
&:hover
|
24
|
-
color: $breadcrumb-item-hover-color
|
25
|
-
li
|
26
|
-
align-items: center
|
27
|
-
display: flex
|
28
|
-
&:first-child a
|
29
|
-
+ltr-property("padding", 0, false)
|
30
|
-
&.is-active
|
31
|
-
a
|
32
|
-
color: $breadcrumb-item-active-color
|
33
|
-
cursor: default
|
34
|
-
pointer-events: none
|
35
|
-
& + li::before
|
36
|
-
color: $breadcrumb-item-separator-color
|
37
|
-
content: "\0002f"
|
38
|
-
ul,
|
39
|
-
ol
|
40
|
-
align-items: flex-start
|
41
|
-
display: flex
|
42
|
-
flex-wrap: wrap
|
43
|
-
justify-content: flex-start
|
44
|
-
.icon
|
45
|
-
&:first-child
|
46
|
-
+ltr-property("margin", 0.5em)
|
47
|
-
&:last-child
|
48
|
-
+ltr-property("margin", 0.5em, false)
|
49
|
-
// Alignment
|
50
|
-
&.is-centered
|
51
|
-
ol,
|
52
|
-
ul
|
53
|
-
justify-content: center
|
54
|
-
&.is-right
|
55
|
-
ol,
|
56
|
-
ul
|
57
|
-
justify-content: flex-end
|
58
|
-
// Sizes
|
59
|
-
&.is-small
|
60
|
-
font-size: $size-small
|
61
|
-
&.is-medium
|
62
|
-
font-size: $size-medium
|
63
|
-
&.is-large
|
64
|
-
font-size: $size-large
|
65
|
-
// Styles
|
66
|
-
&.has-arrow-separator
|
67
|
-
li + li::before
|
68
|
-
content: "\02192"
|
69
|
-
&.has-bullet-separator
|
70
|
-
li + li::before
|
71
|
-
content: "\02022"
|
72
|
-
&.has-dot-separator
|
73
|
-
li + li::before
|
74
|
-
content: "\000b7"
|
75
|
-
&.has-succeeds-separator
|
76
|
-
li + li::before
|
77
|
-
content: "\0227B"
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$breadcrumb-item-color: $link !default
|
4
|
+
$breadcrumb-item-hover-color: $link-hover !default
|
5
|
+
$breadcrumb-item-active-color: $text-strong !default
|
6
|
+
|
7
|
+
$breadcrumb-item-padding-vertical: 0 !default
|
8
|
+
$breadcrumb-item-padding-horizontal: 0.75em !default
|
9
|
+
|
10
|
+
$breadcrumb-item-separator-color: $border-hover !default
|
11
|
+
|
12
|
+
.breadcrumb
|
13
|
+
@extend %block
|
14
|
+
@extend %unselectable
|
15
|
+
font-size: $size-normal
|
16
|
+
white-space: nowrap
|
17
|
+
a
|
18
|
+
align-items: center
|
19
|
+
color: $breadcrumb-item-color
|
20
|
+
display: flex
|
21
|
+
justify-content: center
|
22
|
+
padding: $breadcrumb-item-padding-vertical $breadcrumb-item-padding-horizontal
|
23
|
+
&:hover
|
24
|
+
color: $breadcrumb-item-hover-color
|
25
|
+
li
|
26
|
+
align-items: center
|
27
|
+
display: flex
|
28
|
+
&:first-child a
|
29
|
+
+ltr-property("padding", 0, false)
|
30
|
+
&.is-active
|
31
|
+
a
|
32
|
+
color: $breadcrumb-item-active-color
|
33
|
+
cursor: default
|
34
|
+
pointer-events: none
|
35
|
+
& + li::before
|
36
|
+
color: $breadcrumb-item-separator-color
|
37
|
+
content: "\0002f"
|
38
|
+
ul,
|
39
|
+
ol
|
40
|
+
align-items: flex-start
|
41
|
+
display: flex
|
42
|
+
flex-wrap: wrap
|
43
|
+
justify-content: flex-start
|
44
|
+
.icon
|
45
|
+
&:first-child
|
46
|
+
+ltr-property("margin", 0.5em)
|
47
|
+
&:last-child
|
48
|
+
+ltr-property("margin", 0.5em, false)
|
49
|
+
// Alignment
|
50
|
+
&.is-centered
|
51
|
+
ol,
|
52
|
+
ul
|
53
|
+
justify-content: center
|
54
|
+
&.is-right
|
55
|
+
ol,
|
56
|
+
ul
|
57
|
+
justify-content: flex-end
|
58
|
+
// Sizes
|
59
|
+
&.is-small
|
60
|
+
font-size: $size-small
|
61
|
+
&.is-medium
|
62
|
+
font-size: $size-medium
|
63
|
+
&.is-large
|
64
|
+
font-size: $size-large
|
65
|
+
// Styles
|
66
|
+
&.has-arrow-separator
|
67
|
+
li + li::before
|
68
|
+
content: "\02192"
|
69
|
+
&.has-bullet-separator
|
70
|
+
li + li::before
|
71
|
+
content: "\02022"
|
72
|
+
&.has-dot-separator
|
73
|
+
li + li::before
|
74
|
+
content: "\000b7"
|
75
|
+
&.has-succeeds-separator
|
76
|
+
li + li::before
|
77
|
+
content: "\0227B"
|
@@ -1,103 +1,103 @@
|
|
1
|
-
@import "../utilities/mixins"
|
2
|
-
|
3
|
-
$card-color: $text !default
|
4
|
-
$card-background-color: $scheme-main !default
|
5
|
-
$card-shadow: $shadow !default
|
6
|
-
$card-radius: 0.25rem !default
|
7
|
-
|
8
|
-
$card-header-background-color: transparent !default
|
9
|
-
$card-header-color: $text-strong !default
|
10
|
-
$card-header-padding: 0.75rem 1rem !default
|
11
|
-
$card-header-shadow: 0 0.125em 0.25em rgba($scheme-invert, 0.1) !default
|
12
|
-
$card-header-weight: $weight-bold !default
|
13
|
-
|
14
|
-
$card-content-background-color: transparent !default
|
15
|
-
$card-content-padding: 1.5rem !default
|
16
|
-
|
17
|
-
$card-footer-background-color: transparent !default
|
18
|
-
$card-footer-border-top: 1px solid $border-light !default
|
19
|
-
$card-footer-padding: 0.75rem !default
|
20
|
-
|
21
|
-
$card-media-margin: $block-spacing !default
|
22
|
-
|
23
|
-
.card
|
24
|
-
background-color: $card-background-color
|
25
|
-
border-radius: $card-radius
|
26
|
-
box-shadow: $card-shadow
|
27
|
-
color: $card-color
|
28
|
-
max-width: 100%
|
29
|
-
position: relative
|
30
|
-
|
31
|
-
%card-item
|
32
|
-
&:first-child
|
33
|
-
border-top-left-radius: $card-radius
|
34
|
-
border-top-right-radius: $card-radius
|
35
|
-
&:last-child
|
36
|
-
border-bottom-left-radius: $card-radius
|
37
|
-
border-bottom-right-radius: $card-radius
|
38
|
-
|
39
|
-
.card-header
|
40
|
-
@extend %card-item
|
41
|
-
background-color: $card-header-background-color
|
42
|
-
align-items: stretch
|
43
|
-
box-shadow: $card-header-shadow
|
44
|
-
display: flex
|
45
|
-
|
46
|
-
.card-header-title
|
47
|
-
align-items: center
|
48
|
-
color: $card-header-color
|
49
|
-
display: flex
|
50
|
-
flex-grow: 1
|
51
|
-
font-weight: $card-header-weight
|
52
|
-
padding: $card-header-padding
|
53
|
-
&.is-centered
|
54
|
-
justify-content: center
|
55
|
-
|
56
|
-
.card-header-icon
|
57
|
-
+reset
|
58
|
-
align-items: center
|
59
|
-
cursor: pointer
|
60
|
-
display: flex
|
61
|
-
justify-content: center
|
62
|
-
padding: $card-header-padding
|
63
|
-
|
64
|
-
.card-image
|
65
|
-
display: block
|
66
|
-
position: relative
|
67
|
-
&:first-child
|
68
|
-
img
|
69
|
-
border-top-left-radius: $card-radius
|
70
|
-
border-top-right-radius: $card-radius
|
71
|
-
&:last-child
|
72
|
-
img
|
73
|
-
border-bottom-left-radius: $card-radius
|
74
|
-
border-bottom-right-radius: $card-radius
|
75
|
-
|
76
|
-
.card-content
|
77
|
-
@extend %card-item
|
78
|
-
background-color: $card-content-background-color
|
79
|
-
padding: $card-content-padding
|
80
|
-
|
81
|
-
.card-footer
|
82
|
-
@extend %card-item
|
83
|
-
background-color: $card-footer-background-color
|
84
|
-
border-top: $card-footer-border-top
|
85
|
-
align-items: stretch
|
86
|
-
display: flex
|
87
|
-
|
88
|
-
.card-footer-item
|
89
|
-
align-items: center
|
90
|
-
display: flex
|
91
|
-
flex-basis: 0
|
92
|
-
flex-grow: 1
|
93
|
-
flex-shrink: 0
|
94
|
-
justify-content: center
|
95
|
-
padding: $card-footer-padding
|
96
|
-
&:not(:last-child)
|
97
|
-
+ltr-property("border", $card-footer-border-top)
|
98
|
-
|
99
|
-
// Combinations
|
100
|
-
|
101
|
-
.card
|
102
|
-
.media:not(:last-child)
|
103
|
-
margin-bottom: $card-media-margin
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$card-color: $text !default
|
4
|
+
$card-background-color: $scheme-main !default
|
5
|
+
$card-shadow: $shadow !default
|
6
|
+
$card-radius: 0.25rem !default
|
7
|
+
|
8
|
+
$card-header-background-color: transparent !default
|
9
|
+
$card-header-color: $text-strong !default
|
10
|
+
$card-header-padding: 0.75rem 1rem !default
|
11
|
+
$card-header-shadow: 0 0.125em 0.25em rgba($scheme-invert, 0.1) !default
|
12
|
+
$card-header-weight: $weight-bold !default
|
13
|
+
|
14
|
+
$card-content-background-color: transparent !default
|
15
|
+
$card-content-padding: 1.5rem !default
|
16
|
+
|
17
|
+
$card-footer-background-color: transparent !default
|
18
|
+
$card-footer-border-top: 1px solid $border-light !default
|
19
|
+
$card-footer-padding: 0.75rem !default
|
20
|
+
|
21
|
+
$card-media-margin: $block-spacing !default
|
22
|
+
|
23
|
+
.card
|
24
|
+
background-color: $card-background-color
|
25
|
+
border-radius: $card-radius
|
26
|
+
box-shadow: $card-shadow
|
27
|
+
color: $card-color
|
28
|
+
max-width: 100%
|
29
|
+
position: relative
|
30
|
+
|
31
|
+
%card-item
|
32
|
+
&:first-child
|
33
|
+
border-top-left-radius: $card-radius
|
34
|
+
border-top-right-radius: $card-radius
|
35
|
+
&:last-child
|
36
|
+
border-bottom-left-radius: $card-radius
|
37
|
+
border-bottom-right-radius: $card-radius
|
38
|
+
|
39
|
+
.card-header
|
40
|
+
@extend %card-item
|
41
|
+
background-color: $card-header-background-color
|
42
|
+
align-items: stretch
|
43
|
+
box-shadow: $card-header-shadow
|
44
|
+
display: flex
|
45
|
+
|
46
|
+
.card-header-title
|
47
|
+
align-items: center
|
48
|
+
color: $card-header-color
|
49
|
+
display: flex
|
50
|
+
flex-grow: 1
|
51
|
+
font-weight: $card-header-weight
|
52
|
+
padding: $card-header-padding
|
53
|
+
&.is-centered
|
54
|
+
justify-content: center
|
55
|
+
|
56
|
+
.card-header-icon
|
57
|
+
+reset
|
58
|
+
align-items: center
|
59
|
+
cursor: pointer
|
60
|
+
display: flex
|
61
|
+
justify-content: center
|
62
|
+
padding: $card-header-padding
|
63
|
+
|
64
|
+
.card-image
|
65
|
+
display: block
|
66
|
+
position: relative
|
67
|
+
&:first-child
|
68
|
+
img
|
69
|
+
border-top-left-radius: $card-radius
|
70
|
+
border-top-right-radius: $card-radius
|
71
|
+
&:last-child
|
72
|
+
img
|
73
|
+
border-bottom-left-radius: $card-radius
|
74
|
+
border-bottom-right-radius: $card-radius
|
75
|
+
|
76
|
+
.card-content
|
77
|
+
@extend %card-item
|
78
|
+
background-color: $card-content-background-color
|
79
|
+
padding: $card-content-padding
|
80
|
+
|
81
|
+
.card-footer
|
82
|
+
@extend %card-item
|
83
|
+
background-color: $card-footer-background-color
|
84
|
+
border-top: $card-footer-border-top
|
85
|
+
align-items: stretch
|
86
|
+
display: flex
|
87
|
+
|
88
|
+
.card-footer-item
|
89
|
+
align-items: center
|
90
|
+
display: flex
|
91
|
+
flex-basis: 0
|
92
|
+
flex-grow: 1
|
93
|
+
flex-shrink: 0
|
94
|
+
justify-content: center
|
95
|
+
padding: $card-footer-padding
|
96
|
+
&:not(:last-child)
|
97
|
+
+ltr-property("border", $card-footer-border-top)
|
98
|
+
|
99
|
+
// Combinations
|
100
|
+
|
101
|
+
.card
|
102
|
+
.media:not(:last-child)
|
103
|
+
margin-bottom: $card-media-margin
|
@@ -1,83 +1,83 @@
|
|
1
|
-
@import "../utilities/mixins"
|
2
|
-
|
3
|
-
$dropdown-menu-min-width: 12rem !default
|
4
|
-
|
5
|
-
$dropdown-content-background-color: $scheme-main !default
|
6
|
-
$dropdown-content-arrow: $link !default
|
7
|
-
$dropdown-content-offset: 4px !default
|
8
|
-
$dropdown-content-padding-bottom: 0.5rem !default
|
9
|
-
$dropdown-content-padding-top: 0.5rem !default
|
10
|
-
$dropdown-content-radius: $radius !default
|
11
|
-
$dropdown-content-shadow: $shadow !default
|
12
|
-
$dropdown-content-z: 20 !default
|
13
|
-
|
14
|
-
$dropdown-item-color: $text !default
|
15
|
-
$dropdown-item-hover-color: $scheme-invert !default
|
16
|
-
$dropdown-item-hover-background-color: $background !default
|
17
|
-
$dropdown-item-active-color: $link-invert !default
|
18
|
-
$dropdown-item-active-background-color: $link !default
|
19
|
-
|
20
|
-
$dropdown-divider-background-color: $border-light !default
|
21
|
-
|
22
|
-
.dropdown
|
23
|
-
display: inline-flex
|
24
|
-
position: relative
|
25
|
-
vertical-align: top
|
26
|
-
&.is-active,
|
27
|
-
&.is-hoverable:hover
|
28
|
-
.dropdown-menu
|
29
|
-
display: block
|
30
|
-
&.is-right
|
31
|
-
.dropdown-menu
|
32
|
-
left: auto
|
33
|
-
right: 0
|
34
|
-
&.is-up
|
35
|
-
.dropdown-menu
|
36
|
-
bottom: 100%
|
37
|
-
padding-bottom: $dropdown-content-offset
|
38
|
-
padding-top: initial
|
39
|
-
top: auto
|
40
|
-
|
41
|
-
.dropdown-menu
|
42
|
-
display: none
|
43
|
-
+ltr-position(0, false)
|
44
|
-
min-width: $dropdown-menu-min-width
|
45
|
-
padding-top: $dropdown-content-offset
|
46
|
-
position: absolute
|
47
|
-
top: 100%
|
48
|
-
z-index: $dropdown-content-z
|
49
|
-
|
50
|
-
.dropdown-content
|
51
|
-
background-color: $dropdown-content-background-color
|
52
|
-
border-radius: $dropdown-content-radius
|
53
|
-
box-shadow: $dropdown-content-shadow
|
54
|
-
padding-bottom: $dropdown-content-padding-bottom
|
55
|
-
padding-top: $dropdown-content-padding-top
|
56
|
-
|
57
|
-
.dropdown-item
|
58
|
-
color: $dropdown-item-color
|
59
|
-
display: block
|
60
|
-
font-size: 0.875rem
|
61
|
-
line-height: 1.5
|
62
|
-
padding: 0.375rem 1rem
|
63
|
-
position: relative
|
64
|
-
|
65
|
-
a.dropdown-item,
|
66
|
-
button.dropdown-item
|
67
|
-
+ltr-property("padding", 3rem)
|
68
|
-
text-align: inherit
|
69
|
-
white-space: nowrap
|
70
|
-
width: 100%
|
71
|
-
&:hover
|
72
|
-
background-color: $dropdown-item-hover-background-color
|
73
|
-
color: $dropdown-item-hover-color
|
74
|
-
&.is-active
|
75
|
-
background-color: $dropdown-item-active-background-color
|
76
|
-
color: $dropdown-item-active-color
|
77
|
-
|
78
|
-
.dropdown-divider
|
79
|
-
background-color: $dropdown-divider-background-color
|
80
|
-
border: none
|
81
|
-
display: block
|
82
|
-
height: 1px
|
83
|
-
margin: 0.5rem 0
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$dropdown-menu-min-width: 12rem !default
|
4
|
+
|
5
|
+
$dropdown-content-background-color: $scheme-main !default
|
6
|
+
$dropdown-content-arrow: $link !default
|
7
|
+
$dropdown-content-offset: 4px !default
|
8
|
+
$dropdown-content-padding-bottom: 0.5rem !default
|
9
|
+
$dropdown-content-padding-top: 0.5rem !default
|
10
|
+
$dropdown-content-radius: $radius !default
|
11
|
+
$dropdown-content-shadow: $shadow !default
|
12
|
+
$dropdown-content-z: 20 !default
|
13
|
+
|
14
|
+
$dropdown-item-color: $text !default
|
15
|
+
$dropdown-item-hover-color: $scheme-invert !default
|
16
|
+
$dropdown-item-hover-background-color: $background !default
|
17
|
+
$dropdown-item-active-color: $link-invert !default
|
18
|
+
$dropdown-item-active-background-color: $link !default
|
19
|
+
|
20
|
+
$dropdown-divider-background-color: $border-light !default
|
21
|
+
|
22
|
+
.dropdown
|
23
|
+
display: inline-flex
|
24
|
+
position: relative
|
25
|
+
vertical-align: top
|
26
|
+
&.is-active,
|
27
|
+
&.is-hoverable:hover
|
28
|
+
.dropdown-menu
|
29
|
+
display: block
|
30
|
+
&.is-right
|
31
|
+
.dropdown-menu
|
32
|
+
left: auto
|
33
|
+
right: 0
|
34
|
+
&.is-up
|
35
|
+
.dropdown-menu
|
36
|
+
bottom: 100%
|
37
|
+
padding-bottom: $dropdown-content-offset
|
38
|
+
padding-top: initial
|
39
|
+
top: auto
|
40
|
+
|
41
|
+
.dropdown-menu
|
42
|
+
display: none
|
43
|
+
+ltr-position(0, false)
|
44
|
+
min-width: $dropdown-menu-min-width
|
45
|
+
padding-top: $dropdown-content-offset
|
46
|
+
position: absolute
|
47
|
+
top: 100%
|
48
|
+
z-index: $dropdown-content-z
|
49
|
+
|
50
|
+
.dropdown-content
|
51
|
+
background-color: $dropdown-content-background-color
|
52
|
+
border-radius: $dropdown-content-radius
|
53
|
+
box-shadow: $dropdown-content-shadow
|
54
|
+
padding-bottom: $dropdown-content-padding-bottom
|
55
|
+
padding-top: $dropdown-content-padding-top
|
56
|
+
|
57
|
+
.dropdown-item
|
58
|
+
color: $dropdown-item-color
|
59
|
+
display: block
|
60
|
+
font-size: 0.875rem
|
61
|
+
line-height: 1.5
|
62
|
+
padding: 0.375rem 1rem
|
63
|
+
position: relative
|
64
|
+
|
65
|
+
a.dropdown-item,
|
66
|
+
button.dropdown-item
|
67
|
+
+ltr-property("padding", 3rem)
|
68
|
+
text-align: inherit
|
69
|
+
white-space: nowrap
|
70
|
+
width: 100%
|
71
|
+
&:hover
|
72
|
+
background-color: $dropdown-item-hover-background-color
|
73
|
+
color: $dropdown-item-hover-color
|
74
|
+
&.is-active
|
75
|
+
background-color: $dropdown-item-active-background-color
|
76
|
+
color: $dropdown-item-active-color
|
77
|
+
|
78
|
+
.dropdown-divider
|
79
|
+
background-color: $dropdown-divider-background-color
|
80
|
+
border: none
|
81
|
+
display: block
|
82
|
+
height: 1px
|
83
|
+
margin: 0.5rem 0
|
@@ -1,79 +1,79 @@
|
|
1
|
-
@import "../utilities/mixins"
|
2
|
-
|
3
|
-
$level-item-spacing: ($block-spacing * 0.5) !default
|
4
|
-
|
5
|
-
.level
|
6
|
-
@extend %block
|
7
|
-
align-items: center
|
8
|
-
justify-content: space-between
|
9
|
-
code
|
10
|
-
border-radius: $radius
|
11
|
-
img
|
12
|
-
display: inline-block
|
13
|
-
vertical-align: top
|
14
|
-
// Modifiers
|
15
|
-
&.is-mobile
|
16
|
-
display: flex
|
17
|
-
.level-left,
|
18
|
-
.level-right
|
19
|
-
display: flex
|
20
|
-
.level-left + .level-right
|
21
|
-
margin-top: 0
|
22
|
-
.level-item
|
23
|
-
&:not(:last-child)
|
24
|
-
margin-bottom: 0
|
25
|
-
+ltr-property("margin", $level-item-spacing)
|
26
|
-
&:not(.is-narrow)
|
27
|
-
flex-grow: 1
|
28
|
-
// Responsiveness
|
29
|
-
+tablet
|
30
|
-
display: flex
|
31
|
-
& > .level-item
|
32
|
-
&:not(.is-narrow)
|
33
|
-
flex-grow: 1
|
34
|
-
|
35
|
-
.level-item
|
36
|
-
align-items: center
|
37
|
-
display: flex
|
38
|
-
flex-basis: auto
|
39
|
-
flex-grow: 0
|
40
|
-
flex-shrink: 0
|
41
|
-
justify-content: center
|
42
|
-
.title,
|
43
|
-
.subtitle
|
44
|
-
margin-bottom: 0
|
45
|
-
// Responsiveness
|
46
|
-
+mobile
|
47
|
-
&:not(:last-child)
|
48
|
-
margin-bottom: $level-item-spacing
|
49
|
-
|
50
|
-
.level-left,
|
51
|
-
.level-right
|
52
|
-
flex-basis: auto
|
53
|
-
flex-grow: 0
|
54
|
-
flex-shrink: 0
|
55
|
-
.level-item
|
56
|
-
// Modifiers
|
57
|
-
&.is-flexible
|
58
|
-
flex-grow: 1
|
59
|
-
// Responsiveness
|
60
|
-
+tablet
|
61
|
-
&:not(:last-child)
|
62
|
-
+ltr-property("margin", $level-item-spacing)
|
63
|
-
|
64
|
-
.level-left
|
65
|
-
align-items: center
|
66
|
-
justify-content: flex-start
|
67
|
-
// Responsiveness
|
68
|
-
+mobile
|
69
|
-
& + .level-right
|
70
|
-
margin-top: 1.5rem
|
71
|
-
+tablet
|
72
|
-
display: flex
|
73
|
-
|
74
|
-
.level-right
|
75
|
-
align-items: center
|
76
|
-
justify-content: flex-end
|
77
|
-
// Responsiveness
|
78
|
-
+tablet
|
79
|
-
display: flex
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$level-item-spacing: ($block-spacing * 0.5) !default
|
4
|
+
|
5
|
+
.level
|
6
|
+
@extend %block
|
7
|
+
align-items: center
|
8
|
+
justify-content: space-between
|
9
|
+
code
|
10
|
+
border-radius: $radius
|
11
|
+
img
|
12
|
+
display: inline-block
|
13
|
+
vertical-align: top
|
14
|
+
// Modifiers
|
15
|
+
&.is-mobile
|
16
|
+
display: flex
|
17
|
+
.level-left,
|
18
|
+
.level-right
|
19
|
+
display: flex
|
20
|
+
.level-left + .level-right
|
21
|
+
margin-top: 0
|
22
|
+
.level-item
|
23
|
+
&:not(:last-child)
|
24
|
+
margin-bottom: 0
|
25
|
+
+ltr-property("margin", $level-item-spacing)
|
26
|
+
&:not(.is-narrow)
|
27
|
+
flex-grow: 1
|
28
|
+
// Responsiveness
|
29
|
+
+tablet
|
30
|
+
display: flex
|
31
|
+
& > .level-item
|
32
|
+
&:not(.is-narrow)
|
33
|
+
flex-grow: 1
|
34
|
+
|
35
|
+
.level-item
|
36
|
+
align-items: center
|
37
|
+
display: flex
|
38
|
+
flex-basis: auto
|
39
|
+
flex-grow: 0
|
40
|
+
flex-shrink: 0
|
41
|
+
justify-content: center
|
42
|
+
.title,
|
43
|
+
.subtitle
|
44
|
+
margin-bottom: 0
|
45
|
+
// Responsiveness
|
46
|
+
+mobile
|
47
|
+
&:not(:last-child)
|
48
|
+
margin-bottom: $level-item-spacing
|
49
|
+
|
50
|
+
.level-left,
|
51
|
+
.level-right
|
52
|
+
flex-basis: auto
|
53
|
+
flex-grow: 0
|
54
|
+
flex-shrink: 0
|
55
|
+
.level-item
|
56
|
+
// Modifiers
|
57
|
+
&.is-flexible
|
58
|
+
flex-grow: 1
|
59
|
+
// Responsiveness
|
60
|
+
+tablet
|
61
|
+
&:not(:last-child)
|
62
|
+
+ltr-property("margin", $level-item-spacing)
|
63
|
+
|
64
|
+
.level-left
|
65
|
+
align-items: center
|
66
|
+
justify-content: flex-start
|
67
|
+
// Responsiveness
|
68
|
+
+mobile
|
69
|
+
& + .level-right
|
70
|
+
margin-top: 1.5rem
|
71
|
+
+tablet
|
72
|
+
display: flex
|
73
|
+
|
74
|
+
.level-right
|
75
|
+
align-items: center
|
76
|
+
justify-content: flex-end
|
77
|
+
// Responsiveness
|
78
|
+
+tablet
|
79
|
+
display: flex
|