Layouts.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. @import "~assets/less/variable";
  2. .dashboardControlPanel {
  3. background-color: @white;
  4. padding: 4px 8px 8px;
  5. margin-top: 16px;
  6. border-radius: 3px;
  7. display: flex;
  8. align-items: flex-end;
  9. &.empty {
  10. padding: 0;
  11. margin: 0;
  12. display: none;
  13. }
  14. .controls {
  15. flex: 1;
  16. }
  17. .actions {
  18. flex-shrink: 0;
  19. padding: 6px 8px;
  20. button {
  21. // margin-top: 20px;
  22. margin-left: 8px;
  23. &:first-child {
  24. margin-left: 0;
  25. }
  26. }
  27. }
  28. }
  29. .fullscreenControlPanel {
  30. background-color: @white;
  31. display: flex;
  32. flex-direction: column;
  33. .actions {
  34. margin-top: 8px;
  35. text-align: right;
  36. button {
  37. margin-left: 8px;
  38. &:first-child {
  39. margin-left: 0;
  40. }
  41. }
  42. }
  43. }
  44. .dashboardItemControlPanel {
  45. padding: 8px 16px;
  46. border-bottom: 1px solid @border-color-base;
  47. overflow: hidden;
  48. display: flex;
  49. flex-direction: column;
  50. .controls {
  51. flex: 1;
  52. }
  53. .actions {
  54. flex-shrink: 0;
  55. text-align: right;
  56. button {
  57. margin-left: 8px;
  58. &:first-child {
  59. margin-left: 0;
  60. }
  61. }
  62. }
  63. }
  64. .controlItem {
  65. margin: 0;
  66. .antFormItemLabelCustom(0.8571em, 1em, 4px);
  67. .antFormItemStyleWithoutForm;
  68. }