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

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