settings.less 1.8 KB

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