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

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