_repository.less 7.5 KB

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