forked from chrobaks/jquery-side-navi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidenavi-left.css
45 lines (45 loc) · 1.02 KB
/
sidenavi-left.css
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
/* sidenavi wrapper */
#sideNavi,
.side-navi-item,
.side-navi-data,
.side-navi-tab { margin: 0; padding: 0; }
#sideNavi {
position: fixed;
left: -650px;
top: 25%;
}
/* items */
.side-navi-item-default {
height: 50px;
display: none;
}
.side-navi-item {
position: absolute;
left: 700px;
display: inline-block;
width: 150px;
height: 50px;
transform: rotate(90deg);
transform-origin: left top 0;
color: #fff;
background-color: blue;
cursor: pointer;
}
.side-navi-item.item1 { top: 70px; }
.side-navi-item.item2 { top: 235px; }
.side-navi-item.active,
.side-navi-item:hover { background-color: #e5e5e5; color: #000; }
.side-navi-item > div { padding-top: 15px; text-align: center; }
/* data wrapper */
.side-navi-data {
position: absolute;
top: 0;
left: 0;
width: 650px;
height: 450px;
background-color: #e5e5e5;
}
/* tab wrapper */
.side-navi-tab { display: none; }
.side-navi-tab.active { display: inline-block; }
.side-navi-tab > div { padding: 30px; }