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

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