-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbar-on.css
138 lines (132 loc) · 2.6 KB
/
bar-on.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/********************************** BarOn ***********************************/
/* Red bar with white left border
.rBarOn,.bBarOn {
display: block;
z-index: 3;
background-color: red;
border-radius:2px;
opacity:.75;
}
.rBarOn {
width: 4px;
border-left: 2px white solid;
margin-right:2px;
}
.bBarOn {
height: 4px;
border-top: 2px white solid;
margin-bottom:2px;
}
.rBarOn:hover {
width: 12px;
border-left: 2px white solid;
border-radius:6px;
}
.bBarOn:hover {
height: 12px;
border-top: 2px white solid;
border-radius:6px;
}*/
/* Gray 3D bar with red shadow */
.rBarOn,.bBarOn {
display: none;
z-index: 3;
background-color: lightgray;
border-radius:3px;
opacity:.75;
}
.rBarOn:hover,.bBarOn:hover {
border-radius:6px;
box-shadow:0 0 7px 2px red;
}
.rBarOn {
width: 10px;
margin-right:2px;
cursor:n-resize
}
.bBarOn {
height: 10px;
margin-bottom:2px;
cursor:e-resize;
}
.rBarOn:hover { width: 12px; }
.bBarOn:hover { height: 12px; }
.bBarOn:before,.rBarOn:before {
content:'';
position: absolute;
top:2px;
bottom:2px;
left:2px;
right:2px;
border-radius:4px;
border:3px darkgray ridge;
}
/* Gray animation bar with red shadow
.rBarOn,.bBarOn {
display: block;
z-index: 3;
background-color: gray;
border-radius:3px;
opacity:.75;
}
.rBarOn:hover,.bBarOn:hover {
border-radius:6px;
box-shadow:0 0 7px 5px white;
}
.rBarOn {
width: 10px;
margin-right:2px;
}
.bBarOn {
height: 10px;
margin-bottom:2px;
}
.rBarOn:hover { width: 12px; }
.bBarOn:hover { height: 12px; }
.bBarOn:before,.rBarOn:before {
content:'';
position: absolute;
width:8px;
height:8px;
margin:1px 0 0 1px;
border-radius:4px;
background-color:darkgreen;
animation-delay:0;
animation-duration:1500ms;
animation-direction:normal;
animation-play-state:running;
animation-iteration-count:infinite;
animation-timing-function:ease-in;
box-shadow:0 0 7px 5px green;
}
@keyframes vscroll{
0% {top:0%;margin-top:1px;}
50% {top:100%;margin-top:-8px;}
100%{top:0%;margin-top:1px;}
}
.rBarOn:before{animation-name:vscroll;}
@keyframes hscroll{
0% {left:0%;margin-left:1px;}
50% {left:100%;margin-left:-8px;}
100%{left:0%;margin-left:1px;}
}
.bBarOn:before{animation-name:hscroll;}
.bBarOn:after,.rBarOn:after{
content:'';
position: absolute;
width:8px;
height:8px;
margin:1px 0 0 1px;
border-radius:4px;
background-color:red;
box-shadow:0 0 7px 5px red;
animation-delay:0ms;
animation-duration:1500ms;
animation-direction:normal;
animation-play-state:running;
animation-iteration-count:infinite;
animation-timing-function:ease-out;
}
.rBarOn:after{animation-name:vscroll;}
.bBarOn:after{animation-name:hscroll;}
*/