summaryrefslogtreecommitdiff
path: root/sass/google-analytics-message.sass
blob: 3789f86d79b5b666b6fb13a802153924f81a9952 (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
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
@import settings.sass

.google-analytics-message
  position: fixed
  left: 0
  right: 0
  bottom: 0
  height: auto
  display: none
  align-items: center
  background-color: $white
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08)
  padding: 44px 0
  +resp(lg)
    padding: 28px 0
  +resp(sm)
    padding: 20px 0
  +resp(esm)
    padding: 13px 0
  &.open
    display: flex
  &__content
    display: flex
    align-items: center
    &__img
      border-right: 1px solid #E0DFDF
      padding-right: 21px
    &__text
      p
        padding-left: 20px
        line-height: 160%
        font-size: 15px
        hyphens: inherit
        +resp(md)
          font-size: 14px
      p:first-child
        margin-bottom: 16px
  &__buttons
    text-align: right
    margin-top: 20px
    +resp(esm)
      text-align: inherit
      display: flex
    &__accept, &__decline
      height: 40px
      width: 151px
      font-weight: 700
      cursor: pointer
      outline: none
      transition: 0.3s
      +resp(esm)
        width: 50%
    &__accept
      background-color: $orange
      border: 1px solid $orange
      color: $black
      margin-right: 6px
      +resp(esm)
        margin-right: 5px
      &:hover
        background-color: $white
    &__decline
      background-color: $black
      border: 1px solid $black
      color: $white
      +resp(esm)
        margin-left: 5px
      &:hover
        background-color: $white
        color: $black