-
Notifications
You must be signed in to change notification settings - Fork 4
/
ui.scrollbar.css
129 lines (106 loc) · 4.85 KB
/
ui.scrollbar.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
.ui-scrollbar {
position: relative;
}
.ui-scrollbar .ui-scrollbar-viewport {
position: relative;
overflow: hidden;
}
.ui-scrollbar .ui-scrollbar-overview {
position: absolute;
top: 0px;
left: 0px;
margin: 0px;
}
.ui-scrollbar .ui-scrollbar-scrollbarY,
.ui-scrollbar .ui-scrollbar-scrollbarX {
position: absolute;
}
.ui-scrollbar .ui-scrollbar-scrollbarY {
top: 0px;
right: 0px;
}
.ui-scrollbar .ui-scrollbar-scrollbarX {
bottom: 0px;
left: 0px;
}
.ui-scrollbar .ui-scrollbar-scrollbarY .ui-scrollbar-track,
.ui-scrollbar .ui-scrollbar-scrollbarX .ui-scrollbar-track {
position: relative;
}
.ui-scrollbar .ui-scrollbar-scrollbarY .ui-scrollbar-thumb,
.ui-scrollbar .ui-scrollbar-scrollbarX .ui-scrollbar-thumb {
position: absolute;
}
.ui-scrollbar .ui-scrollbar-disabled {
display: none;
display: none !important;
}
/* Default style */
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarY,
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarX {
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-track {
padding: 4px;
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarY .ui-scrollbar-track {
padding-top: 0px;
padding-bottom: 0px;
background: #f2f2f2; /* Old browsers */
background: -moz-linear-gradient(left, #f2f2f2 0%, #fbfbfb 50%, #fdfdfd 54%, #fdfdfd 58%, #fbfbfb 62%, #efefef 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#f2f2f2), color-stop(50%,#fbfbfb), color-stop(54%,#fdfdfd), color-stop(58%,#fdfdfd), color-stop(62%,#fbfbfb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#efefef',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* W3C */
border-left: 1px solid #eaeaea;
width: 6px;
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarX .ui-scrollbar-track {
padding-left: 0px;
padding-right: 0px;
background: #f2f2f2; /* Old browsers */
background: -moz-linear-gradient(top, #f2f2f2 0%, #fbfbfb 50%, #fdfdfd 54%, #fdfdfd 58%, #fbfbfb 62%, #efefef 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(50%,#fbfbfb), color-stop(54%,#fdfdfd), color-stop(58%,#fdfdfd), color-stop(62%,#fbfbfb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #f2f2f2 0%,#fbfbfb 50%,#fdfdfd 54%,#fdfdfd 58%,#fbfbfb 62%,#efefef 100%); /* W3C */
border-top: 1px solid #eaeaea;
height: 6px;
}
.ui-scrollbar.ui-scrollbar-default.ui-scrollbar-overlay .ui-scrollbar-scrollbarY .ui-scrollbar-track,
.ui-scrollbar.ui-scrollbar-default.ui-scrollbar-overlay .ui-scrollbar-scrollbarX .ui-scrollbar-track {
background: none;
background: transparent;
}
.ui-scrollbar.ui-scrollbar-default.ui-scrollbar-overlay .ui-scrollbar-scrollbarY .ui-scrollbar-track {
border-left: 1px solid transparent;
}
.ui-scrollbar.ui-scrollbar-default.ui-scrollbar-overlay .ui-scrollbar-scrollbarX .ui-scrollbar-track {
border-top: 1px solid transparent;
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-thumb {
background-color: rgba(128,128,128, 0.6);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-o-border-radius: 3px;
-ms-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
-o-box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
-ms-box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarY .ui-scrollbar-thumb {
width: 6px;
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarX .ui-scrollbar-thumb {
height: 6px;
}
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarY:hover .ui-scrollbar-thumb,
.ui-scrollbar.ui-scrollbar-default .ui-scrollbar-scrollbarX:hover .ui-scrollbar-thumb {
background-color: rgba(128,128,128, 0.8);
}