Sha256: 8531b951c863cda9dcb4d9bd3c22e86bc9b72d872c6b8791f611a1f0db9d3401

Contents?: true

Size: 1.91 KB

Versions: 50

Compression:

Stored size: 1.91 KB

Contents

$dropdown-content-background-color: $white !default
$dropdown-content-arrow: $link !default
$dropdown-content-offset: 4px !default
$dropdown-content-radius: $radius !default
$dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
$dropdown-content-z: 20 !default

$dropdown-item-color: $grey-dark !default
$dropdown-item-hover-color: $black !default
$dropdown-item-hover-background-color: $background !default
$dropdown-item-active-color: $link-invert !default
$dropdown-item-active-background-color: $link !default

$dropdown-divider-background-color: $border !default

.dropdown
  display: inline-flex
  position: relative
  vertical-align: top
  &.is-active,
  &.is-hoverable:hover
    .dropdown-menu
      display: block
  &.is-right
    .dropdown-menu
      left: auto
      right: 0
  &.is-up
    .dropdown-menu
      bottom: 100%
      padding-bottom: $dropdown-content-offset
      padding-top: initial
      top: auto

.dropdown-menu
  display: none
  left: 0
  min-width: 12rem
  padding-top: $dropdown-content-offset
  position: absolute
  top: 100%
  z-index: $dropdown-content-z

.dropdown-content
  background-color: $dropdown-content-background-color
  border-radius: $dropdown-content-radius
  box-shadow: $dropdown-content-shadow
  padding-bottom: 0.5rem
  padding-top: 0.5rem

.dropdown-item
  color: $dropdown-item-color
  display: block
  font-size: 0.875rem
  line-height: 1.5
  padding: 0.375rem 1rem
  position: relative

a.dropdown-item,
button.dropdown-item
  padding-right: 3rem
  text-align: left
  white-space: nowrap
  width: 100%
  &:hover
    background-color: $dropdown-item-hover-background-color
    color: $dropdown-item-hover-color
  &.is-active
    background-color: $dropdown-item-active-background-color
    color: $dropdown-item-active-color

.dropdown-divider
  background-color: $dropdown-divider-background-color
  border: none
  display: block
  height: 1px
  margin: 0.5rem 0

Version data entries

50 entries across 50 versions & 5 rubygems

Version Path
okf-pub-theme-0.2.24 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.23 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.22 _sass/_bulma-0.7.4/sass/components/dropdown.sass
authz-0.0.5 app/assets/stylesheets/authz/bulma/components/dropdown.sass
authz-0.0.4 app/assets/stylesheets/authz/bulma/components/dropdown.sass
bulma-sass-0.7.4 app/assets/stylesheets/sass/components/dropdown.sass
bulma-sass-0.7.3.1 app/assets/stylesheets/sass/components/dropdown.sass
okf-pub-theme-0.2.21 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.20 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.19 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.18 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.17 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.16 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.15 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.14 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.13 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.11 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.10 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.9 _sass/_bulma-0.7.4/sass/components/dropdown.sass
okf-pub-theme-0.2.8 _sass/_bulma-0.7.4/sass/components/dropdown.sass