BigW Consortium Gitlab

behaviors.scss 387 Bytes
Newer Older
Riyad Preukschas committed
1 2
// Details
//--------
3 4 5 6 7 8 9 10 11 12
.js-details-container {
  .content {
    display: none;
    &.hide { display: block; }
  }
  &.open .content {
    display: block;
    &.hide { display: none; }
  }
}
Ciro Santilli committed
13 14

// Toggle between two states.
15
.js-toggler-container {
16
  .turn-on { display: block; }
17 18
  .turn-off { display: none; }
  &.on {
19
    .turn-on { display: none; }
20 21 22
    .turn-off { display: block; }
  }
}