_repository.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. .column {
  7. padding-top: 5px!important;
  8. padding-bottom: 5px!important;
  9. }
  10. .ui.compact.menu {
  11. margin-left: 1rem;
  12. }
  13. .ui.header {
  14. margin-top: 0;
  15. }
  16. .mega-octicon {
  17. width: @mega-octicon-width;
  18. font-size: 30px;
  19. }
  20. .ui.huge.breadcrumb {
  21. font-weight: 300;
  22. font-size: 1.7rem;
  23. }
  24. .fork-flag {
  25. margin-left: @mega-octicon-width + 8px;
  26. display: block;
  27. font-size: 11px;
  28. line-height: 10px;
  29. white-space: nowrap;
  30. }
  31. }
  32. .metas {
  33. .menu {
  34. max-height: 300px;
  35. overflow-x: auto;
  36. }
  37. .ui.list {
  38. .ui.avatar.image {
  39. border-radius: 0;
  40. }
  41. .hide {
  42. display: none!important;
  43. }
  44. .label.color {
  45. padding: 0 8px;
  46. margin-right: 5px;
  47. }
  48. a {
  49. padding-top: 5px;
  50. padding-right: 10px;
  51. .text {
  52. color: #444;
  53. &:hover {
  54. color: #000;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .filter.menu {
  61. .label.color {
  62. margin-left: 15px;
  63. padding: 0 8px;
  64. }
  65. .octicon {
  66. float: left;
  67. margin-left: -5px;
  68. margin-right: -7px;
  69. }
  70. .menu {
  71. max-height: 300px;
  72. overflow-x: auto;
  73. right: 0!important;
  74. left: auto!important;
  75. .clickable .name {
  76. padding-left: 15px!important;
  77. }
  78. }
  79. }
  80. .page.buttons {
  81. padding-top: 15px;
  82. }
  83. .issue.list {
  84. list-style: none;
  85. padding-top: 15px;
  86. >.item {
  87. padding-top: 15px;
  88. padding-bottom: 10px;
  89. border-bottom: 1px dashed #AAA;
  90. .title {
  91. color: #444;
  92. font-size: 15px;
  93. font-weight: bold;
  94. margin: 0 6px;
  95. &:hover {
  96. color: #000;
  97. }
  98. }
  99. .comment {
  100. padding-right: 10px;
  101. color: #666;
  102. }
  103. .desc {
  104. padding-top: 5px;
  105. color: #999;
  106. a.milestone {
  107. padding-left: 5px;
  108. color: #999!important;
  109. &:hover {
  110. color: #000!important;
  111. }
  112. }
  113. .assignee {
  114. margin-top: -10px;
  115. }
  116. }
  117. }
  118. }
  119. @comment-avatar-width: 3em;
  120. &.new.issue {
  121. .comment.form {
  122. .comment {
  123. .avatar {
  124. width: @comment-avatar-width;
  125. }
  126. }
  127. .content {
  128. margin-left: 4em;
  129. .markdown {
  130. font-size: 14px;
  131. }
  132. }
  133. .metas {
  134. min-width: 220px;
  135. .filter.menu {
  136. max-height: 300px;
  137. overflow-x: auto;
  138. }
  139. }
  140. }
  141. }
  142. &.view.issue {
  143. .title {
  144. padding-bottom: 0!important;
  145. h1 {
  146. font-weight: 300;
  147. font-size: 3rem;
  148. margin-bottom: 5px;
  149. }
  150. .index {
  151. font-weight: 300;
  152. color: #aaa;
  153. letter-spacing: -1px;
  154. }
  155. .label {
  156. margin-right: 10px;
  157. }
  158. }
  159. .comment-list {
  160. .comment {
  161. .avatar {
  162. width: @comment-avatar-width;
  163. }
  164. .content {
  165. margin-left: 4em;
  166. .header {
  167. font-weight: normal;
  168. padding: auto 15px;
  169. color: #767676;
  170. background-color: #f7f7f7;
  171. border-bottom: 1px solid #eee;
  172. border-top-left-radius: 3px;
  173. border-top-right-radius: 3px;
  174. .text {
  175. max-width: 78%;
  176. padding-top: 10px;
  177. padding-bottom: 10px;
  178. color: #767676;
  179. a {
  180. color: #444;
  181. &:hover {
  182. color: #000;
  183. }
  184. }
  185. }
  186. }
  187. .markdown {
  188. font-size: 14px;
  189. }
  190. .no-content {
  191. color: #767676;
  192. font-style: italic;
  193. }
  194. > .bottom.segment {
  195. background: #f3f4f5;
  196. .ui.image {
  197. max-height: 150px;
  198. }
  199. }
  200. }
  201. .ui.form {
  202. .field:first-child {
  203. clear: none;
  204. }
  205. .tab.segment {
  206. border: none;
  207. padding: 0;
  208. padding-top: 10px;
  209. }
  210. textarea {
  211. height: 200px;
  212. }
  213. }
  214. }
  215. }
  216. .ui.segment.metas {
  217. margin-top: -3px;
  218. }
  219. }
  220. .comment.form {
  221. .ui.comments {
  222. margin-top: -12px;
  223. max-width: 100%;
  224. }
  225. .content {
  226. .field:first-child {
  227. clear: none;
  228. }
  229. .tab.segment {
  230. border: none;
  231. padding: 0;
  232. padding-top: 10px;
  233. }
  234. textarea {
  235. height: 200px;
  236. }
  237. }
  238. }
  239. .label.list {
  240. list-style: none;
  241. padding-top: 15px;
  242. .item {
  243. padding-top: 10px;
  244. padding-bottom: 10px;
  245. border-bottom: 1px dashed #AAA;
  246. a {
  247. font-size: 15px;
  248. padding-top: 5px;
  249. padding-right: 10px;
  250. color: #666;
  251. &:hover {
  252. color: #000;
  253. }
  254. &.open-issues {
  255. margin-right: 30px;
  256. }
  257. }
  258. }
  259. }
  260. .milestone.list {
  261. list-style: none;
  262. padding-top: 15px;
  263. > .item {
  264. padding-top: 10px;
  265. padding-bottom: 10px;
  266. border-bottom: 1px dashed #AAA;
  267. > a {
  268. padding-top: 5px;
  269. padding-right: 10px;
  270. color: #000;
  271. &:hover {
  272. color: #4078c0;
  273. }
  274. }
  275. .ui.progress {
  276. width: 40%;
  277. padding: 0;
  278. border: 0;
  279. margin: 0;
  280. .bar {
  281. height: 20px;
  282. }
  283. }
  284. .meta {
  285. color: #999;
  286. padding-top: 5px;
  287. .issue-stats .octicon{
  288. padding-left: 5px;
  289. }
  290. .overdue {
  291. color: red;
  292. }
  293. }
  294. .operate {
  295. margin-top: -15px;
  296. > a {
  297. font-size: 15px;
  298. padding-top: 5px;
  299. padding-right: 10px;
  300. color: #666;
  301. &:hover {
  302. color: #000;
  303. }
  304. }
  305. }
  306. .content {
  307. padding-top: 10px;
  308. }
  309. }
  310. }
  311. &.new.milestone {
  312. textarea {
  313. height: 200px;
  314. }
  315. #deadline {
  316. width: 150px;
  317. }
  318. }
  319. &.compare.pull {
  320. .choose.branch {
  321. .octicon {
  322. padding-right: 10px;
  323. }
  324. }
  325. }
  326. .filter.dropdown .menu {
  327. margin-top: 1px!important;
  328. .items {
  329. max-height: 300px;
  330. overflow-y: auto;
  331. .item {
  332. position: relative;
  333. cursor: pointer;
  334. display: block;
  335. border: none;
  336. height: auto;
  337. border-top: none;
  338. line-height: 1em;
  339. color: rgba(0,0,0,.8);
  340. padding: .71428571em 1.14285714em!important;
  341. font-size: 1rem;
  342. text-transform: none;
  343. font-weight: 400;
  344. box-shadow: none;
  345. -webkit-touch-callout: none;
  346. &.active {
  347. font-weight: 700;
  348. }
  349. &:hover {
  350. background: rgba(0,0,0,.05);
  351. color: rgba(0,0,0,.8);
  352. z-index: 13;
  353. }
  354. }
  355. }
  356. }
  357. }
  358. .ui.comments {
  359. .dropzone {
  360. width: 100%;
  361. margin-bottom: 10px;
  362. border: 2px dashed #0087F7;
  363. box-shadow: none!important;
  364. .dz-error-message {
  365. top: 140px;
  366. }
  367. }
  368. }
  369. .settings .key.list {
  370. .item:not(:first-child) {
  371. border-top: 1px solid #eaeaea;
  372. }
  373. .ssh-key-state-indicator {
  374. float: left;
  375. color: gray;
  376. padding-left: 10px;
  377. padding-top: 10px;
  378. &.active {
  379. color: #6cc644;
  380. }
  381. }
  382. .meta {
  383. padding-top: 5px;
  384. }
  385. .print {
  386. color: #767676;
  387. }
  388. .activity {
  389. color: #666;
  390. }
  391. }
  392. .ui.vertical.menu {
  393. .header.item {
  394. font-size: 1.1em;
  395. background: #f0f0f0;
  396. }
  397. }
  398. .edit-label.modal,
  399. .new-label.segment {
  400. .form {
  401. .column {
  402. padding-right: 0;
  403. }
  404. .buttons {
  405. margin-left: auto;
  406. padding-top: 15px;
  407. }
  408. .color.picker.column {
  409. width: auto;
  410. .color-picker {
  411. height: 35px;
  412. width: auto;
  413. padding-left: 30px;
  414. }
  415. }
  416. .minicolors-swatch.minicolors-sprite {
  417. top: 10px;
  418. left: 10px;
  419. width: 15px;
  420. height: 15px;
  421. }
  422. .precolors {
  423. padding-left: 0;
  424. padding-right: 0;
  425. margin: 3px 10px auto 10px;
  426. width: 120px;
  427. .color {
  428. float: left;
  429. width: 15px;
  430. height: 15px;
  431. }
  432. }
  433. }
  434. }