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: 5ec0ef878c47aa5635898f243956e4aa8ba0fe1a (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
34
35
36
37
38
39
40
41
// Toasts
.toast {
  border: @border-width solid @dark-color;
  border-radius: @border-radius;
  color: @light-color;
  display: block;
  padding: @layout-spacing;
  .toast-variant(@dark-color);
  width: 100%;

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

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

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

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

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

  .btn-clear {
    margin: 2px -2px 2px 4px;
  }
}