summaryrefslogtreecommitdiff
path: root/themes/LoveIt/assets/css/_partial/_details.scss
blob: 71c5b6b7acf79b59233e743a027ed85fde3917b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.details {
  .details-summary {
    &:hover {
      cursor: pointer;
    }
  }

  i.details-icon {
    color: $global-font-secondary-color;
    @include transition(transform 0.2s ease);

    [theme=dark] & {
      color: $global-font-secondary-color-dark;
    }
  }

  .details-content {
    max-height: 0;
    overflow-y: hidden;
    @include details-transition-open;
  }

  &.open {
    i.details-icon {
      @include transform(rotate(90deg));
    }

    .details-content {
      max-height: 10000px;
      @include details-transition-close;
    }
  }
}