-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewer.css
executable file
·169 lines (156 loc) · 3.35 KB
/
viewer.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
body {
background: #333;
}
#my_pdf_viewer {
display: none;
margin-top: 80px;
}
#canvas_container {
width:717px;
height:500px;
overflow: auto;
text-align:center;
border: 2px solid;
}
#doc_output {
width: 700px;
background: #fff
}
#buff {
width: 10%;
background: #737373;
}
#controls {
width:717px;
top: 0;
display: none;
position: fixed;
}
/*buttons*/
#go_previous, #go_next{
display:inline-block;
padding:0.4em 1.4em;
margin:0.3em 0.3em;
text-decoration:none;
font-family:'Roboto',sans-serif;
text-transform:uppercase;
color:#FFFFFF;
background-color:#3369ff;
box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
text-align:center;
}
#go_previous:active, #go_next:active, #current_page{
top:0.1em;
}
#current_page {
display:inline-block;
padding:0.4em 1.4em;
margin: 0.3em 0.3em;
box-sizing: border-box;
text-decoration:none;
font-family:'Roboto',sans-serif;
font-weight:400;
color:#FFFFFF;
background-color:#3369ff;
box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
text-align:center;
}
/* zoom in/out*/
#zoom_in {
display: inline-block;
/* background-image: url(/img/zoom_in.svg); */
width: 30px;
height: 30px;
background: url(img/zoom-in.svg);
background-size: 30px 30px;
}
#zoom_out {
display: inline-block;
/* background-image: url(/img/zoom_out.svg); */
width: 30px;
height: 30px;
background: url(img/zoom-out.svg);
background-size: 30px 30px;
}
/* nav-controls */
#nav-controls {
text-align: center;
}
/* loader */
.lds-spinner {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-spinner div {
transform-origin: 40px 40px;
animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
content: " ";
display: block;
position: absolute;
top: 3px;
left: 37px;
width: 6px;
height: 18px;
border-radius: 20%;
background: #fff;
}
.lds-spinner div:nth-child(1) {
transform: rotate(0deg);
animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
transform: rotate(30deg);
animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
transform: rotate(60deg);
animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
transform: rotate(90deg);
animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
transform: rotate(120deg);
animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
transform: rotate(150deg);
animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
transform: rotate(180deg);
animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
transform: rotate(210deg);
animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
transform: rotate(240deg);
animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
transform: rotate(270deg);
animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
transform: rotate(300deg);
animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
transform: rotate(330deg);
animation-delay: 0s;
}
@keyframes lds-spinner {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}