summaryrefslogtreecommitdiff
path: root/assets/css/src/sidebar.css
blob: a9d56865b6810cc2230f9c81cf59f588ff2f5ac1 (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
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
/* sidebar */
.sidebar-container {
    margin-top: 10px;
    position: relative;
    clear: both;
}

.sidebar-content {
    margin-left: 23%;
    width: 76%;
    position: absolute;
}

.sidebar {
    width: 20%;
    float: left;
    padding: 10px;
    padding-top: 0;
    border: 1px solid #ddd;
    background: #fdfdfd;
    border-radius: 5px;
}

.sidebar li {
    list-style-type: square;
    margin-left: 30px;
    line-height: 1.8em;
}

.sidebar li.active a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.sidebar li.active a:focus,
.sidebar li.active a:hover {
    text-decoration: underline;
}

.sidebar-collapsed .sidebar {
    width: 10px;
    padding-bottom: 0;
    float: none;
}

.sidebar-collapsed .sidebar-content {
    margin: 0;
    margin-top: 15px;
    width: 100%;
}

.sidebar-collapse {
    text-align: right;
}

.sidebar-collapse a,
.sidebar-expand a {
    color: #333;
    text-decoration: none;
}

.sidebar-collapse a:hover,
.sidebar-expand a:hover {
    color: #DF5353;
}

@media only screen and (max-width: 1024px) {
    .sidebar {
        width: 25%;
    }

    .sidebar-content {
        margin-left: 30%;
        width: 70%;
    }
}

@media only screen and (max-width: 767px) {
    .sidebar {
        width: 95%;
        float: none;
    }

    .sidebar-content {
        margin: 0;
        margin-top: 15px;
        width: 100%;
    }
}