tailwind.css 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269
  1. /* tailwind source */
  2. @tailwind base;
  3. @tailwind components;
  4. @tailwind utilities;
  5. @layer utilities {
  6. .animation-delay-2000 {
  7. animation-delay: 2s;
  8. }
  9. .animation-delay-4000 {
  10. animation-delay: 4s;
  11. }
  12. }
  13. @layer components {
  14. /* Global: HTML tags */
  15. ol, ul {
  16. @apply pl-10 list-outside;
  17. }
  18. ul {
  19. @apply list-disc;
  20. }
  21. ol {
  22. @apply list-decimal;
  23. }
  24. /* Defaults */
  25. .bx-def-vanilla-html {
  26. @apply prose dark:prose-invert;
  27. @apply prose-a:text-blue-500 prose-a:font-medium prose-a:no-underline hover:prose-a:underline visited:prose-a:text-purple-500;
  28. }
  29. .bx-def-vanilla-html.bx-def-vh-sm {
  30. @apply prose-sm;
  31. }
  32. .bx-def-vanilla-html img::after,
  33. .bx-def-vanilla-html p::after{
  34. content: '';
  35. display: block;
  36. clear: both;
  37. }
  38. .bx-def-vanilla-html div > :where(:first-child):not(:where([class~="not-prose"] *)),
  39. .bx-def-vanilla-html > :where(:first-child):not(:where([class~="not-prose"] *)){
  40. margin-top: 0 !important;
  41. }
  42. .bx-def-vanilla-html div > :where(:last-child):not(:where([class~="not-prose"] *)),
  43. .bx-def-vanilla-html > :where(:last-child):not(:where([class~="not-prose"] *)) {
  44. margin-bottom: 0 !important;
  45. }
  46. .bx-artificer .bx-menthion-link {
  47. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  48. }
  49. .bx-artificer .bx-def-box-sizing {
  50. @apply box-border;
  51. }
  52. .bx-artificer .bx-def-align-center {
  53. @apply flex items-center justify-center !important;
  54. }
  55. .bx-artificer .bx-def-valign-center {
  56. @apply flex items-center !important;
  57. }
  58. /* Color Palette */
  59. .bx-artificer .bx-def-color-bg-hl,
  60. .bx-artificer .bx-def-color-bg-hl-even:nth-child(even),
  61. .bx-artificer .bx-def-color-bg-hl-hover:hover {
  62. @apply bg-gray-100/50 dark:bg-gray-700/50;
  63. }
  64. .bx-artificer .col-red1 {
  65. @apply text-red-500;
  66. }
  67. .bx-artificer .bg-col-red1 {
  68. @apply bg-red-400;
  69. }
  70. .bx-artificer .col-red1-dark {
  71. @apply text-red-800;
  72. }
  73. .bx-artificer .bg-col-red1-dark {
  74. @apply bg-red-700;
  75. }
  76. .bx-artificer .col-red2 {
  77. @apply text-rose-500;
  78. }
  79. .bx-artificer .bg-col-red2 {
  80. @apply bg-rose-400;
  81. }
  82. .bx-artificer .col-red2-dark {
  83. @apply text-rose-800;
  84. }
  85. .bx-artificer .bg-col-red2-dark {
  86. @apply bg-rose-700;
  87. }
  88. .bx-artificer .col-red3 {
  89. @apply text-orange-500;
  90. }
  91. .bx-artificer .bg-col-red3 {
  92. @apply bg-orange-400;
  93. }
  94. .bx-artificer .col-red3-dark {
  95. @apply text-orange-800;
  96. }
  97. .bx-artificer .bg-col-red3-dark {
  98. @apply bg-orange-700;
  99. }
  100. .bx-artificer .col-green1 {
  101. @apply text-green-500;
  102. }
  103. .bx-artificer .bg-col-green1 {
  104. @apply bg-green-400;
  105. }
  106. .bx-artificer .col-green1-dark {
  107. @apply text-green-800;
  108. }
  109. .bx-artificer .bg-col-green1-dark {
  110. @apply bg-green-700;
  111. }
  112. .bx-artificer .col-green2 {
  113. @apply text-teal-500;
  114. }
  115. .bx-artificer .bg-col-green2 {
  116. @apply bg-teal-400;
  117. }
  118. .bx-artificer .col-green2-dark {
  119. @apply text-teal-800;
  120. }
  121. .bx-artificer .bg-col-green2-dark {
  122. @apply bg-teal-700;
  123. }
  124. .bx-artificer .col-green3 {
  125. @apply text-emerald-500;
  126. }
  127. .bx-artificer .bg-col-green3 {
  128. @apply bg-emerald-400;
  129. }
  130. .bx-artificer .col-green3-dark {
  131. @apply text-emerald-800;
  132. }
  133. .bx-artificer .bg-col-green3-dark {
  134. @apply bg-emerald-700;
  135. }
  136. .bx-artificer .col-blue1 {
  137. @apply text-blue-500;
  138. }
  139. .bx-artificer .bg-col-blue1 {
  140. @apply bg-blue-400;
  141. }
  142. .bx-artificer .col-blue1-dark {
  143. @apply text-blue-800;
  144. }
  145. .bx-artificer .bg-col-blue1-dark {
  146. @apply bg-blue-700;
  147. }
  148. .bx-artificer .col-blue2 {
  149. @apply text-purple-500;
  150. }
  151. .bx-artificer .bg-col-blue2 {
  152. @apply bg-purple-400;
  153. }
  154. .bx-artificer .col-blue2-dark {
  155. @apply text-purple-800;
  156. }
  157. .bx-artificer .bg-col-blue2-dark {
  158. @apply bg-purple-700;
  159. }
  160. .bx-artificer .col-blue3 {
  161. @apply text-sky-500;
  162. }
  163. .bx-artificer .bg-col-blue3 {
  164. @apply bg-sky-400;
  165. }
  166. .bx-artificer .col-blue3-dark {
  167. @apply text-sky-800;
  168. }
  169. .bx-artificer .bg-col-blue3-dark {
  170. @apply bg-sky-700;
  171. }
  172. .bx-artificer .col-gray {
  173. @apply text-gray-500;
  174. }
  175. .bx-artificer .bg-col-gray {
  176. @apply bg-gray-400;
  177. }
  178. .bx-artificer .col-gray-dark {
  179. @apply text-gray-800;
  180. }
  181. .bx-artificer .bg-col-gray-dark {
  182. @apply bg-gray-700;
  183. }
  184. /* Margins and Paddings */
  185. .bx-artificer .bx-def-centered {
  186. @apply mx-auto;
  187. }
  188. .bx-artificer .bx-def-margin {
  189. @apply m-4;
  190. }
  191. .bx-artificer .bx-def-margin-neg {
  192. @apply -m-4;
  193. }
  194. .bx-artificer .bx-def-margin-left {
  195. @apply ml-4;
  196. }
  197. .bx-artificer .bx-def-margin-left-auto {
  198. @apply ml-4 first:ml-0;
  199. }
  200. .bx-artificer .bx-def-margin-right {
  201. @apply mr-4;
  202. }
  203. .bx-artificer .bx-def-margin-top {
  204. @apply mt-4;
  205. }
  206. .bx-artificer .bx-def-margin-top-auto {
  207. @apply mt-4 first:mt-0;
  208. }
  209. .bx-artificer .bx-def-margin-bottom {
  210. @apply mb-4;
  211. }
  212. .bx-artificer .bx-def-margin-leftright {
  213. @apply mx-4;
  214. }
  215. .bx-artificer .bx-def-margin-leftright-neg {
  216. @apply -mx-4;
  217. }
  218. .bx-artificer .bx-def-margin-topbottom {
  219. @apply my-4;
  220. }
  221. .bx-artificer .bx-def-margin-topbottom-neg {
  222. @apply -my-4;
  223. }
  224. .bx-artificer .bx-def-margin-lefttopright {
  225. @apply mx-4 mt-4;
  226. }
  227. .bx-artificer .bx-def-margin-rightbottomleft {
  228. @apply mx-4 mb-4;
  229. }
  230. .bx-artificer .bx-def-margin-sec {
  231. @apply m-2;
  232. }
  233. .bx-artificer .bx-def-margin-sec-neg {
  234. @apply -m-2;
  235. }
  236. .bx-artificer .bx-def-margin-sec-left {
  237. @apply ml-2;
  238. }
  239. .bx-artificer .bx-def-margin-sec-left-auto {
  240. @apply ml-2 first:ml-0;
  241. }
  242. .bx-artificer .bx-def-margin-sec-right {
  243. @apply mr-2;
  244. }
  245. .bx-artificer .bx-def-margin-sec-top {
  246. @apply mt-2;
  247. }
  248. .bx-artificer .bx-def-margin-sec-top-auto {
  249. @apply mt-2 first:mt-0;
  250. }
  251. .bx-artificer .bx-def-margin-sec-bottom {
  252. @apply mb-2;
  253. }
  254. .bx-artificer .bx-def-margin-sec-bottom-neg {
  255. @apply -mb-2;
  256. }
  257. .bx-artificer .bx-def-margin-sec-leftright {
  258. @apply mx-2;
  259. }
  260. .bx-artificer .bx-def-margin-sec-leftright-neg {
  261. @apply -mx-2;
  262. }
  263. .bx-artificer .bx-def-margin-sec-lefttopright-neg {
  264. @apply -mx-2 -mt-2;
  265. }
  266. .bx-artificer .bx-def-margin-sec-topbottom {
  267. @apply my-2;
  268. }
  269. .bx-artificer .bx-def-margin-sec-topbottom-neg {
  270. @apply -my-2;
  271. }
  272. .bx-artificer .bx-def-margin-sec-lefttopright {
  273. @apply mx-2 mt-2;
  274. }
  275. .bx-artificer .bx-def-margin-sec-rightbottomleft {
  276. @apply mx-2 mb-2;
  277. }
  278. .bx-artificer .bx-def-margin-thd {
  279. @apply m-1;
  280. }
  281. .bx-artificer .bx-def-margin-thd-neg {
  282. @apply -m-1;
  283. }
  284. .bx-artificer .bx-def-margin-thd-left {
  285. @apply ml-1;
  286. }
  287. .bx-artificer .bx-def-margin-thd-left-auto {
  288. @apply ml-1 first:ml-0;
  289. }
  290. .bx-artificer .bx-def-margin-thd-right {
  291. @apply mr-1;
  292. }
  293. .bx-artificer .bx-def-margin-thd-top {
  294. @apply mt-1;
  295. }
  296. .bx-artificer .bx-def-margin-thd-top-auto {
  297. @apply mt-1 first:mt-0;
  298. }
  299. .bx-artificer .bx-def-margin-thd-bottom {
  300. @apply mb-1;
  301. }
  302. .bx-artificer .bx-def-margin-thd-leftright {
  303. @apply mx-1;
  304. }
  305. .bx-artificer .bx-def-margin-thd-leftright-neg {
  306. @apply -mx-1;
  307. }
  308. .bx-artificer .bx-def-margin-thd-topbottom {
  309. @apply my-1;
  310. }
  311. .bx-artificer .bx-def-margin-thd-topbottom-neg {
  312. @apply -my-1;
  313. }
  314. .bx-artificer .bx-def-margin-thd-lefttopright {
  315. @apply mx-1 mt-1;
  316. }
  317. .bx-artificer .bx-def-margin-thd-rightbottomleft {
  318. @apply mx-1 mb-1;
  319. }
  320. .bx-artificer .bx-def-padding {
  321. @apply p-4;
  322. }
  323. .bx-artificer .bx-def-padding-left {
  324. @apply pl-4;
  325. }
  326. .bx-artificer .bx-def-padding-left-auto {
  327. @apply pl-4 first:pl-0;
  328. }
  329. .bx-artificer .bx-def-padding-right {
  330. @apply pr-4;
  331. }
  332. .bx-artificer .bx-def-padding-top {
  333. @apply pt-4;
  334. }
  335. .bx-artificer .bx-def-padding-top-auto {
  336. @apply pt-4 first:pt-0;
  337. }
  338. .bx-artificer .bx-def-padding-bottom {
  339. @apply pb-4;
  340. }
  341. .bx-artificer .bx-def-padding-leftright {
  342. @apply px-4;
  343. }
  344. .bx-artificer .bx-def-padding-topbottom {
  345. @apply py-4;
  346. }
  347. .bx-artificer .bx-def-padding-lefttopright {
  348. @apply px-4 pt-4;
  349. }
  350. .bx-artificer .bx-def-padding-rightbottomleft {
  351. @apply px-4 pb-4;
  352. }
  353. .bx-artificer .bx-def-padding-sec {
  354. @apply p-2;
  355. }
  356. .bx-artificer .bx-def-padding-sec-left {
  357. @apply pl-2;
  358. }
  359. .bx-artificer .bx-def-padding-sec-left-auto {
  360. @apply pl-2 first:pl-0;
  361. }
  362. .bx-artificer .bx-def-padding-sec-right {
  363. @apply pr-2;
  364. }
  365. .bx-artificer .bx-def-padding-sec-top {
  366. @apply pt-2;
  367. }
  368. .bx-artificer .bx-def-padding-sec-top-auto {
  369. @apply pt-2 first:pt-0;
  370. }
  371. .bx-artificer .bx-def-padding-sec-bottom {
  372. @apply pb-2;
  373. }
  374. .bx-artificer .bx-def-padding-sec-leftright {
  375. @apply px-2;
  376. }
  377. .bx-artificer .bx-def-padding-sec-topbottom {
  378. @apply py-2;
  379. }
  380. .bx-artificer .bx-def-padding-sec-lefttopright {
  381. @apply px-2 pt-2;
  382. }
  383. .bx-artificer .bx-def-padding-sec-rightbottomleft {
  384. @apply px-2 pb-2;
  385. }
  386. .bx-artificer .bx-def-padding-thd {
  387. @apply p-1;
  388. }
  389. .bx-artificer .bx-def-padding-thd-left {
  390. @apply pl-1;
  391. }
  392. .bx-artificer .bx-def-padding-thd-left-auto {
  393. @apply pl-1 first:pl-0;
  394. }
  395. .bx-artificer .bx-def-padding-thd-right {
  396. @apply pr-1;
  397. }
  398. .bx-artificer .bx-def-padding-thd-top {
  399. @apply pt-1;
  400. }
  401. .bx-artificer .bx-def-padding-thd-top-auto {
  402. @apply pt-1 first:pt-0;
  403. }
  404. .bx-artificer .bx-def-padding-thd-bottom {
  405. @apply pb-1;
  406. }
  407. .bx-artificer .bx-def-padding-thd-leftright {
  408. @apply px-1;
  409. }
  410. .bx-artificer .bx-def-padding-thd-topbottom {
  411. @apply py-1;
  412. }
  413. .bx-artificer .bx-def-padding-thd-lefttopright {
  414. @apply px-1 pt-1;
  415. }
  416. .bx-artificer .bx-def-padding-thd-rightbottomleft {
  417. @apply px-1 pb-1;
  418. }
  419. /* Borders */
  420. .bx-artificer .bx-def-border {
  421. @apply border border-gray-200 dark:border-gray-700;
  422. }
  423. .bx-artificer .bx-def-round-corners {
  424. @apply rounded-md;
  425. }
  426. /* Fonts */
  427. .bx-def-font,
  428. .bx-artificer .bx-def-font-inputs:not(.bx-btn) {
  429. @apply font-inter text-gray-500 dark:text-gray-400;
  430. }
  431. .bx-def-font-grayed {
  432. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  433. }
  434. .bx-def-font-author,
  435. .bx-def-font-author.bx-def-font-meta {
  436. @apply text-sm text-gray-800 hover:text-black dark:text-gray-300 dark:hover:text-white font-semibold;
  437. }
  438. .bx-def-font-meta {
  439. @apply text-sm;
  440. }
  441. .bx-def-font-meta:not(a) {
  442. @apply text-gray-700 dark:text-gray-400 text-opacity-60;
  443. }
  444. a.bx-def-font-meta {
  445. @apply hover:underline;
  446. }
  447. .bx-artificer .bx-def-a-colored {
  448. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  449. }
  450. .bx-artificer a.bx-def-font-meta,
  451. .bx-artificer a.bx-def-font-meta.bx-def-a-colored {
  452. @apply text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50;
  453. }
  454. .bx-artificer .bx-def-font-meta:not(a) {
  455. @apply text-opacity-100;
  456. }
  457. .bx-artificer .bx-def-font-small {
  458. @apply text-xs;
  459. }
  460. .bx-artificer .bx-def-font-middle {
  461. @apply text-sm;
  462. }
  463. .bx-artificer .bx-def-font-large {
  464. @apply text-lg;
  465. }
  466. .bx-artificer h3,
  467. .bx-artificer .bx-def-font-h3 {
  468. @apply text-xl;
  469. }
  470. .bx-artificer h2,
  471. .bx-artificer .bx-def-font-h2 {
  472. @apply text-2xl;
  473. }
  474. .bx-artificer h1,
  475. .bx-artificer .bx-def-font-h1 {
  476. @apply text-3xl leading-10;
  477. }
  478. /* Common elements: Pages. */
  479. .bx-layout-wrapper{
  480. @apply gap-4 lg:gap-6 flex flex-col;
  481. }
  482. .bx-layout-row{
  483. @apply w-full flex relative flex-wrap md:flex-nowrap gap-y-4 lg:gap-y-6;
  484. }
  485. .bx-layout-col{
  486. @apply max-w-full w-full;
  487. flex-shrink: 2 !important;
  488. }
  489. .bx-layout-cell{
  490. @apply flex flex-col gap-4 lg:gap-6;
  491. }
  492. .bx-layout-gap{
  493. @apply gap-y-4 lg:gap-y-6;
  494. }
  495. .bx-def-color-bg-page{
  496. @apply bg-gray-100 dark:bg-gray-900;
  497. }
  498. /* Common elements: Blocks, Boxes, etc. */
  499. .bx-def-box {
  500. @apply flex flex-col;
  501. }
  502. .bx-def-box.bx-def-box-hor {
  503. @apply flex-row;
  504. }
  505. .bx-def-color-bg-block,
  506. .bx-def-color-bg-box,
  507. .bx-popup-color-bg {
  508. @apply bg-white dark:bg-gray-800 shadow-md;
  509. }
  510. .bx-def-border-block,
  511. .bx-def-box,
  512. .bx-popup-border {
  513. @apply ring-1 ring-gray-300/50 dark:ring-gray-600/50;
  514. }
  515. .bx-def-border-radius-block,
  516. .bx-def-box-round-corners,
  517. .bx-popup-border {
  518. @apply rounded-md;
  519. }
  520. .bx-content-padding-block {
  521. @apply p-3 md:p-4;
  522. }
  523. .bx-def-color-bg-box-hover {
  524. @apply hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-800 dark:hover:text-gray-200;
  525. }
  526. .bx-def-color-bg-box-active {
  527. @apply bg-gray-100 dark:bg-gray-700;
  528. }
  529. .bx-db-title {
  530. @apply text-lg xl:text-xl font-bold text-gray-800 dark:text-gray-100 align-middle;
  531. }
  532. /* Common Elements: HR */
  533. .bx-artificer .bx-def-hr {
  534. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  535. }
  536. /* Common Elements: Labels */
  537. .bx-artificer .bx-def-label {
  538. @apply inline-block min-w-6 px-4 py-1 bg-gray-300 dark:bg-gray-600 hover:bg-gray-400 dark:hover:bg-gray-500 text-gray-800 dark:text-gray-300 hover:text-gray-900 dark:hover:text-gray-200 text-sm font-normal rounded-full box-border;
  539. }
  540. /* Common Elements: Alerts */
  541. .bx-def-unit-alert,
  542. .bx-def-unit-alert-small,
  543. .bx-def-unit-alert-middle {
  544. @apply block absolute top-0 -right-0.5 text-center text-white;
  545. }
  546. .bx-def-unit-alert {
  547. @apply h-4 p-1 leading-4 rounded-full text-xs;
  548. min-width: 1rem;
  549. }
  550. /* Common elements: Buttons */
  551. .bx-btn-shadow {
  552. @apply shadow-sm hover:shadow active:shadow-none;
  553. }
  554. .bx-btn-border {
  555. @apply border border-gray-300 dark:border-gray-600 rounded-md;
  556. }
  557. .bx-btn-bg {
  558. @apply bg-gray-100 dark:bg-gray-700;
  559. }
  560. .bx-btn-text {
  561. @apply text-sm text-gray-700 dark:text-gray-100 font-medium ;
  562. }
  563. .bx-btn-hover {
  564. @apply hover:bg-white dark:hover:bg-gray-600;
  565. @apply hover:border-gray-300 dark:hover:border-gray-500;
  566. @apply hover:text-gray-800 dark:hover:text-white;
  567. @apply hover:no-underline;
  568. @apply hover:-translate-y-px;
  569. }
  570. .bx-btn-active {
  571. @apply active:bg-gray-300 dark:active:bg-gray-800;
  572. @apply active:border-gray-400 dark:active:border-gray-700;
  573. @apply active:text-gray-900 dark:active:text-gray-200;
  574. @apply active:translate-y-px;
  575. }
  576. .bx-btn {
  577. @apply relative inline-flex items-center px-4 py-2;
  578. @apply bx-btn-shadow;
  579. @apply bx-btn-bg;
  580. @apply bx-btn-border;
  581. @apply bx-btn-text;
  582. @apply transform-gpu transition-all duration-150;
  583. @apply cursor-pointer;
  584. @apply bx-btn-hover bx-btn-active;
  585. }
  586. .bx-btn i,
  587. .bx-btn u {
  588. @apply inline-block align-middle;
  589. }
  590. .bx-btn i,
  591. .bx-btn img {
  592. @apply w-5 h-5 leading-5;
  593. }
  594. .bx-btn i:not(.sys-colored),
  595. .bx-btn img {
  596. @apply text-gray-600 dark:text-gray-300;
  597. }
  598. .bx-btn:hover i:not(.sys-colored),
  599. .bx-btn:hover img {
  600. @apply text-gray-800 dark:text-gray-100;
  601. }
  602. .bx-btn i {
  603. @apply text-center;
  604. }
  605. .bx-btn u {
  606. @apply ml-2 first:ml-0 no-underline;
  607. }
  608. .bx-btn.bx-btn-primary {
  609. @apply bg-blue-600 hover:bg-blue-500 active:bg-blue-700 dark:bg-blue-700 dark:hover:bg-blue-600 dark:active:bg-blue-800;
  610. @apply border border-blue-600 hover:border-blue-500 active:border-blue-800 dark:border-blue-600 dark:hover:border-blue-500 dark:active:border-blue-700;
  611. @apply text-white hover:text-white active:text-white dark:text-white dark:hover:text-white dark:active:text-white;
  612. }
  613. .bx-btn.bx-btn-primary i,
  614. .bx-btn.bx-btn-primary img {
  615. @apply text-gray-300;
  616. }
  617. .bx-btn.bx-btn-primary:hover i,
  618. .bx-btn.bx-btn-primary:hover img {
  619. @apply text-gray-100;
  620. }
  621. .bx-btn.bx-btn-disabled {
  622. @apply bg-gray-50 dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-400 hover:text-gray-400 dark:hover:text-gray-400 focus:ring-0 focus:ring-offset-0 shadow-none cursor-default !important;
  623. }
  624. .bx-btn.bx-btn-small {
  625. @apply py-1 text-xs;
  626. }
  627. .bx-btn.bx-btn-small i,
  628. .bx-btn.bx-btn-small img {
  629. @apply w-4 h-4 leading-4;
  630. }
  631. /* Common elements: Forms */
  632. .bx-artificer form {
  633. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  634. }
  635. .bx-artificer form a:not(.bx-btn),
  636. .bx-artificer .sys-jf-agreement a:not(.bx-btn),
  637. .bx-artificer .sys-lf-agreement a:not(.bx-btn) {
  638. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  639. }
  640. .bx-artificer .bx-form-caption,
  641. .bx-artificer .bx-form-row-view-caption {
  642. @apply text-gray-700 dark:text-gray-300 text-sm font-medium;
  643. }
  644. .bx-artificer .bx-form-value {
  645. @apply mt-1 first:mt-0;
  646. }
  647. .bx-artificer .bx-form-required,
  648. .bx-artificer .bx-form-warn {
  649. @apply text-red-400;
  650. }
  651. /* Common elements: Forms: Text Input */
  652. .bx-artificer .bx-form-input-slider,
  653. .bx-artificer .bx-form-input-doublerange,
  654. .bx-artificer .bx-form-input-select_multiple,
  655. .bx-artificer .bx-form-input-select,
  656. .bx-artificer .bx-form-input-number,
  657. .bx-artificer .bx-form-input-time,
  658. .bx-artificer .bx-form-input-datepicker,
  659. .bx-artificer .bx-form-input-datetime,
  660. .bx-artificer .bx-form-input-textarea:not(.bx-form-input-html),
  661. .bx-artificer .bx-form-input-text,
  662. .bx-artificer .bx-form-input-price,
  663. .bx-artificer .bx-form-input-wrapper-price span {
  664. @apply block w-full px-3 py-2;
  665. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  666. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
  667. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  668. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  669. @apply rounded-md;
  670. }
  671. /* Common elements: Forms: Password Input */
  672. .bx-artificer .bx-form-input-wrapper-password {
  673. @apply relative block w-full pl-3 pr-8;
  674. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  675. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
  676. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  677. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  678. @apply rounded-md;
  679. }
  680. /* Common elements: Forms: Checkbox/Radio Set Input */
  681. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  682. .bx-artificer .bx-form-input-wrapper-radio_set {
  683. @apply relative block w-full py-2 px-3;
  684. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  685. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
  686. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  687. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  688. @apply rounded-md;
  689. }
  690. /* Common elements: Forms: Checkbox Input */
  691. .bx-artificer .bx-form-input-checkbox,
  692. .bx-artificer .bx-form-input-radio {
  693. @apply block w-4 h-4;
  694. @apply bg-gray-50 dark:bg-gray-900/50 bg-origin-border;
  695. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70;
  696. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  697. @apply rounded;
  698. @apply appearance-none select-none;
  699. }
  700. .bx-artificer .bx-def-font-inputs.bx-form-input-checkbox,
  701. .bx-artificer .bx-def-font-inputs.bx-form-input-radio {
  702. @apply leading-6 text-base font-medium text-blue-600 dark:text-blue-600;
  703. }
  704. .bx-artificer .bx-form-input-checkbox:checked,
  705. .bx-artificer .bx-form-input-radio:checked {
  706. background-color: currentColor;
  707. border-color: transparent;
  708. }
  709. .bx-artificer .bx-form-input-checkbox:checked {
  710. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTEyLjIwNyA0Ljc5M2ExIDEgMCAwIDEgMCAxLjQxNGwtNSA1YTEgMSAwIDAgMS0xLjQxNCAwbC0yLTJhMSAxIDAgMCAxIDEuNDE0LTEuNDE0TDYuNSA5LjA4Nmw0LjI5My00LjI5M2ExIDEgMCAwIDEgMS40MTQgMHonLz48L3N2Zz4=)
  711. }
  712. .bx-artificer .bx-form-input-radio:checked {
  713. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGNpcmNsZSBjeD0nOCcgY3k9JzgnIHI9JzMnLz48L3N2Zz4=)
  714. }
  715. /* Common elements: Forms: Switcher Input */
  716. .bx-switcher-cont.on button {
  717. @apply bg-white dark:bg-gray-800;
  718. }
  719. .bx-switcher-cont.on button span {
  720. @apply bg-green-500 dark:bg-green-500 translate-x-5;
  721. }
  722. .bx-switcher-cont.off button {
  723. @apply bg-gray-200 dark:bg-gray-900;
  724. }
  725. .bx-switcher-cont.off button span {
  726. @apply bg-white dark:bg-gray-500 translate-x-0;
  727. }
  728. /* Common elements: Forms: Autosuggestion Input */
  729. .bx-artificer .bx-form-input-text.bx-form-input-autotoken {
  730. @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
  731. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  732. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
  733. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  734. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  735. @apply rounded-md;
  736. }
  737. .bx-artificer .bx-form-input-autotoken b.val {
  738. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  739. }
  740. /* Common elements: Popups */
  741. .bx-artificer .bx-popup-wrapper {
  742. @apply overflow-visible;
  743. }
  744. .bx-artificer .bx-popup-applied {
  745. @apply rounded-lg;
  746. }
  747. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  748. @apply w-full md:w-auto;
  749. }
  750. .bx-artificer .bx-popup-full-screen {
  751. @apply w-full;
  752. }
  753. .bx-artificer .bx-popup {
  754. @apply relative;
  755. }
  756. .bx-artificer .bx-popup-color-bg {
  757. @apply bg-white dark:bg-gray-800 shadow;
  758. }
  759. .bx-artificer .bx-popup-border {
  760. @apply ring-1 ring-gray-300 dark:ring-gray-700 rounded-md;
  761. }
  762. .bx-artificer .bx-popup-width {
  763. @apply w-full md:w-128;
  764. }
  765. .bx-artificer .bx-popup-width-small,
  766. .bx-artificer .bx-popup-menu .bx-popup-content {
  767. @apply w-56;
  768. }
  769. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  770. @apply w-full md:w-full;
  771. }
  772. .bx-artificer .bx-popup-fog {
  773. @apply bg-gray-600 opacity-75;
  774. }
  775. /* Common elements: Menus */
  776. .bx-stl-mil-gaps {
  777. @apply px-3 py-2;
  778. }
  779. .bx-stl-mil-gaps-sm {
  780. @apply px-2 py-1.5;
  781. }
  782. .bx-stl-mil-hover-text {
  783. @apply hover:text-gray-800 dark:hover:text-gray-200;
  784. }
  785. .bx-stl-mil-hover-bg {
  786. @apply hover:border-gray-200/50 dark:hover:border-gray-700/50;
  787. @apply hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  788. }
  789. .bx-stl-mil-hover {
  790. @apply bx-stl-mil-hover-text;
  791. @apply bx-stl-mil-hover-bg;
  792. }
  793. .bx-stl-mil-active-bg {
  794. @apply active:border-gray-300 dark:active:border-gray-700;
  795. @apply active:bg-gray-300 dark:active:bg-black/50;
  796. }
  797. .bx-stl-mil-active {
  798. @apply bx-stl-mil-active-bg;
  799. }
  800. .bx-stl-mil,
  801. .bx-stl-mil-sm,
  802. .bx-stl-mil-wo-bg,
  803. .bx-stl-mil-wo-bg-gaps,
  804. .bx-stl-mil-wo-gaps,
  805. .bx-stl-mil-wo-gaps-sm {
  806. @apply flex items-center;
  807. @apply text-base text-gray-600 dark:text-gray-400 font-medium;
  808. @apply bx-stl-mil-hover-text;
  809. }
  810. .bx-stl-mil,
  811. .bx-stl-mil-sm,
  812. .bx-stl-mil-wo-bg {
  813. @apply bx-stl-mil-gaps;
  814. }
  815. .bx-stl-mil,
  816. .bx-stl-mil-sm,
  817. .bx-stl-mil-wo-gaps,
  818. .bx-stl-mil-wo-gaps-sm {
  819. @apply border border-transparent;
  820. @apply rounded-md;
  821. @apply bx-stl-mil-hover-bg bx-stl-mil-active-bg;
  822. }
  823. .bx-stl-mil.bx-stl-mib,
  824. .bx-stl-mil-sm.bx-stl-mib,
  825. .bx-stl-mil-wo-gaps.bx-stl-mib,
  826. .bx-stl-mil-wo-gaps-sm.bx-stl-mib {
  827. @apply border border-gray-300 dark:border-gray-700;
  828. }
  829. .bx-stl-mil-sm,
  830. .bx-stl-mil-wo-gaps-sm {
  831. @apply text-sm;
  832. }
  833. .bx-stl-mil-sm {
  834. @apply px-2 py-1.5;
  835. }
  836. .bx-popup .bx-stl-mil-sm,
  837. .bx-popup .bx-stl-mil-gaps-sm {
  838. @apply px-4;
  839. }
  840. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil,
  841. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-sm,
  842. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps,
  843. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps-sm {
  844. @apply rounded-none;
  845. }
  846. .bx-menu-tab-active.bx-stl-mil,
  847. .bx-menu-tab-active.bx-stl-mil-sm,
  848. .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  849. .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  850. .bx-menu-tab-active .bx-stl-mil,
  851. .bx-menu-tab-active .bx-stl-mil-sm,
  852. .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  853. .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm,
  854. .bx-menu-item-active .bx-stl-mil,
  855. .bx-menu-item-active .bx-stl-mil-sm,
  856. .bx-menu-item-active .bx-stl-mil-wo-gaps,
  857. .bx-menu-item-active .bx-stl-mil-wo-gaps-sm {
  858. @apply text-gray-900 dark:text-white;
  859. @apply bg-gray-200 dark:bg-gray-900;
  860. @apply ring-1 ring-white/50 dark:ring-gray-800/50;
  861. }
  862. .bx-popup .bx-menu-tab-active.bx-stl-mil,
  863. .bx-popup .bx-menu-tab-active.bx-stl-mil-sm,
  864. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  865. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  866. .bx-popup .bx-menu-tab-active .bx-stl-mil,
  867. .bx-popup .bx-menu-tab-active .bx-stl-mil-sm,
  868. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  869. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm {
  870. @apply ring-0;
  871. }
  872. .bx-stl-mii,
  873. .bx-stl-mii-sm,
  874. .bx-stl-mil .sys-action-do-icon,
  875. .bx-stl-mil-sm .sys-action-do-icon,
  876. .bx-stl-mil-wo-gaps .sys-action-do-icon,
  877. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon {
  878. @apply flex items-center justify-center text-gray-500 text-lg;
  879. }
  880. .bx-stl-mii > *,
  881. .bx-stl-mii-sm > *,
  882. .bx-stl-mil .sys-action-do-icon > *,
  883. .bx-stl-mil-sm .sys-action-do-icon > *,
  884. .bx-stl-mil-wo-gaps .sys-action-do-icon > *,
  885. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  886. @apply flex items-center justify-center h-6 w-6 mr-3;
  887. }
  888. .bx-stl-mii:last-child > *,
  889. .bx-stl-mii-sm:last-child > *,
  890. .bx-stl-mil .sys-action-do-icon:last-child > *,
  891. .bx-stl-mil-sm .sys-action-do-icon:last-child > *,
  892. .bx-stl-mil-wo-gaps .sys-action-do-icon:last-child > *,
  893. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon:last-child > * {
  894. @apply mr-0;
  895. }
  896. .bx-stl-mil .sys-action-do-icon ~ .sys-action-do-text,
  897. .bx-stl-mil-sm .sys-action-do-icon ~ .sys-action-do-text,
  898. .bx-stl-mil-wo-gaps .sys-action-do-icon ~ .sys-action-do-text,
  899. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon ~ .sys-action-do-text {
  900. @apply ml-0;
  901. }
  902. .bx-stl-mii-sm > *,
  903. .bx-stl-mil-sm .sys-action-do-icon > *,
  904. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  905. @apply h-5 w-5 mr-1.5 text-sm;
  906. }
  907. .bx-stl-mit {
  908. @apply truncate;
  909. }
  910. .bx-stl-mia {
  911. @apply inline-block py-0.5 px-2 bg-gray-200/50 dark:bg-gray-800/50 text-gray-600 dark:text-gray-300 text-xs rounded-full;
  912. }
  913. /* Common elements: Horizontal menu */
  914. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  915. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  916. @apply text-gray-700 dark:text-gray-200 font-medium;
  917. }
  918. /* Common elements: Vertical menu */
  919. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  920. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  921. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  922. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  923. }
  924. /* Common elements: Vertical menu in Popup */
  925. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  926. @apply hover:text-gray-900 dark:hover:text-gray-100;
  927. }
  928. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  929. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  930. }
  931. /* Common elements: Toolbar menu */
  932. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit {
  933. @apply border-4 border-transparent;
  934. }
  935. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit .bx-def-icon-size {
  936. @apply h-6 w-6 md:h-8 md:w-8;
  937. }
  938. /* Common elements: Page Submenu */
  939. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  940. @apply text-gray-900 dark:text-gray-100;
  941. }
  942. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  943. @apply bg-blue-500 group-hover:bg-blue-500;
  944. }
  945. /* Common elements: Profile Stats menu */
  946. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-menu-tab-active {
  947. @apply bg-slate-900/[.08] dark:bg-slate-900 ring-1 ring-gray-200 dark:ring-gray-800 text-gray-900 dark:text-white;
  948. }
  949. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-more,
  950. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-less {
  951. @apply text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300
  952. }
  953. /* Common elements: Profile Cover */
  954. .bx-artificer .bx-base-pofile-cover-thumb + .bx-base-pofile-cover-user {
  955. @apply lg:pl-52;
  956. }
  957. .bx-artificer .bx-base-pofile-cover-actions div.bx-base-general-entity-actions .bx-menu-custom-hor.bx-menu-hor-inline li.bx-mi-primary {
  958. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  959. }
  960. /* Common elements: Informers */
  961. .bx-informer-msg a {
  962. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  963. }
  964. .bx-informer-msg-info {
  965. @apply bg-blue-50 text-blue-700;
  966. }
  967. .bx-informer-msg-alert {
  968. @apply bg-yellow-50 text-yellow-700;
  969. }
  970. .bx-informer-msg-error {
  971. @apply bg-red-50 text-red-700;
  972. }
  973. /* Common elements: All Actions */
  974. .sys-action-counter.sys-ac-link,
  975. .sys-action-counter .sys-ac-link {
  976. @apply flex items-center;
  977. @apply border-none;
  978. @apply text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300;
  979. @apply rounded-full;
  980. }
  981. .sys-action-counter.sys-ac-only.sys-ac-link,
  982. .sys-action-counter.sys-ac-only .sys-ac-link {
  983. @apply hover:bg-gray-100 dark:hover:bg-gray-600;
  984. }
  985. /* Common elements: Comments */
  986. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  987. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  988. }
  989. /* Common Elements: Votes */
  990. .bx-vote-bls-submenu-cnt {
  991. @apply border-b-gray-300 dark:border-b-gray-700;
  992. }
  993. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act {
  994. @apply border-b-gray-500 dark:border-b-gray-500;
  995. }
  996. /* Common elements: Units */
  997. .bx-artificer .bx-def-icon-size,
  998. .bx-artificer .bx-profile-avatar .bx-def-thumb-size,
  999. .bx-artificer .bx-profile-stats .bx-ps-user .bx-def-thumb-size {
  1000. @apply h-8 w-8;
  1001. }
  1002. .bx-artificer .bx-def-thumb-size {
  1003. @apply h-10 w-10;
  1004. }
  1005. .bx-artificer .bx-def-ava-size {
  1006. @apply h-24 w-24;
  1007. }
  1008. .bx-artificer .bx-def-ava-big-size {
  1009. @apply w-48 h-48;
  1010. }
  1011. .bx-base-text-unit-title a,
  1012. .bx-tl-title a {
  1013. @apply text-gray-800 hover:text-blue-500 dark:text-gray-100 dark:hover:text-blue-400 hover:no-underline;
  1014. }
  1015. div.bx-tl-item-image{
  1016. @apply aspect-video lg:aspect-auto rounded-lg;
  1017. }
  1018. img.bx-tl-item-image {
  1019. @apply w-full h-full object-center object-cover lg:w-full lg:h-full rounded-lg;
  1020. }
  1021. .bx-base-text-unit-title a {
  1022. @apply text-lg lg:text-xl font-semibold;
  1023. }
  1024. .bx-artificer .bx-base-pofile-unit-online {
  1025. @apply absolute w-2.5 h-2.5 right-0.5 bottom-0.5 ring-1 ring-inset ring-white dark:ring-gray-800 bg-green-500 rounded-full;
  1026. }
  1027. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  1028. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  1029. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  1030. }
  1031. /* Common elements: Auth */
  1032. .sys-auth-block {
  1033. @apply grid-cols-2;
  1034. }
  1035. .sys-auth-block.sys-auth-compact-container {
  1036. @apply grid-cols-4;
  1037. }
  1038. /* Common elements: Votes */
  1039. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  1040. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  1041. @apply text-gray-300 dark:text-gray-700;
  1042. }
  1043. /* Modules: Timeline */
  1044. .bx-artificer .bx-tl-item-text .bx-tl-content.bx-tl-overflow:before {
  1045. @apply bg-gradient-to-b from-transparent to-white dark:to-gray-800;
  1046. }
  1047. .bx-artificer .bx-tl-item-activity .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1048. .bx-artificer .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a {
  1049. @apply relative flex;
  1050. @apply bx-stl-mil-gaps-sm;
  1051. }
  1052. .bx-artificer .bx-popup .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a {
  1053. @apply px-4;
  1054. }
  1055. /* 3d Party: Flickity */
  1056. .bx-artificer .flickity-button {
  1057. @apply text-gray-700 dark:text-gray-300 hover:text-gray-800 dark:hover:text-white bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700 opacity-75 hover:opacity-100;
  1058. }
  1059. /* 3d Party: Quill */
  1060. .bx-artificer div.ql-editor {
  1061. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  1062. }
  1063. .bx-artificer div.ql-editor:focus{
  1064. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70 focus:ring-2 focus:ring-blue-500 focus:ring-opacity-20 focus:outline-none;
  1065. }
  1066. .bx-artificer .ql-mention-list li {
  1067. @apply flex items-center px-4 py-2 text-gray-600 dark:text-gray-300 hover:bg-gray-200 dark:hover:text-gray-100 dark:hover:bg-gray-700 hover:text-gray-900 text-sm font-normal;
  1068. }
  1069. /* Modules: Editor */
  1070. .editor_toolbar button.selected{
  1071. @apply bg-gray-300 dark:bg-black/50 dark:text-gray-200 text-gray-800;
  1072. }
  1073. /* Modules: Forum. Units - new view, for UNA14 need to migrate in general */
  1074. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1075. {
  1076. grid-auto-rows: 0;
  1077. grid-template-rows: repeat(1, 1fr);
  1078. overflow-y: hidden;
  1079. }
  1080. .bx-artificer .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1081. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1082. {
  1083. @apply max-w-full mx-auto grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-4 md:max-w-none;
  1084. }
  1085. .bx-artificer .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1086. .bx-artificer .bx-layout-column-wide .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1087. {
  1088. @apply max-w-full mx-auto grid sm:grid-cols-2 md:grid-cols-3 gap-4 md:max-w-none;
  1089. }
  1090. .bx-artificer .bx-layout-column-half .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1091. .bx-artificer .bx-layout-column-half .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1092. {
  1093. @apply max-w-full mx-auto grid sm:grid-cols-1 md:grid-cols-2 gap-4 md:max-w-none;
  1094. }
  1095. .bx-artificer .bx-layout-column-thin .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1096. .bx-artificer .bx-layout-column-thin .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1097. {
  1098. @apply max-w-full mx-auto grid sm:grid-cols-1 gap-4 md:max-w-none;
  1099. }
  1100. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper.flickity-enabled
  1101. {
  1102. @apply block;
  1103. }
  1104. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper .flickity-slider{
  1105. @apply space-x-4 ;
  1106. }
  1107. .bx-artificer .bx-search-result-block.bx-clearfix:before{
  1108. @apply hidden;
  1109. }
  1110. /* badges */
  1111. .bx-badges-list{
  1112. @apply inline-flex grow-0 space-x-1 w-min
  1113. }
  1114. .bx-badge{
  1115. @apply inline-flex items-center w-max space-x-1 px-1.5 py-0.5 rounded-full;
  1116. @apply text-white text-xs font-medium whitespace-nowrap;
  1117. @apply opacity-90 hover:opacity-100 active:translate-y-0.5
  1118. }
  1119. .bx-badge img{
  1120. @apply max-h-4;
  1121. }
  1122. .sys-icon-image.bx-badge-icon,
  1123. .sys-icon-svg.bx-badge-icon{
  1124. @apply w-4 h-4
  1125. }
  1126. /* filepond */
  1127. .filepond--drop-label label{
  1128. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300;
  1129. }
  1130. }