-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
54 lines (51 loc) · 1.13 KB
/
styles.css
File metadata and controls
54 lines (51 loc) · 1.13 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
div.lean-in-tab {
position: fixed;
top:15%;
left:0;
z-index: 700001;
width: 100%;
padding: 0;
}
div.lean-in-tab .icon {
position: absolute;
top:15%;
left:0;
z-index:700004;
height: 32px;
width: 32px;
box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
background-image: url(resource/leaning-pencil-2b.png);
background-color: #fff;
background-size: cover;
padding: 0;
}
div.lean-in-tab:hover .icon, div.lean-in-tab.hover .icon {
background-image: url('resource/leaning-pencil-1b.png');
box-shadow: none;
}
div.lean-in-tab.hover .icon {
background-color: #cfc;
}
div.lean-in-tab.hascontent .icon {
background-color: #ffc;
}
div.lean-in-tab .content {
position: absolute;
width: 70%;
left: -100%;
top: 15%;
height: 30px;
box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
z-index:700003;
background: #fff;
overflow:auto;
transition: left,height 1s ease 1s;
}
div.lean-in-tab:hover .content, div.lean-in-tab.hover .content {
left: 0;
padding-left: 32px;
height: 300px;
transition-duration: 0.5s;
transition-delay: 0s;
display:block;
}