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

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