Stack.less 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @import "~assets/less/variable";
  2. .stackItem {
  3. width: 168px;
  4. height: 168px;
  5. margin-bottom: 24px;
  6. border: @border-width-base @border-style-base @border-color-base;
  7. border-radius: @border-radius-base;
  8. overflow-y: hidden;
  9. &:hover {
  10. overflow-y: auto;
  11. }
  12. &.active {
  13. background: lighten(@light-green, 20%);
  14. }
  15. &.drop {
  16. background: lighten(@light-green, 30%);
  17. }
  18. &.add {
  19. display: flex;
  20. flex-direction: row;
  21. justify-content: center;
  22. align-items: center;
  23. i {
  24. color: @primary-color;
  25. font-size: 40px;
  26. &:hover {
  27. cursor: pointer;
  28. }
  29. }
  30. }
  31. }
  32. .stackInfo {
  33. margin-left: 8px;
  34. &:hover {
  35. cursor: pointer;
  36. }
  37. }
  38. .metricItem {
  39. padding: 0px 8px;
  40. height: 30px;
  41. margin: 8px;
  42. border: @border-width-base @border-style-base @border-color-base;
  43. border-radius: @border-radius-base;
  44. cursor: move;
  45. display: flex;
  46. align-items: center;
  47. justify-content: space-between;
  48. i {
  49. display: none;
  50. }
  51. &:hover i{
  52. display: inline-block;
  53. cursor: pointer;
  54. }
  55. }
  56. .list {
  57. min-height: 48px;
  58. display: flex;
  59. flex-direction: row;
  60. flex-wrap: wrap;
  61. justify-content: flex-start;
  62. border: @border-width-base @border-style-base @border-color-base;
  63. border-radius: @border-radius-base;
  64. margin: 16px 0;
  65. }
  66. .groups {
  67. display: flex;
  68. flex-direction: row;
  69. flex-wrap: wrap;
  70. justify-content: space-between;
  71. }