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

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