index.less 932 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @import '../../style/themes/index';
  2. @import '../../style/mixins/index';
  3. @code-editor-prefix-cls: ~'@{ant-prefix}-code-editor';
  4. .@{code-editor-prefix-cls} {
  5. position: relative;
  6. display: block;
  7. width: 100%;
  8. height: 100%;
  9. background-color: @component-background;
  10. .@{code-editor-prefix-cls}-loading {
  11. position: absolute;
  12. z-index: 100;
  13. display: flex;
  14. justify-content: center;
  15. width: 100%;
  16. height: 100%;
  17. background-color: @component-background;
  18. }
  19. .@{code-editor-prefix-cls}-toolkit {
  20. position: absolute;
  21. top: 20px;
  22. right: 160px;
  23. z-index: 2;
  24. min-width: 100px;
  25. height: 24px;
  26. text-align: right;
  27. background: transparent;
  28. i,
  29. span[nz-icon],
  30. nz-icon {
  31. position: relative;
  32. right: 4px;
  33. cursor: pointer;
  34. &:not(:last-child) {
  35. padding-right: 4px;
  36. }
  37. &.active {
  38. color: @primary-color;
  39. }
  40. }
  41. }
  42. }