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

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