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.

repo.css 77KB

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