aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/infobox.scss
blob: e287e5be7f15fcaadda6a78abbcbe77c06f103fc (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@import './config.scss';

.infobox {
  align-items: center;
  border-radius: $theme-border-radius-small;
  display: flex;
  height: auto;
  margin-bottom: 30px;
  padding: 15px 20px;

  a { color: #FFF; }

  .infobox__content { flex: 1; }

  &.infobox--success {
    background: $theme-brand-success;
    color: #FFF;
  }

  &.infobox--primary {
    background: $theme-brand-primary;
    color: #FFF;
  }

  &.infobox--danger {
    background: $theme-brand-danger;
    color: #FFF;
  }

  &.infobox--warning {
    background: $theme-brand-warning;
    color: #FFF;
  }

  .mdi { margin-right: 10px; }

  .infobox__cta {
    border-color: #FFF;
    border-radius: $theme-border-radius-small;
    border-style: solid;
    border-width: 2px;
    color: #FFF;
    margin-left: 15px;
    padding: 3px 8px;

    .loader {
      display: inline-block;
      height: 12px;
      margin-right: 5px;
      position: relative;
      width: 20px;
      z-index: 9999;
    }
  }

  .infobox__delete {
    color: #FFF;
    margin-right: 0;
  }
}