You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 7.6KB

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