logo

pleroma-fe

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

theme_tab.scss (3776B)


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