index.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @import '~antd/es/style/themes/default.less';
  2. .access-config-card-item {
  3. &.active {
  4. border: 1px solid @primary-color-active;
  5. }
  6. .tableCardDisabled {
  7. width: 100%;
  8. background: url('/images/access-config-diaabled.png') no-repeat;
  9. background-size: 100% 100%;
  10. }
  11. .tableCardEnabled {
  12. width: 100%;
  13. background: url('/images/access-config-enabled.png') no-repeat;
  14. background-size: 100% 100%;
  15. }
  16. .context-access {
  17. display: flex;
  18. width: 100%;
  19. .card {
  20. display: flex;
  21. flex-direction: column;
  22. flex-grow: 1;
  23. width: 0;
  24. margin-left: 20px;
  25. .header {
  26. .title {
  27. width: calc(100% - 70px);
  28. overflow: hidden;
  29. font-weight: 700;
  30. font-size: 18px;
  31. white-space: nowrap;
  32. text-overflow: ellipsis;
  33. }
  34. .title::before {
  35. display: none;
  36. }
  37. .desc {
  38. width: 100%;
  39. margin-top: 10px;
  40. overflow: hidden;
  41. color: #666;
  42. font-weight: 400;
  43. font-size: 12px;
  44. white-space: nowrap;
  45. text-overflow: ellipsis;
  46. }
  47. }
  48. .container {
  49. display: flex;
  50. width: 100%;
  51. min-height: 60px;
  52. margin-top: 10px;
  53. .server,
  54. .procotol {
  55. width: calc(50% - 20px);
  56. margin-right: 10px;
  57. .serverItem {
  58. display: flex;
  59. flex-direction: column;
  60. align-items: center;
  61. justify-content: center;
  62. }
  63. .subTitle {
  64. width: 100%;
  65. overflow: hidden;
  66. color: rgba(0, 0, 0, 0.75);
  67. font-size: 12px;
  68. white-space: nowrap;
  69. text-overflow: ellipsis;
  70. }
  71. .subItem {
  72. width: 100%;
  73. height: 20px;
  74. overflow: hidden;
  75. color: #666;
  76. font-size: 12px;
  77. white-space: nowrap;
  78. text-overflow: ellipsis;
  79. }
  80. }
  81. .procotol {
  82. .desc {
  83. width: 100%;
  84. overflow: hidden;
  85. color: #666;
  86. font-weight: 400;
  87. font-size: 12px;
  88. white-space: nowrap;
  89. text-overflow: ellipsis;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. }
  96. :global {
  97. .ant-pagination-item {
  98. display: none;
  99. }
  100. }