settings.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. @import "../ui/var";
  2. #admin-wrapper,
  3. #setting-wrapper {
  4. padding-bottom: 100px;
  5. }
  6. #setting-menu {
  7. box-sizing: border-box;
  8. li > a {
  9. border-left: 2px solid #FFF;
  10. background-color: #FFF;
  11. }
  12. li:hover {
  13. a {
  14. border-left: 2px solid #EFEFEF;
  15. background-color: #EFEFEF !important;
  16. color: #000 !important;
  17. }
  18. border-color: #EAEAEA;
  19. }
  20. li.current {
  21. a {
  22. color: #000 !important;
  23. font-weight: bold;
  24. border-left: 2px solid #d26911;
  25. }
  26. }
  27. }
  28. .setting-content {
  29. margin-left: 32px;
  30. }
  31. #auth-setting-form,
  32. #org-setting-form,
  33. #repo-setting-form,
  34. #user-profile-form,
  35. #add-email-form,
  36. .repo-setting-form {
  37. background-color: #FFF;
  38. padding: 30px 0;
  39. textarea {
  40. margin-left: 4px;
  41. height: 100px;
  42. }
  43. label,
  44. .form-label {
  45. width: 240px;
  46. }
  47. .ipt {
  48. width: 360px;
  49. }
  50. .field {
  51. margin-bottom: 24px;
  52. }
  53. }
  54. #hook-type {
  55. padding: 10px 0 0 0;
  56. background-color: #fff;
  57. .field {
  58. margin-bottom: 24px;
  59. }
  60. label {
  61. width: 240px;
  62. }
  63. }
  64. #repo-hooks-panel,
  65. #repo-hooks-history-panel,
  66. #user-social-panel,
  67. #user-applications-panel,
  68. #user-email-panel,
  69. #user-ssh-panel {
  70. margin-bottom: 20px;
  71. .setting-list {
  72. background-color: #FFF;
  73. li {
  74. padding: 8px 20px;
  75. border-bottom: 1px solid #eaeaea;
  76. &.ssh:hover {
  77. background-color: #ffffEE;
  78. }
  79. i {
  80. padding-right: 5px;
  81. }
  82. }
  83. }
  84. .active-icon {
  85. width: 10px;
  86. height: 10px;
  87. border-radius: 6px;
  88. padding: 0;
  89. margin-right: 20px;
  90. margin-top: 10px;
  91. }
  92. .ssh-content {
  93. margin-left: 24px;
  94. .octicon {
  95. margin-right: 4px;
  96. }
  97. .print,
  98. .access,
  99. .activity {
  100. color: #888;
  101. }
  102. .access {
  103. max-width: 500px;
  104. }
  105. }
  106. .ssh-btn {
  107. margin-top: 6px;
  108. }
  109. }
  110. .form-settings-add {
  111. .panel-body {
  112. background-color: #FFF;
  113. padding: 30px 0;
  114. }
  115. .ipt {
  116. width: 500px;
  117. }
  118. textarea {
  119. height: 120px;
  120. margin-left: 3px;
  121. }
  122. .field {
  123. margin-bottom: 24px;
  124. }
  125. }