props.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. .props {
  2. .panel {
  3. padding: 16px;
  4. width: 268px;
  5. }
  6. .title {
  7. font-size: 12px;
  8. color: var(--color);
  9. }
  10. .form-item {
  11. display: flex;
  12. label {
  13. width: 76px;
  14. font-size: 12px;
  15. line-height: 30px;
  16. flex-shrink: 0;
  17. color: var(--color);
  18. }
  19. .t-input-number {
  20. width: 100%;
  21. line-height: 30px;
  22. height: 30px;
  23. .t-input__wrap {
  24. height: 100%;
  25. .t-input {
  26. height: 100%;
  27. background: none;
  28. border-color: transparent;
  29. color: var(--color-title);
  30. &:hover,
  31. &.t-is-focused {
  32. border-color: var(--color-border-input);
  33. }
  34. }
  35. }
  36. .t-input-number__increase,
  37. .t-input-number__decrease {
  38. width: 20px;
  39. }
  40. }
  41. .t-input {
  42. border-color: transparent;
  43. .t-input__inner {
  44. text-overflow: unset;
  45. }
  46. &:hover,
  47. &.t-is-focused {
  48. border-color: var(--color-border-input);
  49. }
  50. }
  51. .t-icon {
  52. font-size: 16px;
  53. height: 30px;
  54. }
  55. }
  56. .t-collapse.t--border-less {
  57. .t-collapse-panel__header {
  58. font-size: 13px;
  59. font-weight: 700;
  60. border-top: 1px solid var(--td-border-level-1-color);
  61. color: var(--color-title);
  62. }
  63. .t-collapse-panel__wrapper .t-collapse-panel__content {
  64. padding: 0 16px 16px 16px;
  65. }
  66. }
  67. .t-radio-group .t-radio {
  68. line-height: 2;
  69. }
  70. .t-radio__input {
  71. width: 12px;
  72. height: 12px;
  73. border-color: var(--color-desc);
  74. &::after {
  75. width: 6px;
  76. height: 6px;
  77. left: 2px;
  78. top: 2px;
  79. margin: 0;
  80. transform: none;
  81. }
  82. }
  83. .t-radio__label {
  84. font-size: 12px;
  85. color: var(--color-desc);
  86. }
  87. .t-checkbox__input {
  88. width: 14px;
  89. height: 14px;
  90. border-color: var(--color-desc);
  91. &::after {
  92. left: 2.5px !important;
  93. top: 5.5px !important;
  94. }
  95. }
  96. .t-button {
  97. height: 24px;
  98. border-color: var(--color-desc);
  99. &:hover {
  100. border-color: var(--color-primary);
  101. color: var(--color-primary);
  102. }
  103. }
  104. .t-tree__empty {
  105. color: var(--color-gray);
  106. margin-left: 12px;
  107. }
  108. .t-tree__item {
  109. cursor: pointer;
  110. svg {
  111. width: 16px;
  112. color: var(--td-text-color-primary);
  113. flex-shrink: 0;
  114. &:hover {
  115. color: var(--color-primary);
  116. }
  117. }
  118. .gray svg {
  119. color: var(--color-gray);
  120. }
  121. .t-tree__label {
  122. .t-icon {
  123. font-size: 14px;
  124. margin-right: 4px;
  125. }
  126. }
  127. &.t-is-active {
  128. .t-tree__label,
  129. svg,
  130. .gray {
  131. color: var(--color-primary);
  132. }
  133. }
  134. .t-tree__operations {
  135. padding: 0 8px;
  136. .operations {
  137. * {
  138. display: none;
  139. }
  140. &.show {
  141. * {
  142. display: flex;
  143. }
  144. }
  145. }
  146. }
  147. &:hover {
  148. color: var(--color-primary);
  149. .t-tree__label,
  150. svg,
  151. .gray {
  152. color: var(--color-primary);
  153. }
  154. .t-tree__operations {
  155. .operations * {
  156. display: flex;
  157. }
  158. }
  159. }
  160. .t-tree__icon:not(:empty):hover {
  161. background: none;
  162. }
  163. }
  164. .t-tab-panel {
  165. height: calc(100vh - 81px);
  166. overflow-x: hidden;
  167. overflow-y: auto;
  168. }
  169. .t-input {
  170. height: 30px;
  171. background: none;
  172. border: 1px solid var(--color-border-input);
  173. }
  174. .t-slider {
  175. .t-slider__rail,
  176. .t-slider__track {
  177. height: 3px;
  178. }
  179. .t-slider__button {
  180. width: 8px;
  181. height: 8px;
  182. border: none;
  183. }
  184. .t-slider__button--dragging {
  185. box-shadow: none;
  186. }
  187. }
  188. ::-webkit-scrollbar {
  189. width: 2px;
  190. height: 6px;
  191. }
  192. }