You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 56KB

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