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

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