_repository.less 8.0 KB

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