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.

_repository.less 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  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. &.input {
  54. margin-right: -7px;
  55. }
  56. .new-label-input {
  57. width: 150px;
  58. }
  59. .color-picker {
  60. height: 35px;
  61. width: auto;
  62. padding-left: 30px;
  63. }
  64. .minicolors-swatch.minicolors-sprite {
  65. top: 10px;
  66. left: 10px;
  67. width: 15px;
  68. height: 15px;
  69. }
  70. &.precolors {
  71. padding-left: 0;
  72. padding-right: 0;
  73. margin-right: 10px;
  74. width: 120px;
  75. .color {
  76. float: left;
  77. width: 15px;
  78. height: 15px;
  79. }
  80. }
  81. }
  82. }
  83. .filter.menu {
  84. .label.color {
  85. margin-left: 17px;
  86. padding: 0 8px;
  87. }
  88. .octicon {
  89. float: left;
  90. margin-left: -5px;
  91. margin-right: -7px;
  92. }
  93. .menu {
  94. max-height: 300px;
  95. overflow-x: auto;
  96. right: 0!important;
  97. left: auto!important;
  98. .clickable .name {
  99. padding-left: 15px!important;
  100. }
  101. }
  102. }
  103. .page.buttons {
  104. padding-top: 15px;
  105. }
  106. .issue.list {
  107. clear: both;
  108. list-style: none;
  109. >.item {
  110. padding-top: 15px;
  111. padding-bottom: 10px;
  112. border-bottom: 1px dashed #AAA;
  113. .title {
  114. color: #444;
  115. font-size: 15px;
  116. font-weight: bold;
  117. margin: 0 6px;
  118. &:hover {
  119. color: #000;
  120. }
  121. }
  122. .comment {
  123. padding-right: 10px;
  124. color: #666;
  125. }
  126. .desc {
  127. padding-top: 5px;
  128. color: #999;
  129. a.milestone {
  130. padding-left: 5px;
  131. color: #999!important;
  132. &:hover {
  133. color: #000!important;
  134. }
  135. }
  136. }
  137. }
  138. }
  139. .label.list {
  140. clear: both;
  141. list-style: none;
  142. .item {
  143. padding-top: 10px;
  144. padding-bottom: 10px;
  145. border-bottom: 1px dashed #AAA;
  146. a {
  147. font-size: 15px;
  148. padding-top: 5px;
  149. padding-right: 10px;
  150. color: #666;
  151. &:hover {
  152. color: #000;
  153. }
  154. &.open-issues {
  155. margin-right: 30px;
  156. }
  157. }
  158. }
  159. }
  160. .milestone.list {
  161. clear: both;
  162. list-style: none;
  163. > .item {
  164. padding-top: 10px;
  165. padding-bottom: 10px;
  166. border-bottom: 1px dashed #AAA;
  167. > a {
  168. padding-top: 5px;
  169. padding-right: 10px;
  170. color: #000;
  171. &:hover {
  172. color: #4078c0;
  173. }
  174. }
  175. .ui.progress {
  176. width: 40%;
  177. padding: 0;
  178. border: 0;
  179. margin: 0;
  180. .bar {
  181. height: 20px;
  182. }
  183. }
  184. .meta {
  185. color: #999;
  186. padding-top: 5px;
  187. .issue-stats .octicon{
  188. padding-left: 5px;
  189. }
  190. .overdue {
  191. color: red;
  192. }
  193. }
  194. .operate {
  195. margin-top: -15px;
  196. > a {
  197. font-size: 15px;
  198. padding-top: 5px;
  199. padding-right: 10px;
  200. color: #666;
  201. &:hover {
  202. color: #000;
  203. }
  204. }
  205. }
  206. .content {
  207. padding-top: 10px;
  208. }
  209. }
  210. }
  211. &.new.milestone {
  212. textarea {
  213. height: 200px;
  214. }
  215. }
  216. &.settings {
  217. .content {
  218. padding-left: 20px!important;
  219. }
  220. }
  221. &.compare.pull {
  222. .choose.branch {
  223. .octicon {
  224. padding-right: 10px;
  225. }
  226. }
  227. }
  228. .filter.dropdown .menu {
  229. margin-top: 1px!important;
  230. .items {
  231. max-height: 300px;
  232. overflow-y: auto;
  233. .item {
  234. position: relative;
  235. cursor: pointer;
  236. display: block;
  237. border: none;
  238. height: auto;
  239. border-top: none;
  240. line-height: 1em;
  241. color: rgba(0,0,0,.8);
  242. padding: .71428571em 1.14285714em!important;
  243. font-size: 1rem;
  244. text-transform: none;
  245. font-weight: 400;
  246. box-shadow: none;
  247. -webkit-touch-callout: none;
  248. &.active {
  249. font-weight: 700;
  250. }
  251. &:hover {
  252. background: rgba(0,0,0,.05);
  253. color: rgba(0,0,0,.8);
  254. z-index: 13;
  255. }
  256. }
  257. }
  258. }
  259. }
  260. .settings .key.list {
  261. .item:not(:first-child) {
  262. border-top: 1px solid #eaeaea;
  263. }
  264. .ssh-key-state-indicator {
  265. float: left;
  266. color: gray;
  267. padding-left: 10px;
  268. padding-top: 10px;
  269. &.active {
  270. color: #6cc644;
  271. }
  272. }
  273. .meta {
  274. padding-top: 5px;
  275. }
  276. .print {
  277. color: #767676;
  278. }
  279. .activity {
  280. color: #666;
  281. }
  282. }
  283. .edit-label.modal {
  284. .color-picker {
  285. margin-top: -8px!important;
  286. height: 35px;
  287. width: auto!important;
  288. padding-left: 30px!important;
  289. }
  290. .minicolors-swatch.minicolors-sprite {
  291. top: 1px;
  292. left: 10px;
  293. width: 15px;
  294. height: 15px;
  295. }
  296. .precolors {
  297. margin-bottom: -11px!important;
  298. padding-left: 0!important;
  299. padding-right: 0!important;
  300. margin-right: 10px!important;
  301. width: 120px!important;
  302. .color {
  303. float: left;
  304. margin: 0!important;
  305. width: 15px;
  306. height: 15px;
  307. }
  308. }
  309. }