Skip to content
Snippets Groups Projects
Select Git revision
  • 8b83f47b9e1e5a8a6ccd439eab53748b289b6564
  • renovate/django-split-settings-1.x
  • renovate/djangorestframework-3.x
  • main
  • 520-improve-trackmanager
  • 520-fix-scheduling
  • 520-akowner
  • 520-status
  • 520-message-resolved
  • 520-improve-scheduling-2
  • renovate/django-bootstrap5-24.x
  • 520-improve-submission
  • 520-improve-scheduling
  • 520-improve-wall
  • 520-fix-event-wizard-datepicker
  • 520-upgrades
  • renovate/tzdata-2023.x
  • renovate/django-5.x
  • renovate/fontawesomefree-6.x
  • renovate/sphinx-rtd-theme-2.x
  • renovate/sphinxcontrib-apidoc-0.x
21 results

__init__.py

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    _badge.scss 1.09 KiB
    // Base class
    //
    // Requires one of the contextual, color modifier classes for `color` and
    // `background-color`.
    
    .badge {
      // scss-docs-start badge-css-vars
      --#{$prefix}badge-padding-x: #{$badge-padding-x};
      --#{$prefix}badge-padding-y: #{$badge-padding-y};
      @include rfs($badge-font-size, --#{$prefix}badge-font-size);
      --#{$prefix}badge-font-weight: #{$badge-font-weight};
      --#{$prefix}badge-color: #{$badge-color};
      --#{$prefix}badge-border-radius: #{$badge-border-radius};
      // scss-docs-end badge-css-vars
    
      display: inline-block;
      padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x);
      @include font-size(var(--#{$prefix}badge-font-size));
      font-weight: var(--#{$prefix}badge-font-weight);
      line-height: 1;
      color: var(--#{$prefix}badge-color);
      text-align: center;
      white-space: nowrap;
      vertical-align: baseline;
      @include border-radius(var(--#{$prefix}badge-border-radius));
      @include gradient-bg();
    
      // Empty badges collapse automatically
      &:empty {
        display: none;
      }
    }
    
    // Quick fix for badges in buttons
    .btn .badge {
      position: relative;
      top: -1px;
    }