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

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