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

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