_repository.less 5.0 KB

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