summaryrefslogtreecommitdiff
path: root/assets/css/src/sidebar.css
blob: 5797e17f12f82cf9ad969486a047a5de581ffdf0 (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
/* 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-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%;
    }
}