• This project
    • Loading...
  • Sign in

Dung Diego / ocr-tool

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • ocr-tool
  • public
  • AdminLTE
  • build
  • scss
  • mixins
  • _toasts.scss
  • Dung Diego's avatar
    up · ce9a15f9
    ce9a15f9 Browse Files
    Dung Diego authored 2026-07-10 11:40:07 +0700
_toasts.scss 408 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//
// Mixins: Toasts
//

// Toast Variant
@mixin toast-variant($name, $color) {
  &.bg-#{$name} {
    background-color: rgba($color, .9) !important;
    @if (color-yiq($color) == $yiq-text-light) {

      .close {
        color: color-yiq($color);
        text-shadow: 0 1px 0 $black;
      }
    }

    .toast-header {
      background-color: rgba($color, .85);
      color: color-yiq($color);
    }
  }
}