You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_admin.less 3.3 kB

9 years ago
9 years ago
9 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. .admin {
  2. padding-top: 15px !important;
  3. .table.segment {
  4. padding: 0;
  5. font-size: 13px;
  6. &:not(.striped) {
  7. padding-top: 5px;
  8. thead {
  9. th:last-child {
  10. padding-right: 5px !important;
  11. }
  12. }
  13. }
  14. th {
  15. padding-top: 5px;
  16. padding-bottom: 5px;
  17. }
  18. &:not(.select) {
  19. th,
  20. td {
  21. &:first-of-type {
  22. padding-left: 15px !important;
  23. }
  24. }
  25. }
  26. form tbody button[type='submit'] {
  27. padding: 5px 8px;
  28. }
  29. }
  30. .ui.header,
  31. .ui.segment {
  32. box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
  33. }
  34. &.user {
  35. .email {
  36. max-width: 200px;
  37. }
  38. }
  39. dl.admin-dl-horizontal {
  40. padding: 20px;
  41. margin: 0;
  42. dd {
  43. margin-left: 275px;
  44. }
  45. dt {
  46. font-weight: bolder;
  47. float: left;
  48. width: 285px;
  49. clear: left;
  50. overflow: hidden;
  51. text-overflow: ellipsis;
  52. white-space: nowrap;
  53. }
  54. }
  55. &.config {
  56. #test-mail-btn {
  57. margin-left: 5px;
  58. }
  59. }
  60. code,
  61. pre {
  62. white-space: pre-wrap;
  63. word-wrap: break-word;
  64. }
  65. display: flex;
  66. .new-menu.navbar {
  67. width: 230px !important;
  68. display: flex;
  69. flex-direction: column;
  70. justify-content: flex-start !important;
  71. border-bottom: none !important;
  72. background-color: transparent !important;
  73. .item-container {
  74. display: flex;
  75. flex-direction: column;
  76. padding-top: 8px;
  77. padding-bottom: 8px;
  78. margin-left: 10px !important;
  79. margin-right: 10px !important;
  80. border: 1px solid #d4d4d5;
  81. border-radius: 4px;
  82. box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  83. background-color: #fafafa !important;
  84. .item {
  85. align-self: flex-start !important;
  86. width: 100%;
  87. padding-left: 20px;
  88. &.active {
  89. color: #40a9ff !important;
  90. border-right: 4px solid #40a9ff;
  91. border-radius: 0 !important;
  92. border-bottom: none !important;
  93. background-color: rgb(255, 255, 255);
  94. }
  95. &:hover {
  96. background-color: #ffffff !important;
  97. }
  98. &:active {
  99. border-color: transparent !important;
  100. }
  101. &.item-next {
  102. padding-left: 45px;
  103. }
  104. &.item-first {
  105. color: rgba(0,0,0,.87);
  106. &:hover {
  107. background-color: transparent !important;
  108. }
  109. }
  110. }
  111. }
  112. }
  113. >.ui.container {
  114. flex: 1 !important;
  115. padding-right: 10px;
  116. }
  117. }