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

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