aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/info-bar.scss
blob: c30c951eec50846748361d0599ad423f23900e16 (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@import './config.scss';

.info-bar {
  width: 100%;
  height: 50px;
  background: $theme-brand-primary;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
  // bottom: 0;
  z-index: 100;
  box-shadow: 0 0 8px rgba(black, 0.2);

  .info-bar__content {
    height: auto;

    .mdi {
      margin-right: 5px;
    }
  }

  .info-bar__close {
    position: absolute;
    right: 10px;
    color: #FFF;
  }

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

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

  &.info-bar--bottom {
    order: 10;
  }

  &.info-bar--primary {
    background: $theme-brand-primary;
    color: #FFF;

    a {
      color: #FFF;
    }
  }

  &.info-bar--warning {
    background: $theme-brand-warning;
    color: #FFF;

    a {
      color: #FFF;
    }
  }

  &.info-bar--danger {
    background: $theme-brand-danger;
    color: #FFF;

    a {
      color: #FFF;
    }
  }
}