Sha256: 070b765f2c3fb51f735f79d9976a52f702cf462039bf78f3bedadcc3afbb1ecc

Contents?: true

Size: 1.4 KB

Versions: 11

Compression:

Stored size: 1.4 KB

Contents

// button option
[class*="is-button"]
  +button-base
  white-space: nowrap
  &[class*="xs"]
    -webkit-font-smoothing: subpixel-antialiased
  &.has-image
    height: auto
  &.is-block-sm-down
    +media-breakpoint-down(sm)
      display: flex
      width: 100%
  .is-button-note
    +inline-block
    font-size: .75rem
    margin-left: .375rem
  &.is-block
    display: flex
    width: 100%
    &[type="button"],
    &[type="reset"],
    &[type="submit"]
      display: block
    select
      display: block
      width: 100%
  &.is-radio,
  &.is-checkbox
    display: block
    input
      opacity: 0
      +position(absolute)
    &.is-checked
      &:after
        opacity: 1
  &.is-radio
    &:before
      border-radius: 50%
  &.is-checkbox
    &:before
      border-radius: .1875rem
  &.is-no-move
    &:active,
    &.is-checked
      top: 0
  &.is-disabled,
  &:disabled
    pointer-events: none
    cursor: default
    select
      cursor: default
  &.is-select
    select
      vertical-align: middle
      font-size: inherit
      color: inherit
      cursor: pointer
  &.is-multi-lines
    height: auto
    line-height: 1.45

button[class*="is-button"]
  display: inline-block
  &.is-block
    display: block


// button-group
.is-button-group
  font-size: 0
  >li
    display: inline-block
    letter-spacing: normal
    font-size: 0
  @for $i from 1 through 12
    &.is-#{$i}-items
      >li
        width: 100% / $i

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
oulu-0.12.33 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.32 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.31 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.30 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.29 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.28 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.27 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.26 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.25 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.24 app/assets/stylesheets/modules/buttons/_button-helper.sass
oulu-0.12.23 app/assets/stylesheets/modules/buttons/_button-helper.sass