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

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