You are here

imagecrop.css in Image javascript crop 5

Same filename and directory in other branches
  1. 6 imagecrop.css
/* add important to override folks using admin_menu */
body { margin: 0 !important; padding: 0; background: none !important; }

/* default colors and divs */
#imagecrop_presettabs {
  padding: 3px;
  color: #fff;
  font-weight: bold;
  background-color: orange;
}
.imagecrop_tab {
  padding: 1px;
  margin-right: 3px;
  border: 1px solid black;
  font-size: 14px;
}
#imagecrop_presettabs a {
  color: #fff;
  font-weight: bold;
}
.imagecrop_highlight, .imagecrop_highlight {
  background-color: silver;
}

#imagecrop_info  {
  color: #fff;
  font-weight: bold;
  padding: 3px;
  height: 20px;
}
.imagecrop_error {
  background-color: red;
}
.white {
  color: #fff;
}
.imagecrop_warning {
  background-color: orange;
}
#imagecrop_help {
  padding: 3px;
  width: auto;
  background-color: silver;
}
#imagecrop_help a {
  color: #fff;
  font-weight: bold;
  display: block;
}
#imageoffsets .form-button , #imageoffsets .form-submit {
  margin: 2px;
}
#imagecrop_table_actions tbody {
  border: none;
}
#imagecrop_table_actions td {
  padding: 0;
}

/* Classes and divs to create the crop area */
.imagefield-crop-wrapper { 
  background-color: #ccc;)
  position: absolute;
}

#image-crop-container {
  position: relative;
  background-color: #ccc;
  background-repeat: no-repeat;
  opacity:.2;
  filter: alpha(opacity=20);-moz-opacity: 0.2;
}


#resizeMe{
  position: absolute;
  cursor: move;
  background-position: 0 0;
  background-repeat: no-repeat;
  border: 1px dashed black;
}

#resizeSE,
#resizeE,
#resizeNE,
#resizeN,
#resizeNW,
#resizeW,
#resizeSW,
#resizeS { 
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #333;
  border: 1px solid #fff;
  overflow: hidden;
}
    #resizeSE{bottom: -10px;right: -10px;cursor: se-resize;}
    #resizeE {top: 50%;right: -10px;margin-top: -5px;cursor: e-resize;}
    #resizeNE{top: -10px;right: -10px;cursor: ne-resize;}
    #resizeN {top: -10px;left: 50%;margin-left: -5px;cursor: n-resize;}
    #resizeNW{top: -10px;left: -10px;cursor: nw-resize;}
    #resizeW {top: 50%;left: -10px;margin-top: -5px;cursor: w-resize;}
    #resizeSW{left: -10px;bottom: -10px;cursor: sw-resize;}
    #resizeS{bottom: -10px;left: 50%;margin-left: -5px;cursor: s-resize;}

File

imagecrop.css
View source
  1. /* add important to override folks using admin_menu */
  2. body { margin: 0 !important; padding: 0; background: none !important; }
  3. /* default colors and divs */
  4. #imagecrop_presettabs {
  5. padding: 3px;
  6. color: #fff;
  7. font-weight: bold;
  8. background-color: orange;
  9. }
  10. .imagecrop_tab {
  11. padding: 1px;
  12. margin-right: 3px;
  13. border: 1px solid black;
  14. font-size: 14px;
  15. }
  16. #imagecrop_presettabs a {
  17. color: #fff;
  18. font-weight: bold;
  19. }
  20. .imagecrop_highlight, .imagecrop_highlight {
  21. background-color: silver;
  22. }
  23. #imagecrop_info {
  24. color: #fff;
  25. font-weight: bold;
  26. padding: 3px;
  27. height: 20px;
  28. }
  29. .imagecrop_error {
  30. background-color: red;
  31. }
  32. .white {
  33. color: #fff;
  34. }
  35. .imagecrop_warning {
  36. background-color: orange;
  37. }
  38. #imagecrop_help {
  39. padding: 3px;
  40. width: auto;
  41. background-color: silver;
  42. }
  43. #imagecrop_help a {
  44. color: #fff;
  45. font-weight: bold;
  46. display: block;
  47. }
  48. #imageoffsets .form-button , #imageoffsets .form-submit {
  49. margin: 2px;
  50. }
  51. #imagecrop_table_actions tbody {
  52. border: none;
  53. }
  54. #imagecrop_table_actions td {
  55. padding: 0;
  56. }
  57. /* Classes and divs to create the crop area */
  58. .imagefield-crop-wrapper {
  59. background-color: #ccc;)
  60. position: absolute;
  61. }
  62. #image-crop-container {
  63. position: relative;
  64. background-color: #ccc;
  65. background-repeat: no-repeat;
  66. opacity:.2;
  67. filter: alpha(opacity=20);-moz-opacity: 0.2;
  68. }
  69. #resizeMe{
  70. position: absolute;
  71. cursor: move;
  72. background-position: 0 0;
  73. background-repeat: no-repeat;
  74. border: 1px dashed black;
  75. }
  76. #resizeSE,
  77. #resizeE,
  78. #resizeNE,
  79. #resizeN,
  80. #resizeNW,
  81. #resizeW,
  82. #resizeSW,
  83. #resizeS {
  84. position: absolute;
  85. width: 8px;
  86. height: 8px;
  87. background-color: #333;
  88. border: 1px solid #fff;
  89. overflow: hidden;
  90. }
  91. #resizeSE{bottom: -10px;right: -10px;cursor: se-resize;}
  92. #resizeE {top: 50%;right: -10px;margin-top: -5px;cursor: e-resize;}
  93. #resizeNE{top: -10px;right: -10px;cursor: ne-resize;}
  94. #resizeN {top: -10px;left: 50%;margin-left: -5px;cursor: n-resize;}
  95. #resizeNW{top: -10px;left: -10px;cursor: nw-resize;}
  96. #resizeW {top: 50%;left: -10px;margin-top: -5px;cursor: w-resize;}
  97. #resizeSW{left: -10px;bottom: -10px;cursor: sw-resize;}
  98. #resizeS{bottom: -10px;left: 50%;margin-left: -5px;cursor: s-resize;}