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.243 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.242 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.241 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.240 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.239 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.2 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.1 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.238 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.237 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.236 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.235 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.234 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.233 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.232 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.231 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.230 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.229 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.228 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.227 app/assets/stylesheets/modules/_categories_dropdown.sass
smock-0.1.226 app/assets/stylesheets/modules/_categories_dropdown.sass