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

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