CSS-Sass

 view release on metacpan or  search on metacpan

t/sass-spec/benchmarks/vanilla_css_huge.scss  view on Meta::CPAN

 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;

t/sass-spec/benchmarks/vanilla_css_huge.scss  view on Meta::CPAN

  display: inline-block; }
  @media screen and (min-width: 960px) {
    .customer-list-item {
      width: 33%;
      text-align: left;
      vertical-align: top; } }

.customer-filter {
  display: block;
  list-style: none;
  cursor: pointer; }
  .customer-filter:hover {
    color: #049fde; }
  @media screen and (min-width: 960px) {
    .customer-filter {
      padding: 0 15px;
      float: left;
      border-left: 1px solid #dddddd; }
      .customer-filter:first-child {
        padding-left: 0;
        border-left: 0; } }

t/sass-spec/benchmarks/vanilla_css_huge.scss  view on Meta::CPAN

      float: none;
      display: inline-block;
      width: auto;
      padding: 0 0 0 30px;
      position: relative; } }
  .main-footer-navlist > .menu-item > a, .main-footer-navlist > .menu-item > a:visited, .main-footer-navlist > .menu-item > a:link {
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    margin-bottom: 10px;
    cursor: default; }
  .main-footer-navlist > .menu-item > a:hover, .main-footer-navlist > .menu-item a:active {
    color: white;
    opacity: 1; }

.main-footer-navlist > .menu-item:nth-child(1) {
  float: left; }
  @media screen and (min-width: 960px) {
    .main-footer-navlist > .menu-item:nth-child(1) {
      float: none; } }

t/sass-spec/spec/libsass/bourbon/lib/addons/_button.scss  view on Meta::CPAN

      @include shiny($base-color);
    }

    @else if $style == pill {
      @include pill($base-color);
    }
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}


// Simple Button
//************************************************************************//
@mixin simple($base-color, $grayscale: false) {
  $color:         hsl(0, 0, 100%);
  $border:        adjust-color($base-color, $saturation:  9%,  $lightness: -14%);
  $inset-shadow:  adjust-color($base-color, $saturation: -8%,  $lightness:  15%);

t/sass-spec/spec/libsass/bourbon/lib/addons/_button.scss  view on Meta::CPAN

    $inset-shadow-hover:  adjust-color($base-color, $saturation: -7%, $lightness:  5%);
    $stop-gradient-hover: adjust-color($base-color, $saturation:  8%, $lightness: -14%);

    @if $grayscale == true {
      $base-color-hover:    grayscale($base-color-hover);
      $inset-shadow-hover:  grayscale($inset-shadow-hover);
      $stop-gradient-hover: grayscale($stop-gradient-hover);
    }

    box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
    cursor: pointer;
    @include linear-gradient ($base-color-hover, $stop-gradient-hover);
  }

  &:active:not(:disabled) {
    $border-active:       adjust-color($base-color, $saturation: 9%, $lightness: -14%);
    $inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);

    @if $grayscale == true {
      $border-active:       grayscale($border-active);
      $inset-shadow-active: grayscale($inset-shadow-active);

t/sass-spec/spec/libsass/bourbon/lib/addons/_button.scss  view on Meta::CPAN

    $third-stop-hover:  adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
    $fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);

    @if $grayscale == true {
      $first-stop-hover:  grayscale($first-stop-hover);
      $second-stop-hover: grayscale($second-stop-hover);
      $third-stop-hover:  grayscale($third-stop-hover);
      $fourth-stop-hover: grayscale($fourth-stop-hover);
    }

    cursor: pointer;
    @include linear-gradient(top, $first-stop-hover  0%,
                                  $second-stop-hover 50%,
                                  $third-stop-hover  50%,
                                  $fourth-stop-hover 100%);
  }

  &:active:not(:disabled) {
    $inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);

    @if $grayscale == true {

t/sass-spec/spec/libsass/bourbon/lib/addons/_button.scss  view on Meta::CPAN

      $border-sides:        grayscale($border-sides);
      $border-top:          grayscale($border-top);
      $inset-shadow-hover:  grayscale($inset-shadow-hover);
      $stop-gradient-hover: grayscale($stop-gradient-hover);
      $text-shadow-hover:   grayscale($text-shadow-hover);
    }

    border: 1px solid $border-top;
    border-color: $border-top $border-sides $border-bottom;
    box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
    cursor: pointer;
    @include linear-gradient ($base-color-hover, $stop-gradient-hover);
    text-shadow: 0 -1px 1px $text-shadow-hover;
    background-clip: padding-box;
  }

  &:active:not(:disabled) {
    $active-color:         adjust-color($base-color, $hue: 4,  $saturation: -12%,  $lightness: -10%);
    $border-active:        adjust-color($base-color, $hue: 6,  $saturation: -2.5%, $lightness: -30%);
    $border-bottom-active: adjust-color($base-color, $hue: 11, $saturation:  6%,   $lightness: -31%);
    $inset-shadow-active:  adjust-color($base-color, $hue: 9,  $saturation:  2%,   $lightness: -21.5%);



( run in 0.233 second using v1.01-cache-2.11-cpan-4d50c553e7e )