You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
3.2 KiB

  1. /* jquery.Jcrop.css v0.9.12 - MIT License */
  2. /*
  3. The outer-most container in a typical Jcrop instance
  4. If you are having difficulty with formatting related to styles
  5. on a parent element, place any fixes here or in a like selector
  6. You can also style this element if you want to add a border, etc
  7. A better method for styling can be seen below with .jcrop-light
  8. (Add a class to the holder and style elements for that extended class)
  9. */
  10. .jcrop-holder {
  11. direction: ltr;
  12. text-align: left;
  13. }
  14. /* Selection Border */
  15. .jcrop-vline,
  16. .jcrop-hline {
  17. background: #ffffff url("Jcrop.gif");
  18. font-size: 0;
  19. position: absolute;
  20. }
  21. .jcrop-vline {
  22. height: 100%;
  23. width: 1px !important;
  24. }
  25. .jcrop-vline.right {
  26. right: 0;
  27. }
  28. .jcrop-hline {
  29. height: 1px !important;
  30. width: 100%;
  31. }
  32. .jcrop-hline.bottom {
  33. bottom: 0;
  34. }
  35. /* Invisible click targets */
  36. .jcrop-tracker {
  37. height: 100%;
  38. width: 100%;
  39. /* "turn off" link highlight */
  40. -webkit-tap-highlight-color: transparent;
  41. /* disable callout, image save panel */
  42. -webkit-touch-callout: none;
  43. /* disable cut copy paste */
  44. -webkit-user-select: none;
  45. }
  46. /* Selection Handles */
  47. .jcrop-handle {
  48. background-color: #333333;
  49. border: 1px #eeeeee solid;
  50. width: 7px;
  51. height: 7px;
  52. font-size: 1px;
  53. }
  54. .jcrop-handle.ord-n {
  55. left: 50%;
  56. margin-left: -4px;
  57. margin-top: -4px;
  58. top: 0;
  59. }
  60. .jcrop-handle.ord-s {
  61. bottom: 0;
  62. left: 50%;
  63. margin-bottom: -4px;
  64. margin-left: -4px;
  65. }
  66. .jcrop-handle.ord-e {
  67. margin-right: -4px;
  68. margin-top: -4px;
  69. right: 0;
  70. top: 50%;
  71. }
  72. .jcrop-handle.ord-w {
  73. left: 0;
  74. margin-left: -4px;
  75. margin-top: -4px;
  76. top: 50%;
  77. }
  78. .jcrop-handle.ord-nw {
  79. left: 0;
  80. margin-left: -4px;
  81. margin-top: -4px;
  82. top: 0;
  83. }
  84. .jcrop-handle.ord-ne {
  85. margin-right: -4px;
  86. margin-top: -4px;
  87. right: 0;
  88. top: 0;
  89. }
  90. .jcrop-handle.ord-se {
  91. bottom: 0;
  92. margin-bottom: -4px;
  93. margin-right: -4px;
  94. right: 0;
  95. }
  96. .jcrop-handle.ord-sw {
  97. bottom: 0;
  98. left: 0;
  99. margin-bottom: -4px;
  100. margin-left: -4px;
  101. }
  102. /* Dragbars */
  103. .jcrop-dragbar.ord-n,
  104. .jcrop-dragbar.ord-s {
  105. height: 7px;
  106. width: 100%;
  107. }
  108. .jcrop-dragbar.ord-e,
  109. .jcrop-dragbar.ord-w {
  110. height: 100%;
  111. width: 7px;
  112. }
  113. .jcrop-dragbar.ord-n {
  114. margin-top: -4px;
  115. }
  116. .jcrop-dragbar.ord-s {
  117. bottom: 0;
  118. margin-bottom: -4px;
  119. }
  120. .jcrop-dragbar.ord-e {
  121. margin-right: -4px;
  122. right: 0;
  123. }
  124. .jcrop-dragbar.ord-w {
  125. margin-left: -4px;
  126. }
  127. /* The "jcrop-light" class/extension */
  128. .jcrop-light .jcrop-vline,
  129. .jcrop-light .jcrop-hline {
  130. background: #ffffff;
  131. filter: alpha(opacity=70) !important;
  132. opacity: .70!important;
  133. }
  134. .jcrop-light .jcrop-handle {
  135. -moz-border-radius: 3px;
  136. -webkit-border-radius: 3px;
  137. background-color: #000000;
  138. border-color: #ffffff;
  139. border-radius: 3px;
  140. }
  141. /* The "jcrop-dark" class/extension */
  142. .jcrop-dark .jcrop-vline,
  143. .jcrop-dark .jcrop-hline {
  144. background: #000000;
  145. filter: alpha(opacity=70) !important;
  146. opacity: 0.7 !important;
  147. }
  148. .jcrop-dark .jcrop-handle {
  149. -moz-border-radius: 3px;
  150. -webkit-border-radius: 3px;
  151. background-color: #ffffff;
  152. border-color: #000000;
  153. border-radius: 3px;
  154. }
  155. /* Simple macro to turn off the antlines */
  156. .solid-line .jcrop-vline,
  157. .solid-line .jcrop-hline {
  158. background: #ffffff;
  159. }
  160. /* Fix for twitter bootstrap et al. */
  161. .jcrop-holder img,
  162. img.jcrop-preview {
  163. max-width: none;
  164. }