_repository.less 7.3 KB

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