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

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