_repository.less 7.4 KB

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