Sha256: ec559e1d1db539a5d4fcd4cbdaf3f51ca24b2d942f6a10a334953f350348df09

Contents?: true

Size: 1.41 KB

Versions: 45

Compression:

Stored size: 1.41 KB

Contents

//
// buttons.scss
// Extended from Bootstrap
//


//
// Dashkit ===================================
//

// Button white

.btn-white {
  border-color: $gray-300;

  @include hover-focus {
    background-color: $gray-100;
    border-color: $gray-400;
  }
}

.btn-group-toggle .btn-white:not(:disabled):not(.disabled):active,
.btn-group-toggle .btn-white:not(:disabled):not(.disabled).active {
  background-color: $input-bg;
  border-color: $input-focus-border-color;
  color: $primary;
}

.btn-group-toggle .btn-white:focus,
.btn-group-toggle .btn-white.focus {
  box-shadow: none;
}


// Button outline secondary

.btn-outline-secondary {
  &:not(:hover):not([aria-expanded="true"]):not([aria-pressed="true"]){
    border-color: $gray-400;
  }
}


// Button rounded
//
// Creates circle button variations

.btn-rounded-circle {
  width: calc(1em * #{$btn-line-height} + #{$input-btn-padding-y * 2 } + #{$btn-border-width} * 2);
  padding-left: 0;
  padding-right: 0;
  border-radius: 50%;
}
.btn-rounded-circle.btn-lg {
  width: calc(1em * #{$btn-line-height-lg} + #{$input-btn-padding-y-lg * 2 } + #{$btn-border-width} * 2);
}
.btn-rounded-circle.btn-sm {
  width: calc(1em * #{$btn-line-height-sm} + #{$input-btn-padding-y-sm * 2 } + #{$btn-border-width} * 2);
}


// Button group
//
// Prevent buttons from jittering on hover

.btn-group .btn + .btn {
  margin-left: 0;
}

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
viniBaxter-desk_front-300.0.12 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.11 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.10 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.8 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.7 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.6 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.4 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.2 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-300.0.1 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-200.0.1 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-100.0.1 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-40.3.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-40.2.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-40.1.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-40.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-39.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-38.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-37.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-36.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss
viniBaxter-desk_front-35.0.0 lib/viniBaxter/sass/desk_front/dashkit/_buttons.scss