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: 929edaa3d33fab56b203113638e38126bd011231 (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: .1rem solid @core-dark-color;
  border-radius: @border-radius;
  color: @core-light-color;
  display: block;
  padding: 1.4rem;
  .toast-variant(@core-dark-color);
  width: 100%;

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

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

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

  a {
    color: @core-light-color;
    text-decoration: underline;

    &:hover,
    &:focus,
    &:active {
      opacity: .75;
    }
  }
}