_experiments.scss 7.74 KB
Newer Older
1 2 3 4 5 6
// edX LMS - experiments
// ====================
// NOTE: use this area for css for ab tests and other experiments.
// Please list the ticket number of the experiment

// --------------------
7
// LEARNER-1726 Track Selection V3
8

9
/* This css was added as part of the LEARNER-1726 experiment */
10
.v2.register-choice {
11
  margin: 0 2% 20px 0 !important
12
}
13

14
.v2.register-choice-certificate .list-actions {
15
  text-align: left !important;
16
}
17

18
.v2.register-choice-continue .list-actions {
19
  margin-bottom: 0 !important;
20
}
21

22
.v2.register-choice-continue .action-select {
23 24 25
  display: inline-block !important;
  list-style-type: none !important;
  width: 100% !important;
26
}
27

28
.v2.register-choice-continue .continue-link {
29 30 31 32 33 34 35 36 37 38 39
  display: inline-block !important;
  padding: 10px 15px !important;
  border-radius: 3px !important;
  border: 1px solid #d7548e !important;
  box-shadow: 0 2px 1px 0 #982c62 !important;
  background: white !important;
  text-align: center !important;
  color: #d7548e !important;
  float: left !important;
  font-size: 15px;
  font-weight: 500 !important;
40
}
41

42
.v2.register-choice-v2-donate {
43 44 45 46
  height: 300px;
  background: none !important;
  border-top-color: grey !important;
  border-top-width: 1px !important;
47
}
48 49

@media screen and (min-width: 375px) {
50 51 52
  .v2.register-choice-v2-donate {
    height: 250px;
  }
53 54
}

55
.v2.register-choice-v2-donate .list-actions {
56
  margin-bottom: 0 !important;
57
}
58

59
.v2.register-choice-v2-donate .list-actions a {
60 61 62 63 64 65
  background: transparent !important;
  color: #0075b4 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  border: none !important;
  white-space: normal;
66
}
67

68
.v2.register-choice-v2-donate .wrapper-copy-inline {
69 70 71
  height: 70px !important;
  width: 100% !important;
  display: flex !important;
72
}
73

74
.v2.register-choice-v2-donate .wrapper-copy {
75 76
  width: 70% !important;
  height: auto !important;
77 78 79
}

.v2.page-header {
80
  padding: 0;
81
}
82

83
.v2 img {
84 85
  margin-top: 20px;
  margin-left: 5px;
86
}
87

88
.v2 .continue-link {
89
  font-weight: bold !important;
90
}
91 92

.v2.register-choice-certificate,
93
.v2.register-choice-continue,
94
.v2.register-choice-view {
95
  width: 100%;
96 97
}

98
.v2.register-choice-continue {
99
  border-color: #d7548e !important;
100 101 102
}

.v2 .wrapper-copy-inline {
103
  max-height: 115px;
104 105
}

106
.v2.register-choice-v2-donate .wrapper-copy-inline {
107
  display: block !important;
108 109
}

110
.v2.register-choice-v2-donate .copy-inline {
111
  width: 100% !important;
112 113
}

114
.v2.register-choice-v2-donate .list-actions {
115 116 117
  width: 100% !important;
  margin-top: 20px !important;
  text-align: center !important;
118 119 120
}

.v2 .wrapper-copy-inline .wrapper-copy {
121
  width: 100% !important;
122 123
}

124
.v2 input, .v2 a {
125
  font-size: 15px !important;
126 127 128
}

.v2 button {
129 130 131 132 133
  background-color: rgb(0, 103, 0);
  border-color: rgb(0, 103, 0);
  border-radius: 2px;
  box-shadow: rgb(0, 77, 0) 0 2px 1px 0;
  cursor: pointer;
134
  font-family: $font-family-sans-serif;
135 136 137 138 139 140 141 142 143
  height: auto;
  margin-right: 4px;
  margin-top: 0;
  padding: 10px 15px;
  width: initial;
  background-image: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;

144 145
  &:hover,
  &:focus {
146 147 148 149
    background-color: #009b00 !important;
    border-color: #009b00;
    box-shadow: #004d00 0 2px 1px 0;
  }
150 151 152
}

.savings-message {
153 154
  margin-top: 10px;
  font-size: 11px;
155
}
156

157
@media screen and (min-width: 375px) {
158 159 160 161
  .savings-message {
    font-size: 13px;
    margin-left: 16px;
  }
162 163
}

164
.v2 .continue-link, .v2 input, .v2 button, .v2 a {
165
  width: 100%;
166 167 168
}

.v2 img {
169
  display: none;
170 171 172
}

.v2 .deco-divider {
173
  display: none;
174 175 176
}

.v2 .visual-reference {
177
  width: 38%;
178 179 180
}

@media (min-width: 420px) {
181 182 183 184
  .v2 button {
    height: 45px;
    font-size: 16px !important;
  }
185
}
186

