Sha256: 50cb20f2d8bf90114fe3067f37731ab43488519eb2f68b493d4aaabd1ecc37eb

Contents?: true

Size: 1.11 KB

Versions: 9

Compression:

Stored size: 1.11 KB

Contents

$mtFont:        bold 13px/1em sans-serif
$mtBackground:  beige
$mtColor:       black
$mtTextShadow:  1px 1px 0 white
$mtBoxShadow:   1px 1px 0 #333
$mtOpacity:     .75

@mixin transition($styles)
  -webkit-transition: $styles
  -moz-transition: $styles
  -o-transition: $styles
  -ms-transition: $styles
  transition: $styles

@mixin transform($styles)
  -webkit-transform: $styles
  -moz-transform: $styles
  -o-transform: $styles
  -ms-transform: $styles
  transform: $styles

.mt-hotkey-el
  position: relative
a[data-keybinding]
  .mt-hotkey-hint
    display: block
    float: right
    position: absolute
    top: -4px
    right: -4px
    z-index: 999
    font: $mtFont
    text-decoration: none
    text-indent: 0
    text-align: center
    vertical-align: center
    margin: 0
    padding: 0.3ex 0.7ex
    background: $mtBackground
    color: $mtColor
    text-shadow: $mtTextShadow
    box-shadow: $mtBoxShadow
    border-radius: 5px
    border: 1px solid #888
    opacity: $mtOpacity
    @include transition(all .15s linear)
    &:hover
      background: white
      opacity: $mtOpacity + 0.25
      @include transform(scale(1.20))

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mousetrap-rails-1.4.6 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.12 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.11 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.10 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.9 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.8 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.7 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.6 app/assets/stylesheets/mousetrap.css.sass
mousetrap-rails-0.0.5 app/assets/stylesheets/mousetrap.css.sass