Sha256: f358205690104a2b608b21f648f5a2635f52cc3e6844f2277a9fa90e71b6018c

Contents?: true

Size: 1.03 KB

Versions: 11

Compression:

Stored size: 1.03 KB

Contents

$control-radius: $radius !default
$control-radius-small: $radius-small !default

$control-padding-vertical: calc(0.375em - 1px) !default
$control-padding-horizontal: calc(0.625em - 1px) !default

=control
  -moz-appearance: none
  -webkit-appearance: none
  align-items: center
  border: 1px solid transparent
  border-radius: $control-radius
  box-shadow: none
  display: inline-flex
  font-size: $size-normal
  height: 2.25em
  justify-content: flex-start
  line-height: 1.5
  padding-bottom: $control-padding-vertical
  padding-left: $control-padding-horizontal
  padding-right: $control-padding-horizontal
  padding-top: $control-padding-vertical
  position: relative
  vertical-align: top
  // States
  &:focus,
  &.is-focused,
  &:active,
  &.is-active
    outline: none
  &[disabled]
    cursor: not-allowed

// The controls sizes use mixins so they can be used at different breakpoints
=control-small
  border-radius: $control-radius-small
  font-size: $size-small
=control-medium
  font-size: $size-medium
=control-large
  font-size: $size-large

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
bulma-sass-0.6.2 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.6.2 app/assets/stylesheets/sass/utilities/controls.sass
diproart-bulma-rails-0.6.1.pre.3 vendor/assets/stylesheets/bulma/sass/utilities/controls.sass
bulma-rails-0.6.1 app/assets/stylesheets/sass/utilities/controls.sass
bulma-sass-0.6.0 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.6.0 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.5.3 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.5.2 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.5.1 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.4.3 app/assets/stylesheets/sass/utilities/controls.sass
bulma-rails-0.4.2 app/assets/stylesheets/sass/utilities/controls.sass