bulma-clean-theme 0.8.1 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -0
- data/_includes/callouts.html +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/gallery.html +27 -0
- data/_includes/head.html +1 -1
- data/_includes/header.html +3 -3
- data/_includes/hero.html +1 -1
- data/_includes/menubar.html +2 -2
- data/_includes/showcase.html +1 -1
- data/_includes/tabs.html +1 -1
- data/_layouts/default.html +1 -0
- data/_layouts/product-category.html +1 -1
- data/node_modules/bulma-block-list/docs/Gemfile +3 -0
- data/node_modules/bulma-block-list/docs/_config.yml +15 -0
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +92 -0
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
- data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
- data/node_modules/bulma-block-list/docs/index.html +249 -261
- 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 +77 -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 → bulma-block-list/node_modules/bulma}/sass/components/list.sass +0 -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 → bulma-block-list/node_modules/bulma}/sass/utilities/derived-variables.sass +0 -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 +10 -10
- data/node_modules/bulma-block-list/src/block-list.scss +24 -1
- data/node_modules/bulma/CHANGELOG.md +69 -0
- data/node_modules/bulma/README.md +1 -1
- data/node_modules/bulma/bulma.sass +2 -1
- data/node_modules/bulma/css/bulma-rtl.css +11331 -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 +6935 -6459
- data/node_modules/bulma/css/bulma.css.map +1 -1
- data/node_modules/bulma/css/bulma.min.css +1 -1
- data/node_modules/bulma/package.json +22 -20
- data/node_modules/bulma/sass/base/_all.sass +0 -1
- data/node_modules/bulma/sass/base/generic.sass +1 -1
- data/node_modules/bulma/sass/base/helpers.sass +1 -281
- data/node_modules/bulma/sass/base/minireset.sass +1 -1
- data/node_modules/bulma/sass/components/_all.sass +0 -1
- data/node_modules/bulma/sass/components/breadcrumb.sass +3 -3
- data/node_modules/bulma/sass/components/card.sass +1 -1
- data/node_modules/bulma/sass/components/dropdown.sass +3 -3
- data/node_modules/bulma/sass/components/level.sass +2 -2
- data/node_modules/bulma/sass/components/media.sass +10 -8
- data/node_modules/bulma/sass/components/menu.sass +2 -2
- data/node_modules/bulma/sass/components/message.sass +1 -1
- data/node_modules/bulma/sass/components/modal.sass +2 -2
- data/node_modules/bulma/sass/components/navbar.sass +9 -9
- data/node_modules/bulma/sass/components/panel.sass +2 -2
- data/node_modules/bulma/sass/components/tabs.sass +35 -12
- data/node_modules/bulma/sass/elements/button.sass +7 -7
- data/node_modules/bulma/sass/elements/content.sass +5 -5
- data/node_modules/bulma/sass/elements/notification.sass +7 -2
- data/node_modules/bulma/sass/elements/table.sass +3 -1
- data/node_modules/bulma/sass/elements/tag.sass +24 -16
- data/node_modules/bulma/sass/form/checkbox-radio.sass +1 -1
- data/node_modules/bulma/sass/form/file.sass +2 -2
- data/node_modules/bulma/sass/form/select.sass +4 -4
- data/node_modules/bulma/sass/form/tools.sass +18 -10
- data/node_modules/bulma/sass/helpers/_all.sass +10 -0
- data/node_modules/bulma/sass/helpers/color.sass +37 -0
- data/node_modules/bulma/sass/helpers/float.sass +8 -0
- data/node_modules/bulma/sass/helpers/other.sass +8 -0
- data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
- data/node_modules/bulma/sass/helpers/position.sass +5 -0
- data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
- data/node_modules/bulma/sass/helpers/typography.sass +98 -0
- data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
- data/node_modules/bulma/sass/layout/hero.sass +1 -1
- data/node_modules/bulma/sass/utilities/_all.sass +1 -1
- data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
- data/node_modules/bulma/sass/utilities/functions.sass +5 -0
- data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
- data/node_modules/bulma/sass/utilities/mixins.sass +24 -0
- data/package-lock.json +13 -6
- data/package.json +2 -2
- metadata +84 -5
- data/node_modules/bulma-block-list/docs/demo.css +0 -7241
@@ -0,0 +1,79 @@
|
|
1
|
+
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
|
2
|
+
// Blocks
|
3
|
+
html,
|
4
|
+
body,
|
5
|
+
p,
|
6
|
+
ol,
|
7
|
+
ul,
|
8
|
+
li,
|
9
|
+
dl,
|
10
|
+
dt,
|
11
|
+
dd,
|
12
|
+
blockquote,
|
13
|
+
figure,
|
14
|
+
fieldset,
|
15
|
+
legend,
|
16
|
+
textarea,
|
17
|
+
pre,
|
18
|
+
iframe,
|
19
|
+
hr,
|
20
|
+
h1,
|
21
|
+
h2,
|
22
|
+
h3,
|
23
|
+
h4,
|
24
|
+
h5,
|
25
|
+
h6
|
26
|
+
margin: 0
|
27
|
+
padding: 0
|
28
|
+
|
29
|
+
// Headings
|
30
|
+
h1,
|
31
|
+
h2,
|
32
|
+
h3,
|
33
|
+
h4,
|
34
|
+
h5,
|
35
|
+
h6
|
36
|
+
font-size: 100%
|
37
|
+
font-weight: normal
|
38
|
+
|
39
|
+
// List
|
40
|
+
ul
|
41
|
+
list-style: none
|
42
|
+
|
43
|
+
// Form
|
44
|
+
button,
|
45
|
+
input,
|
46
|
+
select,
|
47
|
+
textarea
|
48
|
+
margin: 0
|
49
|
+
|
50
|
+
// Box sizing
|
51
|
+
html
|
52
|
+
box-sizing: border-box
|
53
|
+
|
54
|
+
*
|
55
|
+
&,
|
56
|
+
&::before,
|
57
|
+
&::after
|
58
|
+
box-sizing: inherit
|
59
|
+
|
60
|
+
// Media
|
61
|
+
img,
|
62
|
+
video
|
63
|
+
height: auto
|
64
|
+
max-width: 100%
|
65
|
+
|
66
|
+
// Iframe
|
67
|
+
iframe
|
68
|
+
border: 0
|
69
|
+
|
70
|
+
// Table
|
71
|
+
table
|
72
|
+
border-collapse: collapse
|
73
|
+
border-spacing: 0
|
74
|
+
|
75
|
+
td,
|
76
|
+
th
|
77
|
+
padding: 0
|
78
|
+
&:not([align])
|
79
|
+
text-align: left
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@charset "utf-8"
|
2
|
+
|
3
|
+
@import "breadcrumb.sass"
|
4
|
+
@import "card.sass"
|
5
|
+
@import "dropdown.sass"
|
6
|
+
@import "level.sass"
|
7
|
+
@import "list.sass"
|
8
|
+
@import "media.sass"
|
9
|
+
@import "menu.sass"
|
10
|
+
@import "message.sass"
|
11
|
+
@import "modal.sass"
|
12
|
+
@import "navbar.sass"
|
13
|
+
@import "pagination.sass"
|
14
|
+
@import "panel.sass"
|
15
|
+
@import "tabs.sass"
|
@@ -0,0 +1,75 @@
|
|
1
|
+
$breadcrumb-item-color: $link !default
|
2
|
+
$breadcrumb-item-hover-color: $link-hover !default
|
3
|
+
$breadcrumb-item-active-color: $text-strong !default
|
4
|
+
|
5
|
+
$breadcrumb-item-padding-vertical: 0 !default
|
6
|
+
$breadcrumb-item-padding-horizontal: 0.75em !default
|
7
|
+
|
8
|
+
$breadcrumb-item-separator-color: $border-hover !default
|
9
|
+
|
10
|
+
.breadcrumb
|
11
|
+
@extend %block
|
12
|
+
@extend %unselectable
|
13
|
+
font-size: $size-normal
|
14
|
+
white-space: nowrap
|
15
|
+
a
|
16
|
+
align-items: center
|
17
|
+
color: $breadcrumb-item-color
|
18
|
+
display: flex
|
19
|
+
justify-content: center
|
20
|
+
padding: $breadcrumb-item-padding-vertical $breadcrumb-item-padding-horizontal
|
21
|
+
&:hover
|
22
|
+
color: $breadcrumb-item-hover-color
|
23
|
+
li
|
24
|
+
align-items: center
|
25
|
+
display: flex
|
26
|
+
&:first-child a
|
27
|
+
padding-left: 0
|
28
|
+
&.is-active
|
29
|
+
a
|
30
|
+
color: $breadcrumb-item-active-color
|
31
|
+
cursor: default
|
32
|
+
pointer-events: none
|
33
|
+
& + li::before
|
34
|
+
color: $breadcrumb-item-separator-color
|
35
|
+
content: "\0002f"
|
36
|
+
ul,
|
37
|
+
ol
|
38
|
+
align-items: flex-start
|
39
|
+
display: flex
|
40
|
+
flex-wrap: wrap
|
41
|
+
justify-content: flex-start
|
42
|
+
.icon
|
43
|
+
&:first-child
|
44
|
+
margin-right: 0.5em
|
45
|
+
&:last-child
|
46
|
+
margin-left: 0.5em
|
47
|
+
// Alignment
|
48
|
+
&.is-centered
|
49
|
+
ol,
|
50
|
+
ul
|
51
|
+
justify-content: center
|
52
|
+
&.is-right
|
53
|
+
ol,
|
54
|
+
ul
|
55
|
+
justify-content: flex-end
|
56
|
+
// Sizes
|
57
|
+
&.is-small
|
58
|
+
font-size: $size-small
|
59
|
+
&.is-medium
|
60
|
+
font-size: $size-medium
|
61
|
+
&.is-large
|
62
|
+
font-size: $size-large
|
63
|
+
// Styles
|
64
|
+
&.has-arrow-separator
|
65
|
+
li + li::before
|
66
|
+
content: "\02192"
|
67
|
+
&.has-bullet-separator
|
68
|
+
li + li::before
|
69
|
+
content: "\02022"
|
70
|
+
&.has-dot-separator
|
71
|
+
li + li::before
|
72
|
+
content: "\000b7"
|
73
|
+
&.has-succeeds-separator
|
74
|
+
li + li::before
|
75
|
+
content: "\0227B"
|
@@ -0,0 +1,79 @@
|
|
1
|
+
$card-color: $text !default
|
2
|
+
$card-background-color: $scheme-main !default
|
3
|
+
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
4
|
+
|
5
|
+
$card-header-background-color: transparent !default
|
6
|
+
$card-header-color: $text-strong !default
|
7
|
+
$card-header-padding: 0.75rem 1rem !default
|
8
|
+
$card-header-shadow: 0 0.125em 0.25em rgba($scheme-invert, 0.1) !default
|
9
|
+
$card-header-weight: $weight-bold !default
|
10
|
+
|
11
|
+
$card-content-background-color: transparent !default
|
12
|
+
$card-content-padding: 1.5rem !default
|
13
|
+
|
14
|
+
$card-footer-background-color: transparent !default
|
15
|
+
$card-footer-border-top: 1px solid $border-light !default
|
16
|
+
$card-footer-padding: 0.75rem !default
|
17
|
+
|
18
|
+
$card-media-margin: $block-spacing !default
|
19
|
+
|
20
|
+
.card
|
21
|
+
background-color: $card-background-color
|
22
|
+
box-shadow: $card-shadow
|
23
|
+
color: $card-color
|
24
|
+
max-width: 100%
|
25
|
+
position: relative
|
26
|
+
|
27
|
+
.card-header
|
28
|
+
background-color: $card-header-background-color
|
29
|
+
align-items: stretch
|
30
|
+
box-shadow: $card-header-shadow
|
31
|
+
display: flex
|
32
|
+
|
33
|
+
.card-header-title
|
34
|
+
align-items: center
|
35
|
+
color: $card-header-color
|
36
|
+
display: flex
|
37
|
+
flex-grow: 1
|
38
|
+
font-weight: $card-header-weight
|
39
|
+
padding: $card-header-padding
|
40
|
+
&.is-centered
|
41
|
+
justify-content: center
|
42
|
+
|
43
|
+
.card-header-icon
|
44
|
+
align-items: center
|
45
|
+
cursor: pointer
|
46
|
+
display: flex
|
47
|
+
justify-content: center
|
48
|
+
padding: $card-header-padding
|
49
|
+
|
50
|
+
.card-image
|
51
|
+
display: block
|
52
|
+
position: relative
|
53
|
+
|
54
|
+
.card-content
|
55
|
+
background-color: $card-content-background-color
|
56
|
+
padding: $card-content-padding
|
57
|
+
|
58
|
+
.card-footer
|
59
|
+
background-color: $card-footer-background-color
|
60
|
+
border-top: $card-footer-border-top
|
61
|
+
align-items: stretch
|
62
|
+
display: flex
|
63
|
+
|
64
|
+
.card-footer-item
|
65
|
+
align-items: center
|
66
|
+
display: flex
|
67
|
+
flex-basis: 0
|
68
|
+
flex-grow: 1
|
69
|
+
flex-shrink: 0
|
70
|
+
justify-content: center
|
71
|
+
padding: $card-footer-padding
|
72
|
+
&:not(:last-child)
|
73
|
+
border-right: $card-footer-border-top
|
74
|
+
|
75
|
+
// Combinations
|
76
|
+
|
77
|
+
.card
|
78
|
+
.media:not(:last-child)
|
79
|
+
margin-bottom: $card-media-margin
|
@@ -0,0 +1,81 @@
|
|
1
|
+
$dropdown-menu-min-width: 12rem !default
|
2
|
+
|
3
|
+
$dropdown-content-background-color: $scheme-main !default
|
4
|
+
$dropdown-content-arrow: $link !default
|
5
|
+
$dropdown-content-offset: 4px !default
|
6
|
+
$dropdown-content-padding-bottom: 0.5rem !default
|
7
|
+
$dropdown-content-padding-top: 0.5rem !default
|
8
|
+
$dropdown-content-radius: $radius !default
|
9
|
+
$dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
10
|
+
$dropdown-content-z: 20 !default
|
11
|
+
|
12
|
+
$dropdown-item-color: $text !default
|
13
|
+
$dropdown-item-hover-color: $scheme-invert !default
|
14
|
+
$dropdown-item-hover-background-color: $background !default
|
15
|
+
$dropdown-item-active-color: $link-invert !default
|
16
|
+
$dropdown-item-active-background-color: $link !default
|
17
|
+
|
18
|
+
$dropdown-divider-background-color: $border-light !default
|
19
|
+
|
20
|
+
.dropdown
|
21
|
+
display: inline-flex
|
22
|
+
position: relative
|
23
|
+
vertical-align: top
|
24
|
+
&.is-active,
|
25
|
+
&.is-hoverable:hover
|
26
|
+
.dropdown-menu
|
27
|
+
display: block
|
28
|
+
&.is-right
|
29
|
+
.dropdown-menu
|
30
|
+
left: auto
|
31
|
+
right: 0
|
32
|
+
&.is-up
|
33
|
+
.dropdown-menu
|
34
|
+
bottom: 100%
|
35
|
+
padding-bottom: $dropdown-content-offset
|
36
|
+
padding-top: initial
|
37
|
+
top: auto
|
38
|
+
|
39
|
+
.dropdown-menu
|
40
|
+
display: none
|
41
|
+
left: 0
|
42
|
+
min-width: $dropdown-menu-min-width
|
43
|
+
padding-top: $dropdown-content-offset
|
44
|
+
position: absolute
|
45
|
+
top: 100%
|
46
|
+
z-index: $dropdown-content-z
|
47
|
+
|
48
|
+
.dropdown-content
|
49
|
+
background-color: $dropdown-content-background-color
|
50
|
+
border-radius: $dropdown-content-radius
|
51
|
+
box-shadow: $dropdown-content-shadow
|
52
|
+
padding-bottom: $dropdown-content-padding-bottom
|
53
|
+
padding-top: $dropdown-content-padding-top
|
54
|
+
|
55
|
+
.dropdown-item
|
56
|
+
color: $dropdown-item-color
|
57
|
+
display: block
|
58
|
+
font-size: 0.875rem
|
59
|
+
line-height: 1.5
|
60
|
+
padding: 0.375rem 1rem
|
61
|
+
position: relative
|
62
|
+
|
63
|
+
a.dropdown-item,
|
64
|
+
button.dropdown-item
|
65
|
+
padding-right: 3rem
|
66
|
+
text-align: left
|
67
|
+
white-space: nowrap
|
68
|
+
width: 100%
|
69
|
+
&:hover
|
70
|
+
background-color: $dropdown-item-hover-background-color
|
71
|
+
color: $dropdown-item-hover-color
|
72
|
+
&.is-active
|
73
|
+
background-color: $dropdown-item-active-background-color
|
74
|
+
color: $dropdown-item-active-color
|
75
|
+
|
76
|
+
.dropdown-divider
|
77
|
+
background-color: $dropdown-divider-background-color
|
78
|
+
border: none
|
79
|
+
display: block
|
80
|
+
height: 1px
|
81
|
+
margin: 0.5rem 0
|
@@ -0,0 +1,77 @@
|
|
1
|
+
$level-item-spacing: ($block-spacing / 2) !default
|
2
|
+
|
3
|
+
.level
|
4
|
+
@extend %block
|
5
|
+
align-items: center
|
6
|
+
justify-content: space-between
|
7
|
+
code
|
8
|
+
border-radius: $radius
|
9
|
+
img
|
10
|
+
display: inline-block
|
11
|
+
vertical-align: top
|
12
|
+
// Modifiers
|
13
|
+
&.is-mobile
|
14
|
+
display: flex
|
15
|
+
.level-left,
|
16
|
+
.level-right
|
17
|
+
display: flex
|
18
|
+
.level-left + .level-right
|
19
|
+
margin-top: 0
|
20
|
+
.level-item
|
21
|
+
&:not(:last-child)
|
22
|
+
margin-bottom: 0
|
23
|
+
margin-right: $level-item-spacing
|
24
|
+
&:not(.is-narrow)
|
25
|
+
flex-grow: 1
|
26
|
+
// Responsiveness
|
27
|
+
+tablet
|
28
|
+
display: flex
|
29
|
+
& > .level-item
|
30
|
+
&:not(.is-narrow)
|
31
|
+
flex-grow: 1
|
32
|
+
|
33
|
+
.level-item
|
34
|
+
align-items: center
|
35
|
+
display: flex
|
36
|
+
flex-basis: auto
|
37
|
+
flex-grow: 0
|
38
|
+
flex-shrink: 0
|
39
|
+
justify-content: center
|
40
|
+
.title,
|
41
|
+
.subtitle
|
42
|
+
margin-bottom: 0
|
43
|
+
// Responsiveness
|
44
|
+
+mobile
|
45
|
+
&:not(:last-child)
|
46
|
+
margin-bottom: $level-item-spacing
|
47
|
+
|
48
|
+
.level-left,
|
49
|
+
.level-right
|
50
|
+
flex-basis: auto
|
51
|
+
flex-grow: 0
|
52
|
+
flex-shrink: 0
|
53
|
+
.level-item
|
54
|
+
// Modifiers
|
55
|
+
&.is-flexible
|
56
|
+
flex-grow: 1
|
57
|
+
// Responsiveness
|
58
|
+
+tablet
|
59
|
+
&:not(:last-child)
|
60
|
+
margin-right: $level-item-spacing
|
61
|
+
|
62
|
+
.level-left
|
63
|
+
align-items: center
|
64
|
+
justify-content: flex-start
|
65
|
+
// Responsiveness
|
66
|
+
+mobile
|
67
|
+
& + .level-right
|
68
|
+
margin-top: 1.5rem
|
69
|
+
+tablet
|
70
|
+
display: flex
|
71
|
+
|
72
|
+
.level-right
|
73
|
+
align-items: center
|
74
|
+
justify-content: flex-end
|
75
|
+
// Responsiveness
|
76
|
+
+tablet
|
77
|
+
display: flex
|
File without changes
|
@@ -0,0 +1,50 @@
|
|
1
|
+
$media-border-color: bulmaRgba($border, 0.5) !default
|
2
|
+
|
3
|
+
.media
|
4
|
+
align-items: flex-start
|
5
|
+
display: flex
|
6
|
+
text-align: left
|
7
|
+
.content:not(:last-child)
|
8
|
+
margin-bottom: 0.75rem
|
9
|
+
.media
|
10
|
+
border-top: 1px solid $media-border-color
|
11
|
+
display: flex
|
12
|
+
padding-top: 0.75rem
|
13
|
+
.content:not(:last-child),
|
14
|
+
.control:not(:last-child)
|
15
|
+
margin-bottom: 0.5rem
|
16
|
+
.media
|
17
|
+
padding-top: 0.5rem
|
18
|
+
& + .media
|
19
|
+
margin-top: 0.5rem
|
20
|
+
& + .media
|
21
|
+
border-top: 1px solid $media-border-color
|
22
|
+
margin-top: 1rem
|
23
|
+
padding-top: 1rem
|
24
|
+
// Sizes
|
25
|
+
&.is-large
|
26
|
+
& + .media
|
27
|
+
margin-top: 1.5rem
|
28
|
+
padding-top: 1.5rem
|
29
|
+
|
30
|
+
.media-left,
|
31
|
+
.media-right
|
32
|
+
flex-basis: auto
|
33
|
+
flex-grow: 0
|
34
|
+
flex-shrink: 0
|
35
|
+
|
36
|
+
.media-left
|
37
|
+
margin-right: 1rem
|
38
|
+
|
39
|
+
.media-right
|
40
|
+
margin-left: 1rem
|
41
|
+
|
42
|
+
.media-content
|
43
|
+
flex-basis: auto
|
44
|
+
flex-grow: 1
|
45
|
+
flex-shrink: 1
|
46
|
+
text-align: left
|
47
|
+
|
48
|
+
+mobile
|
49
|
+
.media-content
|
50
|
+
overflow-x: auto
|