Sha256: 5ceae16e5cd92877e68e5dd04b73ef0a392020e5aee43a4d8b3be7d4d5b4345b

Contents?: true

Size: 1.24 KB

Versions: 23

Compression:

Stored size: 1.24 KB

Contents

// Specific styles for entity branding

.btn-primary {
  color: color-yiq($primary);
  background-color: $primary;
  border-color: $primary;
  &:hover {
    color: color-yiq(darken($primary, 10%));
    background-color: darken($primary, 10%);
    border-color: darken($primary, 10%);
  }
  &.disabled,
  &:disabled,
  &:not(:disabled):not(.disabled):active,
  &:not(:disabled):not(.disabled).active,
  .show > &.dropdown-toggle {
    color: color-yiq($primary);
    background-color: $primary;
    border-color: $primary;
  }
}

.btn-outline-secondary {
  color: color-yiq($primary, $yiq-text-dark, $primary);
  &:hover { color: color-yiq($primary, $yiq-text-dark, $primary) !important; }
  &:not(:disabled):not(.disabled):active,
  &:not(:disabled):not(.disabled).active,
  .show > &.dropdown-toggle { color: color-yiq($primary, $yiq-text-dark, $primary) !important; }
}

.btn-link {
  color: color-yiq($primary, $yiq-text-dark, $primary);
  &:hover { color: color-yiq(darken($primary, 15%), $yiq-text-dark, darken($primary, 15%)); }
}

.bg-dark {
  .btn-primary {
    h1, h2, h3, h4, h5, h6, p, label { color: color-yiq($primary); }
  }
  .btn-outline-secondary {
    h1, h2, h3, h4, h5, h6, p, label { color: color-yiq($primary, $yiq-text-dark, $primary); }
  }
}

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
nfg_ui-0.11.0 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.10.15.1 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.10.15 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss