forked from mvindahl/angular-pan-zoom
-
Notifications
You must be signed in to change notification settings - Fork 1
/
panzoomwidget.css
39 lines (39 loc) · 1.11 KB
/
panzoomwidget.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
.panzoomwidget {
display: block;
width: 20px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.panzoomwidget .zoom-button {
text-align: center;
height: 20px;
width: 100%;
background-color: white;
cursor: hand;
border: 1px solid black;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2); }
.panzoomwidget .zoom-button:hover {
background-color: #ccc; }
.panzoomwidget .zoom-level {
width: 100%;
border-left: 2px solid black;
margin-left: 10px; }
.panzoomwidget .zoom-slider {
position: relative;
cursor: hand; }
.panzoomwidget .zoom-slider-widget {
position: absolute;
width: 20px;
background-color: white;
border: 1px solid black;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2); }