tailwind.css 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660
  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-skip-link {
  26. @apply absolute -top-16 focus:top-0 m-2 px-4 py-2;
  27. @apply border border-gray-200 dark:border-gray-700;
  28. @apply bg-gray-200/80 dark:bg-gray-800/80;
  29. @apply text-gray-800 dark:text-gray-200 font-medium;
  30. @apply rounded;
  31. }
  32. .bx-def-vanilla-html {
  33. @apply prose dark:prose-invert;
  34. @apply prose-a:text-blue-500 prose-a:font-medium prose-a:no-underline hover:prose-a:underline visited:prose-a:text-purple-500;
  35. }
  36. .bx-def-vanilla-html.bx-def-vh-sm {
  37. @apply prose-sm;
  38. }
  39. .bx-def-vanilla-html img::after,
  40. .bx-def-vanilla-html p::after{
  41. content: '';
  42. display: block;
  43. clear: both;
  44. }
  45. .bx-def-vanilla-html div > :where(:first-child):not(:where([class~="not-prose"] *)),
  46. .bx-def-vanilla-html > :where(:first-child):not(:where([class~="not-prose"] *)){
  47. margin-top: 0 !important;
  48. }
  49. .bx-def-vanilla-html div > :where(:last-child):not(:where([class~="not-prose"] *)),
  50. .bx-def-vanilla-html > :where(:last-child):not(:where([class~="not-prose"] *)) {
  51. margin-bottom: 0 !important;
  52. }
  53. .bx-artificer .bx-menthion-link {
  54. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  55. }
  56. .bx-artificer .bx-def-box-sizing {
  57. @apply box-border;
  58. }
  59. .bx-artificer .bx-def-align-center {
  60. @apply flex items-center justify-center !important;
  61. }
  62. .bx-artificer .bx-def-valign-center {
  63. @apply flex items-center !important;
  64. }
  65. /* Color Palette */
  66. .bx-std .bx-def-color-bg-hl,
  67. .bx-std .bx-def-color-bg-hl-even:nth-child(even),
  68. .bx-std .bx-def-color-bg-hl-hover:hover,
  69. .bx-artificer .bx-def-color-bg-hl,
  70. .bx-artificer .bx-def-color-bg-hl-even:nth-child(even),
  71. .bx-artificer .bx-def-color-bg-hl-hover:hover {
  72. @apply bg-gray-100/50 dark:bg-gray-700/50;
  73. }
  74. .bx-artificer .col-red1 {
  75. @apply text-red-500;
  76. }
  77. .bx-artificer .bg-col-red1 {
  78. @apply bg-red-400;
  79. }
  80. .bx-artificer .col-red1-dark {
  81. @apply text-red-800;
  82. }
  83. .bx-artificer .bg-col-red1-dark {
  84. @apply bg-red-700;
  85. }
  86. .bx-artificer .col-red2 {
  87. @apply text-rose-500;
  88. }
  89. .bx-artificer .bg-col-red2 {
  90. @apply bg-rose-400;
  91. }
  92. .bx-artificer .col-red2-dark {
  93. @apply text-rose-800;
  94. }
  95. .bx-artificer .bg-col-red2-dark {
  96. @apply bg-rose-700;
  97. }
  98. .bx-artificer .col-red3 {
  99. @apply text-orange-500;
  100. }
  101. .bx-artificer .bg-col-red3 {
  102. @apply bg-orange-400;
  103. }
  104. .bx-artificer .col-red3-dark {
  105. @apply text-orange-800;
  106. }
  107. .bx-artificer .bg-col-red3-dark {
  108. @apply bg-orange-700;
  109. }
  110. .bx-artificer .col-green1 {
  111. @apply text-green-500;
  112. }
  113. .bx-artificer .bg-col-green1 {
  114. @apply bg-green-400;
  115. }
  116. .bx-artificer .col-green1-dark {
  117. @apply text-green-800;
  118. }
  119. .bx-artificer .bg-col-green1-dark {
  120. @apply bg-green-700;
  121. }
  122. .bx-artificer .col-green2 {
  123. @apply text-teal-500;
  124. }
  125. .bx-artificer .bg-col-green2 {
  126. @apply bg-teal-400;
  127. }
  128. .bx-artificer .col-green2-dark {
  129. @apply text-teal-800;
  130. }
  131. .bx-artificer .bg-col-green2-dark {
  132. @apply bg-teal-700;
  133. }
  134. .bx-artificer .col-green3 {
  135. @apply text-emerald-500;
  136. }
  137. .bx-artificer .bg-col-green3 {
  138. @apply bg-emerald-400;
  139. }
  140. .bx-artificer .col-green3-dark {
  141. @apply text-emerald-800;
  142. }
  143. .bx-artificer .bg-col-green3-dark {
  144. @apply bg-emerald-700;
  145. }
  146. .bx-artificer .col-blue1 {
  147. @apply text-blue-500;
  148. }
  149. .bx-artificer .bg-col-blue1 {
  150. @apply bg-blue-400;
  151. }
  152. .bx-artificer .col-blue1-dark {
  153. @apply text-blue-800;
  154. }
  155. .bx-artificer .bg-col-blue1-dark {
  156. @apply bg-blue-700;
  157. }
  158. .bx-artificer .col-blue2 {
  159. @apply text-purple-500;
  160. }
  161. .bx-artificer .bg-col-blue2 {
  162. @apply bg-purple-400;
  163. }
  164. .bx-artificer .col-blue2-dark {
  165. @apply text-purple-800;
  166. }
  167. .bx-artificer .bg-col-blue2-dark {
  168. @apply bg-purple-700;
  169. }
  170. .bx-artificer .col-blue3 {
  171. @apply text-sky-500;
  172. }
  173. .bx-artificer .bg-col-blue3 {
  174. @apply bg-sky-400;
  175. }
  176. .bx-artificer .col-blue3-dark {
  177. @apply text-sky-800;
  178. }
  179. .bx-artificer .bg-col-blue3-dark {
  180. @apply bg-sky-700;
  181. }
  182. .bx-artificer .col-gray {
  183. @apply text-gray-500;
  184. }
  185. .bx-artificer .bg-col-gray {
  186. @apply bg-gray-400;
  187. }
  188. .bx-artificer .col-gray-dark {
  189. @apply text-gray-800;
  190. }
  191. .bx-artificer .bg-col-gray-dark {
  192. @apply bg-gray-700;
  193. }
  194. /* Margins and Paddings */
  195. .bx-artificer .bx-def-centered {
  196. @apply mx-auto;
  197. }
  198. .bx-artificer .bx-def-margin {
  199. @apply m-4;
  200. }
  201. .bx-artificer .bx-def-margin-neg {
  202. @apply -m-4;
  203. }
  204. .bx-artificer .bx-def-margin-left {
  205. @apply ml-4;
  206. }
  207. .bx-artificer .bx-def-margin-left-auto {
  208. @apply ml-4 first:ml-0;
  209. }
  210. .bx-artificer .bx-def-margin-right {
  211. @apply mr-4;
  212. }
  213. .bx-artificer .bx-def-margin-top {
  214. @apply mt-4;
  215. }
  216. .bx-artificer .bx-def-margin-top-auto {
  217. @apply mt-4 first:mt-0;
  218. }
  219. .bx-artificer .bx-def-margin-bottom {
  220. @apply mb-4;
  221. }
  222. .bx-artificer .bx-def-margin-leftright {
  223. @apply mx-4;
  224. }
  225. .bx-artificer .bx-def-margin-leftright-neg {
  226. @apply -mx-4;
  227. }
  228. .bx-artificer .bx-def-margin-topbottom {
  229. @apply my-4;
  230. }
  231. .bx-artificer .bx-def-margin-topbottom-neg {
  232. @apply -my-4;
  233. }
  234. .bx-artificer .bx-def-margin-lefttopright {
  235. @apply mx-4 mt-4;
  236. }
  237. .bx-artificer .bx-def-margin-rightbottomleft {
  238. @apply mx-4 mb-4;
  239. }
  240. .bx-artificer .bx-def-margin-sec {
  241. @apply m-2;
  242. }
  243. .bx-artificer .bx-def-margin-sec-neg {
  244. @apply -m-2;
  245. }
  246. .bx-artificer .bx-def-margin-sec-left {
  247. @apply ml-2;
  248. }
  249. .bx-artificer .bx-def-margin-sec-left-auto {
  250. @apply ml-2 first:ml-0;
  251. }
  252. .bx-artificer .bx-def-margin-sec-left-auto.bx-dir {
  253. @apply rtl:ml-0 rtl:mr-2 rtl:first:mr-0;
  254. }
  255. .bx-artificer .bx-def-margin-sec-right {
  256. @apply mr-2;
  257. }
  258. .bx-artificer .bx-def-margin-sec-top {
  259. @apply mt-2;
  260. }
  261. .bx-artificer .bx-def-margin-sec-top-auto {
  262. @apply mt-2 first:mt-0;
  263. }
  264. .bx-artificer .bx-def-margin-sec-bottom {
  265. @apply mb-2;
  266. }
  267. .bx-artificer .bx-def-margin-sec-bottom-neg {
  268. @apply -mb-2;
  269. }
  270. .bx-artificer .bx-def-margin-sec-leftright {
  271. @apply mx-2;
  272. }
  273. .bx-artificer .bx-def-margin-sec-leftright-neg {
  274. @apply -mx-2;
  275. }
  276. .bx-artificer .bx-def-margin-sec-lefttopright-neg {
  277. @apply -mx-2 -mt-2;
  278. }
  279. .bx-artificer .bx-def-margin-sec-topbottom {
  280. @apply my-2;
  281. }
  282. .bx-artificer .bx-def-margin-sec-topbottom-neg {
  283. @apply -my-2;
  284. }
  285. .bx-artificer .bx-def-margin-sec-lefttopright {
  286. @apply mx-2 mt-2;
  287. }
  288. .bx-artificer .bx-def-margin-sec-rightbottomleft {
  289. @apply mx-2 mb-2;
  290. }
  291. .bx-artificer .bx-def-margin-thd {
  292. @apply m-1;
  293. }
  294. .bx-artificer .bx-def-margin-thd-neg {
  295. @apply -m-1;
  296. }
  297. .bx-artificer .bx-def-margin-thd-left {
  298. @apply ml-1;
  299. }
  300. .bx-artificer .bx-def-margin-thd-left-auto {
  301. @apply ml-1 first:ml-0;
  302. }
  303. .bx-artificer .bx-def-margin-thd-right {
  304. @apply mr-1;
  305. }
  306. .bx-artificer .bx-def-margin-thd-top {
  307. @apply mt-1;
  308. }
  309. .bx-artificer .bx-def-margin-thd-top-auto {
  310. @apply mt-1 first:mt-0;
  311. }
  312. .bx-artificer .bx-def-margin-thd-bottom {
  313. @apply mb-1;
  314. }
  315. .bx-artificer .bx-def-margin-thd-leftright {
  316. @apply mx-1;
  317. }
  318. .bx-artificer .bx-def-margin-thd-leftright-neg {
  319. @apply -mx-1;
  320. }
  321. .bx-artificer .bx-def-margin-thd-topbottom {
  322. @apply my-1;
  323. }
  324. .bx-artificer .bx-def-margin-thd-topbottom-neg {
  325. @apply -my-1;
  326. }
  327. .bx-artificer .bx-def-margin-thd-lefttopright {
  328. @apply mx-1 mt-1;
  329. }
  330. .bx-artificer .bx-def-margin-thd-rightbottomleft {
  331. @apply mx-1 mb-1;
  332. }
  333. .bx-artificer .bx-def-padding {
  334. @apply p-4;
  335. }
  336. .bx-artificer .bx-def-padding-left {
  337. @apply pl-4;
  338. }
  339. .bx-artificer .bx-def-padding-left-auto {
  340. @apply pl-4 first:pl-0;
  341. }
  342. .bx-artificer .bx-def-padding-right {
  343. @apply pr-4;
  344. }
  345. .bx-artificer .bx-def-padding-top {
  346. @apply pt-4;
  347. }
  348. .bx-artificer .bx-def-padding-top-auto {
  349. @apply pt-4 first:pt-0;
  350. }
  351. .bx-artificer .bx-def-padding-bottom {
  352. @apply pb-4;
  353. }
  354. .bx-artificer .bx-def-padding-leftright {
  355. @apply px-4;
  356. }
  357. .bx-artificer .bx-def-padding-topbottom {
  358. @apply py-4;
  359. }
  360. .bx-artificer .bx-def-padding-lefttopright {
  361. @apply px-4 pt-4;
  362. }
  363. .bx-artificer .bx-def-padding-rightbottomleft {
  364. @apply px-4 pb-4;
  365. }
  366. .bx-artificer .bx-def-padding-sec {
  367. @apply p-2;
  368. }
  369. .bx-artificer .bx-def-padding-sec-left {
  370. @apply pl-2;
  371. }
  372. .bx-artificer .bx-def-padding-sec-left.bx-dir {
  373. @apply pl-0 ltr:pl-2 rtl:pr-2;
  374. }
  375. .bx-artificer .bx-def-padding-sec-left-auto {
  376. @apply pl-2 first:pl-0;
  377. }
  378. .bx-artificer .bx-def-padding-sec-left-auto.bx-dir {
  379. @apply pl-0 ltr:pl-2 ltr:first:pl-0 rtl:pr-2 rtl:first:pr-0;
  380. }
  381. .bx-artificer .bx-def-padding-sec-right {
  382. @apply pr-2;
  383. }
  384. .bx-artificer .bx-def-padding-sec-top {
  385. @apply pt-2;
  386. }
  387. .bx-artificer .bx-def-padding-sec-top-auto {
  388. @apply pt-2 first:pt-0;
  389. }
  390. .bx-artificer .bx-def-padding-sec-bottom {
  391. @apply pb-2;
  392. }
  393. .bx-artificer .bx-def-padding-sec-leftright {
  394. @apply px-2;
  395. }
  396. .bx-artificer .bx-def-padding-sec-topbottom {
  397. @apply py-2;
  398. }
  399. .bx-artificer .bx-def-padding-sec-lefttopright {
  400. @apply px-2 pt-2;
  401. }
  402. .bx-artificer .bx-def-padding-sec-rightbottomleft {
  403. @apply px-2 pb-2;
  404. }
  405. .bx-artificer .bx-def-padding-thd {
  406. @apply p-1;
  407. }
  408. .bx-artificer .bx-def-padding-thd-left {
  409. @apply pl-1;
  410. }
  411. .bx-artificer .bx-def-padding-thd-left-auto {
  412. @apply pl-1 first:pl-0;
  413. }
  414. .bx-artificer .bx-def-padding-thd-right {
  415. @apply pr-1;
  416. }
  417. .bx-artificer .bx-def-padding-thd-top {
  418. @apply pt-1;
  419. }
  420. .bx-artificer .bx-def-padding-thd-top-auto {
  421. @apply pt-1 first:pt-0;
  422. }
  423. .bx-artificer .bx-def-padding-thd-bottom {
  424. @apply pb-1;
  425. }
  426. .bx-artificer .bx-def-padding-thd-leftright {
  427. @apply px-1;
  428. }
  429. .bx-artificer .bx-def-padding-thd-topbottom {
  430. @apply py-1;
  431. }
  432. .bx-artificer .bx-def-padding-thd-lefttopright {
  433. @apply px-1 pt-1;
  434. }
  435. .bx-artificer .bx-def-padding-thd-rightbottomleft {
  436. @apply px-1 pb-1;
  437. }
  438. /* Borders */
  439. .bx-std .bx-def-border,
  440. .bx-artificer .bx-def-border {
  441. @apply border border-gray-200 dark:border-gray-700;
  442. }
  443. .bx-artificer .bx-def-round-corners {
  444. @apply rounded-xl;
  445. }
  446. /* Fonts */
  447. .bx-def-font,
  448. .bx-artificer .bx-def-font-inputs:not(.bx-btn) {
  449. @apply font-inter text-gray-500 dark:text-gray-400;
  450. }
  451. .bx-def-font-grayed {
  452. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  453. }
  454. .bx-def-font-author,
  455. .bx-def-font-author.bx-def-font-meta {
  456. @apply text-sm text-gray-800 hover:text-black dark:text-gray-300 dark:hover:text-white font-semibold;
  457. }
  458. .bx-def-font-meta {
  459. @apply text-sm;
  460. }
  461. .bx-def-font-meta:not(a) {
  462. @apply text-gray-700 dark:text-gray-400 text-opacity-60;
  463. }
  464. a.bx-def-font-meta {
  465. @apply hover:underline;
  466. }
  467. .bx-artificer .bx-def-a-colored {
  468. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  469. }
  470. .bx-std a.bx-def-font-meta,
  471. .bx-std a.bx-def-font-meta.bx-def-a-colored,
  472. .bx-artificer a.bx-def-font-meta,
  473. .bx-artificer a.bx-def-font-meta.bx-def-a-colored {
  474. @apply text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50;
  475. }
  476. .bx-artificer .bx-def-font-meta:not(a) {
  477. @apply text-opacity-100;
  478. }
  479. .bx-artificer .bx-def-font-small {
  480. @apply text-xs;
  481. }
  482. .bx-artificer .bx-def-font-middle {
  483. @apply text-sm;
  484. }
  485. .bx-artificer .bx-def-font-large {
  486. @apply text-lg;
  487. }
  488. /* Typography in combination with 'bx-def-vanilla-html' class */
  489. .bx-def-vanilla-html h1,
  490. .bx-def-vanilla-html .bx-def-font-h1 {
  491. @apply scroll-m-20 text-4xl font-extrabold tracking-tight;
  492. }
  493. .bx-def-vanilla-html h2,
  494. .bx-def-vanilla-html .bx-def-font-h2 {
  495. @apply scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight transition-colors first:mt-0;
  496. }
  497. .bx-def-vanilla-html h3,
  498. .bx-def-vanilla-html .bx-def-font-h3 {
  499. @apply scroll-m-20 text-xl font-semibold tracking-tight;
  500. }
  501. .bx-def-vanilla-html h4 {
  502. @apply scroll-m-20 font-semibold tracking-tight;
  503. }
  504. .bx-def-vanilla-html p {
  505. @apply leading-7 [&:not(:first-child)]:mt-6;
  506. }
  507. .bx-def-vanilla-html blockquote {
  508. @apply mt-6 border-l-2 pl-6 italic;
  509. }
  510. .bx-def-vanilla-html table {
  511. @apply w-full;
  512. }
  513. .bx-def-vanilla-html tr {
  514. @apply m-0 border-t p-0;
  515. }
  516. .bx-def-vanilla-html th {
  517. @apply border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right;
  518. }
  519. .bx-def-vanilla-html td {
  520. @apply border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right;
  521. }
  522. .bx-def-vanilla-html ul {
  523. @apply my-6 ml-6 list-disc [&>li]:mt-2;
  524. }
  525. .bx-def-vanilla-html code {
  526. @apply relative rounded px-[0.3rem] py-[0.2rem] text-sm font-semibold;
  527. }
  528. /* Common elements: Icons. */
  529. .bx-icon svg {
  530. @apply w-5 h-5;
  531. }
  532. .bx-icon.bx-icon-small svg {
  533. @apply w-4 h-4;
  534. }
  535. .bx-icon.bx-icon-close svg,
  536. .bx-icon.bx-icon-hamburger svg {
  537. @apply w-7 h-7;
  538. }
  539. /* Common elements: Pages. */
  540. .bx-layout-wrapper{
  541. @apply gap-4 lg:gap-6 flex flex-col;
  542. }
  543. .bx-layout-row{
  544. @apply w-full flex relative flex-wrap md:flex-nowrap gap-y-4 lg:gap-y-6;
  545. }
  546. .bx-layout-col{
  547. @apply max-w-full w-full;
  548. flex-shrink: 2 !important;
  549. }
  550. .bx-layout-cell,
  551. .bx-search-results-container {
  552. @apply flex flex-col gap-4 lg:gap-6;
  553. }
  554. .bx-layout-gap{
  555. @apply gap-y-4 lg:gap-y-6;
  556. }
  557. .bx-def-color-bg-page{
  558. @apply bg-gray-100 dark:bg-gray-900;
  559. }
  560. /* Common elements: Blocks, Boxes, etc. */
  561. .bx-def-box {
  562. @apply flex flex-col;
  563. }
  564. .bx-def-box.bx-def-box-hor {
  565. @apply flex-row;
  566. }
  567. .bx-def-color-bg-block,
  568. .bx-def-color-bg-box,
  569. .bx-popup-color-bg {
  570. @apply bg-white dark:bg-gray-800 shadow-md;
  571. }
  572. .bx-def-color-bg-box-overflow {
  573. @apply bg-gradient-to-b from-transparent to-white dark:to-gray-800;
  574. }
  575. .bx-def-border-block,
  576. .bx-def-box,
  577. .bx-popup-border {
  578. @apply ring-1 ring-gray-300/50 dark:ring-gray-600/50;
  579. }
  580. .bx-def-border-radius-block,
  581. .bx-def-box-round-corners,
  582. .bx-popup-border {
  583. @apply rounded-2xl;
  584. }
  585. .bx-content-padding-block {
  586. @apply p-3 md:p-4;
  587. }
  588. .bx-def-color-bg-box-hover {
  589. @apply hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-800 dark:hover:text-gray-200;
  590. }
  591. .bx-def-color-bg-box-active {
  592. @apply bg-gray-100 dark:bg-gray-700;
  593. }
  594. .bx-db-title {
  595. @apply text-lg xl:text-xl font-bold text-gray-800 dark:text-gray-100 align-middle;
  596. }
  597. /* Common Elements: HR */
  598. .bx-std .bx-def-hr,
  599. .bx-artificer .bx-def-hr {
  600. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  601. }
  602. /* Common Elements: Labels */
  603. .bx-artificer .bx-def-label {
  604. @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;
  605. }
  606. /* Common Elements: Alerts */
  607. .bx-def-unit-alert,
  608. .bx-def-unit-alert-small,
  609. .bx-def-unit-alert-middle {
  610. @apply block absolute top-0 -right-0.5 text-center text-white;
  611. }
  612. .bx-def-unit-alert {
  613. @apply h-4 p-1 leading-4 rounded-full text-xs;
  614. min-width: 1rem;
  615. }
  616. /* Common elements: Buttons */
  617. .bx-btn-shadow {
  618. @apply shadow-sm hover:shadow active:shadow-none;
  619. }
  620. .bx-btn-border {
  621. @apply border border-gray-300 dark:border-gray-600 rounded-md;
  622. }
  623. .bx-btn-bg {
  624. @apply bg-gray-100 dark:bg-gray-700;
  625. }
  626. .bx-btn-text {
  627. @apply text-sm text-gray-700 dark:text-gray-100 font-medium ;
  628. }
  629. .bx-btn-hover {
  630. @apply hover:bg-white dark:hover:bg-gray-600;
  631. @apply hover:border-gray-300 dark:hover:border-gray-500;
  632. @apply hover:text-gray-800 dark:hover:text-white;
  633. @apply hover:no-underline;
  634. @apply hover:-translate-y-px;
  635. }
  636. .bx-btn-focus {
  637. @apply 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;
  638. }
  639. .bx-btn-active {
  640. @apply active:bg-gray-300 dark:active:bg-gray-800;
  641. @apply active:border-gray-400 dark:active:border-gray-700;
  642. @apply active:text-gray-900 dark:active:text-gray-200;
  643. @apply active:translate-y-px;
  644. }
  645. .bx-btn {
  646. @apply relative inline-flex items-center px-4 py-2;
  647. @apply bx-btn-shadow;
  648. @apply bx-btn-bg;
  649. @apply bx-btn-border;
  650. @apply bx-btn-text;
  651. @apply transform-gpu transition-all duration-150;
  652. @apply cursor-pointer;
  653. @apply bx-btn-hover bx-btn-focus bx-btn-active;
  654. }
  655. .bx-btn i,
  656. .bx-btn u {
  657. @apply inline-block align-middle;
  658. }
  659. .bx-btn i,
  660. .bx-btn img,
  661. .bx-btn svg {
  662. @apply w-5 h-5 leading-5;
  663. }
  664. .bx-btn i:not(.sys-colored),
  665. .bx-btn img {
  666. @apply text-gray-600 dark:text-gray-300;
  667. }
  668. .bx-btn:hover i:not(.sys-colored),
  669. .bx-btn:hover img {
  670. @apply text-gray-800 dark:text-gray-100;
  671. }
  672. .bx-btn i {
  673. @apply text-center;
  674. }
  675. .bx-btn img {
  676. @apply bg-contain bg-no-repeat bg-center;
  677. }
  678. .bx-btn svg {
  679. @apply inline align-middle;
  680. }
  681. .bx-btn u {
  682. @apply ml-2 first:ml-0 no-underline;
  683. }
  684. .bx-btn.bx-btn-primary {
  685. @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;
  686. @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;
  687. @apply text-white hover:text-white active:text-white dark:text-white dark:hover:text-white dark:active:text-white;
  688. }
  689. .bx-btn.bx-btn-primary i,
  690. .bx-btn.bx-btn-primary img {
  691. @apply text-gray-300;
  692. }
  693. .bx-btn.bx-btn-primary:hover i,
  694. .bx-btn.bx-btn-primary:hover img {
  695. @apply text-gray-100;
  696. }
  697. .bx-btn.bx-btn-disabled {
  698. @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;
  699. }
  700. .bx-btn.bx-btn-small {
  701. @apply py-1 text-xs;
  702. }
  703. .bx-btn.bx-btn-small i,
  704. .bx-btn.bx-btn-small img,
  705. .bx-btn.bx-btn-small svg {
  706. @apply w-4 h-4 leading-4;
  707. }
  708. /* Common elements: Forms */
  709. .bx-std form,
  710. .bx-artificer form {
  711. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  712. }
  713. .bx-artificer form a:not(.bx-btn),
  714. .bx-artificer .sys-jf-agreement a:not(.bx-btn),
  715. .bx-artificer .sys-lf-agreement a:not(.bx-btn) {
  716. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  717. }
  718. .bx-artificer .bx-form-caption,
  719. .bx-artificer .bx-form-row-view-caption {
  720. @apply text-gray-700 dark:text-gray-300 text-sm font-medium;
  721. }
  722. .bx-artificer .bx-form-value {
  723. @apply mt-1 first:mt-0;
  724. }
  725. .bx-artificer .bx-form-required,
  726. .bx-artificer .bx-form-warn {
  727. @apply text-red-400;
  728. }
  729. .bx-form-section.bx-form-section-header {
  730. @apply border border-gray-300 dark:border-gray-900 rounded-2xl;
  731. @apply bg-gray-100 dark:bg-gray-800;
  732. @apply overflow-hidden;
  733. }
  734. .bx-form-section.bx-form-section-header .bx-form-section-title:hover {
  735. @apply bg-white dark:bg-gray-900 bg-gradient-to-b from-gray-100 dark:from-gray-800;
  736. }
  737. .bx-form-section.bx-form-section-header:not(.bx-form-collapsed) {
  738. @apply bg-white dark:bg-gray-900;
  739. }
  740. .bx-form-section.bx-form-section-header .bx-form-section-content {
  741. @apply bg-white dark:bg-gray-900;
  742. }
  743. /* Common elements: Forms: Text Input */
  744. .bx-std .bx-form-input-slider,
  745. .bx-std .bx-form-input-doublerange,
  746. .bx-std .bx-form-input-select_multiple,
  747. .bx-std .bx-form-input-select,
  748. .bx-std .bx-form-input-number,
  749. .bx-std .bx-form-input-time,
  750. .bx-std .bx-form-input-datepicker,
  751. .bx-std .bx-form-input-datetime,
  752. .bx-std .bx-form-input-textarea:not(.bx-form-input-html),
  753. .bx-std .bx-form-input-text,
  754. .bx-std .bx-form-input-price,
  755. .bx-std .bx-form-input-wrapper-price span,
  756. .bx-artificer .bx-form-input-slider,
  757. .bx-artificer .bx-form-input-doublerange,
  758. .bx-artificer .bx-form-input-select_multiple,
  759. .bx-artificer .bx-form-input-select,
  760. .bx-artificer .bx-form-input-number,
  761. .bx-artificer .bx-form-input-time,
  762. .bx-artificer .bx-form-input-datepicker,
  763. .bx-artificer .bx-form-input-datetime,
  764. .bx-artificer .bx-form-input-textarea:not(.bx-form-input-html),
  765. .bx-artificer .bx-form-input-text,
  766. .bx-artificer .bx-form-input-price,
  767. .bx-artificer .bx-form-input-wrapper-price span {
  768. @apply block w-full px-3 py-2;
  769. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  770. @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;
  771. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  772. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  773. @apply rounded-md;
  774. }
  775. /* Common elements: Forms: Password Input */
  776. .bx-std .bx-form-input-wrapper-password,
  777. .bx-artificer .bx-form-input-wrapper-password {
  778. @apply relative block w-full;
  779. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  780. @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;
  781. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  782. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  783. @apply rounded-md;
  784. }
  785. .bx-std .bx-form-input-wrapper-password .bx-form-input-password,
  786. .bx-artificer .bx-form-input-wrapper-password .bx-form-input-password {
  787. @apply block w-full pl-3 py-2 pr-8;
  788. @apply rounded-md;
  789. }
  790. .bx-artificer .bx-form-input-wrapper-password .bx-form-input-password {
  791. @apply ltr:pl-3 rtl:pl-8 ltr:pr-8 rtl:pr-3;
  792. }
  793. /* Common elements: Forms: Checkbox/Radio Set Input */
  794. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  795. .bx-artificer .bx-form-input-wrapper-radio_set {
  796. @apply relative block w-full py-2 px-3;
  797. }
  798. .bx-std .bx-form-input-checkbox_set,
  799. .bx-std .bx-form-input-radio_set,
  800. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  801. .bx-artificer .bx-form-input-wrapper-radio_set {
  802. @apply max-h-80 overflow-x-auto;
  803. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  804. @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;
  805. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  806. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  807. @apply rounded-md;
  808. }
  809. /* Common elements: Forms: Checkbox Input */
  810. .bx-form-input-wrapper-checkbox,
  811. .bx-form-input-wrapper-radio {
  812. @apply block w-5 h-5 m-0.5;
  813. @apply border-2 border-transparent;
  814. }
  815. .bx-form-input-checkbox,
  816. .bx-form-input-radio {
  817. @apply block w-4 h-4;
  818. @apply bg-gray-50 dark:bg-gray-900/50 bg-origin-border;
  819. @apply border-2 border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70;
  820. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  821. @apply scale-150 rounded;
  822. @apply appearance-none select-none;
  823. }
  824. .bx-def-font-inputs.bx-form-input-checkbox,
  825. .bx-def-font-inputs.bx-form-input-radio {
  826. @apply leading-6 text-base font-medium text-blue-600 dark:text-blue-600;
  827. }
  828. .bx-form-input-checkbox:checked,
  829. .bx-form-input-radio:checked {
  830. background-color: currentColor;
  831. border-color: transparent;
  832. }
  833. .bx-form-input-checkbox:checked {
  834. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTEyLjIwNyA0Ljc5M2ExIDEgMCAwIDEgMCAxLjQxNGwtNSA1YTEgMSAwIDAgMS0xLjQxNCAwbC0yLTJhMSAxIDAgMCAxIDEuNDE0LTEuNDE0TDYuNSA5LjA4Nmw0LjI5My00LjI5M2ExIDEgMCAwIDEgMS40MTQgMHonLz48L3N2Zz4=)
  835. }
  836. .bx-form-input-radio:checked {
  837. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGNpcmNsZSBjeD0nOCcgY3k9JzgnIHI9JzMnLz48L3N2Zz4=)
  838. }
  839. .bx-form-input-radio_set,
  840. .bx-form-input-checkbox_set {
  841. @apply flex flex-wrap items-center;
  842. }
  843. .bx-form-input-dv {
  844. @apply ml-4;
  845. }
  846. .bx-form-input-dv-nl {
  847. @apply h-2 w-full last:hidden;
  848. }
  849. /* Common elements: Forms: Switcher Input */
  850. .bx-switcher-cont.on button {
  851. @apply bg-white dark:bg-gray-800;
  852. }
  853. .bx-switcher-cont.on button span {
  854. @apply bg-green-500 dark:bg-green-500 ltr:translate-x-5 rtl:-translate-x-5;
  855. }
  856. .bx-switcher-cont.off button {
  857. @apply bg-gray-200 dark:bg-gray-900;
  858. }
  859. .bx-switcher-cont.off button span {
  860. @apply bg-white dark:bg-gray-500 translate-x-0;
  861. }
  862. /* Common elements: Forms: Autosuggestion Input */
  863. .bx-artificer .bx-form-input-text.bx-form-input-autotoken {
  864. @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
  865. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  866. @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;
  867. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  868. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  869. @apply rounded-md;
  870. }
  871. .bx-artificer .bx-form-input-autotoken b.val {
  872. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  873. }
  874. /* Common elements: Popups */
  875. .bx-artificer > .bx-popup-wrapper {
  876. @apply max-h-full overflow-x-hidden overflow-y-auto;
  877. }
  878. .bx-artificer .bx-popup-applied {
  879. @apply rounded-lg;
  880. }
  881. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  882. @apply w-full md:w-auto;
  883. }
  884. .bx-artificer .bx-popup-full-screen {
  885. @apply w-full;
  886. }
  887. .bx-artificer .bx-popup {
  888. @apply relative;
  889. }
  890. .bx-artificer .bx-popup-color-bg {
  891. @apply bg-white dark:bg-gray-800 shadow;
  892. }
  893. .bx-artificer .bx-popup-border {
  894. @apply m-px ring-1 ring-gray-300 dark:ring-gray-700 rounded-2xl;
  895. }
  896. .bx-artificer .bx-popup-width {
  897. @apply w-full md:w-128;
  898. }
  899. .bx-artificer .bx-popup-width-small,
  900. .bx-artificer .bx-popup-menu .bx-popup-content {
  901. @apply w-56;
  902. }
  903. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  904. @apply w-full md:w-full;
  905. }
  906. .bx-artificer .bx-popup-fog {
  907. @apply bg-gray-600 opacity-75;
  908. }
  909. /* Common elements: Menus */
  910. .bx-stl-mil-gaps {
  911. @apply px-3 py-2;
  912. }
  913. .bx-stl-mil-gaps-sm {
  914. @apply px-2 py-1.5;
  915. }
  916. .bx-stl-mil-hover-text {
  917. @apply hover:text-gray-800 dark:hover:text-gray-200;
  918. }
  919. .bx-stl-mil-hover-bg {
  920. @apply hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  921. }
  922. .bx-stl-mil-hover {
  923. @apply bx-stl-mil-hover-text;
  924. @apply bx-stl-mil-hover-bg;
  925. }
  926. .bx-stl-mil-focus {
  927. @apply 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;
  928. }
  929. .bx-stl-mil-active-bg {
  930. @apply active:border-gray-300 dark:active:border-gray-700;
  931. @apply active:bg-gray-300 dark:active:bg-black/50;
  932. }
  933. .bx-stl-mil-active {
  934. @apply bx-stl-mil-active-bg;
  935. }
  936. .bx-stl-mil,
  937. .bx-stl-mil-sm,
  938. .bx-stl-mil-wo-bg,
  939. .bx-stl-mil-wo-bg-gaps,
  940. .bx-stl-mil-wo-gaps,
  941. .bx-stl-mil-wo-gaps-sm,
  942. .bx-std .bx-stl-mil,
  943. .bx-std .bx-stl-mil-sm,
  944. .bx-std .bx-stl-mil-wo-bg,
  945. .bx-std .bx-stl-mil-wo-bg-gaps,
  946. .bx-std .bx-stl-mil-wo-gaps,
  947. .bx-std .bx-stl-mil-wo-gaps a,
  948. .bx-std .bx-stl-mil-wo-gaps-sm {
  949. @apply flex items-center;
  950. @apply text-base text-gray-600 dark:text-gray-400 font-medium;
  951. @apply bx-stl-mil-hover-text;
  952. }
  953. .bx-stl-mil,
  954. .bx-stl-mil-sm,
  955. .bx-stl-mil-wo-bg {
  956. @apply bx-stl-mil-gaps;
  957. }
  958. .bx-stl-mil,
  959. .bx-stl-mil-sm,
  960. .bx-stl-mil-wo-gaps,
  961. .bx-stl-mil-wo-gaps-sm {
  962. @apply border border-transparent;
  963. @apply rounded-md;
  964. @apply bx-stl-mil-hover-bg bx-stl-mil-active-bg;
  965. }
  966. .bx-stl-mil.bx-stl-mib,
  967. .bx-stl-mil-sm.bx-stl-mib,
  968. .bx-stl-mil-wo-gaps.bx-stl-mib,
  969. .bx-stl-mil-wo-gaps-sm.bx-stl-mib {
  970. @apply border border-gray-300 dark:border-gray-700;
  971. }
  972. .bx-stl-mil-sm,
  973. .bx-stl-mil-wo-gaps-sm {
  974. @apply text-sm;
  975. }
  976. .bx-stl-mil-sm {
  977. @apply px-2 py-1.5;
  978. }
  979. .bx-popup .bx-stl-mil-sm,
  980. .bx-popup .bx-stl-mil-gaps-sm {
  981. @apply px-4;
  982. }
  983. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil,
  984. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-sm,
  985. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps,
  986. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps-sm {
  987. @apply rounded-none;
  988. }
  989. .bx-menu-tab-active.bx-stl-mil,
  990. .bx-menu-tab-active.bx-stl-mil-sm,
  991. .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  992. .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  993. .bx-menu-tab-active .bx-stl-mil,
  994. .bx-menu-tab-active .bx-stl-mil-sm,
  995. .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  996. .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm,
  997. .bx-menu-item-active .bx-stl-mil,
  998. .bx-menu-item-active .bx-stl-mil-sm,
  999. .bx-menu-item-active .bx-stl-mil-wo-gaps,
  1000. .bx-menu-item-active .bx-stl-mil-wo-gaps-sm {
  1001. @apply text-gray-900 dark:text-white;
  1002. @apply bg-gray-200 dark:bg-gray-900;
  1003. @apply ring-1 ring-white/50 dark:ring-gray-800/50;
  1004. }
  1005. .bx-popup .bx-menu-tab-active.bx-stl-mil,
  1006. .bx-popup .bx-menu-tab-active.bx-stl-mil-sm,
  1007. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  1008. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  1009. .bx-popup .bx-menu-tab-active .bx-stl-mil,
  1010. .bx-popup .bx-menu-tab-active .bx-stl-mil-sm,
  1011. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  1012. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm {
  1013. @apply ring-0;
  1014. }
  1015. .bx-stl-mii,
  1016. .bx-stl-mii-sm,
  1017. .bx-stl-mil .sys-action-do-icon,
  1018. .bx-stl-mil-sm .sys-action-do-icon,
  1019. .bx-stl-mil-wo-gaps .sys-action-do-icon,
  1020. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon {
  1021. @apply flex items-center justify-center text-gray-500 text-lg;
  1022. }
  1023. .bx-stl-mii > *,
  1024. .bx-stl-mii-sm > *,
  1025. .bx-stl-mil .sys-action-do-icon > *,
  1026. .bx-stl-mil-sm .sys-action-do-icon > *,
  1027. .bx-stl-mil-wo-gaps .sys-action-do-icon > *,
  1028. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  1029. @apply flex items-center justify-center h-6 w-6 ltr:mr-3 rtl:ml-3;
  1030. }
  1031. .bx-std .bx-stl-mii > * {
  1032. @apply flex items-center justify-center h-6 w-6 ltr:mr-3 rtl:ml-3 !important;
  1033. }
  1034. .bx-std .bx-stl-mii > svg {
  1035. @apply text-gray-500 !important;
  1036. }
  1037. .bx-std li:hover .bx-stl-mii > svg {
  1038. @apply text-gray-700 dark:text-gray-300 !important;
  1039. }
  1040. .bx-stl-mii:last-child > *,
  1041. .bx-stl-mii-sm:last-child > *,
  1042. .bx-stl-mil .sys-action-do-icon:last-child > *,
  1043. .bx-stl-mil-sm .sys-action-do-icon:last-child > *,
  1044. .bx-stl-mil-wo-gaps .sys-action-do-icon:last-child > *,
  1045. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon:last-child > * {
  1046. @apply ltr:mr-0 rtl:ml-0;
  1047. }
  1048. .bx-stl-mil .sys-action-do-icon ~ .sys-action-do-text,
  1049. .bx-stl-mil-sm .sys-action-do-icon ~ .sys-action-do-text,
  1050. .bx-stl-mil-wo-gaps .sys-action-do-icon ~ .sys-action-do-text,
  1051. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon ~ .sys-action-do-text {
  1052. @apply ltr:ml-0 rtl:mr-0;
  1053. }
  1054. .bx-stl-mii-sm > *,
  1055. .bx-stl-mil-sm .sys-action-do-icon > *,
  1056. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  1057. @apply h-5 w-5 ltr:mr-1.5 rtl:ml-1.5 text-sm;
  1058. }
  1059. .bx-stl-mit {
  1060. @apply truncate;
  1061. }
  1062. .bx-stl-mia {
  1063. @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;
  1064. }
  1065. /* Common elements: Horizontal menu */
  1066. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  1067. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  1068. @apply text-gray-700 dark:text-gray-200 font-medium;
  1069. }
  1070. /* Common elements: Vertical menu */
  1071. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  1072. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  1073. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  1074. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  1075. }
  1076. /* Common elements: Vertical menu in Popup */
  1077. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  1078. @apply hover:text-gray-900 dark:hover:text-gray-100;
  1079. }
  1080. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  1081. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  1082. }
  1083. /* Common elements: Toolbar menu */
  1084. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit {
  1085. @apply border-4 border-transparent;
  1086. }
  1087. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit .bx-def-icon-size {
  1088. @apply h-8 w-8;
  1089. }
  1090. /* Common elements: Page Submenu */
  1091. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  1092. @apply text-gray-900 dark:text-gray-100;
  1093. }
  1094. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  1095. @apply bg-blue-500 group-hover:bg-blue-500;
  1096. }
  1097. /* Common elements: Profile Stats menu */
  1098. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-menu-tab-active {
  1099. @apply bg-slate-900/[.08] dark:bg-slate-900 ring-1 ring-gray-200 dark:ring-gray-800 text-gray-900 dark:text-white;
  1100. }
  1101. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-more,
  1102. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-less {
  1103. @apply text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300
  1104. }
  1105. /* Common elements: Profile Cover */
  1106. .bx-artificer .bx-base-pofile-cover-thumb + .bx-base-pofile-cover-user {
  1107. @apply ltr:lg:pl-52 rtl:lg:pr-52;
  1108. }
  1109. .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 {
  1110. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  1111. }
  1112. /* Common elements: Informers */
  1113. .bx-informer-msg a {
  1114. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  1115. }
  1116. .bx-informer-msg-info {
  1117. @apply bg-blue-50 text-blue-700;
  1118. }
  1119. .bx-informer-msg-alert {
  1120. @apply bg-yellow-50 text-yellow-700;
  1121. }
  1122. .bx-informer-msg-error {
  1123. @apply bg-red-50 text-red-700;
  1124. }
  1125. /* Common elements: All Actions */
  1126. .sys-action-counter.sys-ac-link,
  1127. .sys-action-counter .sys-ac-link,
  1128. .sys-ac-link .sys-action-counter {
  1129. @apply flex items-center;
  1130. @apply border-none;
  1131. @apply text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300;
  1132. @apply rounded-full;
  1133. }
  1134. .sys-action-counter.sys-ac-only.sys-ac-link,
  1135. .sys-action-counter.sys-ac-only .sys-ac-link,
  1136. .sys-ac-link .sys-action-counter.sys-ac-only {
  1137. @apply hover:bg-gray-100 dark:hover:bg-gray-600;
  1138. }
  1139. /* Common elements: Comments */
  1140. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  1141. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  1142. }
  1143. /* Common Elements: Votes */
  1144. .bx-vote-bls-submenu-cnt {
  1145. @apply border-b-gray-300 dark:border-b-gray-700;
  1146. }
  1147. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act {
  1148. @apply border-b-gray-500 dark:border-b-gray-500;
  1149. }
  1150. /* Common elements: Units */
  1151. .bx-def-icon-badge-size,
  1152. .bx-def-thumb-badge-size,
  1153. .bx-def-ava-badge-size {
  1154. @apply h-6 w-6;
  1155. }
  1156. .bx-def-ava-big-badge-size {
  1157. @apply h-8 w-8;
  1158. }
  1159. .bx-artificer .bx-def-icon-size,
  1160. .bx-artificer .bx-profile-avatar .bx-def-thumb-size,
  1161. .bx-artificer .bx-profile-stats .bx-ps-user .bx-def-thumb-size {
  1162. @apply h-8 w-8;
  1163. }
  1164. .bx-artificer .bx-def-thumb-size {
  1165. @apply h-10 w-10;
  1166. }
  1167. .bx-artificer .bx-def-ava-size {
  1168. @apply h-24 w-24;
  1169. }
  1170. .bx-artificer .bx-def-ava-big-size {
  1171. @apply w-48 h-48;
  1172. }
  1173. .bx-base-text-unit-title a,
  1174. .bx-tl-title a {
  1175. @apply text-gray-800 hover:text-blue-500 dark:text-gray-100 dark:hover:text-blue-400 hover:no-underline;
  1176. }
  1177. .bx-base-text-unit-ext .bx-base-text-unit-text {
  1178. @apply ltr:text-left rtl:text-right;
  1179. }
  1180. div.bx-tl-item-image{
  1181. @apply aspect-video lg:aspect-auto rounded-lg;
  1182. }
  1183. img.bx-tl-item-image {
  1184. @apply w-full h-full object-center object-cover lg:w-full lg:h-full rounded-lg;
  1185. }
  1186. .bx-base-text-unit-title a {
  1187. @apply text-lg lg:text-xl font-semibold;
  1188. }
  1189. .bx-base-pofile-unit-badge {
  1190. @apply inline-flex align-middle;
  1191. }
  1192. .bx-artificer .bx-base-pofile-unit-online {
  1193. @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;
  1194. }
  1195. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  1196. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  1197. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  1198. }
  1199. /* Common elements: Auth */
  1200. .sys-auth-block {
  1201. @apply grid-cols-2;
  1202. }
  1203. .sys-auth-block.sys-auth-compact-container {
  1204. @apply grid-cols-4;
  1205. }
  1206. /* Common elements: Votes */
  1207. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  1208. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  1209. @apply text-gray-300 dark:text-gray-700;
  1210. }
  1211. /* Studio */
  1212. .bx-std.bx-def-font,
  1213. .bx-std .bx-def-font-inputs {
  1214. @apply font-inter;
  1215. }
  1216. .bx-std-bg.bx-def-color-bg-page {
  1217. @apply bg-gray-200 dark:bg-black;
  1218. }
  1219. .bx-std .bx-menu-top-center .bx-menu-tab-active .bx-mi-icon {
  1220. @apply ring-4 ring-blue-500/50 ring-offset-1 ring-offset-white dark:ring-offset-black;
  1221. }
  1222. .bx-std .bx-menu-top-center .bx-menu-item-divider {
  1223. @apply border-l border-black/10 dark:border-white/10;
  1224. }
  1225. .bx-std .bx-menu-top-center .bx-menu-item-static,
  1226. .bx-std .bx-menu-top-center .bx-menu-item-dynamic {
  1227. @apply hidden md:flex;
  1228. }
  1229. .bx-std .bx-std-menu-top-left li a {
  1230. @apply text-gray-800 dark:text-gray-200;
  1231. }
  1232. .bx-std .bx-stg-icon-gray-bg {
  1233. @apply h-8 w-8;
  1234. @apply bg-gray-200 bg-no-repeat bg-center;
  1235. @apply rounded-lg;
  1236. }
  1237. .bx-std .bx-menu-toolbar .bx-menu-tab-item {
  1238. @apply bg-gray-200 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700;
  1239. @apply text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300;
  1240. @apply border border-black/10 dark:border-white/10 hover:ring-4 hover:ring-gray-200 dark:hover:ring-gray-800 hover:ring-offset-1 hover:ring-offset-white dark:hover:ring-offset-black;
  1241. @apply active:opacity-80 duration-300;
  1242. }
  1243. .bx-std .bx-menu-toolbar .bx-menu-tab-item a {
  1244. @apply text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300;
  1245. }
  1246. .bx-std-block.cnt-ttl-bg,
  1247. .bx-std-block.cnt-bg {
  1248. @apply bg-white dark:bg-gray-900;
  1249. @apply rounded-2xl;
  1250. }
  1251. #bx-std-pcap-menu-popup-account .bx-popup li a,
  1252. #bx-std-pcap-menu-popup-account .bx-popup li .sys-icon,
  1253. #bx-std-pcap-menu-popup-scheme .bx-popup li a {
  1254. @apply text-gray-800 dark:text-gray-200 hover:text-black dark:hover:text-white;
  1255. }
  1256. #bx-std-pcap-menu-popup-assistant .bx-popup .bx-popup-header h2,
  1257. #bx-std-pcap-menu-popup-assistant .bx-popup .bx-popup-header a {
  1258. @apply text-gray-800 dark:text-gray-100;
  1259. }
  1260. .bx-std-pmen-item {
  1261. @apply hover:bg-gray-200 dark:hover:bg-gray-800;
  1262. @apply hover:font-medium;
  1263. }
  1264. .bx-std-pmen-item.bx-menu-tab-active {
  1265. @apply bg-gray-200 dark:bg-gray-800;
  1266. @apply font-semibold;
  1267. }
  1268. .bx-std-pmen-item a {
  1269. @apply text-gray-800 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  1270. }
  1271. .bx-std-pmen-item.bx-menu-tab-active a {
  1272. @apply text-gray-900 dark:text-white;
  1273. }
  1274. .bx-std .bx-def-font-color {
  1275. @apply text-gray-800 dark:text-gray-200;
  1276. }
  1277. .bx-std .bx-def-color-bg-block,
  1278. .bx-std .bx-popup-color-bg {
  1279. @apply bg-white dark:bg-gray-900;
  1280. }
  1281. .bx-std .bx-popup-color-bg {
  1282. @apply shadow dark:shadow-gray-500;
  1283. }
  1284. .bx-std .bx-popup-border {
  1285. @apply m-px ring-1 ring-gray-300 dark:ring-gray-700 rounded-2xl;
  1286. }
  1287. .bx-std .bx-popup-header h2 {
  1288. @apply text-gray-800 dark:text-gray-100;
  1289. }
  1290. .bx-std .bx-popup-header .bx-icon-close {
  1291. @apply text-gray-900 dark:text-white;
  1292. }
  1293. .bx-std .bx-btn {
  1294. @apply inline-flex items-center;
  1295. @apply h-10;
  1296. }
  1297. .bx-std .bx-btn:not(.bx-btn-primary) {
  1298. @apply bg-gray-200 dark:bg-gray-800 hover:bg-white dark:hover:bg-gray-700 active:bg-gray-200/80 dark:active:bg-gray-800/50;
  1299. @apply border-gray-300 dark:border-0;
  1300. @apply text-sm font-medium leading-10;
  1301. }
  1302. .bx-std .bx-btn:not(.bx-btn-primary),
  1303. .bx-std .bx-btn:not(.bx-btn-primary) .sys-icon:not(.sys-colored) {
  1304. @apply text-gray-800 dark:text-gray-200 hover:text-gray-900 dark:hover:text-gray-50 active:text-gray-900 dark:active:text-gray-50;
  1305. }
  1306. .bx-std .bx-btn.bx-btn-primary {
  1307. @apply bg-black/80 dark:bg-white hover:bg-black dark:hover:bg-white/80 active:bg-black/80 dark:active:bg-white/80;
  1308. @apply border-0 border-white/20 dark:border-white/20;
  1309. @apply text-white dark:text-black text-sm font-medium leading-10;
  1310. @apply active:opacity-50;
  1311. }
  1312. .bx-std .bx-btn.bx-btn-primary .sys-icon:not(.sys-colored) {
  1313. @apply text-white dark:text-black;
  1314. }
  1315. /* Studio: Launcher */
  1316. .bx-std-bg.bx-std-page-launcher {
  1317. @apply bg-gray-100 dark:bg-black;
  1318. }
  1319. .bx-std .bx-std-widgets .bx-std-widget {
  1320. @apply px-3 pt-3 pb-1.5 sm:px-4 sm:pt-4 sm:pb-2 lg:px-6 lg:pt-6 lg:pb-3;
  1321. }
  1322. /* Studio: Settings */
  1323. #adm-settings-form-categorized .bx-form-advanced-wrapper .bx-form-section-wrapper:last-child {
  1324. @apply bg-white/90 dark:bg-gray-900/90;
  1325. }
  1326. /* Modules: Timeline */
  1327. .bx-artificer .group\/item:hover .bx-tl-item-text .bx-tl-content.bx-tl-overflow .bx-tl-content-overflow {
  1328. @apply to-gray-50;
  1329. }
  1330. .dark .bx-artificer .group\/item:hover .bx-tl-item-text .bx-tl-content.bx-tl-overflow .bx-tl-content-overflow {
  1331. @apply to-gray-900;
  1332. }
  1333. .bx-artificer .bx-tl-item-activity .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1334. .bx-artificer .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1335. .bx-artificer .bx-menu-object-sys_cmts_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a{
  1336. @apply relative flex;
  1337. @apply bx-stl-mil-gaps-sm;
  1338. }
  1339. .bx-artificer .bx-popup .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1340. .bx-artificer .bx-popup .bx-menu-object-sys_cmts_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a {
  1341. @apply px-4;
  1342. }
  1343. /* 3d Party: Flickity */
  1344. .bx-artificer .flickity-button {
  1345. @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;
  1346. }
  1347. /* 3d Party: Quill */
  1348. .bx-artificer div.ql-editor {
  1349. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  1350. }
  1351. .bx-artificer div.ql-editor:focus{
  1352. @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;
  1353. }
  1354. .bx-artificer .ql-mention-list li {
  1355. @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;
  1356. }
  1357. /* Modules: Editor */
  1358. .editor_toolbar button.selected{
  1359. @apply bg-gray-300 dark:bg-black/50 dark:text-gray-200 text-gray-800;
  1360. }
  1361. /* Modules: Forum. Units - new view, for UNA14 need to migrate in general */
  1362. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1363. {
  1364. grid-auto-rows: 0;
  1365. grid-template-rows: repeat(1, 1fr);
  1366. overflow-y: hidden;
  1367. }
  1368. .bx-artificer .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1369. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1370. {
  1371. @apply max-w-full grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-4 md:max-w-none;
  1372. }
  1373. .bx-artificer .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1374. .bx-artificer .bx-layout-column-wide .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1375. {
  1376. @apply max-w-full grid sm:grid-cols-2 md:grid-cols-3 gap-4 md:max-w-none;
  1377. }
  1378. .bx-artificer .bx-layout-column-half .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1379. .bx-artificer .bx-layout-column-half .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1380. {
  1381. @apply max-w-full grid sm:grid-cols-1 md:grid-cols-2 gap-4 md:max-w-none;
  1382. }
  1383. .bx-artificer .bx-layout-column-thin .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1384. .bx-artificer .bx-layout-column-thin .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1385. {
  1386. @apply max-w-full grid sm:grid-cols-1 gap-4 md:max-w-none;
  1387. }
  1388. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper.flickity-enabled
  1389. {
  1390. @apply block;
  1391. }
  1392. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper .flickity-slider{
  1393. @apply space-x-4 ;
  1394. }
  1395. .bx-artificer .bx-search-result-block.bx-clearfix:before{
  1396. @apply hidden;
  1397. }
  1398. /* badges */
  1399. .bx-badges-list{
  1400. @apply inline-flex grow-0 space-x-1 w-min
  1401. }
  1402. .bx-badge{
  1403. @apply inline-flex items-center w-max space-x-1 px-1.5 py-0.5 rounded-full;
  1404. @apply text-white text-xs font-medium whitespace-nowrap;
  1405. @apply opacity-90 hover:opacity-100 active:translate-y-0.5
  1406. }
  1407. .bx-badge img,
  1408. .bx-badge svg {
  1409. @apply max-h-4 m-0 p-0;
  1410. }
  1411. .sys-icon-image.bx-badge-icon,
  1412. .sys-icon-svg.bx-badge-icon{
  1413. @apply w-4 h-4
  1414. }
  1415. /* filepond */
  1416. .filepond--drop-label label{
  1417. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300;
  1418. }
  1419. }
  1420. /* Select2 dark/light styles */
  1421. /* Base container */
  1422. .select2-container .select2-selection--single {
  1423. @apply h-10 flex items-center border rounded-md px-3;
  1424. }
  1425. /* Light mode */
  1426. .select2-container--default .select2-selection--single {
  1427. @apply bg-white border-gray-300 text-gray-900;
  1428. }
  1429. /* Dark mode */
  1430. .dark .select2-container--default .select2-selection--single .select2-selection__rendered,
  1431. .dark .select2-container--default .select2-selection--single {
  1432. @apply bg-gray-800 border-gray-600 text-gray-100;
  1433. }
  1434. /* Dropdown */
  1435. .select2-dropdown {
  1436. @apply rounded-md border shadow-lg;
  1437. }
  1438. /* Light dropdown */
  1439. .select2-container--default .select2-dropdown {
  1440. @apply bg-white border-gray-300;
  1441. }
  1442. /* Dark dropdown */
  1443. .dark .select2-container--default .select2-dropdown {
  1444. @apply bg-gray-800 border-gray-600;
  1445. }
  1446. /* Options */
  1447. .select2-results__option {
  1448. @apply px-3 py-2 cursor-pointer;
  1449. }
  1450. /* Hover / active */
  1451. .select2-results__option--highlighted {
  1452. @apply bg-blue-500 text-white;
  1453. }
  1454. /* Selected item */
  1455. .select2-results__option[aria-selected=true] {
  1456. @apply bg-blue-100;
  1457. }
  1458. .dark .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
  1459. .dark .select2-results__option[aria-selected=true] {
  1460. @apply bg-blue-700 text-white;
  1461. }
  1462. /* Search input */
  1463. .select2-search__field {
  1464. @apply w-full px-2 py-1 border rounded-md;
  1465. }
  1466. .dark .select2-search__field {
  1467. @apply bg-gray-700 border-gray-600 text-white;
  1468. }