Sha256: aeb43f8d107bc137990d106f7c3afc21adabd5c3ee29f7cee1d008d391deb3f3

Contents?: true

Size: 1.25 KB

Versions: 50

Compression:

Stored size: 1.25 KB

Contents

.category-dropdown
  position: relative

.category-dropdown__control
  display: block
  cursor: pointer

.category-dropdown__control__caret
  +space(width, 0.5)
  +space(height, 0.5)
  +space(line-height)
  display: inline-block
  background-repeat: no-repeat
  background-size: contain
  background-position: center

.category-dropdown:hover
  .category-dropdown__categories
    +space(height, 17)

.category-dropdown__categories
  height: 0
  width: 320px
  +space(padding-left)
  +space(padding-right)
  +space(margin-left, -1)
  border-radius: $border-radius
  position: absolute
  left: 0
  +clearfix
  overflow: hidden
  +transition( height 0.05s ease-in)

.category-dropdown__categories--expanded
  width: 590px

.category-dropdown__categories__list
  +space(min-height, 9)
  +space(margin-top, 0.5)
  +space(margin-bottom, 0.5)
  width: 100%
  float: left
  > li
    +clearfix
    > a
      display: block
      float: left

.category-dropdown__categories__more
  width: 45%
  clear: left
  float: left

.category-dropdown__categories__item__subcategories
  display: none
  position: absolute
  top: 0
  right: 0
  width: 45%
  height: 100%
  +space(padding)
  background: $gray-lightest2
  border-top-right-radius: $border-radius
  border-bottom-right-radius: $border-radius

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
smock-0.1.265 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.264 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.263 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.262 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.261 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.260 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.259 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.258 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.256 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.255 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.254 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.253 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.252 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.251 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.250 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.249 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.247 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.246 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.245 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.244 app/assets/stylesheets/modules/_categories_dropdown.sass