logo

pleroma-fe

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

theme_tab.scss (3643B)


  1. .theme-tab {
  2. .deprecation-warning {
  3. padding: 0.5em;
  4. margin: 2em;
  5. }
  6. padding-bottom: 2em;
  7. .preset-switcher {
  8. margin-right: 1em;
  9. }
  10. .btn {
  11. margin-left: 0.25em;
  12. margin-right: 0.25em;
  13. }
  14. .btn-group .btn {
  15. margin: 0;
  16. }
  17. .style-control {
  18. display: flex;
  19. align-items: baseline;
  20. margin-bottom: 5px;
  21. .label {
  22. flex: 1;
  23. }
  24. .opt {
  25. margin: 0.5em;
  26. }
  27. .color-input {
  28. flex: 0 0 0;
  29. }
  30. input,
  31. select {
  32. min-width: 3em;
  33. margin: 0;
  34. flex: 0;
  35. &[type="number"] {
  36. min-width: 5em;
  37. }
  38. &[type="range"] {
  39. flex: 1;
  40. min-width: 3em;
  41. align-self: flex-start;
  42. }
  43. }
  44. &.disabled {
  45. input,
  46. select {
  47. opacity: 0.5;
  48. }
  49. }
  50. }
  51. .reset-container {
  52. flex-wrap: wrap;
  53. }
  54. .fonts-container,
  55. .reset-container,
  56. .apply-container,
  57. .radius-container,
  58. .color-container, {
  59. display: flex;
  60. }
  61. .fonts-container,
  62. .radius-container {
  63. flex-direction: column;
  64. }
  65. .color-container {
  66. > h4 {
  67. width: 99%;
  68. }
  69. flex-wrap: wrap;
  70. justify-content: space-between;
  71. }
  72. .fonts-container,
  73. .color-container,
  74. .shadow-container,
  75. .radius-container,
  76. .presets-container {
  77. margin: 1em 1em 0;
  78. }
  79. .tab-header {
  80. display: flex;
  81. justify-content: space-between;
  82. align-items: baseline;
  83. width: 100%;
  84. min-height: 30px;
  85. margin-bottom: 1em;
  86. p {
  87. flex: 1;
  88. margin: 0;
  89. margin-right: 0.5em;
  90. }
  91. }
  92. .tab-header-buttons {
  93. display: flex;
  94. flex-direction: column;
  95. .btn {
  96. min-width: 1px;
  97. flex: 0 auto;
  98. padding: 0 1em;
  99. margin-bottom: 0.5em;
  100. }
  101. }
  102. .shadow-selector {
  103. .override {
  104. flex: 1;
  105. margin-left: 0.5em;
  106. }
  107. .select-container {
  108. margin-top: -4px;
  109. margin-bottom: -3px;
  110. }
  111. }
  112. .save-load,
  113. .save-load-options {
  114. display: flex;
  115. justify-content: center;
  116. align-items: baseline;
  117. flex-wrap: wrap;
  118. .presets,
  119. .import-export {
  120. margin-bottom: 0.5em;
  121. }
  122. .import-export {
  123. display: flex;
  124. }
  125. .override {
  126. margin-left: 0.5em;
  127. }
  128. }
  129. .save-load-options {
  130. flex-wrap: wrap;
  131. margin-top: 0.5em;
  132. justify-content: center;
  133. .keep-option {
  134. margin: 0 0.5em 0.5em;
  135. min-width: 25%;
  136. }
  137. }
  138. .radius-item {
  139. flex-basis: auto;
  140. }
  141. .radius-item,
  142. .color-item {
  143. min-width: 20em;
  144. margin: 5px 6px 0 0;
  145. display: flex;
  146. flex-direction: column;
  147. flex: 1 1 0;
  148. &.wide {
  149. min-width: 60%;
  150. }
  151. &:not(.wide):nth-child(2n+1) {
  152. margin-right: 7px;
  153. }
  154. .color,
  155. .opacity {
  156. display: flex;
  157. align-items: baseline;
  158. }
  159. }
  160. .theme-radius-rn,
  161. .theme-color-cl {
  162. border: 0;
  163. box-shadow: none;
  164. background: transparent;
  165. color: var(--textFaint);
  166. align-self: stretch;
  167. }
  168. .theme-color-cl,
  169. .theme-radius-in,
  170. .theme-color-in {
  171. margin-left: 4px;
  172. }
  173. .theme-radius-in {
  174. min-width: 1em;
  175. max-width: 7em;
  176. flex: 1;
  177. }
  178. .theme-radius-lb {
  179. max-width: 50em;
  180. }
  181. .theme-warning {
  182. display: flex;
  183. align-items: baseline;
  184. margin-bottom: 0.5em;
  185. .buttons {
  186. .btn {
  187. margin-bottom: 0.5em;
  188. }
  189. }
  190. }
  191. }
  192. .extra-content {
  193. .apply-container {
  194. display: flex;
  195. flex-direction: row;
  196. justify-content: space-around;
  197. flex-grow: 1;
  198. /* stylelint-disable-next-line no-descending-specificity */
  199. .btn {
  200. flex-grow: 1;
  201. min-height: 2em;
  202. min-width: 0;
  203. max-width: 10em;
  204. padding: 0;
  205. }
  206. }
  207. }