tailwind.css 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652
  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-artificer .bx-def-border {
  440. @apply border border-gray-200 dark:border-gray-700;
  441. }
  442. .bx-artificer .bx-def-round-corners {
  443. @apply rounded-xl;
  444. }
  445. /* Fonts */
  446. .bx-def-font,
  447. .bx-artificer .bx-def-font-inputs:not(.bx-btn) {
  448. @apply font-inter text-gray-500 dark:text-gray-400;
  449. }
  450. .bx-def-font-grayed {
  451. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  452. }
  453. .bx-def-font-author,
  454. .bx-def-font-author.bx-def-font-meta {
  455. @apply text-sm text-gray-800 hover:text-black dark:text-gray-300 dark:hover:text-white font-semibold;
  456. }
  457. .bx-def-font-meta {
  458. @apply text-sm;
  459. }
  460. .bx-def-font-meta:not(a) {
  461. @apply text-gray-700 dark:text-gray-400 text-opacity-60;
  462. }
  463. a.bx-def-font-meta {
  464. @apply hover:underline;
  465. }
  466. .bx-artificer .bx-def-a-colored {
  467. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  468. }
  469. .bx-std a.bx-def-font-meta,
  470. .bx-std a.bx-def-font-meta.bx-def-a-colored,
  471. .bx-artificer a.bx-def-font-meta,
  472. .bx-artificer a.bx-def-font-meta.bx-def-a-colored {
  473. @apply text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-50;
  474. }
  475. .bx-artificer .bx-def-font-meta:not(a) {
  476. @apply text-opacity-100;
  477. }
  478. .bx-artificer .bx-def-font-small {
  479. @apply text-xs;
  480. }
  481. .bx-artificer .bx-def-font-middle {
  482. @apply text-sm;
  483. }
  484. .bx-artificer .bx-def-font-large {
  485. @apply text-lg;
  486. }
  487. /* Typography in combination with 'bx-def-vanilla-html' class */
  488. .bx-def-vanilla-html h1,
  489. .bx-def-vanilla-html .bx-def-font-h1 {
  490. @apply scroll-m-20 text-4xl font-extrabold tracking-tight;
  491. }
  492. .bx-def-vanilla-html h2,
  493. .bx-def-vanilla-html .bx-def-font-h2 {
  494. @apply scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight transition-colors first:mt-0;
  495. }
  496. .bx-def-vanilla-html h3,
  497. .bx-def-vanilla-html .bx-def-font-h3 {
  498. @apply scroll-m-20 text-xl font-semibold tracking-tight;
  499. }
  500. .bx-def-vanilla-html h4 {
  501. @apply scroll-m-20 font-semibold tracking-tight;
  502. }
  503. .bx-def-vanilla-html p {
  504. @apply leading-7 [&:not(:first-child)]:mt-6;
  505. }
  506. .bx-def-vanilla-html blockquote {
  507. @apply mt-6 border-l-2 pl-6 italic;
  508. }
  509. .bx-def-vanilla-html table {
  510. @apply w-full;
  511. }
  512. .bx-def-vanilla-html tr {
  513. @apply m-0 border-t p-0;
  514. }
  515. .bx-def-vanilla-html th {
  516. @apply border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right;
  517. }
  518. .bx-def-vanilla-html td {
  519. @apply border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right;
  520. }
  521. .bx-def-vanilla-html ul {
  522. @apply my-6 ml-6 list-disc [&>li]:mt-2;
  523. }
  524. .bx-def-vanilla-html code {
  525. @apply relative rounded px-[0.3rem] py-[0.2rem] text-sm font-semibold;
  526. }
  527. /* Common elements: Icons. */
  528. .bx-icon svg {
  529. @apply w-5 h-5;
  530. }
  531. .bx-icon.bx-icon-small svg {
  532. @apply w-4 h-4;
  533. }
  534. .bx-icon.bx-icon-close svg,
  535. .bx-icon.bx-icon-hamburger svg {
  536. @apply w-7 h-7;
  537. }
  538. /* Common elements: Pages. */
  539. .bx-layout-wrapper{
  540. @apply gap-4 lg:gap-6 flex flex-col;
  541. }
  542. .bx-layout-row{
  543. @apply w-full flex relative flex-wrap md:flex-nowrap gap-y-4 lg:gap-y-6;
  544. }
  545. .bx-layout-col{
  546. @apply max-w-full w-full;
  547. flex-shrink: 2 !important;
  548. }
  549. .bx-layout-cell,
  550. .bx-search-results-container {
  551. @apply flex flex-col gap-4 lg:gap-6;
  552. }
  553. .bx-layout-gap{
  554. @apply gap-y-4 lg:gap-y-6;
  555. }
  556. .bx-def-color-bg-page{
  557. @apply bg-gray-100 dark:bg-gray-900;
  558. }
  559. /* Common elements: Blocks, Boxes, etc. */
  560. .bx-def-box {
  561. @apply flex flex-col;
  562. }
  563. .bx-def-box.bx-def-box-hor {
  564. @apply flex-row;
  565. }
  566. .bx-def-color-bg-block,
  567. .bx-def-color-bg-box,
  568. .bx-popup-color-bg {
  569. @apply bg-white dark:bg-gray-800 shadow-md;
  570. }
  571. .bx-def-color-bg-box-overflow {
  572. @apply bg-gradient-to-b from-transparent to-white dark:to-gray-800;
  573. }
  574. .bx-def-border-block,
  575. .bx-def-box,
  576. .bx-popup-border {
  577. @apply ring-1 ring-gray-300/50 dark:ring-gray-600/50;
  578. }
  579. .bx-def-border-radius-block,
  580. .bx-def-box-round-corners,
  581. .bx-popup-border {
  582. @apply rounded-2xl;
  583. }
  584. .bx-content-padding-block {
  585. @apply p-3 md:p-4;
  586. }
  587. .bx-def-color-bg-box-hover {
  588. @apply hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-800 dark:hover:text-gray-200;
  589. }
  590. .bx-def-color-bg-box-active {
  591. @apply bg-gray-100 dark:bg-gray-700;
  592. }
  593. .bx-db-title {
  594. @apply text-lg xl:text-xl font-bold text-gray-800 dark:text-gray-100 align-middle;
  595. }
  596. /* Common Elements: HR */
  597. .bx-std .bx-def-hr,
  598. .bx-artificer .bx-def-hr {
  599. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  600. }
  601. /* Common Elements: Labels */
  602. .bx-artificer .bx-def-label {
  603. @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;
  604. }
  605. /* Common Elements: Alerts */
  606. .bx-def-unit-alert,
  607. .bx-def-unit-alert-small,
  608. .bx-def-unit-alert-middle {
  609. @apply block absolute top-0 -right-0.5 text-center text-white;
  610. }
  611. .bx-def-unit-alert {
  612. @apply h-4 p-1 leading-4 rounded-full text-xs;
  613. min-width: 1rem;
  614. }
  615. /* Common elements: Buttons */
  616. .bx-btn-shadow {
  617. @apply shadow-sm hover:shadow active:shadow-none;
  618. }
  619. .bx-btn-border {
  620. @apply border border-gray-300 dark:border-gray-600 rounded-md;
  621. }
  622. .bx-btn-bg {
  623. @apply bg-gray-100 dark:bg-gray-700;
  624. }
  625. .bx-btn-text {
  626. @apply text-sm text-gray-700 dark:text-gray-100 font-medium ;
  627. }
  628. .bx-btn-hover {
  629. @apply hover:bg-white dark:hover:bg-gray-600;
  630. @apply hover:border-gray-300 dark:hover:border-gray-500;
  631. @apply hover:text-gray-800 dark:hover:text-white;
  632. @apply hover:no-underline;
  633. @apply hover:-translate-y-px;
  634. }
  635. .bx-btn-focus {
  636. @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;
  637. }
  638. .bx-btn-active {
  639. @apply active:bg-gray-300 dark:active:bg-gray-800;
  640. @apply active:border-gray-400 dark:active:border-gray-700;
  641. @apply active:text-gray-900 dark:active:text-gray-200;
  642. @apply active:translate-y-px;
  643. }
  644. .bx-btn {
  645. @apply relative inline-flex items-center px-4 py-2;
  646. @apply bx-btn-shadow;
  647. @apply bx-btn-bg;
  648. @apply bx-btn-border;
  649. @apply bx-btn-text;
  650. @apply transform-gpu transition-all duration-150;
  651. @apply cursor-pointer;
  652. @apply bx-btn-hover bx-btn-focus bx-btn-active;
  653. }
  654. .bx-btn i,
  655. .bx-btn u {
  656. @apply inline-block align-middle;
  657. }
  658. .bx-btn i,
  659. .bx-btn img,
  660. .bx-btn svg {
  661. @apply w-5 h-5 leading-5;
  662. }
  663. .bx-btn i:not(.sys-colored),
  664. .bx-btn img {
  665. @apply text-gray-600 dark:text-gray-300;
  666. }
  667. .bx-btn:hover i:not(.sys-colored),
  668. .bx-btn:hover img {
  669. @apply text-gray-800 dark:text-gray-100;
  670. }
  671. .bx-btn i {
  672. @apply text-center;
  673. }
  674. .bx-btn img {
  675. @apply bg-contain bg-no-repeat bg-center;
  676. }
  677. .bx-btn svg {
  678. @apply inline align-middle;
  679. }
  680. .bx-btn u {
  681. @apply ml-2 first:ml-0 no-underline;
  682. }
  683. .bx-btn.bx-btn-primary {
  684. @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;
  685. @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;
  686. @apply text-white hover:text-white active:text-white dark:text-white dark:hover:text-white dark:active:text-white;
  687. }
  688. .bx-btn.bx-btn-primary i,
  689. .bx-btn.bx-btn-primary img {
  690. @apply text-gray-300;
  691. }
  692. .bx-btn.bx-btn-primary:hover i,
  693. .bx-btn.bx-btn-primary:hover img {
  694. @apply text-gray-100;
  695. }
  696. .bx-btn.bx-btn-disabled {
  697. @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;
  698. }
  699. .bx-btn.bx-btn-small {
  700. @apply py-1 text-xs;
  701. }
  702. .bx-btn.bx-btn-small i,
  703. .bx-btn.bx-btn-small img,
  704. .bx-btn.bx-btn-small svg {
  705. @apply w-4 h-4 leading-4;
  706. }
  707. /* Common elements: Forms */
  708. .bx-std form,
  709. .bx-artificer form {
  710. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  711. }
  712. .bx-artificer form a:not(.bx-btn),
  713. .bx-artificer .sys-jf-agreement a:not(.bx-btn),
  714. .bx-artificer .sys-lf-agreement a:not(.bx-btn) {
  715. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  716. }
  717. .bx-artificer .bx-form-caption,
  718. .bx-artificer .bx-form-row-view-caption {
  719. @apply text-gray-700 dark:text-gray-300 text-sm font-medium;
  720. }
  721. .bx-artificer .bx-form-value {
  722. @apply mt-1 first:mt-0;
  723. }
  724. .bx-artificer .bx-form-required,
  725. .bx-artificer .bx-form-warn {
  726. @apply text-red-400;
  727. }
  728. .bx-form-section.bx-form-section-header {
  729. @apply border border-gray-300 dark:border-gray-900 rounded-2xl;
  730. @apply bg-gray-100 dark:bg-gray-800;
  731. @apply overflow-hidden;
  732. }
  733. .bx-form-section.bx-form-section-header .bx-form-section-title:hover {
  734. @apply bg-white dark:bg-gray-900 bg-gradient-to-b from-gray-100 dark:from-gray-800;
  735. }
  736. .bx-form-section.bx-form-section-header:not(.bx-form-collapsed) {
  737. @apply bg-white dark:bg-gray-900;
  738. }
  739. .bx-form-section.bx-form-section-header .bx-form-section-content {
  740. @apply bg-white dark:bg-gray-900;
  741. }
  742. /* Common elements: Forms: Text Input */
  743. .bx-std .bx-form-input-slider,
  744. .bx-std .bx-form-input-doublerange,
  745. .bx-std .bx-form-input-select_multiple,
  746. .bx-std .bx-form-input-select,
  747. .bx-std .bx-form-input-number,
  748. .bx-std .bx-form-input-time,
  749. .bx-std .bx-form-input-datepicker,
  750. .bx-std .bx-form-input-datetime,
  751. .bx-std .bx-form-input-textarea:not(.bx-form-input-html),
  752. .bx-std .bx-form-input-text,
  753. .bx-std .bx-form-input-price,
  754. .bx-std .bx-form-input-wrapper-price span,
  755. .bx-artificer .bx-form-input-slider,
  756. .bx-artificer .bx-form-input-doublerange,
  757. .bx-artificer .bx-form-input-select_multiple,
  758. .bx-artificer .bx-form-input-select,
  759. .bx-artificer .bx-form-input-number,
  760. .bx-artificer .bx-form-input-time,
  761. .bx-artificer .bx-form-input-datepicker,
  762. .bx-artificer .bx-form-input-datetime,
  763. .bx-artificer .bx-form-input-textarea:not(.bx-form-input-html),
  764. .bx-artificer .bx-form-input-text,
  765. .bx-artificer .bx-form-input-price,
  766. .bx-artificer .bx-form-input-wrapper-price span {
  767. @apply block w-full px-3 py-2;
  768. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  769. @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;
  770. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  771. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  772. @apply rounded-md;
  773. }
  774. /* Common elements: Forms: Password Input */
  775. .bx-std .bx-form-input-wrapper-password,
  776. .bx-artificer .bx-form-input-wrapper-password {
  777. @apply relative block w-full;
  778. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  779. @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;
  780. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  781. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  782. @apply rounded-md;
  783. }
  784. .bx-std .bx-form-input-wrapper-password .bx-form-input-password,
  785. .bx-artificer .bx-form-input-wrapper-password .bx-form-input-password {
  786. @apply block w-full pl-3 py-2 pr-8;
  787. @apply rounded-md;
  788. }
  789. .bx-artificer .bx-form-input-wrapper-password .bx-form-input-password {
  790. @apply ltr:pl-3 rtl:pl-8 ltr:pr-8 rtl:pr-3;
  791. }
  792. /* Common elements: Forms: Checkbox/Radio Set Input */
  793. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  794. .bx-artificer .bx-form-input-wrapper-radio_set {
  795. @apply relative block w-full py-2 px-3;
  796. }
  797. .bx-std .bx-form-input-checkbox_set,
  798. .bx-std .bx-form-input-radio_set,
  799. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  800. .bx-artificer .bx-form-input-wrapper-radio_set {
  801. @apply max-h-80 overflow-x-auto;
  802. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  803. @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;
  804. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  805. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  806. @apply rounded-md;
  807. }
  808. /* Common elements: Forms: Checkbox Input */
  809. .bx-form-input-wrapper-checkbox,
  810. .bx-form-input-wrapper-radio {
  811. @apply block w-5 h-5 m-0.5;
  812. @apply border-2 border-transparent;
  813. }
  814. .bx-form-input-checkbox,
  815. .bx-form-input-radio {
  816. @apply block w-4 h-4;
  817. @apply bg-gray-50 dark:bg-gray-900/50 bg-origin-border;
  818. @apply border-2 border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70;
  819. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  820. @apply scale-150 rounded;
  821. @apply appearance-none select-none;
  822. }
  823. .bx-def-font-inputs.bx-form-input-checkbox,
  824. .bx-def-font-inputs.bx-form-input-radio {
  825. @apply leading-6 text-base font-medium text-blue-600 dark:text-blue-600;
  826. }
  827. .bx-form-input-checkbox:checked,
  828. .bx-form-input-radio:checked {
  829. background-color: currentColor;
  830. border-color: transparent;
  831. }
  832. .bx-form-input-checkbox:checked {
  833. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTEyLjIwNyA0Ljc5M2ExIDEgMCAwIDEgMCAxLjQxNGwtNSA1YTEgMSAwIDAgMS0xLjQxNCAwbC0yLTJhMSAxIDAgMCAxIDEuNDE0LTEuNDE0TDYuNSA5LjA4Nmw0LjI5My00LjI5M2ExIDEgMCAwIDEgMS40MTQgMHonLz48L3N2Zz4=)
  834. }
  835. .bx-form-input-radio:checked {
  836. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGNpcmNsZSBjeD0nOCcgY3k9JzgnIHI9JzMnLz48L3N2Zz4=)
  837. }
  838. .bx-form-input-radio_set,
  839. .bx-form-input-checkbox_set {
  840. @apply flex flex-wrap items-center;
  841. }
  842. .bx-form-input-dv {
  843. @apply ml-4;
  844. }
  845. .bx-form-input-dv-nl {
  846. @apply h-2 w-full last:hidden;
  847. }
  848. /* Common elements: Forms: Switcher Input */
  849. .bx-switcher-cont.on button {
  850. @apply bg-white dark:bg-gray-800;
  851. }
  852. .bx-switcher-cont.on button span {
  853. @apply bg-green-500 dark:bg-green-500 ltr:translate-x-5 rtl:-translate-x-5;
  854. }
  855. .bx-switcher-cont.off button {
  856. @apply bg-gray-200 dark:bg-gray-900;
  857. }
  858. .bx-switcher-cont.off button span {
  859. @apply bg-white dark:bg-gray-500 translate-x-0;
  860. }
  861. /* Common elements: Forms: Autosuggestion Input */
  862. .bx-artificer .bx-form-input-text.bx-form-input-autotoken {
  863. @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
  864. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  865. @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;
  866. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  867. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  868. @apply rounded-md;
  869. }
  870. .bx-artificer .bx-form-input-autotoken b.val {
  871. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  872. }
  873. /* Common elements: Popups */
  874. .bx-artificer > .bx-popup-wrapper {
  875. @apply max-h-full overflow-x-hidden overflow-y-auto;
  876. }
  877. .bx-artificer .bx-popup-applied {
  878. @apply rounded-lg;
  879. }
  880. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  881. @apply w-full md:w-auto;
  882. }
  883. .bx-artificer .bx-popup-full-screen {
  884. @apply w-full;
  885. }
  886. .bx-artificer .bx-popup {
  887. @apply relative;
  888. }
  889. .bx-artificer .bx-popup-color-bg {
  890. @apply bg-white dark:bg-gray-800 shadow;
  891. }
  892. .bx-artificer .bx-popup-border {
  893. @apply m-px ring-1 ring-gray-300 dark:ring-gray-700 rounded-2xl;
  894. }
  895. .bx-artificer .bx-popup-width {
  896. @apply w-full md:w-128;
  897. }
  898. .bx-artificer .bx-popup-width-small,
  899. .bx-artificer .bx-popup-menu .bx-popup-content {
  900. @apply w-56;
  901. }
  902. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  903. @apply w-full md:w-full;
  904. }
  905. .bx-artificer .bx-popup-fog {
  906. @apply bg-gray-600 opacity-75;
  907. }
  908. /* Common elements: Menus */
  909. .bx-stl-mil-gaps {
  910. @apply px-3 py-2;
  911. }
  912. .bx-stl-mil-gaps-sm {
  913. @apply px-2 py-1.5;
  914. }
  915. .bx-stl-mil-hover-text {
  916. @apply hover:text-gray-800 dark:hover:text-gray-200;
  917. }
  918. .bx-stl-mil-hover-bg {
  919. @apply hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  920. }
  921. .bx-stl-mil-hover {
  922. @apply bx-stl-mil-hover-text;
  923. @apply bx-stl-mil-hover-bg;
  924. }
  925. .bx-stl-mil-focus {
  926. @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;
  927. }
  928. .bx-stl-mil-active-bg {
  929. @apply active:border-gray-300 dark:active:border-gray-700;
  930. @apply active:bg-gray-300 dark:active:bg-black/50;
  931. }
  932. .bx-stl-mil-active {
  933. @apply bx-stl-mil-active-bg;
  934. }
  935. .bx-stl-mil,
  936. .bx-stl-mil-sm,
  937. .bx-stl-mil-wo-bg,
  938. .bx-stl-mil-wo-bg-gaps,
  939. .bx-stl-mil-wo-gaps,
  940. .bx-stl-mil-wo-gaps-sm,
  941. .bx-std .bx-stl-mil,
  942. .bx-std .bx-stl-mil-sm,
  943. .bx-std .bx-stl-mil-wo-bg,
  944. .bx-std .bx-stl-mil-wo-bg-gaps,
  945. .bx-std .bx-stl-mil-wo-gaps,
  946. .bx-std .bx-stl-mil-wo-gaps a,
  947. .bx-std .bx-stl-mil-wo-gaps-sm {
  948. @apply flex items-center;
  949. @apply text-base text-gray-600 dark:text-gray-400 font-medium;
  950. @apply bx-stl-mil-hover-text;
  951. }
  952. .bx-stl-mil,
  953. .bx-stl-mil-sm,
  954. .bx-stl-mil-wo-bg {
  955. @apply bx-stl-mil-gaps;
  956. }
  957. .bx-stl-mil,
  958. .bx-stl-mil-sm,
  959. .bx-stl-mil-wo-gaps,
  960. .bx-stl-mil-wo-gaps-sm {
  961. @apply border border-transparent;
  962. @apply rounded-md;
  963. @apply bx-stl-mil-hover-bg bx-stl-mil-active-bg;
  964. }
  965. .bx-stl-mil.bx-stl-mib,
  966. .bx-stl-mil-sm.bx-stl-mib,
  967. .bx-stl-mil-wo-gaps.bx-stl-mib,
  968. .bx-stl-mil-wo-gaps-sm.bx-stl-mib {
  969. @apply border border-gray-300 dark:border-gray-700;
  970. }
  971. .bx-stl-mil-sm,
  972. .bx-stl-mil-wo-gaps-sm {
  973. @apply text-sm;
  974. }
  975. .bx-stl-mil-sm {
  976. @apply px-2 py-1.5;
  977. }
  978. .bx-popup .bx-stl-mil-sm,
  979. .bx-popup .bx-stl-mil-gaps-sm {
  980. @apply px-4;
  981. }
  982. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil,
  983. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-sm,
  984. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps,
  985. .bx-popup ul:not(.bx-menu-hor) .bx-stl-mil-wo-gaps-sm {
  986. @apply rounded-none;
  987. }
  988. .bx-menu-tab-active.bx-stl-mil,
  989. .bx-menu-tab-active.bx-stl-mil-sm,
  990. .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  991. .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  992. .bx-menu-tab-active .bx-stl-mil,
  993. .bx-menu-tab-active .bx-stl-mil-sm,
  994. .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  995. .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm,
  996. .bx-menu-item-active .bx-stl-mil,
  997. .bx-menu-item-active .bx-stl-mil-sm,
  998. .bx-menu-item-active .bx-stl-mil-wo-gaps,
  999. .bx-menu-item-active .bx-stl-mil-wo-gaps-sm {
  1000. @apply text-gray-900 dark:text-white;
  1001. @apply bg-gray-200 dark:bg-gray-900;
  1002. @apply ring-1 ring-white/50 dark:ring-gray-800/50;
  1003. }
  1004. .bx-popup .bx-menu-tab-active.bx-stl-mil,
  1005. .bx-popup .bx-menu-tab-active.bx-stl-mil-sm,
  1006. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps,
  1007. .bx-popup .bx-menu-tab-active.bx-stl-mil-wo-gaps-sm,
  1008. .bx-popup .bx-menu-tab-active .bx-stl-mil,
  1009. .bx-popup .bx-menu-tab-active .bx-stl-mil-sm,
  1010. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps,
  1011. .bx-popup .bx-menu-tab-active .bx-stl-mil-wo-gaps-sm {
  1012. @apply ring-0;
  1013. }
  1014. .bx-stl-mii,
  1015. .bx-stl-mii-sm,
  1016. .bx-stl-mil .sys-action-do-icon,
  1017. .bx-stl-mil-sm .sys-action-do-icon,
  1018. .bx-stl-mil-wo-gaps .sys-action-do-icon,
  1019. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon {
  1020. @apply flex items-center justify-center text-gray-500 text-lg;
  1021. }
  1022. .bx-stl-mii > *,
  1023. .bx-stl-mii-sm > *,
  1024. .bx-stl-mil .sys-action-do-icon > *,
  1025. .bx-stl-mil-sm .sys-action-do-icon > *,
  1026. .bx-stl-mil-wo-gaps .sys-action-do-icon > *,
  1027. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  1028. @apply flex items-center justify-center h-6 w-6 ltr:mr-3 rtl:ml-3;
  1029. }
  1030. .bx-std .bx-stl-mii > * {
  1031. @apply flex items-center justify-center h-6 w-6 ltr:mr-3 rtl:ml-3 !important;
  1032. }
  1033. .bx-std .bx-stl-mii > svg {
  1034. @apply text-gray-500 !important;
  1035. }
  1036. .bx-std li:hover .bx-stl-mii > svg {
  1037. @apply text-gray-700 dark:text-gray-300 !important;
  1038. }
  1039. .bx-stl-mii:last-child > *,
  1040. .bx-stl-mii-sm:last-child > *,
  1041. .bx-stl-mil .sys-action-do-icon:last-child > *,
  1042. .bx-stl-mil-sm .sys-action-do-icon:last-child > *,
  1043. .bx-stl-mil-wo-gaps .sys-action-do-icon:last-child > *,
  1044. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon:last-child > * {
  1045. @apply ltr:mr-0 rtl:ml-0;
  1046. }
  1047. .bx-stl-mil .sys-action-do-icon ~ .sys-action-do-text,
  1048. .bx-stl-mil-sm .sys-action-do-icon ~ .sys-action-do-text,
  1049. .bx-stl-mil-wo-gaps .sys-action-do-icon ~ .sys-action-do-text,
  1050. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon ~ .sys-action-do-text {
  1051. @apply ltr:ml-0 rtl:mr-0;
  1052. }
  1053. .bx-stl-mii-sm > *,
  1054. .bx-stl-mil-sm .sys-action-do-icon > *,
  1055. .bx-stl-mil-wo-gaps-sm .sys-action-do-icon > * {
  1056. @apply h-5 w-5 ltr:mr-1.5 rtl:ml-1.5 text-sm;
  1057. }
  1058. .bx-stl-mit {
  1059. @apply truncate;
  1060. }
  1061. .bx-stl-mia {
  1062. @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;
  1063. }
  1064. /* Common elements: Horizontal menu */
  1065. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  1066. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  1067. @apply text-gray-700 dark:text-gray-200 font-medium;
  1068. }
  1069. /* Common elements: Vertical menu */
  1070. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  1071. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  1072. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  1073. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  1074. }
  1075. /* Common elements: Vertical menu in Popup */
  1076. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  1077. @apply hover:text-gray-900 dark:hover:text-gray-100;
  1078. }
  1079. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  1080. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  1081. }
  1082. /* Common elements: Toolbar menu */
  1083. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit {
  1084. @apply border-4 border-transparent;
  1085. }
  1086. .bx-artificer .bx-menu-toolbar .bx-menu-toolbar-item .bx-menu-toolbar-item-unit .bx-def-icon-size {
  1087. @apply h-8 w-8;
  1088. }
  1089. /* Common elements: Page Submenu */
  1090. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  1091. @apply text-gray-900 dark:text-gray-100;
  1092. }
  1093. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  1094. @apply bg-blue-500 group-hover:bg-blue-500;
  1095. }
  1096. /* Common elements: Profile Stats menu */
  1097. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-menu-tab-active {
  1098. @apply bg-slate-900/[.08] dark:bg-slate-900 ring-1 ring-gray-200 dark:ring-gray-800 text-gray-900 dark:text-white;
  1099. }
  1100. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-more,
  1101. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-less {
  1102. @apply text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300
  1103. }
  1104. /* Common elements: Profile Cover */
  1105. .bx-artificer .bx-base-pofile-cover-thumb + .bx-base-pofile-cover-user {
  1106. @apply ltr:lg:pl-52 rtl:lg:pr-52;
  1107. }
  1108. .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 {
  1109. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  1110. }
  1111. /* Common elements: Informers */
  1112. .bx-informer-msg a {
  1113. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  1114. }
  1115. .bx-informer-msg-info {
  1116. @apply bg-blue-50 text-blue-700;
  1117. }
  1118. .bx-informer-msg-alert {
  1119. @apply bg-yellow-50 text-yellow-700;
  1120. }
  1121. .bx-informer-msg-error {
  1122. @apply bg-red-50 text-red-700;
  1123. }
  1124. /* Common elements: All Actions */
  1125. .sys-action-counter.sys-ac-link,
  1126. .sys-action-counter .sys-ac-link,
  1127. .sys-ac-link .sys-action-counter {
  1128. @apply flex items-center;
  1129. @apply border-none;
  1130. @apply text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300;
  1131. @apply rounded-full;
  1132. }
  1133. .sys-action-counter.sys-ac-only.sys-ac-link,
  1134. .sys-action-counter.sys-ac-only .sys-ac-link,
  1135. .sys-ac-link .sys-action-counter.sys-ac-only {
  1136. @apply hover:bg-gray-100 dark:hover:bg-gray-600;
  1137. }
  1138. /* Common elements: Comments */
  1139. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  1140. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  1141. }
  1142. /* Common Elements: Votes */
  1143. .bx-vote-bls-submenu-cnt {
  1144. @apply border-b-gray-300 dark:border-b-gray-700;
  1145. }
  1146. .bx-vote-bls-submenu-cnt ul li.bx-menu-inter-act {
  1147. @apply border-b-gray-500 dark:border-b-gray-500;
  1148. }
  1149. /* Common elements: Units */
  1150. .bx-def-icon-badge-size,
  1151. .bx-def-thumb-badge-size,
  1152. .bx-def-ava-badge-size {
  1153. @apply h-6 w-6;
  1154. }
  1155. .bx-def-ava-big-badge-size {
  1156. @apply h-8 w-8;
  1157. }
  1158. .bx-artificer .bx-def-icon-size,
  1159. .bx-artificer .bx-profile-avatar .bx-def-thumb-size,
  1160. .bx-artificer .bx-profile-stats .bx-ps-user .bx-def-thumb-size {
  1161. @apply h-8 w-8;
  1162. }
  1163. .bx-artificer .bx-def-thumb-size {
  1164. @apply h-10 w-10;
  1165. }
  1166. .bx-artificer .bx-def-ava-size {
  1167. @apply h-24 w-24;
  1168. }
  1169. .bx-artificer .bx-def-ava-big-size {
  1170. @apply w-48 h-48;
  1171. }
  1172. .bx-base-text-unit-title a,
  1173. .bx-tl-title a {
  1174. @apply text-gray-800 hover:text-blue-500 dark:text-gray-100 dark:hover:text-blue-400 hover:no-underline;
  1175. }
  1176. .bx-base-text-unit-ext .bx-base-text-unit-text {
  1177. @apply ltr:text-left rtl:text-right;
  1178. }
  1179. div.bx-tl-item-image{
  1180. @apply aspect-video lg:aspect-auto rounded-lg;
  1181. }
  1182. img.bx-tl-item-image {
  1183. @apply w-full h-full object-center object-cover lg:w-full lg:h-full rounded-lg;
  1184. }
  1185. .bx-base-text-unit-title a {
  1186. @apply text-lg lg:text-xl font-semibold;
  1187. }
  1188. .bx-base-pofile-unit-badge {
  1189. @apply inline-flex align-middle;
  1190. }
  1191. .bx-artificer .bx-base-pofile-unit-online {
  1192. @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;
  1193. }
  1194. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  1195. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  1196. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  1197. }
  1198. /* Common elements: Auth */
  1199. .sys-auth-block {
  1200. @apply grid-cols-2;
  1201. }
  1202. .sys-auth-block.sys-auth-compact-container {
  1203. @apply grid-cols-4;
  1204. }
  1205. /* Common elements: Votes */
  1206. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  1207. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  1208. @apply text-gray-300 dark:text-gray-700;
  1209. }
  1210. /* Studio */
  1211. .bx-std.bx-def-font,
  1212. .bx-std .bx-def-font-inputs {
  1213. @apply font-inter;
  1214. }
  1215. .bx-std-bg.bx-def-color-bg-page {
  1216. @apply bg-gray-200 dark:bg-black;
  1217. }
  1218. .bx-std .bx-menu-top-center .bx-menu-tab-active .bx-mi-icon {
  1219. @apply ring-4 ring-blue-500/50 ring-offset-2 ring-offset-white dark:ring-offset-black;
  1220. }
  1221. .bx-std .bx-menu-top-center .bx-menu-item-static,
  1222. .bx-std .bx-menu-top-center .bx-menu-item-dynamic {
  1223. @apply hidden md:flex;
  1224. }
  1225. .bx-std .bx-stg-icon-gray-bg {
  1226. @apply h-8 w-8;
  1227. @apply bg-gray-200 bg-no-repeat bg-center;
  1228. @apply rounded-lg;
  1229. }
  1230. .bx-menu-toolbar .bx-menu-tab-item {
  1231. @apply bg-gray-200 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-700;
  1232. @apply text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300;
  1233. @apply border border-black/10 dark:border-white/10 hover:ring-4 hover:ring-gray-200 dark:hover:ring-gray-800 hover:ring-offset-2 hover:ring-offset-white dark:hover:ring-offset-black;
  1234. @apply active:opacity-80 duration-300;
  1235. }
  1236. .bx-menu-toolbar .bx-menu-tab-item a {
  1237. @apply text-gray-600 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300;
  1238. }
  1239. .bx-std-block.cnt-ttl-bg,
  1240. .bx-std-block.cnt-bg {
  1241. @apply bg-white dark:bg-gray-900;
  1242. @apply rounded-2xl;
  1243. }
  1244. #bx-std-pcap-menu-popup-account .bx-popup li a,
  1245. #bx-std-pcap-menu-popup-account .bx-popup li .sys-icon,
  1246. #bx-std-pcap-menu-popup-scheme .bx-popup li a {
  1247. @apply text-gray-800 dark:text-gray-200 hover:text-black dark:hover:text-white;
  1248. }
  1249. #bx-std-pcap-menu-popup-assistant .bx-popup .bx-popup-header h2,
  1250. #bx-std-pcap-menu-popup-assistant .bx-popup .bx-popup-header a {
  1251. @apply text-gray-800 dark:text-gray-100;
  1252. }
  1253. .bx-std-pmen-item {
  1254. @apply hover:bg-gray-200 dark:hover:bg-gray-800;
  1255. @apply hover:font-medium;
  1256. }
  1257. .bx-std-pmen-item.bx-menu-tab-active {
  1258. @apply bg-gray-200 dark:bg-gray-800;
  1259. @apply font-semibold;
  1260. }
  1261. .bx-std-pmen-item a {
  1262. @apply text-gray-800 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  1263. }
  1264. .bx-std-pmen-item.bx-menu-tab-active a {
  1265. @apply text-gray-900 dark:text-white;
  1266. }
  1267. .bx-std .bx-def-font-color {
  1268. @apply text-gray-800 dark:text-gray-200;
  1269. }
  1270. .bx-std .bx-def-color-bg-block,
  1271. .bx-std .bx-popup-color-bg {
  1272. @apply bg-white dark:bg-gray-900;
  1273. }
  1274. .bx-std .bx-popup-color-bg {
  1275. @apply shadow dark:shadow-gray-500;
  1276. }
  1277. .bx-std .bx-popup-border {
  1278. @apply m-px ring-1 ring-gray-300 dark:ring-gray-700 rounded-2xl;
  1279. }
  1280. .bx-std .bx-popup-header h2 {
  1281. @apply text-gray-800 dark:text-gray-100;
  1282. }
  1283. .bx-std .bx-popup-header .bx-icon-close {
  1284. @apply text-gray-900 dark:text-white;
  1285. }
  1286. .bx-std .bx-btn {
  1287. @apply inline-flex items-center;
  1288. @apply h-10;
  1289. }
  1290. .bx-std .bx-btn:not(.bx-btn-primary) {
  1291. @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;
  1292. @apply border-gray-300 dark:border-0;
  1293. @apply text-sm font-medium leading-10;
  1294. }
  1295. .bx-std .bx-btn:not(.bx-btn-primary),
  1296. .bx-std .bx-btn:not(.bx-btn-primary) .sys-icon:not(.sys-colored) {
  1297. @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;
  1298. }
  1299. .bx-std .bx-btn.bx-btn-primary {
  1300. @apply bg-black/80 dark:bg-white hover:bg-black dark:hover:bg-white/80 active:bg-black/80 dark:active:bg-white/80;
  1301. @apply border-0 border-white/20 dark:border-white/20;
  1302. @apply text-white dark:text-black text-sm font-medium leading-10;
  1303. @apply active:opacity-50;
  1304. }
  1305. .bx-std .bx-btn.bx-btn-primary .sys-icon:not(.sys-colored) {
  1306. @apply text-white dark:text-black;
  1307. }
  1308. /* Studio: Launcher */
  1309. .bx-std-bg.bx-std-page-launcher {
  1310. @apply bg-gray-200 dark:bg-black;
  1311. }
  1312. .bx-std .bx-std-widgets .bx-std-widget {
  1313. @apply px-6 pt-6 pb-3 sm:px-10 sm:pt-10 sm:pb-4;
  1314. }
  1315. /* Studio: Settings */
  1316. #adm-settings-form-categorized .bx-form-advanced-wrapper .bx-form-section-wrapper:last-child {
  1317. @apply bg-white/90 dark:bg-gray-900/90;
  1318. }
  1319. /* Modules: Timeline */
  1320. .bx-artificer .group\/item:hover .bx-tl-item-text .bx-tl-content.bx-tl-overflow .bx-tl-content-overflow {
  1321. @apply to-gray-50;
  1322. }
  1323. .dark .bx-artificer .group\/item:hover .bx-tl-item-text .bx-tl-content.bx-tl-overflow .bx-tl-content-overflow {
  1324. @apply to-gray-900;
  1325. }
  1326. .bx-artificer .bx-tl-item-activity .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1327. .bx-artificer .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1328. .bx-artificer .bx-menu-object-sys_cmts_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a{
  1329. @apply relative flex;
  1330. @apply bx-stl-mil-gaps-sm;
  1331. }
  1332. .bx-artificer .bx-popup .bx-menu-object-bx_timeline_menu_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a,
  1333. .bx-artificer .bx-popup .bx-menu-object-sys_cmts_item_manage .bx-stl-mil-wo-gaps-sm .sys-action-element-holder > a {
  1334. @apply px-4;
  1335. }
  1336. /* 3d Party: Flickity */
  1337. .bx-artificer .flickity-button {
  1338. @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;
  1339. }
  1340. /* 3d Party: Quill */
  1341. .bx-artificer div.ql-editor {
  1342. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  1343. }
  1344. .bx-artificer div.ql-editor:focus{
  1345. @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;
  1346. }
  1347. .bx-artificer .ql-mention-list li {
  1348. @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;
  1349. }
  1350. /* Modules: Editor */
  1351. .editor_toolbar button.selected{
  1352. @apply bg-gray-300 dark:bg-black/50 dark:text-gray-200 text-gray-800;
  1353. }
  1354. /* Modules: Forum. Units - new view, for UNA14 need to migrate in general */
  1355. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1356. {
  1357. grid-auto-rows: 0;
  1358. grid-template-rows: repeat(1, 1fr);
  1359. overflow-y: hidden;
  1360. }
  1361. .bx-artificer .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1362. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1363. {
  1364. @apply max-w-full grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-4 md:max-w-none;
  1365. }
  1366. .bx-artificer .bx-layout-column-wide .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1367. .bx-artificer .bx-layout-column-wide .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1368. {
  1369. @apply max-w-full grid sm:grid-cols-2 md:grid-cols-3 gap-4 md:max-w-none;
  1370. }
  1371. .bx-artificer .bx-layout-column-half .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1372. .bx-artificer .bx-layout-column-half .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1373. {
  1374. @apply max-w-full grid sm:grid-cols-1 md:grid-cols-2 gap-4 md:max-w-none;
  1375. }
  1376. .bx-artificer .bx-layout-column-thin .bx-base-text-unit-gallery-wrapper.bx-forum-wrapper,
  1377. .bx-artificer .bx-layout-column-thin .bx-base-unit-showcase-wrapper.bx-forum-wrapper:not(.flickity-enabled)
  1378. {
  1379. @apply max-w-full grid sm:grid-cols-1 gap-4 md:max-w-none;
  1380. }
  1381. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper.flickity-enabled
  1382. {
  1383. @apply block;
  1384. }
  1385. .bx-artificer .bx-base-unit-showcase-wrapper.bx-forum-wrapper .flickity-slider{
  1386. @apply space-x-4 ;
  1387. }
  1388. .bx-artificer .bx-search-result-block.bx-clearfix:before{
  1389. @apply hidden;
  1390. }
  1391. /* badges */
  1392. .bx-badges-list{
  1393. @apply inline-flex grow-0 space-x-1 w-min
  1394. }
  1395. .bx-badge{
  1396. @apply inline-flex items-center w-max space-x-1 px-1.5 py-0.5 rounded-full;
  1397. @apply text-white text-xs font-medium whitespace-nowrap;
  1398. @apply opacity-90 hover:opacity-100 active:translate-y-0.5
  1399. }
  1400. .bx-badge img,
  1401. .bx-badge svg {
  1402. @apply max-h-4 m-0 p-0;
  1403. }
  1404. .sys-icon-image.bx-badge-icon,
  1405. .sys-icon-svg.bx-badge-icon{
  1406. @apply w-4 h-4
  1407. }
  1408. /* filepond */
  1409. .filepond--drop-label label{
  1410. @apply leading-6 text-base font-medium text-gray-700 dark:text-gray-300;
  1411. }
  1412. }
  1413. /* Select2 dark/light styles */
  1414. /* Base container */
  1415. .select2-container .select2-selection--single {
  1416. @apply h-10 flex items-center border rounded-md px-3;
  1417. }
  1418. /* Light mode */
  1419. .select2-container--default .select2-selection--single {
  1420. @apply bg-white border-gray-300 text-gray-900;
  1421. }
  1422. /* Dark mode */
  1423. .dark .select2-container--default .select2-selection--single .select2-selection__rendered,
  1424. .dark .select2-container--default .select2-selection--single {
  1425. @apply bg-gray-800 border-gray-600 text-gray-100;
  1426. }
  1427. /* Dropdown */
  1428. .select2-dropdown {
  1429. @apply rounded-md border shadow-lg;
  1430. }
  1431. /* Light dropdown */
  1432. .select2-container--default .select2-dropdown {
  1433. @apply bg-white border-gray-300;
  1434. }
  1435. /* Dark dropdown */
  1436. .dark .select2-container--default .select2-dropdown {
  1437. @apply bg-gray-800 border-gray-600;
  1438. }
  1439. /* Options */
  1440. .select2-results__option {
  1441. @apply px-3 py-2 cursor-pointer;
  1442. }
  1443. /* Hover / active */
  1444. .select2-results__option--highlighted {
  1445. @apply bg-blue-500 text-white;
  1446. }
  1447. /* Selected item */
  1448. .select2-results__option[aria-selected=true] {
  1449. @apply bg-blue-100;
  1450. }
  1451. .dark .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
  1452. .dark .select2-results__option[aria-selected=true] {
  1453. @apply bg-blue-700 text-white;
  1454. }
  1455. /* Search input */
  1456. .select2-search__field {
  1457. @apply w-full px-2 py-1 border rounded-md;
  1458. }
  1459. .dark .select2-search__field {
  1460. @apply bg-gray-700 border-gray-600 text-white;
  1461. }