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

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