layerManager.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. input[type="checkbox"] {
  2. cursor: pointer;
  3. }
  4. input[type="color"] {
  5. width: 30px;
  6. height: 16px;
  7. border: 0;
  8. padding: 0;
  9. background-color: rgba(0, 0, 0, 0.0);
  10. overflow: hidden;
  11. }
  12. /* ::-webkit-color-swatch-wrapper {
  13. border: 1px solid #777;
  14. } */
  15. ::-webkit-color-swatch {
  16. position:relative;
  17. margin-top: -5px;
  18. width: 40px;
  19. height: 16px;
  20. }
  21. .popup-container {
  22. position: absolute;
  23. top: 76px;
  24. left: calc(5%);
  25. width: 330px;
  26. height: 600px;
  27. max-height: 90%; /* fix the issue when canvas's height is less than 600px */
  28. border-radius: 4px;
  29. border: 1px solid rgba(0, 0, 0, 0.7);
  30. background-color: rgba(255, 255, 255, 0.7);
  31. color: black;
  32. z-index: 1000;
  33. overflow: hidden;
  34. }
  35. .popup-container:hover {
  36. background-color: rgba(255, 255, 255, 1);
  37. }
  38. .popup-wrapper {
  39. width: 100%;
  40. height: calc(100% - 40px);
  41. padding: 0;
  42. margin: 0;
  43. border-bottom: 1px solid #ccc;
  44. overflow-y: scroll;
  45. }
  46. .popup-list-item {
  47. display: flex;
  48. /* justify-content: space-between; */
  49. align-items: center;
  50. padding: 6px;
  51. border-bottom: 1px solid #ccc;
  52. white-space: nowrap;
  53. }
  54. .popup-list-item:hover {
  55. background-color: aliceblue;
  56. }
  57. .popup-layer-color {
  58. display: inline-block;
  59. margin-left: 5px;
  60. width: 20px;
  61. font-size: 12px;
  62. }
  63. .popup-layer-name {
  64. display: inline-block;
  65. margin-left: 10px;
  66. padding: 1px 0;
  67. width: 280px;
  68. font-size: 12px;
  69. text-overflow: ellipsis;
  70. overflow: hidden;
  71. }
  72. .popup-color {
  73. margin-left: 8px;
  74. font-size: 12px;
  75. border: 1px solid black;
  76. width: 18px;
  77. height: 16px;
  78. min-width: 18px;
  79. }
  80. .popup-freeze {
  81. margin-right: 5px;
  82. color: #ccc;
  83. font-size: 12px;
  84. width: 50px;
  85. }
  86. .popup-hide {
  87. visibility: hidden;
  88. }
  89. .popup-header {
  90. display: flex;
  91. /* justify-content: space-between; */
  92. align-items: center;
  93. width: 100%;
  94. height: 40px;
  95. border-bottom: 1px solid #ccc;
  96. }
  97. /* .popup-layer-name-title,
  98. .popup-layer-color-title {
  99. display: inline;
  100. color: #ccc;
  101. font-size: 12px;
  102. }
  103. .popup-layer-name-title {
  104. margin-left: 40px;
  105. }
  106. .popup-layer-color-title {
  107. margin-right: 75px;
  108. } */
  109. .popup-close {
  110. position: absolute;
  111. top: 10px;
  112. right: 20px;
  113. font-size: 16px;
  114. cursor: pointer;
  115. }
  116. .popup-header {
  117. display: flex;
  118. align-items: center;
  119. padding-left: 6px;
  120. width: 100%;
  121. height: 40px;
  122. border-bottom: 1px solid #ccc;
  123. background-color: #00000022;
  124. }