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

_drawer.scss « components « sass « assets - github.com/zzossig/hugo-theme-zdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2e81c18d4e5e85ccbff9aaf2d173956dd13ab669 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.drawer {
  position: fixed;
  top: 0;
  left: -100%;
  z-index: z('drawer');
  width: $drawer-width;
  height: 100%;

  @include transition(all, 0.3s, ease-out);
  @include themify($themes) {
    background-color: themed('body-background-color');
  }

  &__header {
    height: $grid-nav-height;
    width: 100%;

    @include flexbox();
    @include themify($themes) {
      background-color: themed('navbar-background-color');
      box-shadow: 0 1px 0 rgba(12,13,14,0.1), 0 1px 6px rgba(60,65,70,0.1);
    }

    &--text {
      width: 100%;
      height: 100%;
      padding: 1rem;

      @include flexbox();
      @include align-items(center);
      @include justify-content(flex-start);
    }
  }

  &__body {
    height: 100%;
    width: 100%;
    overflow-y: auto;
  }

  &__close {
    width: $grid-nav-height;
    height: 100%;
    cursor: pointer;

    @include flexbox();
    @include align-items(center);
    @include justify-content(center);
    @include themify($themes) {
      color: themed('body-color');
      @include on-event {
        color: themed('active-font-color');
      }
    }
  }
}