pricing.scss 2.68 KB
Newer Older
Martin Schoeler's avatar
Martin Schoeler committed
1
.pricing-hero__image {
2
  position: absolute;
3
  top: -50%;
4 5 6 7
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
8 9
  background-image: url("../images/cloud/hero.jpg");
  background-position: center bottom;
Danilo Woznica's avatar
Danilo Woznica committed
10
  background-repeat: no-repeat;
11 12
  background-size: 100% auto;
  background-color: #1d74f5;
Danilo Woznica's avatar
Danilo Woznica committed
13 14

  @media screen and (min-width: $tablet) {
15
    background-image: url("../images/cloud/hero@2x.jpg");
Danilo Woznica's avatar
Danilo Woznica committed
16
  }
17
}
Danilo Woznica's avatar
Danilo Woznica committed
18

Martin Schoeler's avatar
Martin Schoeler committed
19
body.pricing {
Danilo Woznica's avatar
Danilo Woznica committed
20 21 22
  .headroom--top {
    &.app-header_wrap {
      background: none !important;
23

Danilo Woznica's avatar
Danilo Woznica committed
24
      &:after {
25
        opacity: 0.2;
Danilo Woznica's avatar
Danilo Woznica committed
26 27 28
      }
    }

29
    .app-header_install,
Danilo Woznica's avatar
Danilo Woznica committed
30 31 32 33 34 35 36 37 38
    .app-header_menu li {
      color: #fff;

      &:hover {
        color: $grey-light;
      }
    }

    .current-page {
39
      color: rgba(255, 255, 255, 0.6);
Danilo Woznica's avatar
Danilo Woznica committed
40 41 42 43 44 45 46 47 48 49 50
    }

    .app-header_logo .dark {
      opacity: 0;
    }

    #handle-menu:checked ~ .app-header_menu {
      background: #327dd8;
    }
  }

Danilo Woznica's avatar
Danilo Woznica committed
51
  @mixin headerStyle() {
Danilo Woznica's avatar
Danilo Woznica committed
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
    background: none;

    .app-header_wrap,
    .app-header_menu {
      background: none;
    }

    .headroom--not-top {
      background: #fff;

      .app-header_menu {
        @media screen and (max-width: $tablet) {
          background: #fff;
        }
      }
      .app-header_wrap {
        background: #fff;
      }
    }
  }
72

Martin Schoeler's avatar
Martin Schoeler committed
73 74
  .switch-container {
    display: flex;
75
    width: 434px;
Martin Schoeler's avatar
Martin Schoeler committed
76 77 78 79 80 81 82 83 84 85 86
    margin: 0 auto;
    justify-content: space-between;
  }

  .col.title {
    margin-bottom: 102px;
  }

  .switch{
    border-radius: 2px;
    height: 43px;
87
    width: 216px;
Martin Schoeler's avatar
Martin Schoeler committed
88
    background: #A3B4CC;
Martin Schoeler's avatar
Martin Schoeler committed
89
    cursor: pointer;
Martin Schoeler's avatar
Martin Schoeler committed
90
    &.active {
91
      background: $brand;
Martin Schoeler's avatar
Martin Schoeler committed
92 93 94 95 96 97 98 99 100 101 102 103
    }

    p {
      color: #FFFFFF;
      font-size: 16px;
      font-weight: 500;
      text-align: center;
      letter-spacing: 0.25px;
      line-height: 42px;
    }
  }

Martin Schoeler's avatar
Martin Schoeler committed
104
  .cloud__container {
Martin Schoeler's avatar
Martin Schoeler committed
105 106 107
    display: none;
  }

Danilo Woznica's avatar
Danilo Woznica committed
108 109 110 111
  // only IE
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    @include headerStyle();
  }
112

Danilo Woznica's avatar
Danilo Woznica committed
113 114 115 116
  // scroll
  .app-header--light {
    @include headerStyle();
  }
117
}
118 119 120 121

.pricing_four-column {
  display: flex;
  align-content: center;
Martin Schoeler's avatar
Martin Schoeler committed
122
  justify-content: flex-end;
123

Martin Schoeler's avatar
Martin Schoeler committed
124 125 126 127 128 129 130
  margin-bottom: -1px;
  margin-left: -4px;
  margin-right: 1px;
  @media screen and (max-width: $tablet) {
    flex-direction: column;
  }

131
  .plan_wrapper {
Martin Schoeler's avatar
Martin Schoeler committed
132
    min-height: 420px;
133 134 135 136 137 138 139 140 141 142
    width: 25%;
    border: 1px solid #e7ebf2;
    color: #6b7d99;
    padding: 1em;
    vertical-align: top;
    min-width: 14em;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
Martin Schoeler's avatar
Martin Schoeler committed
143 144 145 146 147 148 149

    margin-right: -1px;

    @media screen and (max-width: $tablet) {
      width: 100%;
    }

150 151 152 153 154 155 156 157 158
    &.footer {
      height: unset;
      border-top: 0;
      @media screen and (max-width: $tablet) {
        display: none;
      }
    }
  }
}