app.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. @import '/@/assets/_base.scss';
  2. @import '/@/assets/_base-vars.scss';
  3. @import '/@/assets/theme.editor.scss';
  4. @import '/@/components//basic/dialog/dialog.scss';
  5. @import '/@/components//basic/dialog/toast.scss';
  6. @import '/@/components//basic/button/button.scss';
  7. .tab-layer {
  8. width: 100%;
  9. text-align: center;
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. z-index: 10;
  14. position: fixed;
  15. left: 50%;
  16. transform: translateX(-50%);
  17. top: 2.3rem;
  18. pointer-events: none;
  19. }
  20. .tabs {
  21. pointer-events: auto;
  22. position: relative;
  23. display: flex;
  24. background: #222222;
  25. border-radius: 6px;
  26. padding: 2px;
  27. justify-content: center;
  28. align-items: center;
  29. border: 1px solid rgba(255, 255, 255, 0.1);
  30. box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.5);
  31. .background {
  32. position: absolute;
  33. left: 2px;
  34. top: 2px;
  35. bottom: 2px;
  36. width: 50%;
  37. border-radius: 4px;
  38. background: #444444;
  39. box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.3);
  40. z-index: 0;
  41. transition: left 0.3s;
  42. }
  43. span {
  44. flex: 1;
  45. color: #fff;
  46. opacity: 0.5;
  47. border-radius: 6px;
  48. height: 0.94737rem;
  49. font-size: 0.36842rem;
  50. transition: all 0.3s ease;
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. padding-left: 10px;
  55. padding-right: 10px;
  56. white-space: nowrap;
  57. z-index: 1;
  58. i {
  59. font-size: 0.47368rem;
  60. margin-right: 4px;
  61. pointer-events: none;
  62. }
  63. }
  64. span.active {
  65. opacity: 1;
  66. }
  67. }
  68. [xui_tags_view] {
  69. .tag-body {
  70. /* display: none; */
  71. position: absolute;
  72. left: 50%;
  73. bottom: 50px;
  74. transform: translateX(-50%) scale(0);
  75. transform-origin: bottom;
  76. transition: all 0.3s cubic-bezier(0.35, 0.32, 0.65, 0.63);
  77. // pointer-events: none;
  78. .tag-commodity {
  79. min-width: 230px;
  80. height: 76px;
  81. background: rgba(255, 255, 255, 0.8);
  82. box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  83. border-radius: 2px;
  84. position: relative;
  85. margin-bottom: 30px;
  86. &::before {
  87. content: '';
  88. display: inline-block;
  89. left: 50%;
  90. transform: translateX(-50%);
  91. width: 2px;
  92. height: 28px;
  93. bottom: -30px;
  94. background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  95. position: absolute;
  96. }
  97. .tag-avatar {
  98. position: absolute;
  99. z-index: 99;
  100. width: 80px;
  101. height: 80px;
  102. background: #ffffff;
  103. box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%);
  104. border-radius: 2px;
  105. top: -14px;
  106. left: -12px;
  107. background-size: cover;
  108. pointer-events: none;
  109. }
  110. > p {
  111. color: #131d34;
  112. font-size: 16px;
  113. pointer-events: none;
  114. }
  115. .tag-title {
  116. font-weight: bold;
  117. color: #131d34;
  118. padding: 10px 10px 10px 76px;
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. white-space: nowrap;
  122. width: 240px;
  123. font-size: 14px;
  124. }
  125. .tag-info {
  126. color: #444444;
  127. padding: 0 20px 0 76px;
  128. font-size: 12px;
  129. width: 240px;
  130. > div {
  131. overflow: hidden;
  132. text-overflow: ellipsis;
  133. white-space: nowrap;
  134. max-width: 240px;
  135. }
  136. }
  137. }
  138. &.show {
  139. transform: translateX(-50%) scale(1);
  140. }
  141. }
  142. }
  143. .gudieDisabled {
  144. pointer-events: none !important;
  145. * {
  146. pointer-events: none !important;
  147. }
  148. }
  149. @media (orientation: landscape) {
  150. .tab-layer {
  151. top: 1.2rem;
  152. .tabs {
  153. height: 0.7rem;
  154. > span {
  155. height: 0.7rem;
  156. font-size: 0.25rem;
  157. }
  158. }
  159. }
  160. }
  161. [xui_sync_paint] {
  162. canvas {
  163. top: 0;
  164. left: 0;
  165. }
  166. }