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

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