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

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