organization.less 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. .org-header-alert .alert {
  2. margin-top: 10px;
  3. }
  4. .org-header {
  5. padding: 16px 0;
  6. background-color: #FFF;
  7. border-bottom: 1px solid #DDD;
  8. img {
  9. padding-right: 10px;
  10. }
  11. }
  12. #org-home-header {
  13. min-height: 100px;
  14. }
  15. #org-header {
  16. height: 48px;
  17. .org-name {
  18. padding-left: 10px;
  19. font-size: 1.4em;
  20. height: 50px;
  21. line-height: 50px;
  22. margin-bottom: 0;
  23. }
  24. > div {
  25. > .menu-line {
  26. > li {
  27. &.right {
  28. > a {
  29. font-size: 1.2em;
  30. color: @dashboardHeaderLinkColor;
  31. &:hover {
  32. background-color: transparent;
  33. color: @dashboardHeaderLinkHoverColor;
  34. }
  35. .octicon {
  36. margin-right: 6px;
  37. }
  38. }
  39. .current {
  40. border-bottom: 2px solid #D26911;
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. #org-home-header-info {
  48. padding-top: 10px;
  49. h2 {
  50. font-size: 30px;
  51. }
  52. ul {
  53. list-style: none;
  54. li {
  55. float: left;
  56. padding-right: 5px;
  57. }
  58. }
  59. }
  60. #org-home-repo-list {
  61. padding: 10px 0;
  62. }
  63. #org-repo-list {
  64. padding: 10px 0;
  65. .org-repo-item {
  66. border-top: 1px solid #eee;
  67. padding: 30px 20px;
  68. .org-repo-status {
  69. list-style: none;
  70. color: #888;
  71. li {
  72. float: left;
  73. margin-right: 6px;
  74. }
  75. }
  76. h2 {
  77. margin-bottom: 5px;
  78. }
  79. .org-repo-description {
  80. margin: 0;
  81. font-size: 14px;
  82. color: #666;
  83. }
  84. .org-repo-updated {
  85. font-size: 12px;
  86. display: block;
  87. margin: 5px 0 0;
  88. color: #808080;
  89. }
  90. }
  91. }
  92. .org-sidebar {
  93. margin: -80px 0 0 20px;
  94. .panel-footer {
  95. padding: .8em 1.2em;
  96. }
  97. .member-avatar-group {
  98. padding: 15px;
  99. img {
  100. width: 59px;
  101. height: 59px;
  102. border-radius: 3px;
  103. }
  104. }
  105. }
  106. #org-home-team-list {
  107. padding: 0 15px;
  108. ul {
  109. list-style: none;
  110. padding-top: 10px;
  111. li {
  112. padding: 10px 0;
  113. border-bottom: 1px solid #eee;
  114. &:last-child {
  115. border-bottom: 0;
  116. }
  117. }
  118. }
  119. }
  120. .team-name {
  121. display: block;
  122. font-size: 14px;
  123. overflow: hidden;
  124. text-overflow: ellipsis;
  125. white-space: nowrap;
  126. }
  127. .team-meta {
  128. margin-top: 0;
  129. margin-bottom: 0;
  130. color: #777;
  131. }
  132. .org-toolbar {
  133. padding: 10px 0;
  134. border-bottom: 1px solid #eee;
  135. }
  136. #org-member-list {
  137. .org-member-item {
  138. height: 50px;
  139. line-height: 50px;
  140. border-bottom: 1px solid #eee;
  141. padding: 15px 20px;
  142. .member-name {
  143. padding-left: 15px;
  144. }
  145. ul {
  146. list-style: none;
  147. li {
  148. text-align: center;
  149. display: inline-block;
  150. }
  151. }
  152. }
  153. }
  154. .invite-box {
  155. padding: 50px 0;
  156. min-height: 130px;
  157. margin: 0 auto;
  158. width: 50%;
  159. input {
  160. width: 300px;
  161. }
  162. }
  163. #org-member-list-block {
  164. padding-top: 2px;
  165. }
  166. .org-team-list {
  167. .org-team-list-item {
  168. float: left;
  169. padding: 15px;
  170. width: 555px;
  171. .member-avatar-group {
  172. padding: 5px 15px;
  173. img {
  174. width: 38px;
  175. height: 38px;
  176. border-radius: 3px;
  177. }
  178. }
  179. }
  180. }
  181. #team-create-form {
  182. .note {
  183. margin-left: 153px;
  184. }
  185. }