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

179 lines
2.9 KiB

9 years ago
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. height: 75px;
  7. padding-top: 20px;
  8. background-color: #FCFCFC;
  9. .mega-octicon {
  10. width: @mega-octicon-width;
  11. }
  12. a,
  13. .fork-flag {
  14. font-weight: 300;
  15. }
  16. .ui.label {
  17. margin-top: 5px;
  18. vertical-align: top;
  19. }
  20. .fork-flag {
  21. margin-left: @mega-octicon-width + 8px;
  22. display: block;
  23. font-size: 11px;
  24. line-height: 10px;
  25. white-space: nowrap;
  26. }
  27. .button {
  28. margin-left: 10px;
  29. i {
  30. margin-right: 5px;
  31. }
  32. }
  33. .num {
  34. font-weight: bold;
  35. }
  36. .octicon {
  37. height: 5px;
  38. }
  39. }
  40. .navbar {
  41. height: 60px;
  42. padding-top: 20px;
  43. .ui.secondary.menu .item {
  44. margin-left: -10px;
  45. margin-top: -7px;
  46. &>.input {
  47. .new-label-input,
  48. .color-picker {
  49. background-color: white;
  50. border: 1px solid rgba(0,0,0,.15);
  51. }
  52. }
  53. .new-label-input {
  54. width: 150px;
  55. }
  56. .color-picker {
  57. height: 35px;
  58. width: auto;
  59. padding-left: 30px;
  60. }
  61. .minicolors-swatch.minicolors-sprite {
  62. top: 10px;
  63. left: 10px;
  64. width: 15px;
  65. height: 15px;
  66. }
  67. &.precolors {
  68. padding-left: 0;
  69. padding-right: 0;
  70. margin-right: 10px;
  71. width: 120px;
  72. .color {
  73. float: left;
  74. width: 15px;
  75. height: 15px;
  76. }
  77. }
  78. }
  79. }
  80. .filter.menu {
  81. .label.color {
  82. margin-left: 17px;
  83. padding: 0 8px;
  84. }
  85. .octicon {
  86. float: left;
  87. margin-left: -5px;
  88. margin-right: -7px;
  89. }
  90. .menu {
  91. max-height: 300px;
  92. overflow-x: auto;
  93. }
  94. }
  95. .type.item .menu {
  96. right: 0!important;
  97. left: auto!important;
  98. }
  99. .issue.list {
  100. clear: both;
  101. list-style: none;
  102. font-size: 13px;
  103. padding-top: 15px;
  104. >.item {
  105. padding-top: 15px;
  106. padding-bottom: 10px;
  107. border-bottom: 1px dashed #AAA;
  108. .title {
  109. color: #444;
  110. font-size: 15px;
  111. font-weight: bold;
  112. margin: 0 6px;
  113. &:hover {
  114. color: #000;
  115. }
  116. }
  117. .comment {
  118. padding-right: 10px;
  119. color: #666;
  120. }
  121. .desc {
  122. padding-top: 5px;
  123. color: #999;
  124. }
  125. }
  126. .page.buttons {
  127. padding-top: 15px;
  128. }
  129. }
  130. .label.list {
  131. clear: both;
  132. padding-top: 15px;
  133. .item {
  134. padding-top: 10px;
  135. padding-bottom: 10px;
  136. border-bottom: 1px dashed #AAA;
  137. a {
  138. font-size: 15px;
  139. padding-top: 5px;
  140. padding-right: 10px;
  141. color: #666;
  142. &:hover {
  143. color: #000;
  144. }
  145. &.open-issues {
  146. margin-right: 30px;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. .edit-label.modal {
  153. .color-picker {
  154. margin-top: -8px!important;
  155. height: 35px;
  156. width: auto!important;
  157. padding-left: 30px!important;
  158. }
  159. .minicolors-swatch.minicolors-sprite {
  160. top: 1px;
  161. left: 10px;
  162. width: 15px;
  163. height: 15px;
  164. }
  165. .precolors {
  166. margin-bottom: -11px!important;
  167. padding-left: 0!important;
  168. padding-right: 0!important;
  169. margin-right: 10px!important;
  170. width: 120px!important;
  171. .color {
  172. float: left;
  173. margin: 0!important;
  174. width: 15px;
  175. height: 15px;
  176. }
  177. }
  178. }