Sha256: f2805c7bc348d9a906cd8c6a5f066568172f1335de632e745e74bc9f59af8c6f

Contents?: true

Size: 1018 Bytes

Versions: 26

Compression:

Stored size: 1018 Bytes

Contents

// Solar 5.1.3
// Bootswatch


// Variables

$web-font-path: "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;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;
      }
    }
  }
}

// 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;
      }
    }
  }

  &-light {
    &,
    a:not(.btn),
    .alert-link {
      color: $body-bg;
    }
  }
}


.badge {
  &.bg-light {
    color: $dark;
  }
}

Version data entries

26 entries across 13 versions & 1 rubygems

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