imageSlicer.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .image-with-rect {
  2. position: relative;
  3. }
  4. .image-with-rect img {
  5. display: block;
  6. width: 100%;
  7. }
  8. .rect {
  9. box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. -webkit-box-sizing: border-box;
  12. position: absolute;
  13. text-align: center;
  14. border-style: dotted;
  15. transform-origin: left top;
  16. }
  17. .patternpartcheckbox{
  18. margin: 30px;
  19. height: 20px !important;
  20. }
  21. .patternPart2 span{
  22. display:block;
  23. text-align: center;
  24. }
  25. .patternPart2{
  26. display: inline-block;
  27. white-space: nowrap;
  28. }
  29. .patternPart2Input{
  30. width: 8em !important;
  31. text-align: center;
  32. padding: 0.5em 0 !important;
  33. }
  34. .patternPart3 span, .patternPart3Text span{
  35. display:block;
  36. text-align: center;
  37. }
  38. .patternPart3, .patternPart3Text{
  39. padding: 10px 0px;
  40. display: inline-block;
  41. white-space: nowrap;
  42. }
  43. .patternPart3Input{
  44. width: 4em !important;
  45. text-align: center;
  46. margin-top: 5px !important;
  47. }
  48. #imgRectangles .wasGroup:nth-child(even){ /* or "odd" */
  49. background-color: #efefef;
  50. }
  51. /*.image-with-rect {
  52. position: relative;
  53. width: 100%;
  54. }
  55. .image-with-rect .image {
  56. display: block;
  57. width: 100%;
  58. height: auto;
  59. }
  60. .image-with-rect .rect {
  61. box-sizing: border-box;
  62. -moz-box-sizing: border-box;
  63. -webkit-box-sizing: border-box;
  64. position: absolute;
  65. overflow: hidden;
  66. border-style: dotted;
  67. }
  68. */
  69. /* Chrome, Safari, Edge, Opera */
  70. .noarrow::-webkit-outer-spin-button,
  71. .noarrow::-webkit-inner-spin-button {
  72. -webkit-appearance: none;
  73. margin: 0;
  74. }
  75. /* Firefox */
  76. .noarrow {
  77. -moz-appearance: textfield;
  78. }