aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/info-bar.scss
blob: d3010942f6d854c0dd2bd191150d1271bf47eaa1 (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
@import './config.scss';

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

  .info-bar__content {
    height: auto;

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

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

  .info-bar__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;
    }
  }

  .info-bar__inline-button {
    color: white;
  }

  &.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; }
  }
}