portal html css js resource

jquery.Jcrop.css 3.6KB

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