forked from acornejo/jquery-cropbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jquery.cropbox.css
80 lines (72 loc) · 1.58 KB
/
jquery.cropbox.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
.cropFrame {
overflow : hidden;
position : relative;
display: inline-block;
}
.cropImage {
position : absolute;
top : 0;
left : 0;
cursor : move;
max-width: none;
}
.cropControls {
background : #000;
width : 100%;
height : 26px;
position : absolute;
z-index : 100;
bottom : 0;
left : 0;
opacity : 0;
filter : alpha(opacity=0);
transition : opacity .25s linear;
-moz-transition : opacity .25s linear;
-webkit-transition : opacity .25s linear;
t-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.cropFrame.hover .cropControls {
opacity : .55;
filter : alpha(opacity=55);
}
.cropControls span {
display : block;
float : left;
color : #fff;
font-size : 11px;
margin : 7px 0 0 5px;
}
.cropZoomIn,
.cropZoomOut {
display : block;
float : right;
margin : 4px 4px 0 0;
background : #fff;
border: 1px solid #000;
color : #000;
border-radius : 4px;
width : 18px;
height : 18px;
line-height : 18px;
font-size : 18px;
text-align : center;
text-decoration : none;
cursor : pointer;
/* IE SUCKS */
zoom : expression(this.runtimeStyle.zoom = "1", this.appendChild( document.createElement("b") ).className = "after")\9;
}
.cropZoomIn::after,
.cropZoomIn .after {
content : "+";
display : block;
}
.cropZoomOut::after,
.cropZoomOut .after {
content : "-";
display : block;
}