logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

appearance_tab.scss (2517B)


  1. .appearance-tab {
  2. .palette,
  3. .theme-notice {
  4. padding: 0.5em;
  5. margin: 1em;
  6. }
  7. .setting-item {
  8. padding-bottom: 0;
  9. &.heading {
  10. display: grid;
  11. align-items: baseline;
  12. grid-template-columns: 1fr auto auto auto;
  13. grid-gap: 0.5em;
  14. h2 {
  15. flex: 1 0 auto;
  16. }
  17. }
  18. }
  19. h4 {
  20. margin: 0.5em 0;
  21. }
  22. .palettes-container {
  23. height: 15em;
  24. overflow-y: auto;
  25. overflow-x: hidden;
  26. scrollbar-gutter: stable;
  27. border-radius: var(--roundness);
  28. border: 1px solid var(--border);
  29. margin: -0.5em;
  30. }
  31. .palettes {
  32. display: grid;
  33. grid-template-columns: 1fr 1fr;
  34. grid-gap: 0.5em;
  35. padding: 0.5em;
  36. width: 100%;
  37. h4 {
  38. margin: 0;
  39. grid-column: 1 / span 2;
  40. }
  41. }
  42. .palette-entry {
  43. display: grid;
  44. grid-template-columns: 1fr auto;
  45. align-items: center;
  46. justify-content: space-between;
  47. padding: 0 0.5em;
  48. height: max-content;
  49. .palette-label {
  50. height: auto;
  51. label {
  52. text-align: center;
  53. }
  54. }
  55. .palette-square {
  56. flex: 0 0 auto;
  57. display: inline-block;
  58. min-width: 1em;
  59. min-height: 1em;
  60. }
  61. }
  62. .column-settings {
  63. display: flex;
  64. justify-content: space-evenly;
  65. flex-wrap: wrap;
  66. }
  67. .column-settings .size-label {
  68. display: block;
  69. margin-bottom: 0.5em;
  70. margin-top: 0.5em;
  71. }
  72. .modal-view.-mobile & {
  73. .palettes {
  74. grid-template-columns: 1fr;
  75. }
  76. .palette-entry {
  77. grid-column: 1;
  78. justify-content: center;
  79. }
  80. .palette-label {
  81. line-height: 1.5em;
  82. margin-top: 0.5em;
  83. }
  84. }
  85. .palette-preview {
  86. display: grid;
  87. grid-template-columns: 1fr 1fr 1fr 1fr;
  88. grid-template-rows: 1em 1em;
  89. margin: 0.5em 0;
  90. }
  91. .theme-list {
  92. list-style: none;
  93. display: flex;
  94. flex-wrap: wrap;
  95. margin: -0.5em 0;
  96. height: 25em;
  97. overflow-x: hidden;
  98. overflow-y: auto;
  99. scrollbar-gutter: stable;
  100. border-radius: var(--roundness);
  101. border: 1px solid var(--border);
  102. padding: 0;
  103. margin-bottom: 1em;
  104. .theme-preview {
  105. font-size: 1rem; // fix for firefox
  106. width: 19rem;
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. margin: 0.5em;
  111. &.placeholder {
  112. opacity: 0.2;
  113. }
  114. .theme-preview-container {
  115. pointer-events: none;
  116. zoom: 0.5;
  117. border: none;
  118. border-radius: var(--roundness);
  119. text-align: left;
  120. }
  121. }
  122. }
  123. }