summaryrefslogtreecommitdiff
path: root/assets/sass/_side-catalog.scss
blob: dc35eb9dd5eadb13d44a4fe8f511f4ed0f72b211 (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Directory Section

.catalog-container {
  padding: 0px;
}

.side-catalog {
  &.fixed {
    position: fixed;
    top: -21px;
  }
  &.fold {
    .catalog-toggle::before {
      content: "+";
    }
    .catalog-body {
      display: none;
    }
  }
  .catalog-toggle::before {
    content: "−";
    position: relative;
    margin-right: 5px;
    bottom: 1px;
  }
  display: block;
  overflow: auto;
  height: 100%;
  padding-bottom: 40px;
  width: 195px;
  .catalog-body {
    position: relative;
    list-style: none;
    height: auto;
    overflow: hidden;
    padding-left: 0px;
    padding-right: 5px;
    text-indent: 0;
    li {
      position: relative;
      list-style: none;
      a {
        padding-left: 10px;
        max-width: 180px;
        display: inline-block;
        vertical-align: middle;
        height: 30px;
        line-height: 30px;
        overflow: hidden;
        text-decoration: none;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .h1_nav,
    .h2_nav {
      margin-left: 0;
      font-size: 13px;
      font-weight: bold;
    }
    .h3_nav {
      margin-left: 6px;
      font-size: 13px;
      font-weight: bold;
    }
    .h4_nav {
      margin-left: 12px;
      font-size: 12px;
      a {
        max-width: 170px;
      }
    }
    .h5_nav .h6_nav {
      margin-left: 18px;
      font-size: 12px;
      a {
        max-width: 170px;
      }
    }
    .active {
      a {
        color: #0085a1 !important;
      }
      border-radius: 4px;
      background-color: #f5f5f5;
    }
  }
}

@media (max-width: 1200px) {
  .side-catalog {
    display: none;
  }
}