You are here

jquery.Jcrop.css in Image Hotspots 8

/* jquery.Jcrop.css v0.9.12 - MIT License */
/*
  The outer-most container in a typical Jcrop instance
  If you are having difficulty with formatting related to styles
  on a parent element, place any fixes here or in a like selector

  You can also style this element if you want to add a border, etc
  A better method for styling can be seen below with .jcrop-light
  (Add a class to the holder and style elements for that extended class)
*/
.jcrop-holder {
  direction: ltr;
  text-align: left;
  /* IE10 touch compatibility */
  -ms-touch-action: none;
}
/* Selection Border */
.jcrop-vline,
.jcrop-hline {
  background: #ffffff url("Jcrop.gif");
  font-size: 0;
  position: absolute;
}
.jcrop-vline {
  height: 100%;
  width: 1px !important;
}
.jcrop-vline.right {
  right: 0;
}
.jcrop-hline {
  height: 1px !important;
  width: 100%;
}
.jcrop-hline.bottom {
  bottom: 0;
}
/* Invisible click targets */
.jcrop-tracker {
  height: 100%;
  width: 100%;
  /* "turn off" link highlight */
  -webkit-tap-highlight-color: transparent;
  /* disable callout, image save panel */
  -webkit-touch-callout: none;
  /* disable cut copy paste */
  -webkit-user-select: none;
}
/* Selection Handles */
.jcrop-handle {
  background-color: #333333;
  border: 1px #eeeeee solid;
  width: 7px;
  height: 7px;
  font-size: 1px;
}
.jcrop-handle.ord-n {
  left: 50%;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}
.jcrop-handle.ord-s {
  bottom: 0;
  left: 50%;
  margin-bottom: -4px;
  margin-left: -4px;
}
.jcrop-handle.ord-e {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 50%;
}
.jcrop-handle.ord-w {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 50%;
}
.jcrop-handle.ord-nw {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}
.jcrop-handle.ord-ne {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 0;
}
.jcrop-handle.ord-se {
  bottom: 0;
  margin-bottom: -4px;
  margin-right: -4px;
  right: 0;
}
.jcrop-handle.ord-sw {
  bottom: 0;
  left: 0;
  margin-bottom: -4px;
  margin-left: -4px;
}
/* Dragbars */
.jcrop-dragbar.ord-n,
.jcrop-dragbar.ord-s {
  height: 7px;
  width: 100%;
}
.jcrop-dragbar.ord-e,
.jcrop-dragbar.ord-w {
  height: 100%;
  width: 7px;
}
.jcrop-dragbar.ord-n {
  margin-top: -4px;
}
.jcrop-dragbar.ord-s {
  bottom: 0;
  margin-bottom: -4px;
}
.jcrop-dragbar.ord-e {
  margin-right: -4px;
  right: 0;
}
.jcrop-dragbar.ord-w {
  margin-left: -4px;
}
/* The "jcrop-light" class/extension */
.jcrop-light .jcrop-vline,
.jcrop-light .jcrop-hline {
  background: #ffffff;
  filter: alpha(opacity=70) !important;
  opacity: .70!important;
}
.jcrop-light .jcrop-handle {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #000000;
  border-color: #ffffff;
  border-radius: 3px;
}
/* The "jcrop-dark" class/extension */
.jcrop-dark .jcrop-vline,
.jcrop-dark .jcrop-hline {
  background: #000000;
  filter: alpha(opacity=70) !important;
  opacity: 0.7 !important;
}
.jcrop-dark .jcrop-handle {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background-color: #ffffff;
  border-color: #000000;
  border-radius: 3px;
}
/* Simple macro to turn off the antlines */
.solid-line .jcrop-vline,
.solid-line .jcrop-hline {
  background: #ffffff;
}
/* Fix for twitter bootstrap et al. */
.jcrop-holder img,
img.jcrop-preview {
  max-width: none;
}

File

