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

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