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.18 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.17 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.16 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.15 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.14 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.13 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.12 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.11.1 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.11 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.10 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.9 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.8 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.7 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.6 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.5 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.4 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.3 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.2 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.1.1 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
nfg_ui-0.11.1 app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss