Sha256: efc7b338a45b0ed4505703f915c7b7be4c3edf00bade7b397bf920fc3b3da5c3

Contents?: true

Size: 1.91 KB

Versions: 26

Compression:

Stored size: 1.91 KB

Contents

// Superhero 5.1.3
// Bootswatch


// Variables

$web-font-path: "https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" !default;
@if $web-font-path {
  @import url($web-font-path);
}

// Buttons

.btn {
  @each $color, $value in $theme-colors {
    &-#{$color} {
      @if $enable-gradients {
        background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
      } @else {
        background-color: $value;
      }
    }
  }
}

// Typography

.dropdown-menu {
  font-size: $font-size-sm;
}

.dropdown-header {
  font-size: $font-size-sm;
}

.blockquote-footer {
  color: $body-color;
}

// Tables

.table {
  font-size: $font-size-sm;

  .thead-dark th {
    color: $white;
  }

  a:not(.btn) {
    color: $white;
    text-decoration: underline;
  }

  .dropdown-menu a {
    text-decoration: none;
  }

  .text-muted {
    color: $text-muted;
  }
}

// Forms

label,
.radio label,
.checkbox label,
.help-block {
  font-size: $font-size-sm;
}

.form-floating {
  label {
    color: $input-placeholder-color;
  }
}

// Navs

.nav-tabs,
.nav-pills {
  .nav-link,
  .nav-link:hover {
    color: $body-color;
  }

  .nav-link.disabled {
    color: $nav-link-disabled-color;
  }
}

.page-link:hover,
.page-link:focus {
  color: $white;
  text-decoration: none;
}

// Indicators

.alert {
  border: none;
  color: $white;

  a,
  .alert-link {
    color: $white;
    text-decoration: underline;
  }

  @each $color, $value in $theme-colors {
    &-#{$color} {
      @if $enable-gradients {
        background: $value linear-gradient(180deg, mix($white, $value, 15%), $value) repeat-x;
      } @else {
        background-color: $value;
      }
    }
  }
}

.badge {
  &-warning,
  &-info {
    color: $white;
  }
}

// Popovers

.popover-header {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

// Containers

.modal {
  &-header,
  &-footer {
    background-color: $table-hover-bg;
  }
}

Version data entries

26 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.18.1 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.4 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.3 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/dist/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/5/superhero/_bootswatch.scss
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/dist/superhero/_bootswatch.scss