Sha256: 09b22eb4e4f5ece8e1fb4c1df4b51c7dfad67f91b42633249ffa0b5344081faf

Contents?: true

Size: 1.4 KB

Versions: 125

Compression:

Stored size: 1.4 KB

Contents

$level-item-spacing: ($block-spacing / 2) !default

.level
  @extend %block
  align-items: center
  justify-content: space-between
  code
    border-radius: $radius
  img
    display: inline-block
    vertical-align: top
  // Modifiers
  &.is-mobile
    display: flex
    .level-left,
    .level-right
      display: flex
    .level-left + .level-right
      margin-top: 0
    .level-item
      &:not(:last-child)
        margin-bottom: 0
        margin-right: $level-item-spacing
      &:not(.is-narrow)
        flex-grow: 1
  // Responsiveness
  +tablet
    display: flex
    & > .level-item
      &:not(.is-narrow)
        flex-grow: 1

.level-item
  align-items: center
  display: flex
  flex-basis: auto
  flex-grow: 0
  flex-shrink: 0
  justify-content: center
  .title,
  .subtitle
    margin-bottom: 0
  // Responsiveness
  +mobile
    &:not(:last-child)
      margin-bottom: $level-item-spacing

.level-left,
.level-right
  flex-basis: auto
  flex-grow: 0
  flex-shrink: 0
  .level-item
    // Modifiers
    &.is-flexible
      flex-grow: 1
    // Responsiveness
    +tablet
      &:not(:last-child)
        margin-right: $level-item-spacing

.level-left
  align-items: center
  justify-content: flex-start
  // Responsiveness
  +mobile
    & + .level-right
      margin-top: 1.5rem
  +tablet
    display: flex

.level-right
  align-items: center
  justify-content: flex-end
  // Responsiveness
  +tablet
    display: flex

Version data entries

125 entries across 125 versions & 9 rubygems

Version Path
intia-theme-0.1.32 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.31 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.30 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.29 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.27 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.26 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.25 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.24 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.23 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.22 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.21 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.20 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.19 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.18 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.17 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.16 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.15 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.14 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
intia-theme-0.1.13 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass
bulma-clean-theme-0.12 node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass