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

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