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

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