BigW Consortium Gitlab

behaviors.scss 389 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 16 17 18 19 20 21 22
.js-toggler-container {
  .turn-on  { display: block; }
  .turn-off { display: none; }
  &.on {
    .turn-on  { display: none; }
    .turn-off { display: block; }
  }
}