You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 64KB

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