settings.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. .repo-setting-form {
  36. background-color: #FFF;
  37. padding: 30px 0;
  38. textarea {
  39. margin-left: 4px;
  40. height: 100px;
  41. }
  42. label,
  43. .form-label {
  44. width: 240px;
  45. }
  46. .ipt {
  47. width: 360px;
  48. }
  49. .field {
  50. margin-bottom: 24px;
  51. }
  52. }
  53. #hook-type {
  54. padding: 10px 0 0 0;
  55. background-color: #fff;
  56. .field {
  57. margin-bottom: 24px;
  58. }
  59. label {
  60. width: 240px;
  61. }
  62. }
  63. #repo-hooks-panel,
  64. #repo-hooks-history-panel,
  65. #user-social-panel,
  66. #user-ssh-panel {
  67. margin-bottom: 20px;
  68. .setting-list {
  69. background-color: #FFF;
  70. li {
  71. padding: 8px 20px;
  72. border-bottom: 1px solid #eaeaea;
  73. &.ssh:hover {
  74. background-color: #ffffEE;
  75. }
  76. i {
  77. padding-right: 5px;
  78. }
  79. }
  80. }
  81. .active-icon {
  82. width: 10px;
  83. height: 10px;
  84. border-radius: 6px;
  85. padding: 0;
  86. margin-right: 20px;
  87. margin-top: 10px;
  88. }
  89. .ssh-content {
  90. margin-left: 24px;
  91. .octicon {
  92. margin-right: 4px;
  93. }
  94. .print,
  95. .activity {
  96. color: #888;
  97. }
  98. }
  99. .ssh-delete-btn {
  100. margin-top: 6px;
  101. }
  102. }
  103. #user-ssh-add-form {
  104. .panel-body {
  105. background-color: #FFF;
  106. padding: 30px 0;
  107. }
  108. .ipt {
  109. width: 500px;
  110. }
  111. textarea {
  112. height: 120px;
  113. margin-left: 3px;
  114. }
  115. .field {
  116. margin-bottom: 24px;
  117. }
  118. }