1 | /* jquery.Jcrop.css v0.9.10 - MIT License */ |
---|
2 | |
---|
3 | /* |
---|
4 | The outer-most container in a typical Jcrop instance |
---|
5 | If you are having difficulty with formatting related to styles |
---|
6 | on a parent element, place any fixes here or in a like selector |
---|
7 | |
---|
8 | You can also style this element if you want to add a border, etc |
---|
9 | A better method for styling can be seen below with .jcrop-light |
---|
10 | (Add a class to the holder and style elements for that extended class) |
---|
11 | */ |
---|
12 | .jcrop-holder { |
---|
13 | direction: ltr; |
---|
14 | text-align: left; |
---|
15 | } |
---|
16 | |
---|
17 | /* These styles define the border lines */ |
---|
18 | .jcrop-vline,.jcrop-hline{background:#FFF url(Jcrop.gif) top left repeat;font-size:0;position:absolute;} |
---|
19 | .jcrop-vline{height:100%;width:1px!important;} |
---|
20 | .jcrop-hline{height:1px!important;width:100%;} |
---|
21 | .jcrop-vline.right{right:0;} |
---|
22 | .jcrop-hline.bottom{bottom:0;} |
---|
23 | |
---|
24 | /* Handle style - size is set by Jcrop handleSize option (currently) */ |
---|
25 | .jcrop-handle{background-color:#333;border:1px #eee solid;font-size:1px;} |
---|
26 | |
---|
27 | /* This style is used for invisible click targets */ |
---|
28 | .jcrop-tracker |
---|
29 | { |
---|
30 | height: 100%; |
---|
31 | width: 100%; |
---|
32 | -webkit-tap-highlight-color: transparent; /* "turn off" link highlight */ |
---|
33 | -webkit-touch-callout: none; /* disable callout, image save panel */ |
---|
34 | -webkit-user-select: none; /* disable cut copy paste */ |
---|
35 | } |
---|
36 | |
---|
37 | /* Positioning of handles and drag bars */ |
---|
38 | .jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0;} |
---|
39 | .jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px;} |
---|
40 | .jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%;} |
---|
41 | .jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%;} |
---|
42 | .jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0;} |
---|
43 | .jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0;} |
---|
44 | .jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0;} |
---|
45 | .jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px;} |
---|
46 | .jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%;} |
---|
47 | .jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px;} |
---|
48 | .jcrop-dragbar.ord-n{margin-top:-4px;} |
---|
49 | .jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px;} |
---|
50 | .jcrop-dragbar.ord-e{margin-right:-4px;right:0;} |
---|
51 | .jcrop-dragbar.ord-w{margin-left:-4px;} |
---|
52 | |
---|
53 | /* The "jcrop-light" class/extension */ |
---|
54 | .jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline |
---|
55 | { |
---|
56 | background:#FFF; |
---|
57 | filter:Alpha(opacity=70)!important; |
---|
58 | opacity:.70!important; |
---|
59 | } |
---|
60 | .jcrop-light .jcrop-handle |
---|
61 | { |
---|
62 | -moz-border-radius:3px; |
---|
63 | -webkit-border-radius:3px; |
---|
64 | background-color:#000; |
---|
65 | border-color:#FFF; |
---|
66 | border-radius:3px; |
---|
67 | } |
---|
68 | |
---|
69 | /* The "jcrop-dark" class/extension */ |
---|
70 | .jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline |
---|
71 | { |
---|
72 | background:#000; |
---|
73 | filter:Alpha(opacity=70)!important; |
---|
74 | opacity:.7!important; |
---|
75 | } |
---|
76 | .jcrop-dark .jcrop-handle |
---|
77 | { |
---|
78 | -moz-border-radius:3px; |
---|
79 | -webkit-border-radius:3px; |
---|
80 | background-color:#FFF; |
---|
81 | border-color:#000; |
---|
82 | border-radius:3px; |
---|
83 | } |
---|
84 | |
---|
85 | /* Fix for twitter bootstrap et al. */ |
---|
86 | .jcrop-holder img,img.jcrop-preview{ max-width: none; } |
---|