Welcome to mirror list, hosted at ThFree Co, Russian Federation.

behaviors.scss « stylesheets « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 469f4f296ae6e1ebe6b9a6e1dd2d5d961cc0b82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Details
//--------
.js-details-container {
  .content {
    display: none;
    &.hide { display: block; }
  }
  &.open .content {
    display: block;
    &.hide { display: none; }
  }
}

// Toggle between two states.
.js-toggler-container {
  .turn-on  { display: block; }
  .turn-off { display: none; }
  &.on {
    .turn-on  { display: none; }
    .turn-off { display: block; }
  }
}