SecurityTab.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. .api-token-section {
  2. padding: 8px 20px 16px;
  3. display: flex;
  4. flex-direction: column;
  5. gap: 12px;
  6. }
  7. .api-token-header {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. gap: 12px;
  12. flex-wrap: wrap;
  13. }
  14. .api-token-hint {
  15. margin: 0;
  16. font-size: 12.5px;
  17. opacity: 0.7;
  18. flex: 1;
  19. min-width: 200px;
  20. }
  21. .api-token-row {
  22. border: 1px solid var(--ant-color-border-secondary);
  23. border-radius: 8px;
  24. padding: 10px 12px;
  25. display: flex;
  26. flex-direction: column;
  27. gap: 8px;
  28. transition: opacity 0.15s;
  29. }
  30. .api-token-row.disabled {
  31. opacity: 0.55;
  32. }
  33. .api-token-row-head {
  34. display: flex;
  35. align-items: center;
  36. justify-content: space-between;
  37. gap: 8px;
  38. flex-wrap: wrap;
  39. }
  40. .api-token-name-wrap {
  41. display: flex;
  42. flex-direction: column;
  43. gap: 2px;
  44. }
  45. .api-token-name {
  46. font-weight: 600;
  47. font-size: 13.5px;
  48. }
  49. .api-token-created {
  50. font-size: 11px;
  51. opacity: 0.55;
  52. }
  53. .api-token-actions {
  54. display: flex;
  55. align-items: center;
  56. gap: 8px;
  57. }
  58. .api-token-value-wrap {
  59. display: flex;
  60. align-items: center;
  61. gap: 6px;
  62. flex-wrap: wrap;
  63. }
  64. .api-token-value {
  65. flex: 1;
  66. min-width: 0;
  67. font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  68. font-size: 12.5px;
  69. padding: 4px 8px;
  70. background: var(--ant-color-fill-tertiary);
  71. border-radius: 4px;
  72. word-break: break-all;
  73. }
  74. .security-actions {
  75. padding: 12px 0;
  76. display: flex;
  77. align-items: center;
  78. }