bulma-rails 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -14
  3. data/app/assets/stylesheets/bulma.scss +4 -0
  4. data/app/assets/stylesheets/sass/_index.scss +10 -0
  5. data/app/assets/stylesheets/sass/base/_index.scss +6 -0
  6. data/app/assets/stylesheets/sass/base/animations.scss +15 -0
  7. data/app/assets/stylesheets/sass/base/generic.scss +239 -0
  8. data/app/assets/stylesheets/sass/base/minireset.scss +92 -0
  9. data/app/assets/stylesheets/sass/base/skeleton.scss +126 -0
  10. data/app/assets/stylesheets/sass/components/_index.scss +13 -0
  11. data/app/assets/stylesheets/sass/components/breadcrumb.scss +139 -0
  12. data/app/assets/stylesheets/sass/components/card.scss +162 -0
  13. data/app/assets/stylesheets/sass/components/dropdown.scss +188 -0
  14. data/app/assets/stylesheets/sass/components/menu.scss +165 -0
  15. data/app/assets/stylesheets/sass/components/message.scss +183 -0
  16. data/app/assets/stylesheets/sass/components/modal.scss +164 -0
  17. data/app/assets/stylesheets/sass/components/navbar.scss +788 -0
  18. data/app/assets/stylesheets/sass/components/pagination.scss +379 -0
  19. data/app/assets/stylesheets/sass/components/panel.scss +218 -0
  20. data/app/assets/stylesheets/sass/components/tabs.scss +273 -0
  21. data/app/assets/stylesheets/sass/elements/_index.scss +16 -0
  22. data/app/assets/stylesheets/sass/elements/block.scss +6 -0
  23. data/app/assets/stylesheets/sass/elements/box.scss +59 -0
  24. data/app/assets/stylesheets/sass/elements/button.scss +640 -0
  25. data/app/assets/stylesheets/sass/elements/content.scss +283 -0
  26. data/app/assets/stylesheets/sass/elements/delete.scss +6 -0
  27. data/app/assets/stylesheets/sass/elements/icon.scss +67 -0
  28. data/app/assets/stylesheets/sass/elements/image.scss +62 -0
  29. data/app/assets/stylesheets/sass/elements/loader.scss +15 -0
  30. data/app/assets/stylesheets/sass/elements/notification.scss +105 -0
  31. data/app/assets/stylesheets/sass/elements/progress.scss +115 -0
  32. data/app/assets/stylesheets/sass/elements/table.scss +261 -0
  33. data/app/assets/stylesheets/sass/elements/tag.scss +219 -0
  34. data/app/assets/stylesheets/sass/elements/title.scss +128 -0
  35. data/app/assets/stylesheets/sass/form/_index.scss +9 -0
  36. data/app/assets/stylesheets/sass/form/checkbox-radio.scss +32 -0
  37. data/app/assets/stylesheets/sass/form/file.scss +330 -0
  38. data/app/assets/stylesheets/sass/form/input-textarea.scss +123 -0
  39. data/app/assets/stylesheets/sass/form/select.scss +143 -0
  40. data/app/assets/stylesheets/sass/form/shared.scss +172 -0
  41. data/app/assets/stylesheets/sass/form/tools.scss +341 -0
  42. data/app/assets/stylesheets/sass/grid/_index.scss +5 -0
  43. data/app/assets/stylesheets/sass/grid/columns-v2.scss +957 -0
  44. data/app/assets/stylesheets/sass/grid/columns.scss +877 -0
  45. data/app/assets/stylesheets/sass/grid/grid.scss +209 -0
  46. data/app/assets/stylesheets/sass/helpers/_index.scss +15 -0
  47. data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +10 -0
  48. data/app/assets/stylesheets/sass/helpers/border.scss +15 -0
  49. data/app/assets/stylesheets/sass/helpers/color.scss +364 -0
  50. data/app/assets/stylesheets/sass/helpers/flexbox.scss +62 -0
  51. data/app/assets/stylesheets/sass/helpers/float.scss +28 -0
  52. data/app/assets/stylesheets/sass/helpers/gap.scss +24 -0
  53. data/app/assets/stylesheets/sass/helpers/other.scss +19 -0
  54. data/app/assets/stylesheets/sass/helpers/overflow.scss +21 -0
  55. data/app/assets/stylesheets/sass/helpers/position.scss +19 -0
  56. data/app/assets/stylesheets/sass/helpers/spacing.scss +64 -0
  57. data/app/assets/stylesheets/sass/helpers/typography.scss +168 -0
  58. data/app/assets/stylesheets/sass/helpers/visibility.scss +221 -0
  59. data/app/assets/stylesheets/sass/layout/_index.scss +9 -0
  60. data/app/assets/stylesheets/sass/layout/container.scss +51 -0
  61. data/app/assets/stylesheets/sass/layout/footer.scss +23 -0
  62. data/app/assets/stylesheets/sass/layout/hero.scss +270 -0
  63. data/app/assets/stylesheets/sass/layout/level.scss +107 -0
  64. data/app/assets/stylesheets/sass/layout/media.scss +106 -0
  65. data/app/assets/stylesheets/sass/layout/section.scss +34 -0
  66. data/app/assets/stylesheets/sass/themes/_index.scss +35 -0
  67. data/app/assets/stylesheets/sass/themes/dark.scss +56 -0
  68. data/app/assets/stylesheets/sass/themes/light.scss +145 -0
  69. data/app/assets/stylesheets/sass/themes/setup.scss +174 -0
  70. data/app/assets/stylesheets/sass/utilities/_index.scss +7 -0
  71. data/app/assets/stylesheets/sass/utilities/controls.scss +85 -0
  72. data/app/assets/stylesheets/sass/utilities/css-variables.scss +425 -0
  73. data/app/assets/stylesheets/sass/utilities/derived-variables.scss +86 -106
  74. data/app/assets/stylesheets/sass/utilities/extends.scss +34 -0
  75. data/app/assets/stylesheets/sass/utilities/functions.scss +258 -0
  76. data/app/assets/stylesheets/sass/utilities/initial-variables.scss +155 -0
  77. data/app/assets/stylesheets/sass/utilities/mixins.scss +460 -0
  78. data/bulma-rails.gemspec +4 -6
  79. metadata +80 -67
  80. data/app/assets/stylesheets/bulma.sass +0 -10
  81. data/app/assets/stylesheets/sass/base/_all.sass +0 -4
  82. data/app/assets/stylesheets/sass/base/generic.sass +0 -142
  83. data/app/assets/stylesheets/sass/base/helpers.sass +0 -1
  84. data/app/assets/stylesheets/sass/base/minireset.sass +0 -79
  85. data/app/assets/stylesheets/sass/components/_all.sass +0 -14
  86. data/app/assets/stylesheets/sass/components/breadcrumb.sass +0 -75
  87. data/app/assets/stylesheets/sass/components/card.sass +0 -79
  88. data/app/assets/stylesheets/sass/components/dropdown.sass +0 -81
  89. data/app/assets/stylesheets/sass/components/level.sass +0 -77
  90. data/app/assets/stylesheets/sass/components/media.sass +0 -52
  91. data/app/assets/stylesheets/sass/components/menu.sass +0 -57
  92. data/app/assets/stylesheets/sass/components/message.sass +0 -99
  93. data/app/assets/stylesheets/sass/components/modal.sass +0 -113
  94. data/app/assets/stylesheets/sass/components/navbar.sass +0 -441
  95. data/app/assets/stylesheets/sass/components/pagination.sass +0 -150
  96. data/app/assets/stylesheets/sass/components/panel.sass +0 -119
  97. data/app/assets/stylesheets/sass/components/tabs.sass +0 -174
  98. data/app/assets/stylesheets/sass/elements/_all.sass +0 -15
  99. data/app/assets/stylesheets/sass/elements/box.sass +0 -24
  100. data/app/assets/stylesheets/sass/elements/button.sass +0 -323
  101. data/app/assets/stylesheets/sass/elements/container.sass +0 -24
  102. data/app/assets/stylesheets/sass/elements/content.sass +0 -155
  103. data/app/assets/stylesheets/sass/elements/form.sass +0 -1
  104. data/app/assets/stylesheets/sass/elements/icon.sass +0 -21
  105. data/app/assets/stylesheets/sass/elements/image.sass +0 -71
  106. data/app/assets/stylesheets/sass/elements/notification.sass +0 -48
  107. data/app/assets/stylesheets/sass/elements/other.sass +0 -39
  108. data/app/assets/stylesheets/sass/elements/progress.sass +0 -67
  109. data/app/assets/stylesheets/sass/elements/table.sass +0 -129
  110. data/app/assets/stylesheets/sass/elements/tag.sass +0 -136
  111. data/app/assets/stylesheets/sass/elements/title.sass +0 -70
  112. data/app/assets/stylesheets/sass/form/_all.sass +0 -8
  113. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +0 -21
  114. data/app/assets/stylesheets/sass/form/file.sass +0 -180
  115. data/app/assets/stylesheets/sass/form/input-textarea.sass +0 -64
  116. data/app/assets/stylesheets/sass/form/select.sass +0 -85
  117. data/app/assets/stylesheets/sass/form/shared.sass +0 -55
  118. data/app/assets/stylesheets/sass/form/tools.sass +0 -213
  119. data/app/assets/stylesheets/sass/grid/_all.sass +0 -4
  120. data/app/assets/stylesheets/sass/grid/columns.sass +0 -504
  121. data/app/assets/stylesheets/sass/grid/tiles.sass +0 -34
  122. data/app/assets/stylesheets/sass/helpers/_all.sass +0 -10
  123. data/app/assets/stylesheets/sass/helpers/color.sass +0 -37
  124. data/app/assets/stylesheets/sass/helpers/float.sass +0 -8
  125. data/app/assets/stylesheets/sass/helpers/other.sass +0 -8
  126. data/app/assets/stylesheets/sass/helpers/overflow.sass +0 -2
  127. data/app/assets/stylesheets/sass/helpers/position.sass +0 -5
  128. data/app/assets/stylesheets/sass/helpers/spacing.sass +0 -28
  129. data/app/assets/stylesheets/sass/helpers/typography.sass +0 -98
  130. data/app/assets/stylesheets/sass/helpers/visibility.sass +0 -122
  131. data/app/assets/stylesheets/sass/layout/_all.sass +0 -5
  132. data/app/assets/stylesheets/sass/layout/footer.sass +0 -9
  133. data/app/assets/stylesheets/sass/layout/hero.sass +0 -145
  134. data/app/assets/stylesheets/sass/layout/section.sass +0 -13
  135. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -8
  136. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -5
  137. data/app/assets/stylesheets/sass/utilities/controls.sass +0 -50
  138. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -115
  139. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +0 -78
  140. data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -285
