BigW Consortium Gitlab

behaviors.scss 501 Bytes
Newer Older
Riyad Preukschas committed
1 2
// Details
//--------
3 4 5 6 7
.js-details-container {
  .content {
    display: none;
    &.hide { display: block; }
  }
8

9 10 11 12 13
  &.open .content {
    display: block;
    &.hide { display: none; }
  }
}
Ciro Santilli committed
14 15

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

25
// Hide element if Vue is still working on rendering it fully.
26
[v-cloak="true"] {
27
  display: none !important;
28
}