187
@media (min-width: 768px) {
188 189 190 191 192 193 194 195 196 197 198
  .v2.register-choice-certificate,
  .v2.register-choice-continue,
  .v2.deco-divider {
    width: 46.5% !important;
    display: inline-block;
    min-height: 270px;
  }

  .v2.register-choice-v2-donate .wrapper-copy-inline {
    display: flex !important;
  }
199

200 201 202
  .v2.register-choice-v2-donate .copy-inline {
    width: 40% !important;
  }
203

204 205 206 207
  .v2.register-choice-v2-donate .list-actions {
    margin-top: 0 !important;
    text-align: right !important;
  }
208

209 210 211
  .v2 .wrapper-copy-inline .wrapper-copy {
    width: 100% !important;
  }
212

213 214 215
  .v2 input, .v2 a {
    font-size: 15px !important;
  }
216

217 218 219 220
  .v2 .continue-link, .v2.register-choice-certificate button, .v2.register-choice-certificate input {
    margin-top: 20px;
    width: initial;
  }
221

222 223 224
  .v2.register-choice-v2-donate a {
    width: 100% !important;
  }
225

226 227 228
  .v2.register-choice-view {
    height: 250px;
  }
229

230 231 232
  .v2 img {
    display: initial;
  }
233

234 235 236
  .v2.register-choice {
    margin: 0 2% 20px 0;
  }
237

238 239 240
  .v2.register-choice-continue .wrapper-copy-inline .wrapper-copy, .v2.register-choice-certificate .wrapper-copy-inline .wrapper-copy {
    width: 60%;
  }
241

242 243 244
  .v2.register-choice-view .wrapper-copy-inline .wrapper-copy {
    width: 100%;
  }
245

246 247 248
  .v2.register-choice {
    padding: 15px !important;
  }
249

250 251 252
  .v2.register-choice-continue .wrapper-copy-inline .wrapper-copy, .v2.register-choice-certificate .wrapper-copy-inline .wrapper-copy {
    width: 60%;
  }
253

254 255 256
  .v2.register-choice {
    padding: 20px !important;
  }
257

258 259 260
  .v2.register-choice.register-choice-view {
    margin-right: 0;
  }
261

262 263 264 265 266
  .v2.register-choice .list-actions:last-child {
    float: left;
    width: 100%;
    margin-top: 0;
  }
267

268 269 270
  .v2.register-choice .action-select {
    width: 100% !important;
  }
271

272 273 274 275 276 277
  .v2 .continue-link:hover,
  .v2 .continue-link:focus {
    background-color: #d7548e !important;
    color: white !important;
    text-decoration: none;
  }
278

279 280 281
  .v2 .continue-link:hover {
    cursor: pointer;
  }
282

283 284 285
  .v2 .copy li {
    margin-bottom: 5px;
  }
286

287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311
  .v2.register-choice .copy-inline {
    width: 100%;
  }

  .v2 .register-choice-view {
    border-color: #2991c3 !important;
  }

  .v2 .visual-reference {
    vertical-align: top;
  }

  .v2 .wrapper-copy-inline .wrapper-copy ul {
    margin-top: 0;
    padding-left: 30px;
  }

  .v2 .img-certificate {
    border: 2px solid #009b00 !important;
    float: right;
    height: 120px;
    width: auto;
    margin-top: 0 !important;
    display: none;
  }
312

313 314 315 316 317 318
  .v2 .img-donate {
    margin-top: 0;
    float: right;
    border: 2px solid #d7548e !important;
    display: none;
  }
319

320 321 322
  .v2 .img-view {
    border: 2px solid #2991c3 !important;
  }
323

324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
  .v2.register-choice .title {
    width: 100%;
    margin-bottom: 20px;
  }

  .v2.register-choice.register-choice-view .action-select {
    border: 1px solid transparent !important;
    border-radius: 3px;
  }

  .v2.register-choice.register-choice-view .action-select button {
    border: 1px solid transparent !important;
  }

  .v2.register-choice.register-choice-view .action-select:hover {
    border: 1px solid #0075b4 !important;
  }

  .v2.deco-divider {
    width: 3% !important;
    box-sizing: border-box;
    float: left;
    display: inline-block;
    height: 250px;
    margin: 0 0 40px 0 !important;
    border-left: 4px solid #f5f5f5 !important; border-top:none !important;

    .copy {
      position: absolute;
      top: 110px !important;
      left: calc(50% - 40px) !important;
      margin-left: 20px;
      background: white;
      text-align: center;
      color: #474747;
      width: 10px;
      padding: 0 !important;
    }
  }
363 364 365
}

@media (min-width: 835px) {
366 367 368 369 370
  .v2.register-choice-certificate,
  .v2.register-choice-continue,
  .v2.deco-divider {
    min-height: 250px;
  }
371 372 373
}

@media (min-width: 1024px) {
374 375 376 377 378 379 380
  .v2 .continue-link {
    width: 55%;
  }

  .v2.deco-divider .copy {
    margin-left: 15px;
  }
381
}
382

383
@media (min-width: 1096px) {
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399
  .v2.register-choice-certificate,
  .v2.register-choice-continue,
  .v2.deco-divider {
    min-height: 260px;
  }

  .v2 .img-certificate, .v2 .img-donate {
    margin-top: 10px;
    display: initial;
  }

  .v2 .continue-link, .v2.register-choice-certificate button,
  .v2.register-choice-certificate input {
    margin-top: -22px !important;
  }
}