PHP Classes

File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_button-labels.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro   PHP Small Server Administrator   SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_button-labels.scss   Download  
File: SmallServerAdmin/Content/scss/libs/jasny-bootstrap/_button-labels.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 8 years ago
Size: 1,092 bytes
 

Contents

Class file image Download
// Labels for buttons // -------------------------------------------------- @mixin button-label-size($padding-vertical, $padding-horizontal, $border-radius) { padding: $padding-vertical $padding-horizontal; left: (-1 * $padding-horizontal); border-radius: ($border-radius - 1px) 0 0 ($border-radius - 1px); &.btn-label-right { left: auto; right: (-1 * $padding-horizontal); border-radius: 0 ($border-radius - 1px) ($border-radius - 1px) 0; } } .btn-labeled { padding-top: 0; padding-bottom: 0; } .btn-label { position: relative; background: transparent; background: rgba(0, 0, 0, 0.15); display: inline-block; @include button-label-size($padding-base-vertical, $padding-base-horizontal, $border-radius-base); } .btn-lg .btn-label { @include button-label-size($padding-large-vertical, $padding-large-horizontal, $border-radius-large); } .btn-sm .btn-label { @include button-label-size($padding-small-vertical, $padding-small-horizontal, $border-radius-small); } .btn-xs .btn-label { @include button-label-size(1px, 5px, $border-radius-small); }