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 54KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. .repo-header {
  5. .ui.compact.menu {
  6. margin-left: 1rem;
  7. }
  8. .ui.header {
  9. margin-top: 0;
  10. }
  11. .mega-octicon {
  12. width: @mega-octicon-width;
  13. font-size: 30px;
  14. }
  15. .ui.huge.breadcrumb {
  16. font-weight: 400;
  17. font-size: 1.5rem;
  18. }
  19. .fork-flag {
  20. margin-left: @mega-octicon-width + 6px;
  21. margin-top: 3px;
  22. display: block;
  23. font-size: 12px;
  24. white-space: nowrap;
  25. }
  26. .octicon.octicon-repo-forked {
  27. margin-top: -1px;
  28. font-size: 15px;
  29. }
  30. .button {
  31. margin-top: 2px;
  32. margin-bottom: 2px;
  33. }
  34. }
  35. .tabs {
  36. .navbar {
  37. justify-content: initial;
  38. }
  39. }
  40. .navbar {
  41. display: flex;
  42. justify-content: space-between;
  43. .ui.label {
  44. margin-left: 7px;
  45. padding: 3px 5px;
  46. }
  47. }
  48. .owner.dropdown {
  49. min-width: 40% !important;
  50. }
  51. #file-buttons {
  52. /* The reason for the !important is that Semantic itself has
  53. margin-left: 0 !important on right items on mobile, which is mostly
  54. to make sure elements which on menus would otherwise be on the right
  55. align correctly with other elements when stacked.
  56. Unfortunately, this brings some weird alignment on this particular
  57. element, so we need to override it. */
  58. margin-left: auto !important;
  59. font-weight: normal;
  60. .ui.button {
  61. padding: 8px 10px;
  62. font-weight: normal;
  63. }
  64. }
  65. .metas {
  66. .menu {
  67. max-height: 300px;
  68. overflow-x: auto;
  69. }
  70. .ui.list {
  71. .hide {
  72. display: none !important;
  73. }
  74. .item {
  75. padding: 0;
  76. }
  77. .label.color {
  78. padding: 0 8px;
  79. margin-right: 5px;
  80. }
  81. a {
  82. margin: 2px 0;
  83. .text {
  84. color: #444444;
  85. &:hover {
  86. color: #000000;
  87. }
  88. }
  89. }
  90. }
  91. #deadlineForm input {
  92. width: 12.8rem;
  93. border-radius: 4px 0 0 4px;
  94. border-right: 0;
  95. white-space: nowrap;
  96. }
  97. }
  98. .header-wrapper {
  99. background-color: #fafafa;
  100. margin-top: -15px;
  101. padding-top: 15px;
  102. .ui.tabs.divider {
  103. border-bottom: 0;
  104. }
  105. .ui.tabular .octicon {
  106. margin-right: 5px;
  107. }
  108. }
  109. .filter.menu {
  110. .label.color {
  111. border-radius: 3px;
  112. margin-left: 15px;
  113. padding: 0 8px;
  114. }
  115. .octicon {
  116. float: left;
  117. margin: 5px -7px 0 -5px;
  118. width: 16px;
  119. }
  120. &.labels .octicon {
  121. margin: -2px -7px 0 -5px;
  122. }
  123. .text {
  124. margin-left: 0.9em;
  125. }
  126. .menu {
  127. max-height: 300px;
  128. overflow-x: auto;
  129. right: 0 !important;
  130. left: auto !important;
  131. }
  132. .dropdown.item {
  133. margin: 1px;
  134. padding-right: 0;
  135. }
  136. }
  137. .select-label {
  138. .item {
  139. max-width: 250px;
  140. overflow: hidden;
  141. text-overflow: ellipsis;
  142. }
  143. .desc {
  144. padding-left: 16px;
  145. }
  146. }
  147. .ui.tabs {
  148. &.container {
  149. margin-top: 14px;
  150. margin-bottom: 0;
  151. .ui.menu {
  152. border-bottom: 0;
  153. }
  154. }
  155. &.divider {
  156. margin-top: 0;
  157. margin-bottom: 20px;
  158. }
  159. }
  160. #clone-panel {
  161. width: 350px;
  162. @media only screen and (max-width: 768px) {
  163. width: 100%;
  164. }
  165. input {
  166. border-radius: 0;
  167. padding: 5px 10px;
  168. width: 50%;
  169. }
  170. .clone.button {
  171. font-size: 13px;
  172. padding: 0 5px;
  173. &:first-child {
  174. border-radius: 0.28571429rem 0 0 0.28571429rem;
  175. }
  176. }
  177. .icon.button {
  178. padding: 0 10px;
  179. }
  180. .dropdown .menu {
  181. right: 0 !important;
  182. left: auto !important;
  183. }
  184. }
  185. &.file.list {
  186. .repo-description {
  187. display: flex;
  188. justify-content: space-between;
  189. align-items: center;
  190. }
  191. #repo-desc {
  192. font-size: 1.2em;
  193. }
  194. .choose.reference {
  195. .header .icon {
  196. font-size: 1.4em;
  197. }
  198. }
  199. .repo-path {
  200. .section,
  201. .divider {
  202. display: inline;
  203. }
  204. }
  205. #file-buttons {
  206. font-weight: normal;
  207. .ui.button {
  208. padding: 8px 10px;
  209. font-weight: normal;
  210. }
  211. .ui.tiny.blue.buttons {
  212. @media only screen and (max-width: 768px) {
  213. width: 100%;
  214. }
  215. }
  216. }
  217. #repo-files-table {
  218. thead {
  219. th {
  220. padding-top: 8px;
  221. padding-bottom: 5px;
  222. font-weight: normal;
  223. }
  224. .ui.avatar {
  225. margin-bottom: 5px;
  226. }
  227. }
  228. tbody {
  229. .octicon {
  230. margin-left: 3px;
  231. margin-right: 5px;
  232. color: #777777;
  233. &.octicon-mail-reply {
  234. margin-right: 10px;
  235. }
  236. &.octicon-file-directory,
  237. &.octicon-file-submodule,
  238. &.octicon-file-symlink-directory {
  239. color: #1e70bf;
  240. }
  241. }
  242. }
  243. td {
  244. padding-top: 8px;
  245. padding-bottom: 8px;
  246. overflow: initial;
  247. &.name {
  248. max-width: 150px;
  249. }
  250. &.message {
  251. max-width: 400px;
  252. }
  253. &.age {
  254. width: 120px;
  255. }
  256. .truncate {
  257. display: inline-block;
  258. max-width: 100%;
  259. overflow: hidden;
  260. text-overflow: ellipsis;
  261. vertical-align: top;
  262. white-space: nowrap;
  263. }
  264. }
  265. td.message .isSigned {
  266. cursor: default;
  267. }
  268. tr:hover {
  269. background-color: #ffffee;
  270. }
  271. .jumpable-path {
  272. color: #888888;
  273. }
  274. }
  275. .non-diff-file-content {
  276. .header {
  277. .icon {
  278. font-size: 1em;
  279. }
  280. .file-actions {
  281. margin-top: 0;
  282. margin-bottom: -5px;
  283. padding-left: 20px;
  284. .btn-octicon {
  285. display: inline-block;
  286. padding: 5px;
  287. margin-left: 5px;
  288. line-height: 1;
  289. color: #767676;
  290. vertical-align: middle;
  291. background: transparent;
  292. border: 0;
  293. outline: none;
  294. }
  295. .btn-octicon:hover {
  296. color: #4078c0;
  297. }
  298. .btn-octicon-danger:hover {
  299. color: #bd2c00;
  300. }
  301. .btn-octicon.disabled {
  302. color: #bbbbbb;
  303. cursor: default;
  304. }
  305. #delete-file-form {
  306. display: inline-block;
  307. }
  308. }
  309. }
  310. .view-raw {
  311. padding: 5px;
  312. * {
  313. max-width: 100%;
  314. }
  315. img {
  316. padding: 5px 5px 0 5px;
  317. }
  318. }
  319. .plain-text {
  320. padding: 1em 2em 1em 2em;
  321. pre {
  322. word-break: break-word;
  323. white-space: pre-wrap;
  324. }
  325. }
  326. pre {
  327. overflow: auto;
  328. }
  329. .code-view {
  330. * {
  331. font-size: 12px;
  332. font-family: @monospaced-fonts, monospace;
  333. line-height: 20px;
  334. }
  335. table {
  336. width: 100%;
  337. }
  338. .lines-num {
  339. vertical-align: top;
  340. text-align: right;
  341. color: #999999;
  342. background: #f5f5f5;
  343. width: 1%;
  344. user-select: none;
  345. span {
  346. line-height: 20px;
  347. padding: 0 10px;
  348. cursor: pointer;
  349. display: block;
  350. }
  351. }
  352. .lines-num,
  353. .lines-code {
  354. padding: 0;
  355. pre,
  356. ol,
  357. .hljs {
  358. background-color: white;
  359. margin: 0;
  360. padding: 0 !important;
  361. li {
  362. display: block;
  363. width: 100%;
  364. &.active {
  365. background: #ffffdd;
  366. }
  367. &:before {
  368. content: ' ';
  369. }
  370. }
  371. }
  372. }
  373. .lines-commit {
  374. vertical-align: top;
  375. color: #999999;
  376. padding: 0;
  377. background: #f5f5f5;
  378. width: 1%;
  379. -moz-user-select: none;
  380. -ms-user-select: none;
  381. -webkit-user-select: none;
  382. user-select: none;
  383. .blame-info {
  384. width: 350px;
  385. max-width: 350px;
  386. display: block;
  387. user-select: none;
  388. padding: 0 0 0 10px;
  389. .blame-data {
  390. display: flex;
  391. font-family: @default-fonts;
  392. .blame-message {
  393. flex-grow: 2;
  394. overflow: hidden;
  395. white-space: nowrap;
  396. text-overflow: ellipsis;
  397. line-height: 20px;
  398. }
  399. .blame-time,
  400. .blame-avatar {
  401. flex-shrink: 0;
  402. }
  403. }
  404. }
  405. .ui.avatar.image {
  406. height: 18px;
  407. width: 18px;
  408. }
  409. }
  410. .lines-num,
  411. .lines-code,
  412. .lines-commit {
  413. .bottom-line {
  414. border-bottom: 1px solid #eaecef;
  415. }
  416. }
  417. .active {
  418. background: #ffffdd;
  419. }
  420. }
  421. }
  422. .sidebar {
  423. padding-left: 0;
  424. .octicon {
  425. width: 16px;
  426. }
  427. }
  428. }
  429. &.file.editor {
  430. .treepath {
  431. width: 100%;
  432. input {
  433. vertical-align: middle;
  434. box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
  435. width: inherit;
  436. padding: 7px 8px;
  437. margin-right: 5px;
  438. }
  439. }
  440. .tabular.menu {
  441. .octicon {
  442. margin-right: 5px;
  443. }
  444. }
  445. .commit-form-wrapper {
  446. padding-left: 64px;
  447. .commit-avatar {
  448. float: left;
  449. margin-left: -64px;
  450. width: 3em;
  451. height: auto;
  452. }
  453. .commit-form {
  454. position: relative;
  455. padding: 15px;
  456. margin-bottom: 10px;
  457. border: 1px solid #dddddd;
  458. border-radius: 3px;
  459. #avatar-arrow;
  460. &:after {
  461. border-right-color: #ffffff;
  462. }
  463. .quick-pull-choice {
  464. .branch-name {
  465. display: inline-block;
  466. padding: 3px 6px;
  467. font: 12px @monospaced-fonts, monospace;
  468. color: rgba(0, 0, 0, 0.65);
  469. background-color: rgba(209, 227, 237, 0.45);
  470. border-radius: 3px;
  471. }
  472. .new-branch-name-input {
  473. position: relative;
  474. margin-left: 25px;
  475. input {
  476. width: 240px !important;
  477. padding-left: 26px !important;
  478. }
  479. }
  480. .octicon-git-branch {
  481. position: absolute;
  482. top: 9px;
  483. left: 10px;
  484. color: #b0c4ce;
  485. }
  486. }
  487. }
  488. }
  489. }
  490. &.options {
  491. #interval {
  492. width: 100px !important;
  493. min-width: 100px;
  494. }
  495. .danger {
  496. .item {
  497. padding: 20px 15px;
  498. }
  499. .ui.divider {
  500. margin: 0;
  501. }
  502. }
  503. }
  504. @comment-avatar-width: 3em;
  505. &.new.issue {
  506. .comment.form {
  507. .comment {
  508. .avatar {
  509. width: @comment-avatar-width;
  510. }
  511. }
  512. .content {
  513. margin-left: 4em;
  514. #avatar-arrow;
  515. &:after {
  516. border-right-color: #ffffff;
  517. }
  518. .markdown {
  519. font-size: 14px;
  520. }
  521. }
  522. .metas {
  523. min-width: 220px;
  524. .filter.menu {
  525. max-height: 300px;
  526. overflow-x: auto;
  527. }
  528. }
  529. }
  530. }
  531. &.view.issue {
  532. .title {
  533. padding-bottom: 0 !important;
  534. h1 {
  535. font-weight: 300;
  536. font-size: 2.3rem;
  537. margin-bottom: 5px;
  538. .ui.input {
  539. font-size: 0.5em;
  540. vertical-align: top;
  541. width: 50%;
  542. min-width: 600px;
  543. input {
  544. font-size: 1.5em;
  545. padding: 6px 10px;
  546. }
  547. }
  548. }
  549. .index {
  550. font-weight: 300;
  551. color: #aaaaaa;
  552. letter-spacing: -1px;
  553. }
  554. .label {
  555. margin-right: 10px;
  556. }
  557. .edit-zone {
  558. margin-top: 10px;
  559. }
  560. }
  561. .pull-desc {
  562. code {
  563. color: #0166e6;
  564. }
  565. }
  566. .pull {
  567. &.tabular.menu {
  568. margin-bottom: 10px;
  569. .octicon {
  570. margin-right: 5px;
  571. }
  572. }
  573. &.tab.segment {
  574. border: 0;
  575. padding: 10px 0 0;
  576. box-shadow: none;
  577. background-color: inherit;
  578. }
  579. .merge.box {
  580. .avatar {
  581. margin-left: 10px;
  582. margin-top: 10px;
  583. }
  584. }
  585. .review-item {
  586. .avatar,
  587. .type-icon {
  588. float: none;
  589. display: inline-block;
  590. text-align: center;
  591. vertical-align: middle;
  592. .octicon {
  593. width: 23px;
  594. font-size: 23px;
  595. margin-top: 0.45em;
  596. }
  597. }
  598. .text {
  599. margin: 0.3em 0 0.5em 0.5em;
  600. }
  601. .type-icon {
  602. float: right;
  603. margin-right: 1em;
  604. }
  605. .divider {
  606. margin: 0.5rem 0;
  607. }
  608. .review-content {
  609. padding: 1em 0 1em 3.8em;
  610. }
  611. }
  612. }
  613. .comment-list {
  614. &:not(.prevent-before-timeline):before {
  615. display: block;
  616. content: "";
  617. position: absolute;
  618. margin-top: 12px;
  619. margin-bottom: 14px;
  620. top: 0;
  621. bottom: 0;
  622. left: 96px;
  623. width: 2px;
  624. background-color: #f3f3f3;
  625. z-index: -1;
  626. }
  627. .timeline-line {
  628. position: relative;
  629. display: block;
  630. width: 100%;
  631. max-width: 100%;
  632. &:before {
  633. display: block;
  634. content: "";
  635. position: absolute;
  636. margin-top: 12px;
  637. margin-bottom: 14px;
  638. top: 0;
  639. bottom: 0;
  640. left: 82px;
  641. width: 2px;
  642. background-color: #f3f3f3;
  643. z-index: -1;
  644. }
  645. }
  646. .comment {
  647. .avatar {
  648. width: @comment-avatar-width;
  649. }
  650. .tag {
  651. color: #767676;
  652. margin-top: 3px;
  653. padding: 2px 5px;
  654. font-size: 12px;
  655. border: 1px solid rgba(0, 0, 0, 0.1);
  656. border-radius: 3px;
  657. }
  658. .actions {
  659. .item {
  660. float: left;
  661. &.tag {
  662. margin-right: 5px;
  663. }
  664. &.action {
  665. margin-top: 6px;
  666. margin-left: 10px;
  667. }
  668. }
  669. }
  670. .content {
  671. margin-left: 4em;
  672. > .header {
  673. #avatar-arrow;
  674. font-weight: normal;
  675. padding: auto 15px;
  676. position: relative;
  677. color: #767676;
  678. background-color: #f7f7f7;
  679. border-bottom: 1px solid #eeeeee;
  680. border-top-left-radius: 3px;
  681. border-top-right-radius: 3px;
  682. .text {
  683. max-width: 78%;
  684. padding-top: 10px;
  685. padding-bottom: 10px;
  686. }
  687. }
  688. > .merge-section {
  689. border-top: 1px solid #d4d4d5;
  690. background-color: #f7f7f7;
  691. }
  692. .markdown {
  693. font-size: 14px;
  694. }
  695. .no-content {
  696. color: #767676;
  697. font-style: italic;
  698. }
  699. > .bottom.segment {
  700. background: #f3f4f5;
  701. .ui.images::after {
  702. clear: both;
  703. content: ' ';
  704. display: block;
  705. }
  706. a {
  707. display: block;
  708. float: left;
  709. margin: 5px;
  710. padding: 5px;
  711. height: 150px;
  712. border: solid 1px #eeeeee;
  713. border-radius: 3px;
  714. max-width: 150px;
  715. background-color: #ffffff;
  716. &:before {
  717. content: ' ';
  718. display: inline-block;
  719. height: 100%;
  720. vertical-align: middle;
  721. }
  722. }
  723. .ui.image {
  724. max-height: 100%;
  725. width: auto;
  726. margin: 0;
  727. vertical-align: middle;
  728. }
  729. span.ui.image {
  730. font-size: 128px;
  731. color: #000000;
  732. }
  733. span.ui.image:hover {
  734. color: #000000;
  735. }
  736. }
  737. }
  738. .ui.form {
  739. .field:first-child {
  740. clear: none;
  741. }
  742. .tab.segment {
  743. border: 0;
  744. padding: 10px 0 0;
  745. }
  746. textarea {
  747. height: 200px;
  748. font-family: @monospaced-fonts, monospace;
  749. }
  750. }
  751. .edit.buttons {
  752. margin-top: 10px;
  753. }
  754. }
  755. .event {
  756. position: relative;
  757. margin: 15px 0 15px 79px;
  758. padding-left: 25px;
  759. & > .octicon:not(.issue-symbol) {
  760. text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
  761. }
  762. & > .octicon.issue-symbol {
  763. font-size: 20px;
  764. margin-left: -35px;
  765. margin-right: -1px;
  766. margin-top: 0 !important;
  767. height: 28px;
  768. width: 28px;
  769. border-radius: 50%;
  770. text-align: center;
  771. line-height: 28px;
  772. background: #eee;
  773. &::before {
  774. width: 15px;
  775. display: inline-block;
  776. }
  777. &.octicon-key::before {
  778. width: 18px;
  779. }
  780. &.octicon-circle-slash::before {
  781. width: 17px;
  782. }
  783. &.octicon-comment {
  784. font-size: 21px;
  785. line-height: 33px;
  786. &::before {
  787. width: 20px;
  788. }
  789. }
  790. }
  791. .octicon {
  792. width: 30px;
  793. float: left;
  794. text-align: center;
  795. &.octicon-circle-slash {
  796. margin-top: 5px;
  797. margin-left: -34.5px;
  798. font-size: 20px;
  799. color: #bd2c00;
  800. }
  801. &.octicon-primitive-dot {
  802. margin-top: -1px;
  803. margin-left: -28.5px;
  804. margin-right: -1px;
  805. font-size: 30px;
  806. color: #6cc644;
  807. }
  808. &.octicon-bookmark {
  809. margin-top: 2px;
  810. margin-left: -31px;
  811. margin-right: -1px;
  812. font-size: 25px;
  813. }
  814. &.octicon-eye {
  815. margin-top: 3px;
  816. margin-left: -36px;
  817. margin-right: 0;
  818. font-size: 22px;
  819. }
  820. &.octicon-x {
  821. margin-left: -33px;
  822. font-size: 25px;
  823. }
  824. }
  825. .detail {
  826. font-size: 0.9rem;
  827. margin-top: 5px;
  828. margin-left: 35px;
  829. .octicon {
  830. &.octicon-git-commit {
  831. margin-top: 2px;
  832. }
  833. }
  834. }
  835. }
  836. }
  837. .ui.segment.metas {
  838. margin-top: -3px;
  839. }
  840. .ui.participants {
  841. img {
  842. margin-top: 5px;
  843. margin-right: 5px;
  844. }
  845. }
  846. .ui.depending {
  847. .item.is-closed {
  848. .title {
  849. text-decoration: line-through;
  850. }
  851. }
  852. }
  853. }
  854. .comment.form {
  855. .ui.comments {
  856. margin-top: -12px;
  857. max-width: 100%;
  858. }
  859. .content {
  860. .field:first-child {
  861. clear: none;
  862. }
  863. .form {
  864. #avatar-arrow;
  865. &:after {
  866. border-right-color: #ffffff;
  867. }
  868. }
  869. .tab.segment {
  870. border: 0;
  871. padding: 10px 0 0;
  872. }
  873. textarea {
  874. height: 200px;
  875. font-family: @monospaced-fonts, monospace;
  876. }
  877. }
  878. }
  879. .label.list {
  880. list-style: none;
  881. padding-top: 15px;
  882. .item {
  883. padding-top: 10px;
  884. padding-bottom: 10px;
  885. border-bottom: 1px dashed #aaaaaa;
  886. a {
  887. font-size: 15px;
  888. padding-top: 5px;
  889. padding-right: 10px;
  890. color: #666666;
  891. &:hover {
  892. color: #000000;
  893. }
  894. &.open-issues {
  895. margin-right: 30px;
  896. }
  897. }
  898. .ui.label {
  899. font-size: 1em;
  900. }
  901. }
  902. }
  903. .milestone.list {
  904. list-style: none;
  905. padding-top: 15px;
  906. > .item {
  907. padding-top: 10px;
  908. padding-bottom: 10px;
  909. border-bottom: 1px dashed #aaaaaa;
  910. > a {
  911. padding-top: 5px;
  912. padding-right: 10px;
  913. color: #000000;
  914. &:hover {
  915. color: #4078c0;
  916. }
  917. }
  918. .ui.progress {
  919. width: 40%;
  920. padding: 0;
  921. border: 0;
  922. margin: 0;
  923. .bar {
  924. height: 20px;
  925. }
  926. }
  927. .meta {
  928. color: #999999;
  929. padding-top: 5px;
  930. .issue-stats .octicon {
  931. padding-left: 5px;
  932. }
  933. .overdue {
  934. color: red;
  935. }
  936. }
  937. .operate {
  938. margin-top: -15px;
  939. > a {
  940. font-size: 15px;
  941. padding-top: 5px;
  942. padding-right: 10px;
  943. color: #666666;
  944. &:hover {
  945. color: #000000;
  946. }
  947. }
  948. }
  949. .content {
  950. padding-top: 10px;
  951. }
  952. }
  953. }
  954. &.new.milestone {
  955. textarea {
  956. height: 200px;
  957. }
  958. #deadline {
  959. width: 150px;
  960. }
  961. }
  962. &.compare.pull {
  963. .show-form-container {
  964. text-align: left;
  965. }
  966. .choose.branch {
  967. .octicon {
  968. padding-right: 10px;
  969. }
  970. }
  971. .comment.form {
  972. .content {
  973. #avatar-arrow;
  974. &:after {
  975. border-right-color: #ffffff;
  976. }
  977. }
  978. }
  979. }
  980. .filter.dropdown .menu {
  981. margin-top: 1px !important;
  982. }
  983. &.branches {
  984. .commit-divergence {
  985. .bar-group {
  986. position: relative;
  987. float: left;
  988. padding-bottom: 6px;
  989. width: 90px;
  990. &:last-child {
  991. border-left: 1px solid #b4b4b4;
  992. }
  993. }
  994. .count {
  995. margin: 0 3px;
  996. &.count-ahead {
  997. text-align: left;
  998. }
  999. &.count-behind {
  1000. text-align: right;
  1001. }
  1002. }
  1003. .bar {
  1004. height: 4px;
  1005. position: absolute;
  1006. background-color: #d4d4d5;
  1007. &.bar-behind {
  1008. right: 0;
  1009. }
  1010. &.bar-ahead {
  1011. left: 0;
  1012. }
  1013. }
  1014. }
  1015. }
  1016. &.commits {
  1017. .header {
  1018. .search {
  1019. input {
  1020. font-weight: normal;
  1021. padding: 5px 10px;
  1022. }
  1023. }
  1024. }
  1025. }
  1026. #commits-table {
  1027. thead {
  1028. th:first-of-type {
  1029. padding-left: 15px;
  1030. }
  1031. .sha {
  1032. &td {
  1033. text-align: center;
  1034. }
  1035. width: 140px;
  1036. }
  1037. }
  1038. td.sha .sha.label {
  1039. margin: 0;
  1040. }
  1041. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  1042. background-color: rgba(0, 0, 0, 0.02) !important;
  1043. }
  1044. }
  1045. #commits-table td.sha .sha.label,
  1046. #repo-files-table .sha.label {
  1047. border: 1px solid #bbbbbb;
  1048. .detail.icon {
  1049. background: #fafafa;
  1050. margin: -6px -10px -4px 0;
  1051. padding: 5px 3px 5px 6px;
  1052. border-left: 1px solid #bbbbbb;
  1053. border-top-left-radius: 0;
  1054. border-bottom-left-radius: 0;
  1055. }
  1056. &.isSigned.isVerified {
  1057. border: 1px solid #21ba45;
  1058. background: fade(#21ba45, 10%);
  1059. .detail.icon {
  1060. border-left: 1px solid #21ba45;
  1061. }
  1062. &:hover {
  1063. background: fade(#21ba45, 30%) !important;
  1064. }
  1065. }
  1066. }
  1067. .diff-detail-box {
  1068. padding: 7px 0;
  1069. background: #ffffff;
  1070. line-height: 30px;
  1071. > div:after {
  1072. clear: both;
  1073. content: "";
  1074. display: block;
  1075. }
  1076. ol {
  1077. clear: both;
  1078. padding-left: 0;
  1079. margin-top: 5px;
  1080. margin-bottom: 28px;
  1081. li {
  1082. list-style: none;
  1083. padding-bottom: 4px;
  1084. margin-bottom: 4px;
  1085. border-bottom: 1px dashed #dddddd;
  1086. padding-left: 6px;
  1087. }
  1088. }
  1089. span.status {
  1090. display: inline-block;
  1091. width: 12px;
  1092. height: 12px;
  1093. margin-right: 8px;
  1094. vertical-align: middle;
  1095. &.modify {
  1096. background-color: #f0db88;
  1097. }
  1098. &.add {
  1099. background-color: #b4e2b4;
  1100. }
  1101. &.del {
  1102. background-color: #e9aeae;
  1103. }
  1104. &.rename {
  1105. background-color: #dad8ff;
  1106. }
  1107. }
  1108. .detail-files {
  1109. background: #ffffff;
  1110. margin: 0;
  1111. }
  1112. }
  1113. .diff-box .header {
  1114. display: flex;
  1115. align-items: center;
  1116. .count {
  1117. margin-right: 12px;
  1118. font-size: 13px;
  1119. flex: 0 0 auto;
  1120. .bar {
  1121. background-color: #bd2c00;
  1122. height: 12px;
  1123. width: 40px;
  1124. display: inline-block;
  1125. margin: 2px 4px 0 4px;
  1126. vertical-align: text-top;
  1127. .add {
  1128. background-color: #55a532;
  1129. height: 12px;
  1130. }
  1131. }
  1132. }
  1133. .file {
  1134. flex: 1;
  1135. color: #888888;
  1136. word-break: break-all;
  1137. }
  1138. .button {
  1139. margin: -5px 0 -5px 12px;
  1140. padding: 8px 10px;
  1141. flex: 0 0 auto;
  1142. }
  1143. }
  1144. .diff-file-box {
  1145. .header {
  1146. background-color: #f7f7f7;
  1147. }
  1148. .file-body.file-code {
  1149. .lines-num {
  1150. text-align: right;
  1151. color: #a6a6a6;
  1152. background: #fafafa;
  1153. width: 1%;
  1154. min-width: 50px;
  1155. user-select: none;
  1156. vertical-align: top;
  1157. span.fold {
  1158. display: block;
  1159. text-align: center;
  1160. }
  1161. }
  1162. .lines-num-old {
  1163. border-right: 1px solid #dddddd;
  1164. }
  1165. }
  1166. .code-diff {
  1167. font-size: 12px;
  1168. td {
  1169. padding: 0 0 0 10px;
  1170. border-top: 0;
  1171. }
  1172. .lines-num {
  1173. border-color: #d4d4d5;
  1174. border-right-width: 1px;
  1175. border-right-style: solid;
  1176. padding: 0 5px;
  1177. }
  1178. tbody {
  1179. tr {
  1180. td.halfwidth {
  1181. // halfwidth is used in split view - and in that case, 1% of each
  1182. width: 49%;
  1183. }
  1184. &.tag-code td,
  1185. td.tag-code {
  1186. background-color: #f0f0f0 !important;
  1187. border-color: #d3cfcf !important;
  1188. padding-top: 8px;
  1189. padding-bottom: 8px;
  1190. // td.selected-line, td.selected-line pre {
  1191. // background-color: #ffffdd !important;
  1192. // }
  1193. }
  1194. // &.same-code {
  1195. // td.selected-line, td.selected-line pre {
  1196. // background-color: #ffffdd !important;
  1197. // }
  1198. // }
  1199. .removed-code {
  1200. background-color: #ff9999;
  1201. }
  1202. .added-code {
  1203. background-color: #99ff99;
  1204. }
  1205. [data-line-num]::before {
  1206. content: attr(data-line-num);
  1207. text-align: right;
  1208. }
  1209. .lines-type-marker {
  1210. width: 10px;
  1211. min-width: 10px;
  1212. user-select: none;
  1213. }
  1214. [data-type-marker]::before {
  1215. content: attr(data-type-marker);
  1216. text-align: right;
  1217. display: inline-block;
  1218. }
  1219. }
  1220. }
  1221. }
  1222. .code-diff-unified tbody tr {
  1223. &.del-code td {
  1224. background-color: #ffe0e0 !important;
  1225. border-color: #f1c0c0 !important;
  1226. }
  1227. &.add-code td {
  1228. background-color: #d6fcd6 !important;
  1229. border-color: #c1e9c1 !important;
  1230. }
  1231. }
  1232. .code-diff-split {
  1233. table,
  1234. tbody {
  1235. width: 100%;
  1236. }
  1237. tbody tr {
  1238. // light gray for empty lines before / after commit
  1239. &.add-code td:nth-child(1),
  1240. &.add-code td:nth-child(2),
  1241. &.add-code td:nth-child(3),
  1242. &.del-code td:nth-child(4),
  1243. &.del-code td:nth-child(5),
  1244. &.del-code td:nth-child(6) {
  1245. background-color: #fafafa;
  1246. }
  1247. &.del-code td:nth-child(1),
  1248. &.del-code td:nth-child(2),
  1249. &.del-code td:nth-child(3),
  1250. td.del-code {
  1251. background-color: #ffe0e0 !important;
  1252. border-color: #f1c0c0 !important;
  1253. }
  1254. &.add-code td:nth-child(4),
  1255. &.add-code td:nth-child(5),
  1256. &.add-code td:nth-child(6),
  1257. td.add-code {
  1258. background-color: #d6fcd6 !important;
  1259. border-color: #c1e9c1 !important;
  1260. }
  1261. td:nth-child(4) {
  1262. border-left-width: 1px;
  1263. border-left-style: solid;
  1264. }
  1265. }
  1266. }
  1267. &.file-content {
  1268. img {
  1269. max-width: 100%;
  1270. padding: 5px 5px 0 5px;
  1271. }
  1272. clear: right;
  1273. }
  1274. }
  1275. .code-view {
  1276. overflow: auto;
  1277. overflow-x: auto;
  1278. overflow-y: hidden;
  1279. }
  1280. .repo-search-result {
  1281. padding-top: 10px;
  1282. padding-bottom: 10px;
  1283. .lines-num a {
  1284. color: inherit;
  1285. }
  1286. }
  1287. &.quickstart {
  1288. .guide {
  1289. .item {
  1290. padding: 1em;
  1291. small {
  1292. font-weight: normal;
  1293. }
  1294. }
  1295. .clone.button:first-child {
  1296. border-radius: 0.28571429rem 0 0 0.28571429rem;
  1297. }
  1298. .ui.action.small.input {
  1299. width: 100%;
  1300. }
  1301. #repo-clone-url {
  1302. border-radius: 0;
  1303. padding: 5px 10px;
  1304. font-size: 1.2em;
  1305. }
  1306. }
  1307. }
  1308. &.release {
  1309. #release-list {
  1310. border-top: 1px solid #dddddd;
  1311. margin-top: 20px;
  1312. padding-top: 15px;
  1313. > li {
  1314. list-style: none;
  1315. .meta,
  1316. .detail {
  1317. padding-top: 30px;
  1318. padding-bottom: 40px;
  1319. }
  1320. .meta {
  1321. text-align: right;
  1322. position: relative;
  1323. .tag:not(.icon) {
  1324. display: block;
  1325. margin-top: 15px;
  1326. }
  1327. .commit {
  1328. display: block;
  1329. margin-top: 10px;
  1330. }
  1331. }
  1332. .detail {
  1333. border-left: 1px solid #dddddd;
  1334. .author {
  1335. img {
  1336. margin-bottom: -3px;
  1337. }
  1338. }
  1339. .download {
  1340. margin-top: 20px;
  1341. > a {
  1342. .octicon {
  1343. margin-left: 5px;
  1344. margin-right: 5px;
  1345. }
  1346. }
  1347. .list {
  1348. padding-left: 0;
  1349. border-top: 1px solid #eeeeee;
  1350. li {
  1351. list-style: none;
  1352. display: block;
  1353. padding-top: 8px;
  1354. padding-bottom: 8px;
  1355. border-bottom: 1px solid #eeeeee;
  1356. }
  1357. }
  1358. }
  1359. .dot {
  1360. width: 9px;
  1361. height: 9px;
  1362. background-color: #cccccc;
  1363. z-index: 999;
  1364. position: absolute;
  1365. display: block;
  1366. left: -5px;
  1367. top: 40px;
  1368. border-radius: 6px;
  1369. border: 1px solid #ffffff;
  1370. }
  1371. }
  1372. }
  1373. }
  1374. }
  1375. &.new.release {
  1376. .target {
  1377. min-width: 500px;
  1378. #tag-name {
  1379. margin-top: -4px;
  1380. }
  1381. .at {
  1382. margin-left: -5px;
  1383. margin-right: 5px;
  1384. }
  1385. .dropdown.icon {
  1386. margin: 0;
  1387. padding-top: 3px;
  1388. }
  1389. .selection.dropdown {
  1390. padding-top: 10px;
  1391. padding-bottom: 10px;
  1392. }
  1393. }
  1394. .prerelease.field {
  1395. margin-bottom: 0;
  1396. }
  1397. .field {
  1398. button,
  1399. input {
  1400. @media only screen and (max-width: 438px) {
  1401. width: 100%;
  1402. }
  1403. }
  1404. button {
  1405. @media only screen and (max-width: 768px) {
  1406. margin-bottom: 1em;
  1407. }
  1408. }
  1409. }
  1410. }
  1411. &.forks {
  1412. .list {
  1413. margin-top: 0;
  1414. .item {
  1415. padding-top: 10px;
  1416. padding-bottom: 10px;
  1417. border-bottom: 1px solid #dddddd;
  1418. .ui.avatar {
  1419. float: left;
  1420. margin-right: 5px;
  1421. }
  1422. .link {
  1423. padding-top: 5px;
  1424. }
  1425. }
  1426. }
  1427. }
  1428. &.wiki {
  1429. &.start {
  1430. .ui.segment {
  1431. padding-top: 70px;
  1432. padding-bottom: 100px;
  1433. .mega-octicon {
  1434. font-size: 48px;
  1435. }
  1436. }
  1437. }
  1438. &.new {
  1439. .CodeMirror {
  1440. .CodeMirror-code {
  1441. font-family: @monospaced-fonts, monospace;
  1442. .cm-comment {
  1443. background: inherit;
  1444. }
  1445. }
  1446. }
  1447. .editor-preview {
  1448. background-color: white;
  1449. }
  1450. }
  1451. &.view {
  1452. .choose.page {
  1453. margin-top: -5px;
  1454. }
  1455. .ui.sub.header {
  1456. text-transform: none;
  1457. }
  1458. > .markdown {
  1459. padding: 15px 30px;
  1460. h1,
  1461. h2,
  1462. h3,
  1463. h4,
  1464. h5,
  1465. h6 {
  1466. &:first-of-type {
  1467. margin-top: 0;
  1468. }
  1469. }
  1470. }
  1471. }
  1472. @media only screen and (max-width: 767px) {
  1473. .dividing.header .stackable.grid .button {
  1474. margin-top: 2px;
  1475. margin-bottom: 2px;
  1476. }
  1477. }
  1478. }
  1479. &.settings {
  1480. &.collaboration {
  1481. .collaborator.list {
  1482. padding: 0;
  1483. > .item {
  1484. margin: 0;
  1485. line-height: 2em;
  1486. &:not(:last-child) {
  1487. border-bottom: 1px solid #dddddd;
  1488. }
  1489. }
  1490. }
  1491. #repo-collab-form {
  1492. #search-user-box {
  1493. .results {
  1494. left: 7px;
  1495. }
  1496. }
  1497. .ui.button {
  1498. margin-left: 5px;
  1499. margin-top: -3px;
  1500. }
  1501. }
  1502. }
  1503. &.branches {
  1504. .protected-branches {
  1505. .selection.dropdown {
  1506. width: 300px;
  1507. }
  1508. .item {
  1509. border: 1px solid #eaeaea;
  1510. padding: 10px 15px;
  1511. &:not(:last-child) {
  1512. border-bottom: 0;
  1513. }
  1514. }
  1515. }
  1516. .branch-protection {
  1517. .help {
  1518. margin-left: 26px;
  1519. padding-top: 0;
  1520. }
  1521. .fields {
  1522. margin-left: 20px;
  1523. display: block;
  1524. }
  1525. .whitelist {
  1526. margin-left: 26px;
  1527. .dropdown img {
  1528. display: inline-block;
  1529. }
  1530. }
  1531. }
  1532. }
  1533. &.webhook {
  1534. .events {
  1535. .column {
  1536. padding-bottom: 0;
  1537. }
  1538. .help {
  1539. font-size: 13px;
  1540. margin-left: 26px;
  1541. padding-top: 0;
  1542. }
  1543. }
  1544. }
  1545. }
  1546. .ui.attached.isSigned.isVerified {
  1547. &:not(.positive) {
  1548. border-left: 1px solid #a3c293;
  1549. border-right: 1px solid #a3c293;
  1550. }
  1551. &.top:not(.positive) {
  1552. border-top: 1px solid #a3c293;
  1553. }
  1554. &:not(.positive):last-child {
  1555. border-bottom: 1px solid #a3c293;
  1556. }
  1557. }
  1558. .ui.segment.sub-menu {
  1559. padding: 7px;
  1560. line-height: 0;
  1561. .list {
  1562. width: 100%;
  1563. display: flex;
  1564. .item {
  1565. width: 100%;
  1566. border-radius: 3px;
  1567. a {
  1568. color: black;
  1569. &:hover {
  1570. color: #666666;
  1571. }
  1572. }
  1573. &.active {
  1574. background: rgba(0, 0, 0, 0.05);
  1575. }
  1576. }
  1577. }
  1578. }
  1579. .segment.reactions,
  1580. .select-reaction {
  1581. &.dropdown .menu {
  1582. right: 0 !important;
  1583. left: auto !important;
  1584. > .header {
  1585. margin: 0.75rem 0 0.5rem;
  1586. }
  1587. > .item {
  1588. float: left;
  1589. padding: 0.5rem 0.5rem !important;
  1590. img.emoji {
  1591. margin-right: 0;
  1592. }
  1593. }
  1594. }
  1595. }
  1596. .segment.reactions {
  1597. padding: 0.3em 1em;
  1598. .ui.label {
  1599. padding: 0.4em;
  1600. &.disabled {
  1601. cursor: default;
  1602. }
  1603. > img {
  1604. height: 1.5em !important;
  1605. }
  1606. }
  1607. .select-reaction {
  1608. float: none;
  1609. &:not(.active) a {
  1610. display: none;
  1611. }
  1612. }
  1613. &:hover .select-reaction a {
  1614. display: block;
  1615. }
  1616. }
  1617. }
  1618. // End of .repository
  1619. &.user-cards {
  1620. .list {
  1621. padding: 0;
  1622. display: flex;
  1623. flex-wrap: wrap;
  1624. .item {
  1625. list-style: none;
  1626. width: 32%;
  1627. margin: 10px 10px 10px 0;
  1628. padding-bottom: 14px;
  1629. float: left;
  1630. .avatar {
  1631. width: 48px;
  1632. height: 48px;
  1633. float: left;
  1634. display: block;
  1635. margin-right: 10px;
  1636. }
  1637. .name {
  1638. margin-top: 0;
  1639. margin-bottom: 0;
  1640. font-weight: normal;
  1641. }
  1642. .meta {
  1643. margin-top: 5px;
  1644. }
  1645. }
  1646. }
  1647. }
  1648. #search-repo-box,
  1649. #search-user-box {
  1650. .results {
  1651. .result {
  1652. .image {
  1653. float: left;
  1654. margin-right: 8px;
  1655. width: 2em;
  1656. height: 2em;
  1657. }
  1658. .content {
  1659. margin: 6px 0;
  1660. }
  1661. }
  1662. }
  1663. }
  1664. #issue-filters.hide {
  1665. display: none;
  1666. }
  1667. #issue-actions {
  1668. margin-top: -1rem !important; // counteract padding from Semantic
  1669. }
  1670. #issue-actions.hide {
  1671. display: none;
  1672. }
  1673. .ui.checkbox.issue-checkbox {
  1674. vertical-align: middle;
  1675. }
  1676. .issue.list {
  1677. list-style: none;
  1678. > .item {
  1679. padding-top: 15px;
  1680. padding-bottom: 10px;
  1681. border-bottom: 1px dashed #aaaaaa;
  1682. .title {
  1683. color: #444444;
  1684. font-size: 15px;
  1685. font-weight: bold;
  1686. margin: 0 6px;
  1687. &:hover {
  1688. color: #000000;
  1689. }
  1690. }
  1691. .comment {
  1692. padding-right: 10px;
  1693. color: #666666;
  1694. }
  1695. .desc {
  1696. padding-top: 5px;
  1697. color: #999999;
  1698. .checklist {
  1699. padding-left: 5px;
  1700. .progress-bar {
  1701. margin-left: 2px;
  1702. width: 80px;
  1703. height: 6px;
  1704. display: inline-block;
  1705. background-color: #eeeeee;
  1706. overflow: hidden;
  1707. border-radius: 3px;
  1708. vertical-align: 2px !important;
  1709. .progress {
  1710. background-color: #cccccc;
  1711. display: block;
  1712. height: 100%;
  1713. }
  1714. }
  1715. }
  1716. a.milestone {
  1717. padding-left: 5px;
  1718. color: #999999 !important;
  1719. &:hover {
  1720. color: #000000 !important;
  1721. }
  1722. }
  1723. .assignee {
  1724. margin-top: -5px;
  1725. margin-right: 5px;
  1726. }
  1727. .overdue {
  1728. color: red;
  1729. }
  1730. }
  1731. }
  1732. }
  1733. .page.buttons {
  1734. padding-top: 15px;
  1735. }
  1736. .ui.form {
  1737. .dropzone {
  1738. width: 100%;
  1739. margin-bottom: 10px;
  1740. border: 2px dashed #0087f5;
  1741. box-shadow: none !important;
  1742. .dz-error-message {
  1743. top: 140px;
  1744. }
  1745. }
  1746. }
  1747. .settings {
  1748. .content {
  1749. margin-top: 2px;
  1750. > .header,
  1751. .segment {
  1752. box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
  1753. }
  1754. }
  1755. .list {
  1756. > .item {
  1757. .green {
  1758. color: #21ba45;
  1759. }
  1760. &:not(:first-child) {
  1761. border-top: 1px solid #eaeaea;
  1762. padding: 1rem;
  1763. margin: 15px -1rem -1rem -1rem;
  1764. }
  1765. > .mega-octicon {
  1766. display: table-cell;
  1767. }
  1768. > .mega-octicon + .content {
  1769. display: table-cell;
  1770. padding: 0 0 0 0.5em;
  1771. vertical-align: top;
  1772. }
  1773. .info {
  1774. margin-top: 10px;
  1775. .tab.segment {
  1776. border: 0;
  1777. padding: 10px 0 0;
  1778. }
  1779. }
  1780. }
  1781. &.key {
  1782. .meta {
  1783. padding-top: 5px;
  1784. color: #666666;
  1785. }
  1786. }
  1787. &.email {
  1788. > .item:not(:first-child) {
  1789. min-height: 60px;
  1790. }
  1791. }
  1792. &.collaborator {
  1793. > .item {
  1794. padding: 0;
  1795. }
  1796. }
  1797. }
  1798. }
  1799. .ui.vertical.menu {
  1800. .header.item {
  1801. font-size: 1.1em;
  1802. background: #f0f0f0;
  1803. }
  1804. }
  1805. .edit-label.modal,
  1806. .new-label.segment {
  1807. .form {
  1808. .column {
  1809. padding-right: 0;
  1810. }
  1811. .buttons {
  1812. margin-left: auto;
  1813. padding-top: 15px;
  1814. }
  1815. .color.picker.column {
  1816. width: auto;
  1817. .color-picker {
  1818. height: 35px;
  1819. width: auto;
  1820. padding-left: 30px;
  1821. }
  1822. }
  1823. .minicolors-swatch.minicolors-sprite {
  1824. top: 10px;
  1825. left: 10px;
  1826. width: 15px;
  1827. height: 15px;
  1828. }
  1829. .precolors {
  1830. padding-left: 0;
  1831. padding-right: 0;
  1832. margin: 3px 10px auto 10px;
  1833. width: 120px;
  1834. .color {
  1835. float: left;
  1836. width: 15px;
  1837. height: 15px;
  1838. }
  1839. }
  1840. }
  1841. }
  1842. #avatar-arrow {
  1843. &:before,
  1844. &:after {
  1845. right: 100%;
  1846. top: 20px;
  1847. border: solid transparent;
  1848. content: " ";
  1849. height: 0;
  1850. width: 0;
  1851. position: absolute;
  1852. pointer-events: none;
  1853. }
  1854. &:before {
  1855. border-right-color: #d3d3d4;
  1856. border-width: 9px;
  1857. margin-top: -9px;
  1858. }
  1859. &:after {
  1860. border-right-color: #f7f7f7;
  1861. border-width: 8px;
  1862. margin-top: -8px;
  1863. }
  1864. }
  1865. #transfer-repo-modal,
  1866. #delete-repo-modal {
  1867. .ui.message {
  1868. width: 100% !important;
  1869. }
  1870. }
  1871. // generate .tab-size-{i} from 1 to 16
  1872. .generate-tab-size(16);
  1873. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  1874. .tab-size-@{i} {
  1875. tab-size: @i !important;
  1876. }
  1877. .generate-tab-size(@n, (@i + 1));
  1878. }
  1879. .stats-table {
  1880. display: table;
  1881. width: 100%;
  1882. .table-cell {
  1883. display: table-cell;
  1884. &.tiny {
  1885. height: 0.5em;
  1886. }
  1887. }
  1888. }
  1889. tbody.commit-list {
  1890. vertical-align: baseline;
  1891. }
  1892. .commit-list .message-wrapper {
  1893. overflow: hidden;
  1894. text-overflow: ellipsis;
  1895. max-width: calc(100% - 24px);
  1896. display: inline-block;
  1897. vertical-align: middle;
  1898. }
  1899. .commit-list .message-wrapper .commit-status-link {
  1900. display: inline-block;
  1901. vertical-align: middle;
  1902. }
  1903. .commit-body {
  1904. white-space: pre-wrap;
  1905. }
  1906. .git-notes {
  1907. &.top {
  1908. text-align: left;
  1909. }
  1910. .commit-body {
  1911. margin: 0;
  1912. }
  1913. }
  1914. @media only screen and (max-width: 767px) {
  1915. .ui.stackable.menu {
  1916. &.mobile--margin-between-items > .item {
  1917. margin-top: 5px;
  1918. margin-bottom: 5px;
  1919. }
  1920. &.mobile--no-negative-margins {
  1921. margin-left: 0;
  1922. margin-right: 0;
  1923. }
  1924. }
  1925. }
  1926. #topic_edit {
  1927. margin-top: 5px;
  1928. }
  1929. #repo-topics {
  1930. margin-top: 5px;
  1931. }
  1932. .repo-topic {
  1933. cursor: pointer;
  1934. }
  1935. #new-dependency-drop-list {
  1936. &.ui.selection.dropdown {
  1937. min-width: 0;
  1938. width: 100%;
  1939. border-radius: 4px 0 0 4px;
  1940. border-right: 0;
  1941. white-space: nowrap;
  1942. }
  1943. .text {
  1944. width: 100%;
  1945. overflow: hidden;
  1946. }
  1947. }
  1948. #manage_topic {
  1949. font-size: 12px;
  1950. }
  1951. .label + #manage_topic {
  1952. margin-left: 5px;
  1953. }
  1954. .repo-header {
  1955. display: flex;
  1956. align-items: center;
  1957. justify-content: space-between;
  1958. flex-wrap: wrap;
  1959. }
  1960. .repo-header .repo-buttons {
  1961. display: flex;
  1962. align-items: center;
  1963. }
  1964. .repo-buttons .disabled-repo-button .label {
  1965. opacity: 0.5;
  1966. }
  1967. .repo-buttons .disabled-repo-button a.button {
  1968. opacity: 0.5;
  1969. cursor: not-allowed;
  1970. }
  1971. .repo-buttons .disabled-repo-button a.button:hover {
  1972. background: none !important;
  1973. color: rgba(0, 0, 0, 0.6) !important;
  1974. box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset !important;
  1975. }
  1976. .repo-buttons .ui.labeled.button > .label {
  1977. border-left: 0 !important;
  1978. margin: 0 !important;
  1979. }