Welcome to mirror list, hosted at ThFree Co, Russian Federation.

toasts.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 68c9ffc3c2a93305f233fc8c9dfc715463aa8d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Toasts
.toast {
  border: @border-width solid @dark-color;
  border-radius: @border-radius;
  color: @light-color;
  display: block;
  padding: @layout-padding;
  .toast-variant(@dark-color);
  width: 100%;

  &.toast-primary {
    .toast-variant(@primary-color);
  }

  &.toast-success {
    .toast-variant(@control-color-success);
  }

  &.toast-danger {
    .toast-variant(@control-color-danger);
  }

  a {
    color: @light-color;
    text-decoration: underline;
    &:focus,
    &:hover,
    &:active,
    &.active {
      opacity: .75;
    }
  }
}