_repository.less 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482
  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. &:before {
  161. display: block;
  162. content: "";
  163. position: absolute;
  164. margin-top: 12px;
  165. margin-bottom: 14px;
  166. top: 0;
  167. bottom: 0;
  168. left: 96px;
  169. width: 2px;
  170. background-color: #f3f3f3;
  171. z-index: -1;
  172. }
  173. .comment {
  174. .avatar {
  175. width: @comment-avatar-width;
  176. }
  177. .tag {
  178. color: #767676;
  179. margin-top: 3px;
  180. padding: 2px 5px;
  181. font-size: 12px;
  182. border: 1px solid rgba(0,0,0,0.1);
  183. border-radius: 3px;
  184. }
  185. .content {
  186. margin-left: 4em;
  187. .header {
  188. font-weight: normal;
  189. padding: auto 15px;
  190. color: #767676;
  191. background-color: #f7f7f7;
  192. border-bottom: 1px solid #eee;
  193. border-top-left-radius: 3px;
  194. border-top-right-radius: 3px;
  195. .text {
  196. max-width: 78%;
  197. padding-top: 10px;
  198. padding-bottom: 10px;
  199. }
  200. }
  201. .markdown {
  202. font-size: 14px;
  203. }
  204. .no-content {
  205. color: #767676;
  206. font-style: italic;
  207. }
  208. > .bottom.segment {
  209. background: #f3f4f5;
  210. .ui.image {
  211. max-height: 150px;
  212. }
  213. }
  214. }
  215. .ui.form {
  216. .field:first-child {
  217. clear: none;
  218. }
  219. .tab.segment {
  220. border: none;
  221. padding: 0;
  222. padding-top: 10px;
  223. }
  224. textarea {
  225. height: 200px;
  226. }
  227. }
  228. }
  229. .event {
  230. position: relative;
  231. margin: 15px 0 15px 79px;
  232. padding-left: 25px;
  233. .octicon {
  234. width: 30px;
  235. float: left;
  236. margin-left: -36px;
  237. text-align: center;
  238. &.octicon-circle-slash {
  239. font-size: 30px;
  240. color: #bd2c00;
  241. }
  242. &.octicon-primitive-dot {
  243. font-size: 35px;
  244. color: #6cc644;
  245. }
  246. }
  247. }
  248. }
  249. .ui.segment.metas {
  250. margin-top: -3px;
  251. }
  252. }
  253. .comment.form {
  254. .ui.comments {
  255. margin-top: -12px;
  256. max-width: 100%;
  257. }
  258. .content {
  259. .field:first-child {
  260. clear: none;
  261. }
  262. .tab.segment {
  263. border: none;
  264. padding: 0;
  265. padding-top: 10px;
  266. }
  267. textarea {
  268. height: 200px;
  269. }
  270. }
  271. }
  272. .label.list {
  273. list-style: none;
  274. padding-top: 15px;
  275. .item {
  276. padding-top: 10px;
  277. padding-bottom: 10px;
  278. border-bottom: 1px dashed #AAA;
  279. a {
  280. font-size: 15px;
  281. padding-top: 5px;
  282. padding-right: 10px;
  283. color: #666;
  284. &:hover {
  285. color: #000;
  286. }
  287. &.open-issues {
  288. margin-right: 30px;
  289. }
  290. }
  291. }
  292. }
  293. .milestone.list {
  294. list-style: none;
  295. padding-top: 15px;
  296. > .item {
  297. padding-top: 10px;
  298. padding-bottom: 10px;
  299. border-bottom: 1px dashed #AAA;
  300. > a {
  301. padding-top: 5px;
  302. padding-right: 10px;
  303. color: #000;
  304. &:hover {
  305. color: #4078c0;
  306. }
  307. }
  308. .ui.progress {
  309. width: 40%;
  310. padding: 0;
  311. border: 0;
  312. margin: 0;
  313. .bar {
  314. height: 20px;
  315. }
  316. }
  317. .meta {
  318. color: #999;
  319. padding-top: 5px;
  320. .issue-stats .octicon{
  321. padding-left: 5px;
  322. }
  323. .overdue {
  324. color: red;
  325. }
  326. }
  327. .operate {
  328. margin-top: -15px;
  329. > a {
  330. font-size: 15px;
  331. padding-top: 5px;
  332. padding-right: 10px;
  333. color: #666;
  334. &:hover {
  335. color: #000;
  336. }
  337. }
  338. }
  339. .content {
  340. padding-top: 10px;
  341. }
  342. }
  343. }
  344. &.new.milestone {
  345. textarea {
  346. height: 200px;
  347. }
  348. #deadline {
  349. width: 150px;
  350. }
  351. }
  352. &.compare.pull {
  353. .choose.branch {
  354. .octicon {
  355. padding-right: 10px;
  356. }
  357. }
  358. }
  359. .filter.dropdown .menu {
  360. margin-top: 1px!important;
  361. .items {
  362. max-height: 300px;
  363. overflow-y: auto;
  364. .item {
  365. position: relative;
  366. cursor: pointer;
  367. display: block;
  368. border: none;
  369. height: auto;
  370. border-top: none;
  371. line-height: 1em;
  372. color: rgba(0,0,0,.8);
  373. padding: .71428571em 1.14285714em!important;
  374. font-size: 1rem;
  375. text-transform: none;
  376. font-weight: 400;
  377. box-shadow: none;
  378. -webkit-touch-callout: none;
  379. &.active {
  380. font-weight: 700;
  381. }
  382. &:hover {
  383. background: rgba(0,0,0,.05);
  384. color: rgba(0,0,0,.8);
  385. z-index: 13;
  386. }
  387. }
  388. }
  389. }
  390. }
  391. .ui.comments {
  392. .dropzone {
  393. width: 100%;
  394. margin-bottom: 10px;
  395. border: 2px dashed #0087F7;
  396. box-shadow: none!important;
  397. .dz-error-message {
  398. top: 140px;
  399. }
  400. }
  401. }
  402. .settings .key.list {
  403. .item:not(:first-child) {
  404. border-top: 1px solid #eaeaea;
  405. }
  406. .ssh-key-state-indicator {
  407. float: left;
  408. color: gray;
  409. padding-left: 10px;
  410. padding-top: 10px;
  411. &.active {
  412. color: #6cc644;
  413. }
  414. }
  415. .meta {
  416. padding-top: 5px;
  417. }
  418. .print {
  419. color: #767676;
  420. }
  421. .activity {
  422. color: #666;
  423. }
  424. }
  425. .ui.vertical.menu {
  426. .header.item {
  427. font-size: 1.1em;
  428. background: #f0f0f0;
  429. }
  430. }
  431. .edit-label.modal,
  432. .new-label.segment {
  433. .form {
  434. .column {
  435. padding-right: 0;
  436. }
  437. .buttons {
  438. margin-left: auto;
  439. padding-top: 15px;
  440. }
  441. .color.picker.column {
  442. width: auto;
  443. .color-picker {
  444. height: 35px;
  445. width: auto;
  446. padding-left: 30px;
  447. }
  448. }
  449. .minicolors-swatch.minicolors-sprite {
  450. top: 10px;
  451. left: 10px;
  452. width: 15px;
  453. height: 15px;
  454. }
  455. .precolors {
  456. padding-left: 0;
  457. padding-right: 0;
  458. margin: 3px 10px auto 10px;
  459. width: 120px;
  460. .color {
  461. float: left;
  462. width: 15px;
  463. height: 15px;
  464. }
  465. }
  466. }
  467. }