index.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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: 50px;
  52. margin-top: 10px;
  53. .server,
  54. .procotol {
  55. width: calc(50% - 20px);
  56. margin-right: 10px;
  57. .subTitle {
  58. width: 100%;
  59. margin-bottom: 5px;
  60. overflow: hidden;
  61. color: rgba(0, 0, 0, 0.75);
  62. font-size: 12px;
  63. white-space: nowrap;
  64. text-overflow: ellipsis;
  65. }
  66. .subItem {
  67. width: 100%;
  68. height: 20px;
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow: ellipsis;
  72. }
  73. }
  74. .procotol {
  75. .desc {
  76. width: 100%;
  77. overflow: hidden;
  78. color: #666;
  79. font-weight: 400;
  80. font-size: 12px;
  81. white-space: nowrap;
  82. text-overflow: ellipsis;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. :global {
  90. .ant-pagination-item {
  91. display: none;
  92. }
  93. }