Skip to content
Snippets Groups Projects
lbdesign_button_shortcode.scss 1.52 KiB
Newer Older
  • Learn to ignore specific revisions
  • $default: #777;
    $primary: #226CFF;
    $warning: #FF2247;
    $info: #FFDA22;
    $action: #4FBE00;
    $highlight: #FFB624;
    
    
    Lauren's avatar
    Lauren committed
    /* DEFAULT button shortcode styles */
    
    .lbdesign_button,
    .lbdesign_button:hover,
    .lbdesign_button:focus,
    .lbdesign_button:active,
    .lbdesign_button.active {
      text-decoration: none;
    }
    
    Lauren's avatar
    Lauren committed
        display: inline-block;
    
        line-height: inherit;
        border-bottom: none;
    
    Lauren's avatar
    Lauren committed
    
        &:hover,
        &:focus {
            background: darken(#777, 10%);
            color: #fff;
        }
    
    /* SIZES */
    .lbdesign_small {
        font-size: 85%;
    }
    .lbdesign_large {
        font-size: 115%;
    }
    .lbdesign_xlarge {
      font-size: 125%;
    }
    
    /* TYPES */
    .lbdesign_primary {
        background: $primary;
        &:hover,
        &:focus {
            background: darken($primary, 10%);
    
    Lauren's avatar
    Lauren committed
        }
    
    }
    .lbdesign_warning {
        background: $warning;
        &:hover,
        &:focus {
            background: darken($warning, 10%);
    
    Lauren's avatar
    Lauren committed
        }
    
    }
    .lbdesign_highlight {
      background: $highlight;
      &:hover,
      &:focus {
        background: darken($highlight, 10%);
      }
    }
    .lbdesign_info {
        background: $info;
        &:hover,
        &:focus {
            background: darken($info, 10%);
    
    Lauren's avatar
    Lauren committed
        }
    
    }
    .lbdesign_action {
        background: $action;
        &:hover,
        &:focus {
            background: darken($action, 10%);
    
    Lauren's avatar
    Lauren committed
        }
    
    
    /* STYLES */
    .lbdesign_rounded {
      border-radius: 0.3125em;
    }
    .lbdesign_pill {
      border-radius: 2em;
    }
    .lbdesign_block {
      display: block;
      text-align: center;
    }
    .lbdesign_full_width {
        display: block;
        width: 100%;
        text-align: center;
    
    Lauren's avatar
    Lauren committed
    }