-
Notifications
You must be signed in to change notification settings - Fork 0
/
content.css
110 lines (93 loc) · 2.18 KB
/
content.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
#booxView {
position: fixed;
width: 100%;
height: 100%;
visibility: hidden;
}
#booxPage, #booxPage *, #booxVscrollbar, #booxVscrollbar *, #booxRuler, #booxRuler * {
margin:0;
padding:0;
border-width:0;
width:32px;
height:32px;
box-sizing:border-box;
visibility: visible;
touch-action: none;
user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none;
}
#booxPage, #booxVscrollbar, #booxRuler {
display:none;
position:fixed;
top:0;
z-index:10;
box-shadow:#000 0 0 4px;
background-color:rgba(255,255,255,0.3);
}
#booxPage {
top:calc(50% - (32px + 16px));
left:calc(100% - 32px - 8px);
height:96px;
border-radius:16px 16px 16px 16px;
background-color:rgba(255,255,255,0.3);
}
#booxVscrollbar {
left:calc(100% - 8px);
height:100%;
}
#booxRuler {
position:fixed;
left:calc(100% + 32px);
border-radius:16px 16px 16px 16px;
}
#booxPage.enabled, #booxRuler.enabled {
display:block;
}
#booxVscrollbar.enabled {
display:block;
}
#booxVscrollbarDn, #booxVscrollbarUp {
flex:0 0 32px;
}
#booxVscrollbarTrack {
display:block;
position:absolute;
top:32px;
height:calc(100% - (32px + 32px));
background-color:rgba(255,255,255,0.3);
overflow:visible;
}
#booxVscrollbarTrack.active {
background-color:rgba(0,0,0,0.3);
}
#booxPageDn, #booxPageUp, #booxVscrollbarDn, #booxVscrollbarUp {
display:block;
position:absolute;
background-color:rgba(0,0,0,0.3);
}
#booxPageUp {
top:0;
border-radius: 16px 16px 0 0;
}
#booxPageDn {
top:calc(100% - 32px);
border-radius: 0 0 16px 16px;
}
#booxVscrollbarDn {
top:calc(100% - 32px);
}
#booxPageThumb, #booxVscrollbarThumb {
display:block;
position:relative;
height:32px;
min-height:32px;
background-color:rgba(0,0,0,0.4);
}
#booxPageThumb {
top:32px;
}
#booxPageDn.active, #booxPageUp.active, #booxPageThumb.active, #booxVscrollbarThumb.active, #booxVscrollbarDn.active, #booxVscrollbarUp.active, #booxRuler.active {
background-color:rgba(0,0,0,0.6);
}
#booxPageThumb.dragging, #booxVscrollbarThumb.dragging {
background-color:rgba(0,0,0,0.3);
}