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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924
  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-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: 1rem;
  515. .svg {
  516. margin-right: 5px;
  517. }
  518. }
  519. .merge.box {
  520. .avatar {
  521. margin-left: 10px;
  522. margin-top: 10px;
  523. }
  524. .icon-octicon {
  525. padding-left: 2px;
  526. }
  527. .branch-update.grid {
  528. .row {
  529. padding-bottom: 1rem;
  530. .icon {
  531. margin-top: 1.1rem;
  532. }
  533. }
  534. }
  535. }
  536. .review-item {
  537. .avatar,
  538. .type-icon {
  539. float: none;
  540. display: inline-block;
  541. text-align: center;
  542. vertical-align: middle;
  543. .svg {
  544. width: 23px;
  545. height: 23px;
  546. }
  547. }
  548. .text {
  549. margin: .3em 0 .5em .5em;
  550. }
  551. .type-icon {
  552. float: right;
  553. margin-right: 1em;
  554. }
  555. .divider {
  556. margin: .5rem 0;
  557. }
  558. .review-content {
  559. padding: 1em 0 1em 3.8em;
  560. }
  561. }
  562. }
  563. .comment-list {
  564. &:not(.prevent-before-timeline):before {
  565. display: block;
  566. content: "";
  567. position: absolute;
  568. margin-top: 12px;
  569. margin-bottom: 14px;
  570. top: 0;
  571. bottom: 0;
  572. left: 96px;
  573. width: 2px;
  574. background-color: #f3f3f3;
  575. z-index: -1;
  576. }
  577. .timeline {
  578. position: relative;
  579. display: block;
  580. margin-left: 40px;
  581. padding-left: 16px;
  582. &:before { //ciara
  583. display: block;
  584. content: "";
  585. position: absolute;
  586. margin-top: 12px;
  587. margin-bottom: 14px;
  588. top: 0;
  589. bottom: 0;
  590. left: 30px;
  591. width: 2px;
  592. background-color: #f3f3f3;
  593. z-index: -1;
  594. }
  595. }
  596. .timeline-item,
  597. .timeline-item-group {
  598. padding: 12px 0;
  599. }
  600. .timeline-item-group {
  601. .timeline-item {
  602. padding-top: 8px;
  603. padding-bottom: 8px;
  604. }
  605. }
  606. .timeline-item {
  607. margin-left: 16px;
  608. position: relative;
  609. .timeline-avatar {
  610. position: absolute;
  611. left: -72px;
  612. img {
  613. width: 40px;
  614. height: 40px;
  615. }
  616. }
  617. &:first-child {
  618. padding-top: 0 !important;
  619. }
  620. &:last-child {
  621. padding-bottom: 0 !important;
  622. }
  623. .badge {
  624. width: 32px;
  625. height: 32px;
  626. background-color: #fff;
  627. border: 2px solid #eee;
  628. border-radius: 50%;
  629. display: flex;
  630. float: left;
  631. margin-left: -32px;
  632. margin-top: -1px;
  633. margin-right: 8px;
  634. color: #444;
  635. .svg {
  636. width: 28px;
  637. height: 28px;
  638. text-align: center;
  639. line-height: 28px;
  640. padding: 4px;
  641. &.octicon-circle-slash {
  642. color: #bd2c00;
  643. }
  644. &.octicon-primitive-dot {
  645. color: #6cc644;
  646. }
  647. &.octicon-comment {
  648. margin-top: 2px;
  649. }
  650. }
  651. }
  652. &.comment > .content {
  653. margin-left: -16px;
  654. }
  655. &.event > .text {
  656. line-height: 30px;
  657. }
  658. .author {
  659. font-weight: 700;
  660. }
  661. .comment-form-reply .footer {
  662. padding-bottom: 1em;
  663. }
  664. }
  665. .comment {
  666. .tag {
  667. color: #767676;
  668. margin-top: 3px;
  669. padding: 2px 5px;
  670. font-size: 12px;
  671. border: 1px solid rgba(0, 0, 0, .1);
  672. border-radius: 3px;
  673. &.review {
  674. margin-left: 5px;
  675. &.pending {
  676. color: black;
  677. background-color: #fffbb2;
  678. }
  679. }
  680. }
  681. .actions {
  682. .item {
  683. float: left;
  684. &.context {
  685. float: none;
  686. }
  687. &.tag {
  688. margin-right: 5px;
  689. }
  690. &.action {
  691. margin-top: 6px;
  692. margin-left: 10px;
  693. }
  694. }
  695. }
  696. > .content {
  697. > div:first-child {
  698. border-top-left-radius: 4px;
  699. border-top-right-radius: 4px;
  700. }
  701. > div:last-child {
  702. border-bottom-left-radius: 4px;
  703. border-bottom-right-radius: 4px;
  704. }
  705. }
  706. .content {
  707. > .header {
  708. #avatar-arrow;
  709. font-weight: normal;
  710. padding: auto 15px;
  711. position: relative;
  712. color: #767676;
  713. background-color: #f7f7f7;
  714. .text {
  715. padding-top: 10px;
  716. padding-bottom: 10px;
  717. }
  718. &.arrow-top::before,
  719. &.arrow-top::after {
  720. transform: rotate(90deg);
  721. }
  722. &.arrow-top::before {
  723. top: -9px;
  724. left: 6px;
  725. }
  726. &.arrow-top::after {
  727. top: -8px;
  728. left: 7px;
  729. }
  730. .actions a {
  731. color: rgba(0, 0, 0, .4);
  732. &:hover {
  733. color: rgba(0, 0, 0, .8);
  734. }
  735. }
  736. }
  737. > .merge-section {
  738. background-color: #f7f7f7;
  739. .item + .item {
  740. padding-top: .5rem;
  741. }
  742. .divider {
  743. margin-left: -1rem;
  744. margin-right: -1rem;
  745. }
  746. &.no-header {
  747. #avatar-arrow;
  748. }
  749. }
  750. .markdown {
  751. font-size: 14px;
  752. }
  753. .no-content {
  754. color: #767676;
  755. font-style: italic;
  756. }
  757. > .bottom.segment {
  758. background: #f3f4f5;
  759. .ui.images::after {
  760. clear: both;
  761. content: ' ';
  762. display: block;
  763. }
  764. a {
  765. display: block;
  766. float: left;
  767. margin: 5px;
  768. padding: 5px;
  769. height: 150px;
  770. border: solid 1px #eeeeee;
  771. border-radius: 3px;
  772. max-width: 150px;
  773. background-color: #ffffff;
  774. &:before {
  775. content: ' ';
  776. display: inline-block;
  777. height: 100%;
  778. vertical-align: middle;
  779. }
  780. }
  781. .ui.image {
  782. max-height: 100%;
  783. width: auto;
  784. margin: 0;
  785. vertical-align: middle;
  786. }
  787. span.ui.image {
  788. font-size: 128px;
  789. color: #000000;
  790. }
  791. span.ui.image:hover {
  792. color: #000000;
  793. }
  794. }
  795. }
  796. &:target > .content {
  797. box-shadow: 0 0 10px #8c8c8c;
  798. }
  799. &:target > .content > .code-comment-content {
  800. padding: 4px;
  801. }
  802. &:target > .content > .code-comment-content > .text {
  803. margin-bottom: 0;
  804. }
  805. .ui.form {
  806. .field {
  807. &:first-child {
  808. clear: none;
  809. }
  810. &.footer {
  811. overflow: hidden;
  812. }
  813. .tab.markdown {
  814. min-height: 5rem;
  815. }
  816. }
  817. textarea {
  818. height: 200px;
  819. font-family: @monospaced-fonts, monospace;
  820. }
  821. }
  822. .edit.buttons {
  823. margin-top: 10px;
  824. }
  825. }
  826. .event {
  827. padding-left: 15px;
  828. & > .svg:not(.issue-symbol) {
  829. text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
  830. }
  831. & > .svg.issue-symbol {
  832. font-size: 20px;
  833. margin-left: -35px;
  834. margin-right: -1px;
  835. margin-top: 0 !important;
  836. height: 28px;
  837. width: 28px;
  838. border-radius: 50%;
  839. text-align: center;
  840. line-height: 28px;
  841. background: #eee;
  842. &::before {
  843. width: 15px;
  844. display: inline-block;
  845. }
  846. &.octicon-key::before {
  847. width: 18px;
  848. }
  849. &.octicon-circle-slash::before {
  850. width: 17px;
  851. }
  852. &.octicon-comment {
  853. font-size: 21px;
  854. line-height: 33px;
  855. &::before {
  856. width: 20px;
  857. }
  858. }
  859. }
  860. .detail {
  861. font-size: .9rem;
  862. margin-top: 5px;
  863. margin-left: 35px;
  864. .svg {
  865. &.octicon-git-commit {
  866. margin-top: 2px;
  867. }
  868. }
  869. }
  870. .segments {
  871. box-shadow: none;
  872. }
  873. }
  874. }
  875. .ui.participants {
  876. img {
  877. margin-top: 5px;
  878. margin-right: 5px;
  879. }
  880. }
  881. .ui.depending {
  882. .item.is-closed {
  883. .title {
  884. text-decoration: line-through;
  885. }
  886. }
  887. }
  888. }
  889. .comment.form {
  890. .ui.comments {
  891. margin-top: -12px;
  892. max-width: 100%;
  893. }
  894. .content {
  895. .field:first-child {
  896. clear: none;
  897. }
  898. .form {
  899. #avatar-arrow;
  900. &:after {
  901. border-right-color: #ffffff;
  902. }
  903. }
  904. textarea {
  905. height: 200px;
  906. font-family: @monospaced-fonts, monospace;
  907. }
  908. }
  909. }
  910. .labelspage {
  911. list-style: none;
  912. padding-top: 0;
  913. .item {
  914. margin-top: 0;
  915. margin-right: -14px;
  916. margin-left: -14px;
  917. padding: 10px;
  918. border-bottom: 1px solid #e1e4e8;
  919. border-top: none;
  920. a {
  921. font-size: 15px;
  922. padding-top: 5px;
  923. padding-right: 10px;
  924. color: #666666;
  925. &:hover {
  926. color: #000000;
  927. }
  928. &.open-issues {
  929. margin-right: 30px;
  930. }
  931. }
  932. .ui.label {
  933. font-size: 1em;
  934. }
  935. }
  936. .item:last-child {
  937. border-bottom: none;
  938. padding-bottom: 0;
  939. }
  940. .orglabel {
  941. opacity: .7;
  942. }
  943. }
  944. .milestone.list {
  945. list-style: none;
  946. padding-top: 15px;
  947. > .item {
  948. padding-top: 10px;
  949. padding-bottom: 10px;
  950. border-bottom: 1px dashed #aaaaaa;
  951. > a {
  952. padding-top: 5px;
  953. padding-right: 10px;
  954. color: #000000;
  955. &:hover {
  956. color: #4078c0;
  957. }
  958. }
  959. .ui.progress {
  960. width: 40%;
  961. padding: 0;
  962. border: 0;
  963. margin: 0;
  964. .bar {
  965. height: 20px;
  966. }
  967. }
  968. .meta {
  969. color: #999999;
  970. padding-top: 5px;
  971. .issue-stats .svg {
  972. padding-left: 5px;
  973. }
  974. .overdue {
  975. color: red;
  976. }
  977. }
  978. .operate {
  979. margin-top: -15px;
  980. > a {
  981. font-size: 15px;
  982. padding-top: 5px;
  983. padding-right: 10px;
  984. color: #666666;
  985. &:hover {
  986. color: #000000;
  987. }
  988. }
  989. }
  990. .content {
  991. padding-top: 10px;
  992. }
  993. }
  994. }
  995. &.new.milestone {
  996. textarea {
  997. height: 200px;
  998. }
  999. #deadline {
  1000. width: 150px;
  1001. }
  1002. }
  1003. &.compare.pull {
  1004. .show-form-container {
  1005. text-align: left;
  1006. }
  1007. .choose.branch {
  1008. .svg {
  1009. margin-right: 10px;
  1010. }
  1011. }
  1012. .comment.form {
  1013. .content {
  1014. #avatar-arrow;
  1015. &:after {
  1016. border-right-color: #ffffff;
  1017. }
  1018. }
  1019. }
  1020. .pullrequest-form {
  1021. margin-bottom: 1.5rem;
  1022. }
  1023. .markdown {
  1024. font-size: 14px;
  1025. }
  1026. }
  1027. .filter.dropdown .menu {
  1028. margin-top: 1px !important;
  1029. }
  1030. &.branches {
  1031. .commit-divergence {
  1032. .bar-group {
  1033. position: relative;
  1034. float: left;
  1035. padding-bottom: 6px;
  1036. width: 90px;
  1037. &:last-child {
  1038. border-left: 1px solid #b4b4b4;
  1039. }
  1040. }
  1041. .count {
  1042. margin: 0 3px;
  1043. &.count-ahead {
  1044. text-align: left;
  1045. }
  1046. &.count-behind {
  1047. text-align: right;
  1048. }
  1049. }
  1050. .bar {
  1051. height: 4px;
  1052. position: absolute;
  1053. background-color: #d4d4d5;
  1054. &.bar-behind {
  1055. right: 0;
  1056. }
  1057. &.bar-ahead {
  1058. left: 0;
  1059. }
  1060. }
  1061. }
  1062. }
  1063. &.commits {
  1064. .header {
  1065. .search {
  1066. input {
  1067. font-weight: normal;
  1068. padding: 5px 10px;
  1069. }
  1070. }
  1071. }
  1072. }
  1073. #commits-table {
  1074. thead {
  1075. th:first-of-type {
  1076. padding-left: 15px;
  1077. }
  1078. .sha {
  1079. &td {
  1080. text-align: center;
  1081. }
  1082. width: 175px;
  1083. }
  1084. }
  1085. td.sha .sha.label {
  1086. margin: 0;
  1087. }
  1088. td.message {
  1089. text-overflow: unset;
  1090. }
  1091. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  1092. background-color: rgba(0, 0, 0, .02) !important;
  1093. }
  1094. }
  1095. #commits-table td.sha .sha.label,
  1096. #repo-files-table .sha.label {
  1097. border: 1px solid #bbbbbb;
  1098. .ui.signature.avatar {
  1099. height: 16px;
  1100. margin-bottom: 0;
  1101. width: auto;
  1102. }
  1103. .detail.icon {
  1104. background: #fafafa;
  1105. margin: -6px -10px -4px 0;
  1106. padding: 5px 4px 5px 6px;
  1107. border-left: 1px solid #bbbbbb;
  1108. border-top: 0;
  1109. border-right: 0;
  1110. border-bottom: 0;
  1111. border-top-left-radius: 0;
  1112. border-bottom-left-radius: 0;
  1113. img {
  1114. margin-right: 0;
  1115. }
  1116. > div {
  1117. display: inline-flex;
  1118. align-items: center;
  1119. }
  1120. }
  1121. &.isSigned.isWarning {
  1122. border: 1px solid #db2828;
  1123. background: fade(#db2828, 10%);
  1124. .shortsha {
  1125. display: inline-block;
  1126. padding-top: 1px;
  1127. }
  1128. .detail.icon {
  1129. border-left: 1px solid #db2828;
  1130. color: #db2828;
  1131. }
  1132. &:hover {
  1133. background: fade(#db2828, 30%) !important;
  1134. }
  1135. }
  1136. &.isSigned.isVerified {
  1137. border: 1px solid #21ba45;
  1138. background: fade(#21ba45, 10%);
  1139. .shortsha {
  1140. display: inline-block;
  1141. padding-top: 1px;
  1142. }
  1143. .detail.icon {
  1144. border-left: 1px solid #21ba45;
  1145. color: #21ba45;
  1146. }
  1147. &:hover {
  1148. background: fade(#21ba45, 30%) !important;
  1149. }
  1150. }
  1151. &.isSigned.isVerifiedUntrusted {
  1152. border: 1px solid #fbbd08;
  1153. background: fade(#fbbd08, 10%);
  1154. .shortsha {
  1155. display: inline-block;
  1156. padding-top: 1px;
  1157. }
  1158. .detail.icon {
  1159. border-left: 1px solid #fbbd08;
  1160. color: #fbbd08;
  1161. }
  1162. &:hover {
  1163. background: fade(#fbbd08, 30%) !important;
  1164. }
  1165. }
  1166. &.isSigned.isVerifiedUnmatched {
  1167. border: 1px solid #f2711c;
  1168. background: fade(#f2711c, 10%);
  1169. .shortsha {
  1170. display: inline-block;
  1171. padding-top: 1px;
  1172. }
  1173. .detail.icon {
  1174. border-left: 1px solid #f2711c;
  1175. color: #f2711c;
  1176. }
  1177. &:hover {
  1178. background: fade(#f2711c, 30%) !important;
  1179. }
  1180. }
  1181. }
  1182. .diff-detail-box {
  1183. padding: 7px 0;
  1184. background: #ffffff;
  1185. line-height: 30px;
  1186. > div:after {
  1187. clear: both;
  1188. content: "";
  1189. display: block;
  1190. }
  1191. span.status {
  1192. display: inline-block;
  1193. width: 12px;
  1194. height: 12px;
  1195. margin-right: 8px;
  1196. vertical-align: middle;
  1197. &.modify {
  1198. background-color: #f0db88;
  1199. }
  1200. &.add {
  1201. background-color: #b4e2b4;
  1202. }
  1203. &.del {
  1204. background-color: #e9aeae;
  1205. }
  1206. &.rename {
  1207. background-color: #dad8ff;
  1208. }
  1209. }
  1210. .detail-files {
  1211. background: #ffffff;
  1212. margin: 0;
  1213. }
  1214. }
  1215. .diff-box .header {
  1216. display: flex;
  1217. align-items: center;
  1218. .count {
  1219. margin-right: 12px;
  1220. font-size: 13px;
  1221. flex: 0 0 auto;
  1222. .bar {
  1223. background-color: #bd2c00;
  1224. height: 12px;
  1225. width: 40px;
  1226. display: inline-block;
  1227. margin: 2px 4px 0 4px;
  1228. vertical-align: text-top;
  1229. .add {
  1230. background-color: #55a532;
  1231. height: 12px;
  1232. }
  1233. }
  1234. }
  1235. .file {
  1236. flex: 1;
  1237. color: #888888;
  1238. word-break: break-all;
  1239. }
  1240. .button {
  1241. margin: -5px 0 -5px 12px;
  1242. padding: 8px 10px;
  1243. flex: 0 0 auto;
  1244. }
  1245. }
  1246. .diff-file-box {
  1247. .header {
  1248. background-color: #f7f7f7;
  1249. }
  1250. .file-body.file-code {
  1251. .lines-num {
  1252. text-align: right;
  1253. color: #a6a6a6;
  1254. background: #fafafa;
  1255. width: 1%;
  1256. min-width: 50px;
  1257. user-select: none;
  1258. vertical-align: top;
  1259. span.fold {
  1260. display: block;
  1261. text-align: center;
  1262. }
  1263. }
  1264. .lines-num-old {
  1265. border-right: 1px solid #dddddd;
  1266. }
  1267. }
  1268. .code-diff {
  1269. font-size: 12px;
  1270. td {
  1271. padding: 0 0 0 10px !important;
  1272. border-top: 0;
  1273. }
  1274. .lines-num {
  1275. border-color: #d4d4d5;
  1276. border-right-width: 1px;
  1277. border-right-style: solid;
  1278. padding: 0 5px !important;
  1279. }
  1280. tbody {
  1281. tr {
  1282. td.halfwidth {
  1283. // halfwidth is used in split view - and in that case, 1% of each
  1284. width: 49%;
  1285. }
  1286. td.center {
  1287. text-align: center;
  1288. }
  1289. [data-line-num]::before {
  1290. content: attr(data-line-num);
  1291. text-align: right;
  1292. }
  1293. .lines-type-marker {
  1294. width: 10px;
  1295. min-width: 10px;
  1296. user-select: none;
  1297. }
  1298. [data-type-marker]::before {
  1299. content: attr(data-type-marker);
  1300. text-align: right;
  1301. display: inline-block;
  1302. }
  1303. }
  1304. }
  1305. }
  1306. .code-diff-unified tbody tr {
  1307. &.del-code td {
  1308. background-color: #ffe0e0 !important;
  1309. border-color: #f1c0c0 !important;
  1310. }
  1311. &.add-code td {
  1312. background-color: #d6fcd6 !important;
  1313. border-color: #c1e9c1 !important;
  1314. }
  1315. }
  1316. .code-diff-split {
  1317. table,
  1318. tbody {
  1319. width: 100%;
  1320. }
  1321. tbody tr {
  1322. // light gray for empty lines before / after commit
  1323. &.add-code td:nth-child(1),
  1324. &.add-code td:nth-child(2),
  1325. &.add-code td:nth-child(3),
  1326. &.del-code td:nth-child(4),
  1327. &.del-code td:nth-child(5),
  1328. &.del-code td:nth-child(6) {
  1329. background-color: #fafafa;
  1330. }
  1331. &.del-code td:nth-child(1),
  1332. &.del-code td:nth-child(2),
  1333. &.del-code td:nth-child(3),
  1334. td.del-code {
  1335. background-color: #ffe0e0 !important;
  1336. border-color: #f1c0c0 !important;
  1337. }
  1338. &.add-code td:nth-child(4),
  1339. &.add-code td:nth-child(5),
  1340. &.add-code td:nth-child(6),
  1341. td.add-code {
  1342. background-color: #d6fcd6 !important;
  1343. border-color: #c1e9c1 !important;
  1344. }
  1345. td:nth-child(4) {
  1346. border-left-width: 1px;
  1347. border-left-style: solid;
  1348. }
  1349. }
  1350. }
  1351. &.file-content {
  1352. img {
  1353. max-width: 100%;
  1354. padding: 5px 5px 0 5px;
  1355. }
  1356. img.emoji {
  1357. padding: 0;
  1358. }
  1359. clear: right;
  1360. }
  1361. .ui.bottom.attached.table.segment {
  1362. padding-top: 5px;
  1363. padding-bottom: 5px;
  1364. }
  1365. }
  1366. .diff-stats {
  1367. clear: both;
  1368. margin-bottom: 5px;
  1369. max-height: 400px;
  1370. overflow: auto;
  1371. padding-left: 0;
  1372. li {
  1373. list-style: none;
  1374. padding-bottom: 4px;
  1375. margin-bottom: 4px;
  1376. border-bottom: 1px dashed #dddddd;
  1377. padding-left: 6px;
  1378. }
  1379. .diff-counter {
  1380. margin-right: 15px;
  1381. .del {
  1382. color: red;
  1383. }
  1384. .add {
  1385. color: green;
  1386. }
  1387. }
  1388. }
  1389. .repo-search-result {
  1390. padding-top: 10px;
  1391. padding-bottom: 10px;
  1392. .lines-num a {
  1393. color: inherit;
  1394. }
  1395. }
  1396. &.quickstart {
  1397. .guide {
  1398. .item {
  1399. padding: 1em;
  1400. small {
  1401. font-weight: normal;
  1402. }
  1403. }
  1404. .clone.button:first-child {
  1405. border-radius: .28571429rem 0 0 .28571429rem;
  1406. }
  1407. .ui.action.small.input {
  1408. width: 100%;
  1409. }
  1410. #repo-clone-url {
  1411. border-radius: 0;
  1412. padding: 5px 10px;
  1413. font-size: 1.2em;
  1414. }
  1415. }
  1416. }
  1417. &.release {
  1418. #release-list {
  1419. border-top: 1px solid #dddddd;
  1420. margin-top: 20px;
  1421. padding-top: 15px;
  1422. > li {
  1423. list-style: none;
  1424. .meta,
  1425. .detail {
  1426. padding-top: 30px;
  1427. padding-bottom: 40px;
  1428. }
  1429. .meta {
  1430. text-align: right;
  1431. position: relative;
  1432. .tag:not(.icon) {
  1433. display: block;
  1434. margin-top: 15px;
  1435. }
  1436. .commit {
  1437. display: block;
  1438. margin-top: 10px;
  1439. }
  1440. }
  1441. .detail {
  1442. border-left: 1px solid #dddddd;
  1443. .author {
  1444. img {
  1445. margin-bottom: -3px;
  1446. }
  1447. }
  1448. .download {
  1449. margin-top: 20px;
  1450. > a {
  1451. .svg {
  1452. margin-left: 5px;
  1453. margin-right: 5px;
  1454. }
  1455. }
  1456. .list {
  1457. padding-left: 0;
  1458. border-top: 1px solid #eeeeee;
  1459. li {
  1460. list-style: none;
  1461. display: block;
  1462. padding-top: 8px;
  1463. padding-bottom: 8px;
  1464. border-bottom: 1px solid #eeeeee;
  1465. a > .text.right {
  1466. margin-right: 5px;
  1467. }
  1468. }
  1469. }
  1470. }
  1471. .dot {
  1472. width: 9px;
  1473. height: 9px;
  1474. background-color: #cccccc;
  1475. z-index: 999;
  1476. position: absolute;
  1477. display: block;
  1478. left: -5px;
  1479. top: 40px;
  1480. border-radius: 6px;
  1481. border: 1px solid #ffffff;
  1482. }
  1483. }
  1484. }
  1485. }
  1486. }
  1487. &.new.release {
  1488. .target {
  1489. min-width: 500px;
  1490. #tag-name {
  1491. margin-top: -4px;
  1492. }
  1493. .at {
  1494. margin-left: -5px;
  1495. margin-right: 5px;
  1496. }
  1497. .dropdown.icon {
  1498. margin: 0;
  1499. padding-top: 3px;
  1500. }
  1501. .selection.dropdown {
  1502. padding-top: 10px;
  1503. padding-bottom: 10px;
  1504. }
  1505. }
  1506. .prerelease.field {
  1507. margin-bottom: 0;
  1508. }
  1509. .field {
  1510. button,
  1511. input {
  1512. @media only screen and (max-width: 438px) {
  1513. width: 100%;
  1514. }
  1515. }
  1516. button {
  1517. @media only screen and (max-width: 768px) {
  1518. margin-bottom: 1em;
  1519. }
  1520. }
  1521. }
  1522. }
  1523. &.forks {
  1524. .list {
  1525. margin-top: 0;
  1526. .item {
  1527. padding-top: 10px;
  1528. padding-bottom: 10px;
  1529. border-bottom: 1px solid #dddddd;
  1530. .ui.avatar {
  1531. float: left;
  1532. margin-right: 5px;
  1533. }
  1534. .link {
  1535. padding-top: 5px;
  1536. }
  1537. }
  1538. }
  1539. }
  1540. &.wiki {
  1541. &.start {
  1542. .ui.segment {
  1543. padding-top: 70px;
  1544. padding-bottom: 100px;
  1545. .svg {
  1546. height: 48px;
  1547. }
  1548. }
  1549. }
  1550. &.new {
  1551. .CodeMirror {
  1552. .CodeMirror-code {
  1553. font-family: @monospaced-fonts, monospace;
  1554. .cm-comment {
  1555. background: inherit;
  1556. }
  1557. }
  1558. }
  1559. .editor-preview {
  1560. background-color: white;
  1561. }
  1562. .ui.attached.tabular.menu.previewtabs {
  1563. margin-bottom: 15px;
  1564. & + .field .editor-toolbar:not(.fullscreen) a.fa-eye {
  1565. display: none;
  1566. }
  1567. }
  1568. }
  1569. &.view {
  1570. .choose.page {
  1571. margin-top: -5px;
  1572. }
  1573. .ui.sub.header {
  1574. text-transform: none;
  1575. }
  1576. > .markdown {
  1577. padding: 15px 30px;
  1578. h1,
  1579. h2,
  1580. h3,
  1581. h4,
  1582. h5,
  1583. h6 {
  1584. &:first-of-type {
  1585. margin-top: 0;
  1586. }
  1587. }
  1588. }
  1589. }
  1590. @media only screen and (max-width: 767px) {
  1591. .dividing.header .stackable.grid .button {
  1592. margin-top: 2px;
  1593. margin-bottom: 2px;
  1594. }
  1595. }
  1596. }
  1597. &.settings {
  1598. &.collaboration {
  1599. .collaborator.list {
  1600. padding: 0;
  1601. > .item {
  1602. margin: 0;
  1603. line-height: 2em;
  1604. &:not(:last-child) {
  1605. border-bottom: 1px solid #dddddd;
  1606. }
  1607. }
  1608. }
  1609. #repo-collab-form {
  1610. #search-user-box {
  1611. .results {
  1612. left: 7px;
  1613. }
  1614. }
  1615. .ui.button {
  1616. margin-left: 5px;
  1617. margin-top: -3px;
  1618. }
  1619. }
  1620. #repo-collab-team-form {
  1621. #search-team-box {
  1622. .results {
  1623. left: 7px;
  1624. }
  1625. }
  1626. .ui.button {
  1627. margin-left: 5px;
  1628. margin-top: -3px;
  1629. }
  1630. }
  1631. }
  1632. &.branches {
  1633. .protected-branches {
  1634. .selection.dropdown {
  1635. width: 300px;
  1636. }
  1637. .item {
  1638. border: 1px solid #eaeaea;
  1639. padding: 10px 15px;
  1640. &:not(:last-child) {
  1641. border-bottom: 0;
  1642. }
  1643. }
  1644. }
  1645. .branch-protection {
  1646. .help {
  1647. margin-left: 26px;
  1648. padding-top: 0;
  1649. }
  1650. .fields {
  1651. margin-left: 20px;
  1652. display: block;
  1653. }
  1654. .whitelist {
  1655. margin-left: 26px;
  1656. .dropdown img {
  1657. display: inline-block;
  1658. }
  1659. }
  1660. }
  1661. }
  1662. &.webhook {
  1663. .events {
  1664. .column {
  1665. padding-bottom: 0;
  1666. }
  1667. .help {
  1668. font-size: 13px;
  1669. margin-left: 26px;
  1670. padding-top: 0;
  1671. }
  1672. }
  1673. }
  1674. }
  1675. .ui.attached.isSigned.isWarning {
  1676. border-left: 1px solid #c29393;
  1677. border-right: 1px solid #c29393;
  1678. &.top,
  1679. &.message {
  1680. border-top: 1px solid #c29393;
  1681. }
  1682. &.message {
  1683. box-shadow: none;
  1684. background-color: #fff5f5;
  1685. color: #d95c5c;
  1686. .ui.text {
  1687. color: #d64444;
  1688. }
  1689. }
  1690. &:last-child,
  1691. &.bottom {
  1692. border-bottom: 1px solid #c29393;
  1693. }
  1694. }
  1695. .ui.attached.isSigned:not(.isWarning) .pull-right {
  1696. padding-top: 5px;
  1697. }
  1698. .ui.attached.isSigned.isVerified {
  1699. border-left: 1px solid #a3c293;
  1700. border-right: 1px solid #a3c293;
  1701. &.top,
  1702. &.message {
  1703. border-top: 1px solid #a3c293;
  1704. }
  1705. &.message {
  1706. box-shadow: none;
  1707. background-color: #fcfff5;
  1708. color: #6cc644;
  1709. .pull-right {
  1710. color: #000;
  1711. }
  1712. .ui.text {
  1713. color: #21ba45;
  1714. }
  1715. }
  1716. &:last-child,
  1717. &.bottom {
  1718. border-bottom: 1px solid #a3c293;
  1719. }
  1720. }
  1721. .ui.attached.isSigned.isVerifiedUntrusted {
  1722. border-left: 1px solid #c2c193;
  1723. border-right: 1px solid #c2c193;
  1724. &.top,
  1725. &.message {
  1726. border-top: 1px solid #c2c193;
  1727. }
  1728. &.message {
  1729. box-shadow: none;
  1730. background-color: #fffff5;
  1731. color: #fbbd08;
  1732. .ui.text {
  1733. color: #d2ab00;
  1734. }
  1735. }
  1736. &:last-child,
  1737. &.bottom {
  1738. border-bottom: 1px solid #c2c193;
  1739. }
  1740. }
  1741. .ui.attached.isSigned.isVerifiedUnmatched {
  1742. border-left: 1px solid #c2a893;
  1743. border-right: 1px solid #c2a893;
  1744. &.top,
  1745. &.message {
  1746. border-top: 1px solid #c2a893;
  1747. }
  1748. &.message {
  1749. box-shadow: none;
  1750. background-color: #fffaf5;
  1751. color: #f2711c;
  1752. .ui.text {
  1753. color: #ee5f00;
  1754. }
  1755. }
  1756. &:last-child,
  1757. &.bottom {
  1758. border-bottom: 1px solid #c2a893;
  1759. }
  1760. }
  1761. .ui.segment.sub-menu {
  1762. padding: 7px;
  1763. line-height: 0;
  1764. .list {
  1765. width: 100%;
  1766. display: flex;
  1767. .item {
  1768. width: 100%;
  1769. border-radius: 3px;
  1770. a {
  1771. color: black;
  1772. &:hover {
  1773. color: #666666;
  1774. }
  1775. }
  1776. span.ui {
  1777. color: black;
  1778. }
  1779. &.active {
  1780. background: rgba(0, 0, 0, .05);
  1781. }
  1782. }
  1783. }
  1784. }
  1785. .segment.reactions,
  1786. .select-reaction {
  1787. &.dropdown .menu {
  1788. right: 0 !important;
  1789. left: auto !important;
  1790. min-width: 15em;
  1791. > .header {
  1792. margin: .75rem 0 .5rem;
  1793. }
  1794. > .item {
  1795. float: left;
  1796. padding: .5rem .5rem !important;
  1797. font-size: 1.5em;
  1798. width: 45px;
  1799. left: 13px;
  1800. img.emoji {
  1801. margin-right: 0;
  1802. }
  1803. }
  1804. }
  1805. }
  1806. .segment.reactions {
  1807. padding: 0;
  1808. display: flex;
  1809. .ui.label,
  1810. .ui.label.visible {
  1811. max-height: 40px;
  1812. padding: .4rem .8rem;
  1813. display: flex !important;
  1814. align-items: center;
  1815. border: 0;
  1816. border-right: 1px solid;
  1817. border-radius: 0;
  1818. margin: 0;
  1819. font-size: 14px;
  1820. font-weight: 100;
  1821. border-color: inherit !important;
  1822. &.disabled {
  1823. cursor: default;
  1824. opacity: .5;
  1825. }
  1826. }
  1827. .ui.label.basic.blue {
  1828. background-color: #f1f8ff !important;
  1829. border-color: inherit !important;
  1830. }
  1831. .reaction-count {
  1832. margin-left: .5rem;
  1833. }
  1834. .select-reaction {
  1835. display: flex;
  1836. align-items: center;
  1837. padding: 0 .5rem;
  1838. &:not(.active) a {
  1839. display: none;
  1840. }
  1841. }
  1842. &:hover .select-reaction a {
  1843. display: block;
  1844. }
  1845. }
  1846. .ui.fluid.action.input {
  1847. .ui.search.action.input {
  1848. flex: auto;
  1849. }
  1850. }
  1851. .repository-summary {
  1852. .segment.language-stats-details,
  1853. .segment.repository-summary {
  1854. border-top: none;
  1855. background: none;
  1856. }
  1857. .segment.language-stats-details .item {
  1858. white-space: nowrap;
  1859. }
  1860. .segment.language-stats {
  1861. padding: 0;
  1862. height: 11px;
  1863. display: flex;
  1864. white-space: nowrap;
  1865. width: 100%;
  1866. border-radius: 0;
  1867. user-select: none;
  1868. .bar {
  1869. white-space: nowrap;
  1870. border: 0;
  1871. padding: 0;
  1872. margin: 0;
  1873. height: 100%;
  1874. }
  1875. }
  1876. }
  1877. &.diff .committed-by {
  1878. padding-top: .5rem;
  1879. .ui.avatar {
  1880. width: 20px;
  1881. height: 20px;
  1882. }
  1883. span {
  1884. margin-right: .25rem;
  1885. svg {
  1886. vertical-align: text-bottom;
  1887. margin-right: 2px;
  1888. }
  1889. }
  1890. }
  1891. }
  1892. // End of .repository
  1893. &.user-cards {
  1894. .list {
  1895. padding: 0;
  1896. display: flex;
  1897. flex-wrap: wrap;
  1898. .item {
  1899. list-style: none;
  1900. width: 32%;
  1901. margin: 10px 10px 10px 0;
  1902. padding-bottom: 14px;
  1903. float: left;
  1904. .avatar {
  1905. width: 48px;
  1906. height: 48px;
  1907. float: left;
  1908. display: block;
  1909. margin-right: 10px;
  1910. }
  1911. .name {
  1912. margin-top: 0;
  1913. margin-bottom: 0;
  1914. font-weight: normal;
  1915. }
  1916. .meta {
  1917. margin-top: 5px;
  1918. }
  1919. }
  1920. }
  1921. }
  1922. #search-repo-box,
  1923. #search-user-box {
  1924. .results {
  1925. .result {
  1926. .image {
  1927. float: left;
  1928. margin-right: 8px;
  1929. width: 2em;
  1930. height: 2em;
  1931. }
  1932. .content {
  1933. margin: 6px 0;
  1934. }
  1935. }
  1936. }
  1937. }
  1938. #search-team-box {
  1939. .results {
  1940. .result {
  1941. .content {
  1942. margin: 6px 0;
  1943. }
  1944. }
  1945. }
  1946. }
  1947. #issue-filters.hide {
  1948. display: none;
  1949. }
  1950. #issue-actions {
  1951. margin-top: -1rem !important; // counteract padding from Semantic
  1952. }
  1953. #issue-actions.hide {
  1954. display: none;
  1955. }
  1956. .ui.checkbox.issue-checkbox {
  1957. vertical-align: middle;
  1958. }
  1959. .ui.menu .item > img:not(.ui) {
  1960. width: auto;
  1961. }
  1962. .issue.list {
  1963. list-style: none;
  1964. > .item {
  1965. padding-top: 15px;
  1966. padding-bottom: 10px;
  1967. border-bottom: 1px dashed #aaaaaa;
  1968. .title {
  1969. color: #444444;
  1970. font-size: 15px;
  1971. font-weight: bold;
  1972. margin: 0 6px;
  1973. &:hover {
  1974. color: #000000;
  1975. }
  1976. }
  1977. .comment {
  1978. padding-right: 10px;
  1979. color: #666666;
  1980. }
  1981. .desc {
  1982. padding-top: 5px;
  1983. color: #999999;
  1984. .checklist {
  1985. padding-left: 5px;
  1986. .progress-bar {
  1987. margin-left: 2px;
  1988. width: 80px;
  1989. height: 6px;
  1990. display: inline-block;
  1991. background-color: #eeeeee;
  1992. overflow: hidden;
  1993. border-radius: 3px;
  1994. vertical-align: 2px !important;
  1995. .progress {
  1996. background-color: #cccccc;
  1997. display: block;
  1998. height: 100%;
  1999. }
  2000. }
  2001. }
  2002. .conflicting {
  2003. padding-left: 5px;
  2004. }
  2005. .due-date {
  2006. padding-left: 5px;
  2007. }
  2008. a.milestone {
  2009. margin-left: 5px;
  2010. color: #999999 !important;
  2011. &:hover {
  2012. color: #000000 !important;
  2013. }
  2014. }
  2015. a.ref {
  2016. margin-left: 8px;
  2017. color: #999999 !important;
  2018. &:hover {
  2019. color: #000000 !important;
  2020. }
  2021. span {
  2022. margin-right: -4px;
  2023. }
  2024. }
  2025. .assignee {
  2026. margin-top: -5px;
  2027. margin-right: 5px;
  2028. }
  2029. .overdue {
  2030. color: red;
  2031. }
  2032. }
  2033. }
  2034. }
  2035. .page.buttons {
  2036. padding-top: 15px;
  2037. }
  2038. .ui.form {
  2039. .dropzone {
  2040. border: 2px dashed #0087f5;
  2041. box-shadow: none !important;
  2042. padding: 0;
  2043. min-height: 5rem;
  2044. border-radius: 4px;
  2045. .dz-button {
  2046. color: rgba(0, 0, 0, .6);
  2047. }
  2048. &:hover .dz-button {
  2049. color: rgba(0, 0, 0, .8);
  2050. }
  2051. .dz-error-message {
  2052. top: 140px;
  2053. }
  2054. }
  2055. }
  2056. .settings {
  2057. .content {
  2058. margin-top: 2px;
  2059. > .header,
  2060. .segment {
  2061. box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
  2062. }
  2063. }
  2064. .list {
  2065. > .item {
  2066. .green:not(.ui.button) {
  2067. color: #21ba45;
  2068. }
  2069. &:not(:first-child) {
  2070. border-top: 1px solid #eaeaea;
  2071. padding: 1rem;
  2072. margin: 15px -1rem -1rem -1rem;
  2073. }
  2074. > .svg {
  2075. display: table-cell;
  2076. }
  2077. > .svg + .content {
  2078. display: table-cell;
  2079. padding: 0 0 0 .5em;
  2080. vertical-align: top;
  2081. }
  2082. .info {
  2083. margin-top: 10px;
  2084. .tab.segment {
  2085. border: 0;
  2086. padding: 10px 0 0;
  2087. }
  2088. }
  2089. }
  2090. &.key {
  2091. .meta {
  2092. padding-top: 5px;
  2093. color: #666666;
  2094. }
  2095. }
  2096. &.email {
  2097. > .item:not(:first-child) {
  2098. min-height: 60px;
  2099. }
  2100. }
  2101. &.collaborator {
  2102. > .item {
  2103. padding: 0;
  2104. }
  2105. }
  2106. }
  2107. }
  2108. .ui.vertical.menu {
  2109. .header.item {
  2110. font-size: 1.1em;
  2111. background: #f0f0f0;
  2112. }
  2113. }
  2114. .edit-label.modal,
  2115. .new-label.segment {
  2116. .form {
  2117. .column {
  2118. padding-right: 0;
  2119. }
  2120. .buttons {
  2121. margin-left: auto;
  2122. padding-top: 15px;
  2123. }
  2124. .color.picker.column {
  2125. width: auto;
  2126. .color-picker {
  2127. height: 35px;
  2128. width: auto;
  2129. padding-left: 30px;
  2130. }
  2131. }
  2132. .minicolors-swatch.minicolors-sprite {
  2133. top: 10px;
  2134. left: 10px;
  2135. width: 15px;
  2136. height: 15px;
  2137. }
  2138. .precolors {
  2139. padding-left: 0;
  2140. padding-right: 0;
  2141. margin: 3px 10px auto 10px;
  2142. width: 120px;
  2143. .color {
  2144. float: left;
  2145. width: 15px;
  2146. height: 15px;
  2147. }
  2148. }
  2149. }
  2150. }
  2151. #avatar-arrow {
  2152. &:before,
  2153. &:after {
  2154. right: 100%;
  2155. top: 20px;
  2156. border: solid transparent;
  2157. content: " ";
  2158. height: 0;
  2159. width: 0;
  2160. position: absolute;
  2161. pointer-events: none;
  2162. }
  2163. &:before {
  2164. border-right-color: #d3d3d4;
  2165. border-width: 9px;
  2166. margin-top: -9px;
  2167. }
  2168. &:after {
  2169. border-right-color: #f7f7f7;
  2170. border-width: 8px;
  2171. margin-top: -8px;
  2172. }
  2173. }
  2174. #transfer-repo-modal,
  2175. #delete-repo-modal {
  2176. .ui.message {
  2177. width: 100% !important;
  2178. }
  2179. }
  2180. // generate .tab-size-{i} from 1 to 16
  2181. .generate-tab-size(16);
  2182. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  2183. .tab-size-@{i} {
  2184. tab-size: @i !important;
  2185. }
  2186. .generate-tab-size(@n, (@i + 1));
  2187. }
  2188. .stats-table {
  2189. display: table;
  2190. width: 100%;
  2191. .table-cell {
  2192. display: table-cell;
  2193. &.tiny {
  2194. height: .5em;
  2195. }
  2196. }
  2197. }
  2198. tbody.commit-list {
  2199. vertical-align: baseline;
  2200. }
  2201. .message-wrapper {
  2202. overflow: hidden;
  2203. text-overflow: ellipsis;
  2204. max-width: calc(100% - 50px);
  2205. display: inline-block;
  2206. vertical-align: middle;
  2207. }
  2208. @media only screen and (max-width: 767.98px) {
  2209. tr.commit-list {
  2210. width: 100%;
  2211. }
  2212. th .message-wrapper {
  2213. display: block;
  2214. max-width: calc(100vw - 70px);
  2215. }
  2216. }
  2217. @media only screen and (min-width: 768px) and (max-width: 991.98px) {
  2218. tr.commit-list {
  2219. width: 723px;
  2220. }
  2221. th .message-wrapper {
  2222. max-width: 280px;
  2223. }
  2224. }
  2225. @media only screen and (min-width: 992px) and (max-width: 1199.98px) {
  2226. tr.commit-list {
  2227. width: 933px;
  2228. }
  2229. th .message-wrapper {
  2230. max-width: 490px;
  2231. }
  2232. }
  2233. @media only screen and (min-width: 1200px) {
  2234. tr.commit-list {
  2235. width: 1127px;
  2236. }
  2237. th .message-wrapper {
  2238. max-width: 680px;
  2239. }
  2240. }
  2241. .commit-list .commit-summary a {
  2242. text-decoration: underline;
  2243. text-decoration-style: dashed;
  2244. &:hover {
  2245. text-decoration-style: solid;
  2246. }
  2247. &.default-link {
  2248. text-decoration: none;
  2249. &:hover {
  2250. text-decoration: underline;
  2251. text-decoration-style: solid;
  2252. }
  2253. }
  2254. }
  2255. .commit-list .commit-status-link {
  2256. display: inline-block;
  2257. vertical-align: middle;
  2258. }
  2259. .commit-body {
  2260. white-space: pre-wrap;
  2261. }
  2262. .git-notes {
  2263. &.top {
  2264. text-align: left;
  2265. }
  2266. .commit-body {
  2267. margin: 0;
  2268. }
  2269. }
  2270. @media only screen and (max-width: 767px) {
  2271. .ui.stackable.menu {
  2272. &.mobile--margin-between-items > .item {
  2273. margin-top: 5px;
  2274. margin-bottom: 5px;
  2275. }
  2276. &.mobile--no-negative-margins {
  2277. margin-left: 0;
  2278. margin-right: 0;
  2279. }
  2280. }
  2281. }
  2282. #topic_edit {
  2283. margin-top: 5px;
  2284. }
  2285. #repo-topics {
  2286. margin-top: 5px;
  2287. }
  2288. .repo-topic {
  2289. cursor: pointer;
  2290. }
  2291. #new-dependency-drop-list {
  2292. &.ui.selection.dropdown {
  2293. min-width: 0;
  2294. width: 100%;
  2295. border-radius: 4px 0 0 4px;
  2296. border-right: 0;
  2297. white-space: nowrap;
  2298. }
  2299. .text {
  2300. width: 100%;
  2301. overflow: hidden;
  2302. }
  2303. }
  2304. #manage_topic {
  2305. font-size: 12px;
  2306. }
  2307. .label + #manage_topic {
  2308. margin-left: 5px;
  2309. }
  2310. .ui.small.label.topic {
  2311. margin-bottom: 4px;
  2312. }
  2313. .repo-header {
  2314. display: flex;
  2315. align-items: center;
  2316. justify-content: space-between;
  2317. flex-wrap: wrap;
  2318. }
  2319. .repo-header .repo-buttons {
  2320. display: flex;
  2321. align-items: center;
  2322. }
  2323. .repo-buttons .disabled-repo-button .label {
  2324. opacity: .5;
  2325. }
  2326. .repo-buttons .disabled-repo-button a.button {
  2327. opacity: .5;
  2328. cursor: not-allowed;
  2329. }
  2330. .repo-buttons .disabled-repo-button a.button:hover {
  2331. background: none !important;
  2332. color: rgba(0, 0, 0, .6) !important;
  2333. box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important;
  2334. }
  2335. .repo-buttons .ui.labeled.button > .label {
  2336. border-left: 0 !important;
  2337. margin: 0 !important;
  2338. }
  2339. .tag-code,
  2340. .tag-code td {
  2341. background-color: #f0f0f0 !important;
  2342. border-color: #d3cfcf !important;
  2343. padding-top: 8px;
  2344. padding-bottom: 8px;
  2345. }
  2346. td.blob-excerpt {
  2347. background-color: #fafafa;
  2348. }
  2349. .issue-keyword {
  2350. border-bottom: 1px dotted #959da5;
  2351. display: inline-block;
  2352. }
  2353. .file-header {
  2354. display: flex;
  2355. justify-content: space-between;
  2356. align-items: center;
  2357. padding: 8px 12px !important;
  2358. }
  2359. .file-info {
  2360. display: flex;
  2361. align-items: center;
  2362. }
  2363. .file-info-entry + .file-info-entry {
  2364. border-left: 1px solid currentColor;
  2365. margin-left: 8px;
  2366. padding-left: 8px;
  2367. }
  2368. .title_wip_desc {
  2369. margin-top: 1em;
  2370. }
  2371. .diff-file-box[data-folded="true"] .diff-file-body {
  2372. display: none;
  2373. }
  2374. .diff-file-box[data-folded="true"] .diff-file-header {
  2375. border-radius: .28571429rem !important;
  2376. }
  2377. /* prevent page shaking on language bar click */
  2378. .repository.file .repository-summary {
  2379. height: 48px;
  2380. overflow: hidden;
  2381. }
  2382. .ui.form .right .ui.button {
  2383. margin-left: .25em;
  2384. margin-right: 0;
  2385. }
  2386. .removed-code {
  2387. background-color: #ff9999;
  2388. }
  2389. .added-code {
  2390. background-color: #99ff99;
  2391. }