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

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