Sha256: 1036465500013712372c949660e93295e3be3fe775f0dc6a16d298d2f45f0752

Contents?: true

Size: 1.53 KB

Versions: 52

Compression:

Stored size: 1.53 KB

Contents

/* Container
_________________________________________________________________ */

.btn-group {
  position: relative;
  display: inline-block;
  font-size: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.btn-group + .btn-group {
  margin-left: 5px;
}

/* Buttons
_________________________________________________________________ */

.btn-group > .btn {
  position: relative;
  @include border-radius(0);
  // border: 1px solid $defaultBorderColor;
}

.btn-group > .btn + .btn {
  margin-left: -1px;
}

.btn-group > .btn,
.btn-group > .dropdown-menu,
.btn-group > .popover {
  font-size: $baseFontSize;
}

.btn-group > .btn:first-child {
  margin-left: 0;
  @include border-top-left-radius($defaultBorderRadius);
  @include border-bottom-left-radius($defaultBorderRadius);
}

.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
  @include border-top-right-radius($defaultBorderRadius);
  @include border-bottom-right-radius($defaultBorderRadius);
}

.btn-group > .btn.large:first-child {
  margin-left: 0;
  @include border-top-left-radius($defaultBorderRadiusLarge);
  @include border-bottom-left-radius($defaultBorderRadiusLarge);
}

.btn-group > .btn.large:last-child,
.btn-group > .large.dropdown-toggle {
  @include border-top-right-radius($defaultBorderRadiusLarge);
  @include border-bottom-right-radius($defaultBorderRadiusLarge);
}

.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active {
  z-index: 2;
}

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
atlas_assets-0.8.13 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.12 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.11 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.10 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.9 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.8 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.7 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.6 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.5 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.4 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.3 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.2 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.1 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.8.0 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.7.3 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.7.2 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.7.1 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.7.0 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.6.10 lib/assets/stylesheets/atlas_assets/_button-groups.scss
atlas_assets-0.6.9 lib/assets/stylesheets/atlas_assets/_button-groups.scss