@@ -1,142 +0,0 @@
1
- $body-background-color: $scheme-main !default
2
- $body-size: 16px !default
3
- $body-min-width: 300px !default
4
- $body-rendering: optimizeLegibility !default
5
- $body-family: $family-primary !default
6
- $body-overflow-x: hidden !default
7
- $body-overflow-y: scroll !default
8
-
9
- $body-color: $text !default
10
- $body-font-size: 1em !default
11
- $body-weight: $weight-normal !default
12
- $body-line-height: 1.5 !default
13
-
14
- $code-family: $family-code !default
15
- $code-padding: 0.25em 0.5em 0.25em !default
16
- $code-weight: normal !default
17
- $code-size: 0.875em !default
18
-
19
- $small-font-size: 0.875em !default
20
-
21
- $hr-background-color: $background !default
22
- $hr-height: 2px !default
23
- $hr-margin: 1.5rem 0 !default
24
-
25
- $strong-color: $text-strong !default
26
- $strong-weight: $weight-bold !default
27
-
28
- $pre-font-size: 0.875em !default
29
- $pre-padding: 1.25rem 1.5rem !default
30
- $pre-code-font-size: 1em !default
31
-
32
- html
33
- background-color: $body-background-color
34
- font-size: $body-size
35
- -moz-osx-font-smoothing: grayscale
36
- -webkit-font-smoothing: antialiased
37
- min-width: $body-min-width
38
- overflow-x: $body-overflow-x
39
- overflow-y: $body-overflow-y
40
- text-rendering: $body-rendering
41
- text-size-adjust: 100%
42
-
43
- article,
44
- aside,
45
- figure,
46
- footer,
47
- header,
48
- hgroup,
49
- section
50
- display: block
51
-
52
- body,
53
- button,
54
- input,
55
- select,
56
- textarea
57
- font-family: $body-family
58
-
59
- code,
60
- pre
61
- -moz-osx-font-smoothing: auto
62
- -webkit-font-smoothing: auto
63
- font-family: $code-family
64
-
65
- body
66
- color: $body-color
67
- font-size: $body-font-size
68
- font-weight: $body-weight
69
- line-height: $body-line-height
70
-
71
- // Inline
72
-
73
- a
74
- color: $link
75
- cursor: pointer
76
- text-decoration: none
77
- strong
78
- color: currentColor
79
- &:hover
80
- color: $link-hover
81
-
82
- code
83
- background-color: $code-background
84
- color: $code
85
- font-size: $code-size
86
- font-weight: $code-weight
87
- padding: $code-padding
88
-
89
- hr
90
- background-color: $hr-background-color
91
- border: none
92
- display: block
93
- height: $hr-height
94
- margin: $hr-margin
95
-
96
- img
97
- height: auto
98
- max-width: 100%
99
-
100
- input[type="checkbox"],
101
- input[type="radio"]
102
- vertical-align: baseline
103
-
104
- small
105
- font-size: $small-font-size
106
-
107
- span
108
- font-style: inherit
109
- font-weight: inherit
110
-
111
- strong
112
- color: $strong-color
113
- font-weight: $strong-weight
114
-
115
- // Block
116
-
117
- fieldset
118
- border: none
119
-
120
- pre
121
- +overflow-touch
122
- background-color: $pre-background
123
- color: $pre
124
- font-size: $pre-font-size
125
- overflow-x: auto
126
- padding: $pre-padding
127
- white-space: pre
128
- word-wrap: normal
129
- code
130
- background-color: transparent
131
- color: currentColor
132
- font-size: $pre-code-font-size
133
- padding: 0
134
-
135
- table
136
- td,
137
- th
138
- vertical-align: top
139
- &:not([align])
140
- text-align: inherit
141
- th
142
- color: $text-strong
@@ -1 +0,0 @@
1
- @warn "The helpers.sass file is DEPRECATED. It has moved into its own /helpers folder. Please import sass/helpers/_all instead."
@@ -1,79 +0,0 @@
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: inherit
@@ -1,14 +0,0 @@
1
- @charset "utf-8"
2
-
3
- @import "breadcrumb.sass"
4
- @import "card.sass"
5
- @import "dropdown.sass"
6
- @import "level.sass"
7
- @import "media.sass"
8
- @import "menu.sass"
9
- @import "message.sass"
10
- @import "modal.sass"
11
- @import "navbar.sass"
12
- @import "pagination.sass"
13
- @import "panel.sass"
14
- @import "tabs.sass"
@@ -1,75 +0,0 @@
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
- +ltr-property("padding", 0, false)
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
- +ltr-property("margin", 0.5em)
45
- &:last-child
46
- +ltr-property("margin", 0.5em, false)
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"
@@ -1,79 +0,0 @@
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
- +ltr-property("border", $card-footer-border-top)
74
-
75
- // Combinations
76
-
77
- .card
78
- .media:not(:last-child)
79
- margin-bottom: $card-media-margin
@@ -1,81 +0,0 @@
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
- +ltr-position(0, false)
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
- +ltr-property("padding", 3rem)
66
- text-align: inherit
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
@@ -1,77 +0,0 @@
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
- +ltr-property("margin", $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
- +ltr-property("margin", $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
@@ -1,52 +0,0 @@
1
- $media-border-color: bulmaRgba($border, 0.5) !default
2
- $media-spacing: 1rem
3
- $media-spacing-large: 1.5rem
4
-
5
- .media
6
- align-items: flex-start
7
- display: flex
8
- text-align: inherit
9
- .content:not(:last-child)
10
- margin-bottom: 0.75rem
11
- .media
12
- border-top: 1px solid $media-border-color
13
- display: flex
14
- padding-top: 0.75rem
15
- .content:not(:last-child),
16
- .control:not(:last-child)
17
- margin-bottom: 0.5rem
18
- .media
19
- padding-top: 0.5rem
20
- & + .media
21
- margin-top: 0.5rem
22
- & + .media
23
- border-top: 1px solid $media-border-color
24
- margin-top: $media-spacing
25
- padding-top: $media-spacing
26
- // Sizes
27
- &.is-large
28
- & + .media
29
- margin-top: $media-spacing-large
30
- padding-top: $media-spacing-large
31
-
32
- .media-left,
33
- .media-right
34
- flex-basis: auto
35
- flex-grow: 0
36
- flex-shrink: 0
37
-
38
- .media-left
39
- +ltr-property("margin", $media-spacing)
40
-
41
- .media-right
42
- +ltr-property("margin", $media-spacing, false)
43
-
44
- .media-content
45
- flex-basis: auto
46
- flex-grow: 1
47
- flex-shrink: 1
48
- text-align: inherit
49
-
50
- +mobile
51
- .media-content
52
- overflow-x: auto
@@ -1,57 +0,0 @@
1
- $menu-item-color: $text !default
2
- $menu-item-radius: $radius-small !default
3
- $menu-item-hover-color: $text-strong !default
4
- $menu-item-hover-background-color: $background !default
5
- $menu-item-active-color: $link-invert !default
6
- $menu-item-active-background-color: $link !default
7
-
8
- $menu-list-border-left: 1px solid $border !default
9
- $menu-list-line-height: 1.25 !default
10
- $menu-list-link-padding: 0.5em 0.75em !default
11
- $menu-nested-list-margin: 0.75em !default
12
- $menu-nested-list-padding-left: 0.75em !default
13
-
14
- $menu-label-color: $text-light !default
15
- $menu-label-font-size: 0.75em !default
16
- $menu-label-letter-spacing: 0.1em !default
17
- $menu-label-spacing: 1em !default
18
-
19
- .menu
20
- font-size: $size-normal
21
- // Sizes
22
- &.is-small
23
- font-size: $size-small
24
- &.is-medium
25
- font-size: $size-medium
26
- &.is-large
27
- font-size: $size-large
28
-
29
- .menu-list
30
- line-height: $menu-list-line-height
31
- a
32
- border-radius: $menu-item-radius
33
- color: $menu-item-color
34
- display: block
35
- padding: $menu-list-link-padding
36
- &:hover
37
- background-color: $menu-item-hover-background-color
38
- color: $menu-item-hover-color
39
- // Modifiers
40
- &.is-active
41
- background-color: $menu-item-active-background-color
42
- color: $menu-item-active-color
43
- li
44
- ul
45
- +ltr-property("border", $menu-list-border-left, false)
46
- margin: $menu-nested-list-margin
47
- +ltr-property("padding", $menu-nested-list-padding-left, false)
48
-
49
- .menu-label
50
- color: $menu-label-color
51
- font-size: $menu-label-font-size
52
- letter-spacing: $menu-label-letter-spacing
53
- text-transform: uppercase
54
- &:not(:first-child)
55
- margin-top: $menu-label-spacing
56
- &:not(:last-child)
57
- margin-bottom: $menu-label-spacing