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

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