widgets.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. *|::-moz-button-content {
  2. all: unset !important;
  3. }
  4. .add-actor-button-container {
  5. -moz-mask-image: url(icons/add-actor.svg);
  6. -o-mask-image: url(icons/add-actor.svg);
  7. -webkit-mask-image: url(icons/add-actor.svg);
  8. mask-image: url(icons/add-actor.svg);
  9. opacity: initial !important;
  10. }
  11. .alert button {
  12. border-color: #ff6347 !important;
  13. cursor: pointer !important;
  14. margin-top: unset !important;
  15. }
  16. .alert, .alert-danger, .form-error, .form-row-widget-error {
  17. align-items: center;
  18. background-color: #FF634733;
  19. border: solid 2px #ff6347;
  20. border-radius: var(--s);
  21. display: inline-flex;
  22. font-style: italic;
  23. justify-content: space-between;
  24. margin-bottom: 6px;
  25. margin-top: 6px;
  26. padding: 2px 6px;
  27. }
  28. .avatar {
  29. max-block-size: 2em;
  30. width: auto;
  31. }
  32. .button-container {
  33. background-color: var(--foreground);
  34. border: none !important;
  35. display: inline-block;
  36. height: var(--unit);
  37. mask-repeat: no-repeat !important;
  38. mask-size: cover !important;
  39. opacity: .33;
  40. width: var(--unit);
  41. }
  42. .button-container:focus, .button-container:hover {
  43. background-color: var(--accent);
  44. border: none !important;
  45. mask-repeat: no-repeat !important;
  46. mask-size: cover !important;
  47. opacity: 1;
  48. }
  49. .button-container:not(:first-of-type) {
  50. margin-left: var(--s);
  51. }
  52. .container-block, .profile-info-url, .profile-info-url > *, .profile-navigation > *, .profile-stats-subscribers, .profile-stats-subscriptions, .section-settings-details-title {
  53. display: block;
  54. }
  55. .container-grid {
  56. display: grid;
  57. gap: var(--s);
  58. grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  59. }
  60. .details-subtitle-summary a, .details-title-summary a {
  61. line-height: initial;
  62. }
  63. .details-subtitle-summary svg:last-child, .details-title-summary svg:last-child {
  64. margin-left: 4px;
  65. }
  66. .details-subtitle-summary ~ [class|="form-row"], .frame-section-padding {
  67. padding: var(--s);
  68. }
  69. .details-subtitle-summary + * {
  70. background: var(--gradient);
  71. border-radius: var(--s);
  72. padding: 2px 8px;
  73. }
  74. .details-summary-subtitle {
  75. font: 900 1.067em "Open Sans", sans-serif;
  76. padding: 6px 8px;
  77. }
  78. .details-summary-subtitle:after {
  79. content: "\1F815";
  80. display: block;
  81. float: right;
  82. position: relative;
  83. }
  84. .details-summary-title {
  85. font: 900 1.215em "Open Sans", sans-serif;
  86. padding: 6px 8px;
  87. }
  88. .details-summary-title:after {
  89. content: "\1F817";
  90. display: block;
  91. float: right;
  92. position: relative;
  93. }
  94. .footer ul li {
  95. margin-right: var(--s);
  96. }
  97. .footer ul, .profile-info {
  98. display: flex;
  99. flex-wrap: wrap;
  100. }
  101. .form-row {
  102. display: flex;
  103. flex-direction: column;
  104. margin-bottom: var(--s);
  105. }
  106. .form-row-help {
  107. font-style: italic;
  108. margin-bottom: unset;
  109. }
  110. .form-row-widget {
  111. display: block;
  112. width: 100%;
  113. }
  114. .form-search {
  115. display: inline-block;
  116. margin-bottom: var(--m);
  117. padding: unset !important;
  118. }
  119. .form-search span {
  120. display: inline-flex;
  121. width: 100%;
  122. }
  123. .form-search span .form-row {
  124. flex: max-content;
  125. margin-bottom: unset;
  126. }
  127. .form-search span button {
  128. border-bottom-left-radius: 0;
  129. border-left: none !important;
  130. border-top-left-radius: 0;
  131. flex: auto;
  132. height: 100%;
  133. margin: unset;
  134. }
  135. .form-search span input[type='text'] {
  136. border-bottom-right-radius: 0;
  137. border-top-right-radius: 0;
  138. height: 100%;
  139. margin: unset;
  140. }
  141. .form-search span label {
  142. display: block;
  143. height: 0;
  144. opacity: 0;
  145. width: 0;
  146. }
  147. .frame-section {
  148. background-color: var(--background-card);
  149. border: 1px solid var(--border);
  150. border-radius: var(--s);
  151. box-shadow: var(--shadow);
  152. display: flex;
  153. flex-direction: column;
  154. margin-bottom: var(--s);
  155. }
  156. .frame-section hr, .section-details-subtitle .section-details-subtitle:not(:last-of-type), .section-details-subtitle:not(:last-of-type), .section-settings-details[open] > summary:first-child, button:not(:last-of-type) {
  157. margin-bottom: var(--s);
  158. }
  159. .frame-section-button-like {
  160. align-self: end;
  161. background: var(--gradient);
  162. border: 1px solid var(--border);
  163. border-radius: var(--s);
  164. display: block;
  165. font-family: "Open Sans", sans-serif;
  166. font-weight: 900;
  167. padding: 6px 8px;
  168. width: max-content;
  169. }
  170. .frame-section-paging {
  171. display: block;
  172. font-family: "Open Sans", sans-serif;
  173. font-weight: 900;
  174. margin-left: auto;
  175. margin-top: var(--s);
  176. padding: 6px 12px;
  177. }
  178. .frame-section-title {
  179. margin-left: unset;
  180. }
  181. .profile {
  182. background: var(--gradient);
  183. border: 1px solid var(--border);
  184. border-radius: var(--s);
  185. font-family: 'Open Sans', sans-serif;
  186. margin-bottom: var(--s);
  187. padding: var(--unit);
  188. }
  189. .profile header {
  190. display: flex;
  191. flex-wrap: wrap;
  192. justify-content: space-between;
  193. vertical-align: middle;
  194. }
  195. .profile-bio {
  196. margin-top: 4px;
  197. }
  198. .profile-bio, .profile-info-url {
  199. word-break: break-all;
  200. }
  201. .profile-extra-actions {
  202. background: var(--gradient), var(--background-hard);
  203. border: 1px solid var(--border);
  204. border-radius: var(--s);
  205. display: inline-block;
  206. font-weight: 900;
  207. margin-right: var(--s);
  208. margin-top: var(--s);
  209. padding: 4px 8px;
  210. }
  211. .profile-info .avatar {
  212. border-radius: 2px;
  213. height: auto;
  214. margin-right: var(--s);
  215. max-block-size: 3em;
  216. width: auto;
  217. }
  218. .profile-info section {
  219. flex: 1;
  220. }
  221. .profile-info-url strong, .heading-no-margin {
  222. font-size: 1.215rem;
  223. font-weight: 900;
  224. }
  225. .profile-info-url-remote {
  226. opacity: .66;
  227. }
  228. .profile-stats {
  229. align-self: center;
  230. margin-left: auto;
  231. opacity: .66;
  232. text-align: right;
  233. }
  234. .profile-stats-subscribers strong, .profile-stats-subscriptions strong, .section-details-subtitle summary > :last-child, .section-details-title summary > :last-child {
  235. margin-right: 4px;
  236. }
  237. .profile-tags {
  238. margin: 4px unset unset;
  239. }
  240. .remove-actor-button-container {
  241. -moz-mask-image: url(icons/remove-actor.svg);
  242. -o-mask-image: url(icons/remove-actor.svg);
  243. -webkit-mask-image: url(icons/remove-actor.svg);
  244. mask-image: url(icons/remove-actor.svg);
  245. }
  246. .section-checkbox-flex {
  247. display: flex;
  248. flex-wrap: wrap;
  249. justify-content: flex-start;
  250. }
  251. .section-checkbox-flex > * {
  252. margin-right: var(--m);
  253. }
  254. .section-details-subtitle summary, .section-details-title summary {
  255. background: var(--gradient);
  256. border-radius: var(--s);
  257. display: block;
  258. font-family: 'Open Sans', sans-serif !important;
  259. font-weight: 900 !important;
  260. width: 100%;
  261. }
  262. .section-details-subtitle summary > *, .section-details-title summary > * {
  263. display: inline-block;
  264. }
  265. .section-details-subtitle:not([open]) > .details-summary-subtitle:after {
  266. animation: fadeOut 200ms cubic-bezier(0, 0.55, 0.45, 1);
  267. content: "\1F817";
  268. }
  269. .section-details-subtitle[open] > .details-summary-subtitle:after, .section-details-title:not([open]) > .details-summary-title:after, .section-settings-details:not([open]) summary:after {
  270. animation: fadeIn 200ms cubic-bezier(0, 0.55, 0.45, 1);
  271. transform: initial;
  272. }
  273. .section-details-title[open] > .details-summary-title:after {
  274. animation: fadeOut 200ms cubic-bezier(0, 0.55, 0.45, 1);
  275. content: "\1F815";
  276. }
  277. .section-form {
  278. background-color: var(--background-card);
  279. border-radius: var(--s);
  280. display: block;
  281. max-width: 100%;
  282. padding: var(--s);
  283. width: 100%;
  284. }
  285. .section-form-legend {
  286. font-weight: 700;
  287. margin-bottom: var(--s);
  288. margin-top: unset;
  289. }
  290. .section-settings {
  291. background: var(--background-card);
  292. border: 1px solid var(--border);
  293. box-shadow: var(--shadow);
  294. }
  295. .section-settings hr {
  296. margin-bottom: .6rem;
  297. margin-top: .6rem;
  298. }
  299. .section-settings, .section-settings-details {
  300. border-radius: .6rem;
  301. box-sizing: border-box;
  302. margin-bottom: .6rem;
  303. padding: .6rem;
  304. }
  305. .section-settings-details {
  306. border: 1px solid var(--border);
  307. }
  308. .section-settings-details summary + form {
  309. padding-left: var(--s);
  310. }
  311. .section-settings-details summary em:first-letter, .section-settings-details summary h3:first-letter {
  312. text-transform: uppercase;
  313. }
  314. .section-settings-details summary:after {
  315. content: "\1F817";
  316. float: right;
  317. }
  318. .section-settings-details[open] {
  319. border-left: 2px solid var(--foreground);
  320. }
  321. .section-settings-details[open] .set-nav li:last-of-type {
  322. margin-bottom: 0;
  323. }
  324. .section-settings-details[open] > summary:after {
  325. animation: fadeOut 200ms cubic-bezier(0, 0.55, 0.45, 1);
  326. transform: rotate(180deg);
  327. }
  328. .section-title {
  329. margin-top: 0;
  330. }
  331. ::file-selector-button {
  332. background-color: unset;
  333. border: unset;
  334. color: var(--foreground);
  335. cursor: pointer;
  336. fill: var(--foreground);
  337. font-family: 'Open Sans', sans-serif !important;
  338. font-weight: 900 !important;
  339. margin: 3px;
  340. }
  341. button {
  342. cursor: pointer !important;
  343. display: block !important;
  344. font-family: "Open Sans", sans-serif !important;
  345. font-weight: 900 !important;
  346. margin-left: auto !important;
  347. }
  348. button, input, select, textarea {
  349. border: 1px solid var(--border) !important;
  350. border-radius: var(--s);
  351. color: var(--foreground) !important;
  352. font-size: inherit !important;
  353. max-width: border-box;
  354. overflow: hidden;
  355. padding: 6px 8px !important;
  356. width: auto;
  357. }
  358. button, select, textarea, button, input {
  359. background: var(--gradient) !important;
  360. }
  361. input + label {
  362. margin-left: 3px;
  363. }
  364. input[type=checkbox] {
  365. accent-color: var(--accent);
  366. }
  367. input[type=color] {
  368. appearance: none;
  369. background-color: transparent;
  370. border: 0;
  371. cursor: pointer;
  372. height: var(--xxl);
  373. width: var(--xxl);
  374. }
  375. input[type=color]::-webkit-color-swatch, input[type=color]::-moz-color-swatch {
  376. border: 0;
  377. border-radius: var(--s);
  378. }
  379. input[type=file] {
  380. all: unset;
  381. background: var(--gradient) !important;
  382. border-radius: var(--s);
  383. display: block;
  384. font-family: 'Open Sans', sans-serif !important;
  385. font-weight: 400 !important;
  386. padding: unset !important;
  387. }
  388. input[type=radio], input[type=checkbox] {
  389. background: initial;
  390. }
  391. select {
  392. background-repeat: no-repeat;
  393. border-radius: var(--s);
  394. cursor: pointer;
  395. max-width: 100%;
  396. }
  397. select::-ms-expand {
  398. display: none;
  399. }
  400. select[multiple] {
  401. height: 8rem;
  402. overflow-y: scroll;
  403. }
  404. textarea.form-row-widget {
  405. font: 400 1rem "Open Sans", sans-serif;
  406. height: 7rem;
  407. resize: vertical;
  408. }