pricing.scss 3.98 KB
Newer Older
1
.pricing-hero__image {
2
  position: absolute;
3
  top: -50%;
4 5 6 7
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
Martin Schoeler's avatar
Martin Schoeler committed
8
  background-image: url("../images/cloud/hero.png");
9
  background-position: center bottom;
10
  background-repeat: no-repeat;
11
  background-size: 100% auto;
Martin Schoeler's avatar
Martin Schoeler committed
12
  background-color: #fff;
Martin Schoeler's avatar
Martin Schoeler committed
13 14
  background-color: $brand;
  background-position: 50% 105%; // Workaround for a bug in chrome, that creates a 1px gap under the background image, creating a blue line in this case.
15 16 17

  @media screen and (max-width: $tablet) {
  }
18
}
19 20
.pricing {

Martin Schoeler's avatar
Martin Schoeler committed
21 22 23 24 25
  .hero {
    height: 600px;
    min-height: unset !important;
  }

26 27 28 29 30 31
  &-concession{
    background-image: url("/images/press/hero@2x.jpg");
    background-size: auto 100%;
    background-color: #040b1b;
    .wrap {
      padding: 3em 5em;
Martin Schoeler's avatar
Martin Schoeler committed
32 33 34 35 36

      @media screen and (max-width: $tablet) {
        padding: 48px 32px;
        width: 100%;
        max-width: 100%;
37 38 39 40

        .button {
          width: 100%;
        }
Martin Schoeler's avatar
Martin Schoeler committed
41 42 43 44 45 46
      }
    }

    @media screen and (max-width: $tablet) {
      background-image: none;
      padding: 16px;
47 48 49
    }
  }

50 51 52
  section.container {
    margin: 2em auto;
  }
53 54 55 56

  .headroom--top {
    &.app-header_wrap {
      background: none !important;
57

58
      &:after {
59
        opacity: 0.2;
60 61 62
      }
    }

63
    .app-header_install,
64 65 66 67 68 69 70 71 72
    .app-header_menu li {
      color: #fff;

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

    .current-page {
73
      color: rgba(255, 255, 255, 0.6);
74 75 76 77 78 79 80 81 82 83 84
    }

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

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

85
  @mixin headerStyle() {
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
    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;
      }
    }
  }
106

107 108
  .switch-container {
    display: flex;
109
    width: 434px;
110 111
    margin: 0 auto;
    justify-content: space-between;
112 113 114
    @media screen and (max-width: $tablet) {
      width: 100%;
    }
115 116 117 118 119 120
  }

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

121
  .switch {
122 123
    border-radius: 2px;
    height: 43px;
Martin Schoeler's avatar
Martin Schoeler committed
124 125 126
    line-height: 42px;
    font-weight: 600;
    font-size: 16px;
127
    width: 50%;
Martin Schoeler's avatar
Martin Schoeler committed
128
    background: $brand;
129
    color: #fff;
Martin Schoeler's avatar
Martin Schoeler committed
130
    border: #FFF 1px solid;
131
    margin: 0 .5em;
Martin Schoeler's avatar
Martin Schoeler committed
132
    cursor: pointer;
133

134
    &.active {
Martin Schoeler's avatar
Martin Schoeler committed
135 136
      background-color: #fff;
      color: $brand;
137 138
    }

139 140


141 142 143 144 145 146 147 148 149 150
    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
151
  .cloud__container {
152 153 154
    display: none;
  }

155 156 157 158
  // only IE
  @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    @include headerStyle();
  }
159

160 161 162 163
  // scroll
  .app-header--light {
    @include headerStyle();
  }
164
}
165 166 167 168

.pricing_four-column {
  display: flex;
  align-content: center;
169
  justify-content: center;
170
  margin-top: -360px;
171

Martin Schoeler's avatar
Martin Schoeler committed
172 173 174 175
  @media screen and (max-width: $tablet) {
    flex-direction: column;
  }

176 177 178
  .plan_wrapper {
    width: 25%;
    border: 1px solid #e7ebf2;
179
    border-right-width: 0;
180 181 182 183 184 185
    color: #6b7d99;
    padding: 1em;
    vertical-align: top;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
186 187
    justify-content: space-between;
    text-align: center;
188 189 190 191 192 193
    background-color: #fff;
    border-radius: 2px;

    &:not(:last-child) {
      margin-right: 15px;
    }
194 195 196 197

		@media screen and (max-width: $container) {
			width: 33.333%;
		}
Martin Schoeler's avatar
Martin Schoeler committed
198

199 200 201
    &:last-child{
      border-right-width: 1px;
    }
Martin Schoeler's avatar
Martin Schoeler committed
202
    @media screen and (max-width: $tablet) {
203 204
      border: 1px solid #e7ebf2;
      margin: 1em auto;
Martin Schoeler's avatar
Martin Schoeler committed
205
      width: 100%;
206 207 208 209

      .button {
        font-size: 1em;
      }
Martin Schoeler's avatar
Martin Schoeler committed
210 211
    }

212
    &.footer {
213 214
      border: 1px solid #e7ebf2;
      min-height: 0;
215
      border-top: 0;
216 217 218 219 220

      &:nth-child(2){
        border: 0;
        border-bottom: 1px solid #e7ebf2;
      }
221 222 223 224 225 226
      @media screen and (max-width: $tablet) {
        display: none;
      }
    }
  }
}