You are here

jquery.imgfocus.css in ImageField Focus 6

Same filename and directory in other branches
  1. 7 imgfocus/jquery.imgfocus.css

Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

File

imgfocus/jquery.imgfocus.css
View source
  1. /**
  2. * @file
  3. * Written by Henri MEDOT
  4. * http://www.absyx.fr
  5. */
  6. html.imgfocus-cursor *
  7. {
  8. cursor: inherit !important;
  9. }
  10. div.imgfocus-wrapper
  11. {
  12. position: relative;
  13. background-color: #000;
  14. }
  15. img.imgfocus-img
  16. {
  17. width: 100%;
  18. height: 100%;
  19. border: 0 none;
  20. opacity: 0.5;
  21. filter: alpha(opacity = 50);
  22. }
  23. div.imgfocus-clipbox
  24. {
  25. position: absolute;
  26. width: 100%;
  27. height: 100%;
  28. left: 0;
  29. top: 0;
  30. }
  31. div.imgfocus-clipbox img.imgfocus-img
  32. {
  33. opacity: 1;
  34. filter: alpha(opacity = 100);
  35. }
  36. div.imgfocus-box
  37. {
  38. position: absolute;
  39. }
  40. div.imgfocus-border
  41. {
  42. position: absolute;
  43. width: 1px;
  44. height: 1px;
  45. background-color: #fff;
  46. background-image: url(jquery.imgfocus.gif);
  47. opacity: 0.7;
  48. filter: alpha(opacity = 70);
  49. }
  50. div.imgfocus-minbox div.imgfocus-border,
  51. div.imgfocus-maxbox div.imgfocus-border
  52. {
  53. background-image: url(jquery.imgfocus.png);
  54. }
  55. div.imgfocus-border-0
  56. {
  57. left: 0;
  58. top: 0;
  59. width: 100%;
  60. }
  61. div.imgfocus-border-1
  62. {
  63. right: 0;
  64. top: 0;
  65. height: 100%;
  66. }
  67. div.imgfocus-border-2
  68. {
  69. left: 0;
  70. bottom: 0;
  71. width: 100%;
  72. }
  73. div.imgfocus-border-3
  74. {
  75. left: 0;
  76. top: 0;
  77. height: 100%;
  78. }
  79. div.imgfocus-move
  80. {
  81. width: 100%;
  82. height: 100%;
  83. background-color: #fff;
  84. opacity: 0;
  85. filter: alpha(opacity = 0);
  86. cursor: move;
  87. }
  88. div.imgfocus-resize
  89. {
  90. position: absolute;
  91. width: 10px;
  92. height: 10px;
  93. background-color: #fff;
  94. }
  95. div.imgfocus-resize-side
  96. {
  97. opacity: 0;
  98. filter: alpha(opacity = 0);
  99. }
  100. div.imgfocus-resize-corner
  101. {
  102. z-index: 1;
  103. opacity: 0.7;
  104. filter: alpha(opacity = 70);
  105. }
  106. div.imgfocus-handle-0
  107. {
  108. left: -5px;
  109. top: -5px;
  110. cursor: nw-resize;
  111. }
  112. div.imgfocus-handle-1
  113. {
  114. left: 0;
  115. top: -5px;
  116. width: 100%;
  117. cursor: n-resize;
  118. }
  119. div.imgfocus-handle-2
  120. {
  121. right: -5px;
  122. top: -5px;
  123. cursor: ne-resize;
  124. }
  125. div.imgfocus-handle-3
  126. {
  127. right: -5px;
  128. top: 0;
  129. height: 100%;
  130. cursor: e-resize;
  131. }
  132. div.imgfocus-handle-4
  133. {
  134. right: -5px;
  135. bottom: -5px;
  136. cursor: se-resize;
  137. z-index: 2;
  138. }
  139. div.imgfocus-handle-5
  140. {
  141. left: 0;
  142. bottom: -5px;
  143. width: 100%;
  144. cursor: s-resize;
  145. }
  146. div.imgfocus-handle-6
  147. {
  148. left: -5px;
  149. bottom: -5px;
  150. cursor: sw-resize;
  151. }
  152. div.imgfocus-handle-7
  153. {
  154. left: -5px;
  155. top: 0;
  156. height: 100%;
  157. cursor: w-resize;
  158. }