custom.css
1.23 KB
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
body, html{
height: 100%;
}
body{
font-size: 14px;
color: #222;
}
.sidebar{
background: #4f81bd;
height: 100%;
position: absolute;
width: 300px;
}
.sidebar ul{
margin: 0;
padding: 0;
}
.sidebar ul li{
border-bottom: 1px solid #3b69a1;
display: block;
}
.sidebar ul li a{
display: block;
color: #fff;
padding: 10px;
}
.sidebar ul li.active a, .sidebar ul li a:hover{
background: #3b69a1;
text-decoration: none;
}
.content{
height: 100%;
overflow-y: auto;
margin-left: 300px;
width: 100%;
}
.panel-heading{
background: #4f81bd;
padding: 9px 15px;
color: #fff;
font-size: 20px;
margin-bottom: 15px;
}
.sub-panel-heading{
background: #dbe5f1;
padding: 10px 15px;
color: #000;
font-size: 16px;
}
ul.roman li{
list-style: lower-roman;
}
ul.bullet li{
list-style: disc;
}
@media only screen and (min-width: 320px) and (max-width: 767px){
body{
padding-bottom: 38px;
}
.showmenu{
position:fixed;
bottom: 0;
background: #4f81bd;
z-index: 2;
left: 0;
right: 0;
color: #fff;
}
.content{
margin:0;
}
.sidebar{
left:-100%;
transition: 0.3s ease-in;
position: absolute;
z-index: 1;
height: calc(100% - 38px);
overflow-y: auto;
width: 100%;
}
.sidebar.show{
left: 0;
transition: 0.3s ease-in;
}
}