misc/jcrop/css/jquery.Jcrop.css
View source
  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. /* IE10 touch compatibility */
  14. -ms-touch-action: none;
  15. }
  16. /* Selection Border */
  17. .jcrop-vline,
  18. .jcrop-hline {
  19. background: #ffffff url("Jcrop.gif");
  20. font-size: 0;
  21. position: absolute;
  22. }
  23. .jcrop-vline {
  24. height: 100%;
  25. width: 1px !important;
  26. }
  27. .jcrop-vline.right {
  28. right: 0;
  29. }
  30. .jcrop-hline {
  31. height: 1px !important;
  32. width: 100%;
  33. }
  34. .jcrop-hline.bottom {
  35. bottom: 0;
  36. }
  37. /* Invisible click targets */
  38. .jcrop-tracker {
  39. height: 100%;
  40. width: 100%;
  41. /* "turn off" link highlight */
  42. -webkit-tap-highlight-color: transparent;
  43. /* disable callout, image save panel */
  44. -webkit-touch-callout: none;
  45. /* disable cut copy paste */
  46. -webkit-user-select: none;
  47. }
  48. /* Selection Handles */
  49. .jcrop-handle {
  50. background-color: #333333;
  51. border: 1px #eeeeee solid;
  52. width: 7px;
  53. height: 7px;
  54. font-size: 1px;
  55. }
  56. .jcrop-handle.ord-n {
  57. left: 50%;
  58. margin-left: -4px;
  59. margin-top: -4px;
  60. top: 0;
  61. }
  62. .jcrop-handle.ord-s {
  63. bottom: 0;
  64. left: 50%;
  65. margin-bottom: -4px;
  66. margin-left: -4px;
  67. }
  68. .jcrop-handle.ord-e {
  69. margin-right: -4px;
  70. margin-top: -4px;
  71. right: 0;
  72. top: 50%;
  73. }
  74. .jcrop-handle.ord-w {
  75. left: 0;
  76. margin-left: -4px;
  77. margin-top: -4px;
  78. top: 50%;
  79. }
  80. .jcrop-handle.ord-nw {
  81. left: 0;
  82. margin-left: -4px;
  83. margin-top: -4px;
  84. top: 0;
  85. }
  86. .jcrop-handle.ord-ne {
  87. margin-right: -4px;
  88. margin-top: -4px;
  89. right: 0;
  90. top: 0;
  91. }
  92. .jcrop-handle.ord-se {
  93. bottom: 0;
  94. margin-bottom: -4px;
  95. margin-right: -4px;
  96. right: 0;
  97. }
  98. .jcrop-handle.ord-sw {
  99. bottom: 0;
  100. left: 0;
  101. margin-bottom: -4px;
  102. margin-left: -4px;
  103. }
  104. /* Dragbars */
  105. .jcrop-dragbar.ord-n,
  106. .jcrop-dragbar.ord-s {
  107. height: 7px;
  108. width: 100%;
  109. }
  110. .jcrop-dragbar.ord-e,
  111. .jcrop-dragbar.ord-w {
  112. height: 100%;
  113. width: 7px;
  114. }
  115. .jcrop-dragbar.ord-n {
  116. margin-top: -4px;
  117. }
  118. .jcrop-dragbar.ord-s {
  119. bottom: 0;
  120. margin-bottom: -4px;
  121. }
  122. .jcrop-dragbar.ord-e {
  123. margin-right: -4px;
  124. right: 0;
  125. }
  126. .jcrop-dragbar.ord-w {
  127. margin-left: -4px;
  128. }
  129. /* The "jcrop-light" class/extension */
  130. .jcrop-light .jcrop-vline,
  131. .jcrop-light .jcrop-hline {
  132. background: #ffffff;
  133. filter: alpha(opacity=70) !important;
  134. opacity: .70!important;
  135. }
  136. .jcrop-light .jcrop-handle {
  137. -moz-border-radius: 3px;
  138. -webkit-border-radius: 3px;
  139. background-color: #000000;
  140. border-color: #ffffff;
  141. border-radius: 3px;
  142. }
  143. /* The "jcrop-dark" class/extension */
  144. .jcrop-dark .jcrop-vline,
  145. .jcrop-dark .jcrop-hline {
  146. background: #000000;
  147. filter: alpha(opacity=70) !important;
  148. opacity: 0.7 !important;
  149. }
  150. .jcrop-dark .jcrop-handle {
  151. -moz-border-radius: 3px;
  152. -webkit-border-radius: 3px;
  153. background-color: #ffffff;
  154. border-color: #000000;
  155. border-radius: 3px;
  156. }
  157. /* Simple macro to turn off the antlines */
  158. .solid-line .jcrop-vline,
  159. .solid-line .jcrop-hline {
  160. background: #ffffff;
  161. }
  162. /* Fix for twitter bootstrap et al. */
  163. .jcrop-holder img,
  164. img.jcrop-preview {
  165. max-width: none;
  166. }