index.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .picture-editor-wrap_layer {
  2. position: absolute;
  3. top: 0px;
  4. left: 100% ;
  5. margin-left: 10px;
  6. bottom: 0px;
  7. z-index: 10;
  8. width: 120px;
  9. background: #535353;
  10. padding: 10px;
  11. padding-right: 0px;
  12. padding-top: 0px;
  13. border-radius: 5px;
  14. overflow: auto;
  15. &~.picture-editor-wrap_edit {
  16. right: -440px;
  17. }
  18. &:before {
  19. content: "";
  20. width: 100%;
  21. height: 10px;
  22. display: block;
  23. background: #535353;
  24. position:sticky;
  25. top:0;
  26. z-index: 10;
  27. }
  28. .item {
  29. width: 102px;
  30. height: 102px;
  31. margin-bottom: 10px;
  32. border: 1px solid #ddd;
  33. &.active {
  34. border: 1px solid $primary2;
  35. box-shadow: 0 0 5px $primary2 ;
  36. }
  37. &.save-image {
  38. border: 1px #535353 dashed;
  39. font-size: 14px;
  40. background: url('~@/assets/images/bg-image.png') #535353;
  41. background-size: 12px 12px;
  42. color: #EEEEEE;
  43. cursor: pointer;
  44. margin-top: 0;
  45. position: sticky;
  46. top:10px;
  47. z-index: 10;
  48. .el-icon-plus {
  49. color: #eee;
  50. }
  51. &:hover {
  52. border: 1px #6f6f6f dashed;
  53. }
  54. &.disabled {
  55. opacity: .4;
  56. cursor: not-allowed;
  57. border: 1px #535353 dashed;
  58. box-shadow: none;
  59. }
  60. }
  61. img {
  62. object-fit: contain;
  63. width: 100px;
  64. height: 100px;
  65. }
  66. }
  67. .matting {
  68. // position: absolute;
  69. // visibility: hidden;
  70. }
  71. }