tailwind.css 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943
  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-artificer .bx-menthion-link {
  26. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  27. }
  28. .bx-artificer .bx-def-box-sizing {
  29. @apply box-border;
  30. }
  31. .bx-artificer .bx-def-align-center {
  32. @apply flex items-center justify-center !important;
  33. }
  34. .bx-artificer .bx-def-valign-center {
  35. @apply flex items-center !important;
  36. }
  37. /* Color Palette */
  38. .bx-artificer .col-red1 {
  39. @apply text-red-500;
  40. }
  41. .bx-artificer .bg-col-red1 {
  42. @apply bg-red-400;
  43. }
  44. .bx-artificer .col-red1-dark {
  45. @apply text-red-800;
  46. }
  47. .bx-artificer .bg-col-red1-dark {
  48. @apply bg-red-700;
  49. }
  50. .bx-artificer .col-red2 {
  51. @apply text-rose-500;
  52. }
  53. .bx-artificer .bg-col-red2 {
  54. @apply bg-rose-400;
  55. }
  56. .bx-artificer .col-red2-dark {
  57. @apply text-rose-800;
  58. }
  59. .bx-artificer .bg-col-red2-dark {
  60. @apply bg-rose-700;
  61. }
  62. .bx-artificer .col-red3 {
  63. @apply text-orange-500;
  64. }
  65. .bx-artificer .bg-col-red3 {
  66. @apply bg-orange-400;
  67. }
  68. .bx-artificer .col-red3-dark {
  69. @apply text-orange-800;
  70. }
  71. .bx-artificer .bg-col-red3-dark {
  72. @apply bg-orange-700;
  73. }
  74. .bx-artificer .col-green1 {
  75. @apply text-green-500;
  76. }
  77. .bx-artificer .bg-col-green1 {
  78. @apply bg-green-400;
  79. }
  80. .bx-artificer .col-green1-dark {
  81. @apply text-green-800;
  82. }
  83. .bx-artificer .bg-col-green1-dark {
  84. @apply bg-green-700;
  85. }
  86. .bx-artificer .col-green2 {
  87. @apply text-teal-500;
  88. }
  89. .bx-artificer .bg-col-green2 {
  90. @apply bg-teal-400;
  91. }
  92. .bx-artificer .col-green2-dark {
  93. @apply text-teal-800;
  94. }
  95. .bx-artificer .bg-col-green2-dark {
  96. @apply bg-teal-700;
  97. }
  98. .bx-artificer .col-green3 {
  99. @apply text-emerald-500;
  100. }
  101. .bx-artificer .bg-col-green3 {
  102. @apply bg-emerald-400;
  103. }
  104. .bx-artificer .col-green3-dark {
  105. @apply text-emerald-800;
  106. }
  107. .bx-artificer .bg-col-green3-dark {
  108. @apply bg-emerald-700;
  109. }
  110. .bx-artificer .col-blue1 {
  111. @apply text-blue-500;
  112. }
  113. .bx-artificer .bg-col-blue1 {
  114. @apply bg-blue-400;
  115. }
  116. .bx-artificer .col-blue1-dark {
  117. @apply text-blue-800;
  118. }
  119. .bx-artificer .bg-col-blue1-dark {
  120. @apply bg-blue-700;
  121. }
  122. .bx-artificer .col-blue2 {
  123. @apply text-purple-500;
  124. }
  125. .bx-artificer .bg-col-blue2 {
  126. @apply bg-purple-400;
  127. }
  128. .bx-artificer .col-blue2-dark {
  129. @apply text-purple-800;
  130. }
  131. .bx-artificer .bg-col-blue2-dark {
  132. @apply bg-purple-700;
  133. }
  134. .bx-artificer .col-blue3 {
  135. @apply text-sky-500;
  136. }
  137. .bx-artificer .bg-col-blue3 {
  138. @apply bg-sky-400;
  139. }
  140. .bx-artificer .col-blue3-dark {
  141. @apply text-sky-800;
  142. }
  143. .bx-artificer .bg-col-blue3-dark {
  144. @apply bg-sky-700;
  145. }
  146. .bx-artificer .col-gray {
  147. @apply text-gray-500;
  148. }
  149. .bx-artificer .bg-col-gray {
  150. @apply bg-gray-400;
  151. }
  152. .bx-artificer .col-gray-dark {
  153. @apply text-gray-800;
  154. }
  155. .bx-artificer .bg-col-gray-dark {
  156. @apply bg-gray-700;
  157. }
  158. /* Margins and Paddings */
  159. .bx-artificer .bx-def-centered {
  160. @apply mx-auto;
  161. }
  162. .bx-artificer .bx-def-margin {
  163. @apply m-4;
  164. }
  165. .bx-artificer .bx-def-margin-left {
  166. @apply ml-4;
  167. }
  168. .bx-artificer .bx-def-margin-left-auto {
  169. @apply ml-4 first:ml-0;
  170. }
  171. .bx-artificer .bx-def-margin-right {
  172. @apply mr-4;
  173. }
  174. .bx-artificer .bx-def-margin-top {
  175. @apply mt-4;
  176. }
  177. .bx-artificer .bx-def-margin-top-auto {
  178. @apply mt-4 first:mt-0;
  179. }
  180. .bx-artificer .bx-def-margin-bottom {
  181. @apply mb-4;
  182. }
  183. .bx-artificer .bx-def-margin-leftright {
  184. @apply mx-4;
  185. }
  186. .bx-artificer .bx-def-margin-leftright-neg {
  187. @apply -mx-4;
  188. }
  189. .bx-artificer .bx-def-margin-topbottom {
  190. @apply my-4;
  191. }
  192. .bx-artificer .bx-def-margin-topbottom-neg {
  193. @apply -my-4;
  194. }
  195. .bx-artificer .bx-def-margin-lefttopright {
  196. @apply mx-4 mt-4;
  197. }
  198. .bx-artificer .bx-def-margin-rightbottomleft {
  199. @apply mx-4 mb-4;
  200. }
  201. .bx-artificer .bx-def-margin-sec {
  202. @apply m-2;
  203. }
  204. .bx-artificer .bx-def-margin-sec-left {
  205. @apply ml-2;
  206. }
  207. .bx-artificer .bx-def-margin-sec-left-auto {
  208. @apply ml-2 first:ml-0;
  209. }
  210. .bx-artificer .bx-def-margin-sec-right {
  211. @apply mr-2;
  212. }
  213. .bx-artificer .bx-def-margin-sec-top {
  214. @apply mt-2;
  215. }
  216. .bx-artificer .bx-def-margin-sec-top-auto {
  217. @apply mt-2 first:mt-0;
  218. }
  219. .bx-artificer .bx-def-margin-sec-bottom {
  220. @apply mb-2;
  221. }
  222. .bx-artificer .bx-def-margin-sec-bottom-neg {
  223. @apply -mb-2;
  224. }
  225. .bx-artificer .bx-def-margin-sec-leftright {
  226. @apply mx-2;
  227. }
  228. .bx-artificer .bx-def-margin-sec-leftright-neg {
  229. @apply -mx-2;
  230. }
  231. .bx-artificer .bx-def-margin-sec-lefttopright-neg {
  232. @apply -mx-2 -mt-2;
  233. }
  234. .bx-artificer .bx-def-margin-sec-topbottom {
  235. @apply my-2;
  236. }
  237. .bx-artificer .bx-def-margin-sec-topbottom-neg {
  238. @apply -my-2;
  239. }
  240. .bx-artificer .bx-def-margin-sec-lefttopright {
  241. @apply mx-2 mt-2;
  242. }
  243. .bx-artificer .bx-def-margin-sec-rightbottomleft {
  244. @apply mx-2 mb-2;
  245. }
  246. .bx-artificer .bx-def-margin-thd {
  247. @apply m-1;
  248. }
  249. .bx-artificer .bx-def-margin-thd-left {
  250. @apply ml-1;
  251. }
  252. .bx-artificer .bx-def-margin-thd-left-auto {
  253. @apply ml-1 first:ml-0;
  254. }
  255. .bx-artificer .bx-def-margin-thd-right {
  256. @apply mr-1;
  257. }
  258. .bx-artificer .bx-def-margin-thd-top {
  259. @apply mt-1;
  260. }
  261. .bx-artificer .bx-def-margin-thd-top-auto {
  262. @apply mt-1 first:mt-0;
  263. }
  264. .bx-artificer .bx-def-margin-thd-bottom {
  265. @apply mb-1;
  266. }
  267. .bx-artificer .bx-def-margin-thd-leftright {
  268. @apply mx-1;
  269. }
  270. .bx-artificer .bx-def-margin-thd-leftright-neg {
  271. @apply -mx-1;
  272. }
  273. .bx-artificer .bx-def-margin-thd-topbottom {
  274. @apply my-1;
  275. }
  276. .bx-artificer .bx-def-margin-thd-topbottom-neg {
  277. @apply -my-1;
  278. }
  279. .bx-artificer .bx-def-margin-thd-lefttopright {
  280. @apply mx-1 mt-1;
  281. }
  282. .bx-artificer .bx-def-margin-thd-rightbottomleft {
  283. @apply mx-1 mb-1;
  284. }
  285. .bx-artificer .bx-def-padding {
  286. @apply p-4;
  287. }
  288. .bx-artificer .bx-def-padding-left {
  289. @apply pl-4;
  290. }
  291. .bx-artificer .bx-def-padding-left-auto {
  292. @apply pl-4 first:pl-0;
  293. }
  294. .bx-artificer .bx-def-padding-right {
  295. @apply pr-4;
  296. }
  297. .bx-artificer .bx-def-padding-top {
  298. @apply pt-4;
  299. }
  300. .bx-artificer .bx-def-padding-top-auto {
  301. @apply pt-4 first:pt-0;
  302. }
  303. .bx-artificer .bx-def-padding-bottom {
  304. @apply pb-4;
  305. }
  306. .bx-artificer .bx-def-padding-leftright {
  307. @apply px-4;
  308. }
  309. .bx-artificer .bx-def-padding-topbottom {
  310. @apply py-4;
  311. }
  312. .bx-artificer .bx-def-padding-lefttopright {
  313. @apply px-4 pt-4;
  314. }
  315. .bx-artificer .bx-def-padding-rightbottomleft {
  316. @apply px-4 pb-4;
  317. }
  318. .bx-artificer .bx-def-padding-sec {
  319. @apply p-2;
  320. }
  321. .bx-artificer .bx-def-padding-sec-left {
  322. @apply pl-2;
  323. }
  324. .bx-artificer .bx-def-padding-sec-left-auto {
  325. @apply pl-2 first:pl-0;
  326. }
  327. .bx-artificer .bx-def-padding-sec-right {
  328. @apply pr-2;
  329. }
  330. .bx-artificer .bx-def-padding-sec-top {
  331. @apply pt-2;
  332. }
  333. .bx-artificer .bx-def-padding-sec-top-auto {
  334. @apply pt-2 first:pt-0;
  335. }
  336. .bx-artificer .bx-def-padding-sec-bottom {
  337. @apply pb-2;
  338. }
  339. .bx-artificer .bx-def-padding-sec-leftright {
  340. @apply px-2;
  341. }
  342. .bx-artificer .bx-def-padding-sec-topbottom {
  343. @apply py-2;
  344. }
  345. .bx-artificer .bx-def-padding-sec-lefttopright {
  346. @apply px-2 pt-2;
  347. }
  348. .bx-artificer .bx-def-padding-sec-rightbottomleft {
  349. @apply px-2 pb-2;
  350. }
  351. .bx-artificer .bx-def-padding-thd {
  352. @apply p-1;
  353. }
  354. .bx-artificer .bx-def-padding-thd-left {
  355. @apply pl-1;
  356. }
  357. .bx-artificer .bx-def-padding-thd-left-auto {
  358. @apply pl-1 first:pl-0;
  359. }
  360. .bx-artificer .bx-def-padding-thd-right {
  361. @apply pr-1;
  362. }
  363. .bx-artificer .bx-def-padding-thd-top {
  364. @apply pt-1;
  365. }
  366. .bx-artificer .bx-def-padding-thd-top-auto {
  367. @apply pt-1 first:pt-0;
  368. }
  369. .bx-artificer .bx-def-padding-thd-bottom {
  370. @apply pb-1;
  371. }
  372. .bx-artificer .bx-def-padding-thd-leftright {
  373. @apply px-1;
  374. }
  375. .bx-artificer .bx-def-padding-thd-topbottom {
  376. @apply py-1;
  377. }
  378. .bx-artificer .bx-def-padding-thd-lefttopright {
  379. @apply px-1 pt-1;
  380. }
  381. .bx-artificer .bx-def-padding-thd-rightbottomleft {
  382. @apply px-1 pb-1;
  383. }
  384. /* Borders */
  385. .bx-artificer .bx-def-border {
  386. @apply border border-gray-200 dark:border-gray-700;
  387. }
  388. .bx-artificer .bx-def-round-corners {
  389. @apply rounded-md;
  390. }
  391. /* Fonts */
  392. .bx-def-font,
  393. .bx-artificer .bx-def-font-inputs:not(.bx-btn) {
  394. @apply font-inter text-gray-500 dark:text-gray-400;
  395. }
  396. .bx-def-font-grayed {
  397. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  398. }
  399. .bx-artificer .bx-def-a-colored {
  400. @apply no-underline text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  401. }
  402. .bx-artificer .bx-def-font-small {
  403. @apply text-xs;
  404. }
  405. .bx-artificer .bx-def-font-middle {
  406. @apply text-sm;
  407. }
  408. .bx-artificer .bx-def-font-large {
  409. @apply text-lg;
  410. }
  411. .bx-artificer h3,
  412. .bx-artificer .bx-def-font-h3 {
  413. @apply text-xl;
  414. }
  415. .bx-artificer h2,
  416. .bx-artificer .bx-def-font-h2 {
  417. @apply text-2xl;
  418. }
  419. .bx-artificer h1,
  420. .bx-artificer .bx-def-font-h1 {
  421. @apply text-3xl leading-10;
  422. }
  423. /* Common elements: Pages. */
  424. .bx-def-color-bg-page{
  425. @apply bg-gray-100 dark:bg-gray-900;
  426. }
  427. /* Common elements: Blocks, Boxes, etc. */
  428. .bx-artificer .bx-def-box {
  429. @apply flex flex-col overflow-hidden;
  430. }
  431. .bx-artificer .bx-def-box.bx-def-box-hor {
  432. @apply flex-row;
  433. }
  434. .bx-artificer .bx-def-color-bg-block,
  435. .bx-artificer .bx-def-color-bg-box,
  436. .bx-artificer .bx-popup-color-bg {
  437. @apply bg-white dark:bg-gray-800 shadow;
  438. }
  439. .bx-artificer .bx-def-border-block,
  440. .bx-artificer .bx-def-box,
  441. .bx-artificer .bx-popup-border {
  442. @apply ring-1 ring-gray-300 dark:ring-gray-700;
  443. }
  444. .bx-artificer .bx-def-border-radius-block,
  445. .bx-artificer .bx-def-box-round-corners,
  446. .bx-artificer .bx-popup-border {
  447. @apply rounded-md;
  448. }
  449. .bx-artificer .bx-content-padding-block {
  450. @apply p-3 md:p-4;
  451. }
  452. .bx-artificer .bx-def-color-bg-box-hover {
  453. @apply hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-800 dark:hover:text-gray-200;
  454. }
  455. .bx-artificer .bx-def-color-bg-box-active {
  456. @apply bg-gray-100 dark:bg-gray-700;
  457. }
  458. .bx-artificer .bx-db-title {
  459. @apply leading-8 text-lg lg:text-xl text-gray-800 dark:text-gray-100 font-semibold align-middle;
  460. }
  461. /* Common Elements: HR */
  462. .bx-artificer .bx-def-hr {
  463. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  464. }
  465. /* Common Elements: Labels */
  466. .bx-artificer .bx-def-label {
  467. @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;
  468. }
  469. /* Common Elements: Alerts */
  470. .bx-def-unit-alert,
  471. .bx-def-unit-alert-small,
  472. .bx-def-unit-alert-middle {
  473. @apply block absolute top-0 -right-0.5 text-center text-white;
  474. }
  475. .bx-def-unit-alert {
  476. @apply h-4 p-1 leading-4 rounded-full text-xs;
  477. min-width: 1rem;
  478. }
  479. /* Common elements: Buttons */
  480. .bx-btn-shadow {
  481. @apply shadow-sm hover:shadow active:shadow-none;
  482. }
  483. .bx-btn-border {
  484. @apply border border-gray-300 dark:border-gray-600 rounded-md;
  485. }
  486. .bx-btn-bg {
  487. @apply bg-gray-100 dark:bg-gray-700;
  488. }
  489. .bx-btn-text {
  490. @apply text-sm text-gray-700 dark:text-gray-100 font-medium ;
  491. }
  492. .bx-btn-hover {
  493. @apply hover:bg-white dark:hover:bg-gray-600;
  494. @apply hover:border-gray-300 dark:hover:border-gray-500;
  495. @apply hover:text-gray-800 dark:hover:text-white;
  496. @apply hover:-translate-y-px;
  497. }
  498. .bx-btn-active {
  499. @apply active:bg-gray-300 dark:active:bg-gray-800;
  500. @apply active:border-gray-400 dark:active:border-gray-700;
  501. @apply active:text-gray-900 dark:active:text-gray-200;
  502. @apply active:translate-y-px;
  503. }
  504. .bx-btn {
  505. @apply relative inline-flex items-center px-4 py-2;
  506. @apply bx-btn-shadow;
  507. @apply bx-btn-bg;
  508. @apply bx-btn-border;
  509. @apply bx-btn-text;
  510. @apply transform-gpu transition-all duration-150;
  511. @apply bx-btn-hover bx-btn-active;
  512. }
  513. .bx-btn i,
  514. .bx-btn u {
  515. @apply inline-block align-middle;
  516. }
  517. .bx-btn i,
  518. .bx-btn img {
  519. @apply w-5 h-5 leading-5 text-gray-600 dark:text-gray-300;
  520. }
  521. .bx-btn:hover i,
  522. .bx-btn:hover img {
  523. @apply text-gray-800 dark:text-gray-100;
  524. }
  525. .bx-btn i {
  526. @apply text-center;
  527. }
  528. .bx-btn u {
  529. @apply ml-2 first:ml-0 no-underline;
  530. }
  531. .bx-btn.bx-btn-primary {
  532. @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;
  533. @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;
  534. @apply text-white hover:text-white active:text-white dark:text-white dark:hover:text-white dark:active:text-white;
  535. }
  536. .bx-btn.bx-btn-primary i,
  537. .bx-btn.bx-btn-primary img {
  538. @apply text-gray-300;
  539. }
  540. .bx-btn.bx-btn-primary:hover i,
  541. .bx-btn.bx-btn-primary:hover img {
  542. @apply text-gray-100;
  543. }
  544. .bx-btn.bx-btn-disabled {
  545. @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;
  546. }
  547. .bx-btn.bx-btn-small {
  548. @apply py-1 text-xs;
  549. }
  550. .bx-btn.bx-btn-small i,
  551. .bx-btn.bx-btn-small img {
  552. @apply w-4 h-4 leading-4;
  553. }
  554. /* Common elements: Forms */
  555. .bx-artificer form {
  556. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  557. }
  558. .bx-artificer form a:not(.bx-btn),
  559. .bx-artificer .sys-jf-agreement a:not(.bx-btn),
  560. .bx-artificer .sys-lf-agreement a:not(.bx-btn) {
  561. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  562. }
  563. .bx-artificer .bx-form-caption {
  564. @apply text-gray-700 dark:text-gray-300 text-sm font-medium;
  565. }
  566. .bx-artificer .bx-form-value {
  567. @apply mt-1 first:mt-0;
  568. }
  569. .bx-artificer .bx-form-required,
  570. .bx-artificer .bx-form-warn {
  571. @apply text-red-400;
  572. }
  573. /* Common elements: Forms: Text Input */
  574. .bx-artificer .bx-form-input-slider,
  575. .bx-artificer .bx-form-input-doublerange,
  576. .bx-artificer .bx-form-input-select_multiple,
  577. .bx-artificer .bx-form-input-select,
  578. .bx-artificer .bx-form-input-number,
  579. .bx-artificer .bx-form-input-time,
  580. .bx-artificer .bx-form-input-datepicker,
  581. .bx-artificer .bx-form-input-datetime,
  582. .bx-artificer .bx-form-input-textarea,
  583. .bx-artificer .bx-form-input-text,
  584. .bx-artificer .bx-form-input-price,
  585. .bx-artificer .bx-form-input-wrapper-price span {
  586. @apply block w-full px-3 py-1.5;
  587. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  588. @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;
  589. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  590. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  591. @apply rounded-md;
  592. }
  593. div.ql-editor:focus{
  594. @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;
  595. }
  596. /* Common elements: Forms: Password Input */
  597. .bx-artificer .bx-form-input-wrapper-password {
  598. @apply relative block w-full pl-3 pr-8;
  599. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  600. @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;
  601. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  602. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  603. @apply rounded-md;
  604. }
  605. /* Common elements: Forms: Checkbox/Radio Set Input */
  606. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  607. .bx-artificer .bx-form-input-wrapper-radio_set {
  608. @apply relative block w-full py-2 px-3;
  609. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  610. @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;
  611. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  612. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  613. @apply rounded-md;
  614. }
  615. /* Common elements: Forms: Checkbox Input */
  616. .bx-artificer .bx-form-input-checkbox,
  617. .bx-artificer .bx-form-input-radio {
  618. @apply block w-4 h-4;
  619. @apply bg-gray-50 dark:bg-gray-900/50 bg-origin-border;
  620. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70;
  621. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  622. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  623. @apply rounded;
  624. @apply appearance-none select-none;
  625. }
  626. .bx-artificer .bx-form-input-checkbox:checked {
  627. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTEyLjIwNyA0Ljc5M2ExIDEgMCAwIDEgMCAxLjQxNGwtNSA1YTEgMSAwIDAgMS0xLjQxNCAwbC0yLTJhMSAxIDAgMCAxIDEuNDE0LTEuNDE0TDYuNSA5LjA4Nmw0LjI5My00LjI5M2ExIDEgMCAwIDEgMS40MTQgMHonLz48L3N2Zz4=)
  628. }
  629. .bx-artificer .bx-form-input-radio:checked {
  630. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGNpcmNsZSBjeD0nOCcgY3k9JzgnIHI9JzMnLz48L3N2Zz4=)
  631. }
  632. /* Common elements: Forms: Switcher Input */
  633. .bx-artificer .bx-switcher-cont.on button {
  634. @apply bg-white dark:bg-gray-800;
  635. }
  636. .bx-artificer .bx-switcher-cont.on button span {
  637. @apply bg-green-500 dark:bg-green-500 translate-x-5;
  638. }
  639. .bx-artificer .bx-switcher-cont.off button {
  640. @apply bg-gray-200 dark:bg-gray-900;
  641. }
  642. .bx-artificer .bx-switcher-cont.off button span {
  643. @apply bg-white dark:bg-gray-500 translate-x-0;
  644. }
  645. /* Common elements: Forms: Autosuggestion Input */
  646. .bx-artificer .bx-form-input-text.bx-form-input-autotoken {
  647. @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
  648. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  649. @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;
  650. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  651. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  652. @apply rounded-md;
  653. }
  654. .bx-artificer .bx-form-input-autotoken b.val {
  655. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  656. }
  657. /* Common elements: Popups */
  658. .bx-artificer .bx-popup-wrapper {
  659. @apply overflow-visible;
  660. }
  661. .bx-artificer .bx-popup-applied {
  662. @apply rounded-lg;
  663. }
  664. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  665. @apply w-full md:w-auto;
  666. }
  667. .bx-artificer .bx-popup-full-screen {
  668. @apply w-full;
  669. }
  670. .bx-artificer .bx-popup {
  671. @apply relative;
  672. }
  673. .bx-artificer .bx-popup-color-bg {
  674. @apply bg-white dark:bg-gray-800 shadow;
  675. }
  676. .bx-artificer .bx-popup-border {
  677. @apply ring-1 ring-gray-300 dark:ring-gray-700 rounded-md;
  678. }
  679. .bx-artificer .bx-popup-width {
  680. @apply w-full md:w-128;
  681. }
  682. .bx-artificer .bx-popup-width-small,
  683. .bx-artificer .bx-popup-menu .bx-popup-content {
  684. @apply w-56;
  685. }
  686. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  687. @apply w-full md:w-full;
  688. }
  689. .bx-artificer .bx-popup-fog {
  690. @apply bg-gray-600 opacity-75;
  691. }
  692. /* Common elements: Menus */
  693. .bx-artificer .bx-stl-mil,
  694. .bx-artificer .bx-stl-mil-sm {
  695. @apply flex items-center px-3 py-1.5;
  696. @apply leading-6 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 font-medium;
  697. @apply active:bg-gray-300 dark:active:bg-black/50 hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  698. @apply rounded-md;
  699. }
  700. .bx-artificer .bx-stl-mil-sm {
  701. @apply px-2 leading-5;
  702. }
  703. .bx-artificer .bx-stl-mil-hover {
  704. @apply hover:text-gray-800 dark:hover:text-gray-200;
  705. @apply hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  706. }
  707. .bx-artificer .bx-stl-mil-active {
  708. @apply active:bg-gray-300 dark:active:bg-black/50;
  709. }
  710. .bx-artificer .bx-popup .bx-stl-mil,
  711. .bx-artificer .bx-popup .bx-stl-mil-sm {
  712. @apply rounded-none;
  713. }
  714. .bx-artificer .bx-menu-tab-active .bx-stl-mil,
  715. .bx-artificer .bx-menu-tab-active .bx-stl-mil-sm,
  716. .bx-artificer .bx-db-header .bx-menu-custom-hor li.bx-menu-tab-active a {
  717. @apply ring-1 ring-white/50 dark:ring-gray-800/50 bg-gray-200 dark:bg-gray-900 text-gray-900 dark:text-white;
  718. }
  719. .bx-artificer .bx-popup .bx-menu-tab-active .bx-stl-mil,
  720. .bx-artificer .bx-popup .bx-menu-tab-active .bx-stl-mil-sm {
  721. @apply ring-0;
  722. }
  723. .bx-artificer .bx-stl-mii,
  724. .bx-artificer .bx-stl-mii-sm,
  725. .bx-artificer .bx-stl-mil .sys-action-do-icon {
  726. @apply flex items-center justify-center h-6 w-6 mr-3 leading-6 text-gray-500 text-lg;
  727. }
  728. .bx-artificer .bx-stl-mii-sm {
  729. @apply h-4 w-4 mr-1 leading-4 text-sm;
  730. }
  731. .bx-artificer .bx-stl-mit {
  732. @apply truncate;
  733. }
  734. .bx-artificer .bx-stl-mia {
  735. @apply inline-block py-0.5 px-2 bg-gray-200 dark:bg-gray-800 text-gray-600 dark:text-gray-300 text-xs rounded-full;
  736. }
  737. /* Horizontal menu */
  738. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  739. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  740. @apply text-gray-700 dark:text-gray-200 font-medium;
  741. }
  742. /* Vertical menu */
  743. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  744. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  745. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  746. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  747. }
  748. /* Vertical menu in Popup */
  749. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  750. @apply hover:text-gray-900 dark:hover:text-gray-100;
  751. }
  752. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  753. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  754. }
  755. /* Main menu */
  756. /* Page Submenu */
  757. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  758. @apply text-gray-900 dark:text-gray-100;
  759. }
  760. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  761. @apply bg-blue-500 group-hover:bg-blue-500;
  762. }
  763. /* Profile Stats menu */
  764. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-menu-tab-active {
  765. @apply bg-slate-900/[.08] dark:bg-slate-900 ring-1 ring-gray-200 dark:ring-gray-800 text-gray-900 dark:text-white;
  766. }
  767. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-more,
  768. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-less {
  769. @apply text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300
  770. }
  771. /* Profile Cover Actions */
  772. .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 {
  773. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  774. }
  775. /* Common elements: Informers */
  776. .bx-artificer .bx-informer-msg a {
  777. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  778. }
  779. .bx-artificer .bx-informer-msg-info {
  780. @apply bg-blue-50 text-blue-700;
  781. }
  782. .bx-artificer .bx-informer-msg-alert {
  783. @apply bg-yellow-50 text-yellow-700;
  784. }
  785. .bx-artificer .bx-informer-msg-error {
  786. @apply bg-red-50 text-red-700;
  787. }
  788. .bx-artificer .bx-form-row-view-value {
  789. @apply truncate;
  790. }
  791. /* Common elements: Comments */
  792. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  793. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  794. }
  795. /* Common elements: Units */
  796. .bx-artificer .bx-def-icon-size {
  797. @apply h-8 w-8;
  798. }
  799. .bx-artificer .bx-def-thumb-size {
  800. @apply h-10 w-10;
  801. }
  802. .bx-artificer .bx-def-ava-size {
  803. @apply h-24 w-24;
  804. }
  805. .bx-artificer .bx-def-ava-big-size {
  806. @apply w-48 h-48;
  807. }
  808. .bx-artificer .bx-base-pofile-unit-online {
  809. @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;
  810. }
  811. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  812. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  813. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  814. }
  815. /* Common elements: Auth */
  816. .sys-auth-block {
  817. @apply grid-cols-2;
  818. }
  819. .sys-auth-block.sys-auth-compact-container {
  820. @apply grid-cols-4;
  821. }
  822. /* Common elements: Votes */
  823. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  824. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  825. @apply text-gray-300 dark:text-gray-700;
  826. }
  827. /* Modules: Timeline */
  828. .bx-artificer .bx-tl-item-text .bx-tl-content.bx-tl-overflow:before {
  829. @apply bg-gradient-to-b from-transparent to-white dark:to-gray-800;
  830. }
  831. /* 3d Party: Flickity */
  832. .bx-artificer .flickity-button {
  833. @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;
  834. }
  835. /* 3d Party: Quill */
  836. .bx-artificer .ql-mention-list li {
  837. @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;
  838. }
  839. }