_repository.less 7.5 KB

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