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

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