tailwind.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011
  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-def-font-author {
  400. @apply text-sm text-gray-700 dark:text-gray-200 font-semibold;
  401. }
  402. .bx-def-font-meta {
  403. @apply text-sm font-normal;
  404. }
  405. .bx-def-font-meta:not(a) {
  406. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  407. }
  408. .bx-artificer .bx-def-a-colored {
  409. @apply no-underline text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  410. }
  411. .bx-artificer .bx-def-font-small {
  412. @apply text-xs;
  413. }
  414. .bx-artificer .bx-def-font-middle {
  415. @apply text-sm;
  416. }
  417. .bx-artificer .bx-def-font-large {
  418. @apply text-lg;
  419. }
  420. .bx-artificer h3,
  421. .bx-artificer .bx-def-font-h3 {
  422. @apply text-xl;
  423. }
  424. .bx-artificer h2,
  425. .bx-artificer .bx-def-font-h2 {
  426. @apply text-2xl;
  427. }
  428. .bx-artificer h1,
  429. .bx-artificer .bx-def-font-h1 {
  430. @apply text-3xl leading-10;
  431. }
  432. /* Common elements: Pages. */
  433. .bx-def-color-bg-page{
  434. @apply bg-gray-100 dark:bg-gray-900;
  435. }
  436. /* Common elements: Blocks, Boxes, etc. */
  437. .bx-artificer .bx-def-box {
  438. @apply flex flex-col overflow-hidden;
  439. }
  440. .bx-artificer .bx-def-box.bx-def-box-hor {
  441. @apply flex-row;
  442. }
  443. .bx-artificer .bx-def-color-bg-block,
  444. .bx-artificer .bx-def-color-bg-box,
  445. .bx-artificer .bx-popup-color-bg {
  446. @apply bg-white dark:bg-gray-800 shadow;
  447. }
  448. .bx-artificer .bx-def-border-block,
  449. .bx-artificer .bx-def-box,
  450. .bx-artificer .bx-popup-border {
  451. @apply ring-1 ring-gray-300 dark:ring-gray-700;
  452. }
  453. .bx-artificer .bx-def-border-radius-block,
  454. .bx-artificer .bx-def-box-round-corners,
  455. .bx-artificer .bx-popup-border {
  456. @apply rounded-md;
  457. }
  458. .bx-artificer .bx-content-padding-block {
  459. @apply p-3 md:p-4;
  460. }
  461. .bx-artificer .bx-def-color-bg-box-hover {
  462. @apply hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-800 dark:hover:text-gray-200;
  463. }
  464. .bx-artificer .bx-def-color-bg-box-active {
  465. @apply bg-gray-100 dark:bg-gray-700;
  466. }
  467. .bx-artificer .bx-db-title {
  468. @apply leading-8 text-lg lg:text-xl text-gray-800 dark:text-gray-100 font-semibold align-middle;
  469. }
  470. /* Common Elements: HR */
  471. .bx-artificer .bx-def-hr {
  472. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  473. }
  474. /* Common Elements: Labels */
  475. .bx-artificer .bx-def-label {
  476. @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;
  477. }
  478. /* Common Elements: Alerts */
  479. .bx-def-unit-alert,
  480. .bx-def-unit-alert-small,
  481. .bx-def-unit-alert-middle {
  482. @apply block absolute top-0 -right-0.5 text-center text-white;
  483. }
  484. .bx-def-unit-alert {
  485. @apply h-4 p-1 leading-4 rounded-full text-xs;
  486. min-width: 1rem;
  487. }
  488. /* Common elements: Buttons */
  489. .bx-btn-shadow {
  490. @apply shadow-sm hover:shadow active:shadow-none;
  491. }
  492. .bx-btn-border {
  493. @apply border border-gray-300 dark:border-gray-600 rounded-md;
  494. }
  495. .bx-btn-bg {
  496. @apply bg-gray-100 dark:bg-gray-700;
  497. }
  498. .bx-btn-text {
  499. @apply text-sm text-gray-700 dark:text-gray-100 font-medium ;
  500. }
  501. .bx-btn-hover {
  502. @apply hover:bg-white dark:hover:bg-gray-600;
  503. @apply hover:border-gray-300 dark:hover:border-gray-500;
  504. @apply hover:text-gray-800 dark:hover:text-white;
  505. @apply hover:-translate-y-px;
  506. }
  507. .bx-btn-active {
  508. @apply active:bg-gray-300 dark:active:bg-gray-800;
  509. @apply active:border-gray-400 dark:active:border-gray-700;
  510. @apply active:text-gray-900 dark:active:text-gray-200;
  511. @apply active:translate-y-px;
  512. }
  513. .bx-btn {
  514. @apply relative inline-flex items-center px-4 py-2;
  515. @apply bx-btn-shadow;
  516. @apply bx-btn-bg;
  517. @apply bx-btn-border;
  518. @apply bx-btn-text;
  519. @apply transform-gpu transition-all duration-150;
  520. @apply bx-btn-hover bx-btn-active;
  521. }
  522. .bx-btn i,
  523. .bx-btn u {
  524. @apply inline-block align-middle;
  525. }
  526. .bx-btn i,
  527. .bx-btn img {
  528. @apply w-5 h-5 leading-5 text-gray-600 dark:text-gray-300;
  529. }
  530. .bx-btn:hover i,
  531. .bx-btn:hover img {
  532. @apply text-gray-800 dark:text-gray-100;
  533. }
  534. .bx-btn i {
  535. @apply text-center;
  536. }
  537. .bx-btn u {
  538. @apply ml-2 first:ml-0 no-underline;
  539. }
  540. .bx-btn.bx-btn-primary {
  541. @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;
  542. @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;
  543. @apply text-white hover:text-white active:text-white dark:text-white dark:hover:text-white dark:active:text-white;
  544. }
  545. .bx-btn.bx-btn-primary i,
  546. .bx-btn.bx-btn-primary img {
  547. @apply text-gray-300;
  548. }
  549. .bx-btn.bx-btn-primary:hover i,
  550. .bx-btn.bx-btn-primary:hover img {
  551. @apply text-gray-100;
  552. }
  553. .bx-btn.bx-btn-disabled {
  554. @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;
  555. }
  556. .bx-btn.bx-btn-small {
  557. @apply py-1 text-xs;
  558. }
  559. .bx-btn.bx-btn-small i,
  560. .bx-btn.bx-btn-small img {
  561. @apply w-4 h-4 leading-4;
  562. }
  563. /* Common elements: Forms */
  564. .bx-artificer form {
  565. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  566. }
  567. .bx-artificer form a:not(.bx-btn),
  568. .bx-artificer .sys-jf-agreement a:not(.bx-btn),
  569. .bx-artificer .sys-lf-agreement a:not(.bx-btn) {
  570. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  571. }
  572. .bx-artificer .bx-form-caption {
  573. @apply text-gray-700 dark:text-gray-300 text-sm font-medium;
  574. }
  575. .bx-artificer .bx-form-value {
  576. @apply mt-1 first:mt-0;
  577. }
  578. .bx-artificer .bx-form-required,
  579. .bx-artificer .bx-form-warn {
  580. @apply text-red-400;
  581. }
  582. /* Common elements: Forms: Text Input */
  583. .bx-artificer .bx-form-input-slider,
  584. .bx-artificer .bx-form-input-doublerange,
  585. .bx-artificer .bx-form-input-select_multiple,
  586. .bx-artificer .bx-form-input-select,
  587. .bx-artificer .bx-form-input-number,
  588. .bx-artificer .bx-form-input-time,
  589. .bx-artificer .bx-form-input-datepicker,
  590. .bx-artificer .bx-form-input-datetime,
  591. .bx-artificer .bx-form-input-textarea,
  592. .bx-artificer .bx-form-input-text,
  593. .bx-artificer .bx-form-input-price,
  594. .bx-artificer .bx-form-input-wrapper-price span {
  595. @apply block w-full px-3 py-1.5;
  596. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  597. @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;
  598. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  599. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  600. @apply rounded-md;
  601. }
  602. /* Common elements: Forms: Password Input */
  603. .bx-artificer .bx-form-input-wrapper-password {
  604. @apply relative block w-full pl-3 pr-8;
  605. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  606. @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;
  607. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  608. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  609. @apply rounded-md;
  610. }
  611. /* Common elements: Forms: Checkbox/Radio Set Input */
  612. .bx-artificer .bx-form-input-wrapper-checkbox_set,
  613. .bx-artificer .bx-form-input-wrapper-radio_set {
  614. @apply relative block w-full py-2 px-3;
  615. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  616. @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;
  617. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  618. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  619. @apply rounded-md;
  620. }
  621. /* Common elements: Forms: Checkbox Input */
  622. .bx-artificer .bx-form-input-checkbox,
  623. .bx-artificer .bx-form-input-radio {
  624. @apply block w-4 h-4;
  625. @apply bg-gray-50 dark:bg-gray-900/50 bg-origin-border;
  626. @apply border border-gray-300 dark:border-gray-700 focus:border-blue-500 dark:focus:border-blue-500 focus:border-opacity-70;
  627. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  628. @apply rounded;
  629. @apply appearance-none select-none;
  630. }
  631. .bx-artificer .bx-def-font-inputs.bx-form-input-checkbox,
  632. .bx-artificer .bx-def-font-inputs.bx-form-input-radio {
  633. @apply leading-6 text-sm font-medium text-blue-600 dark:text-blue-600;
  634. }
  635. .bx-artificer .bx-form-input-checkbox:checked,
  636. .bx-artificer .bx-form-input-radio:checked {
  637. background-color: currentColor;
  638. border-color: transparent;
  639. }
  640. .bx-artificer .bx-form-input-checkbox:checked {
  641. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTEyLjIwNyA0Ljc5M2ExIDEgMCAwIDEgMCAxLjQxNGwtNSA1YTEgMSAwIDAgMS0xLjQxNCAwbC0yLTJhMSAxIDAgMCAxIDEuNDE0LTEuNDE0TDYuNSA5LjA4Nmw0LjI5My00LjI5M2ExIDEgMCAwIDEgMS40MTQgMHonLz48L3N2Zz4=)
  642. }
  643. .bx-artificer .bx-form-input-radio:checked {
  644. background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTYgMTYnIGZpbGw9JyNmZmYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PGNpcmNsZSBjeD0nOCcgY3k9JzgnIHI9JzMnLz48L3N2Zz4=)
  645. }
  646. /* Common elements: Forms: Switcher Input */
  647. .bx-artificer .bx-switcher-cont.on button {
  648. @apply bg-white dark:bg-gray-800;
  649. }
  650. .bx-artificer .bx-switcher-cont.on button span {
  651. @apply bg-green-500 dark:bg-green-500 translate-x-5;
  652. }
  653. .bx-artificer .bx-switcher-cont.off button {
  654. @apply bg-gray-200 dark:bg-gray-900;
  655. }
  656. .bx-artificer .bx-switcher-cont.off button span {
  657. @apply bg-white dark:bg-gray-500 translate-x-0;
  658. }
  659. /* Common elements: Forms: Autosuggestion Input */
  660. .bx-artificer .bx-form-input-text.bx-form-input-autotoken {
  661. @apply flex flex-wrap items-stretch w-full py-2 px-3 ;
  662. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  663. @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;
  664. @apply leading-6 text-sm font-medium text-gray-700 dark:text-gray-300 focus:text-gray-900 dark:focus:text-gray-100;
  665. @apply placeholder:text-gray-500 dark:focus:placeholder:text-gray-700 focus:placeholder:text-gray-300;
  666. @apply rounded-md;
  667. }
  668. .bx-artificer .bx-form-input-autotoken b.val {
  669. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  670. }
  671. /* Common elements: Popups */
  672. .bx-artificer .bx-popup-wrapper {
  673. @apply overflow-visible;
  674. }
  675. .bx-artificer .bx-popup-applied {
  676. @apply rounded-lg;
  677. }
  678. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  679. @apply w-full md:w-auto;
  680. }
  681. .bx-artificer .bx-popup-full-screen {
  682. @apply w-full;
  683. }
  684. .bx-artificer .bx-popup {
  685. @apply relative;
  686. }
  687. .bx-artificer .bx-popup-color-bg {
  688. @apply bg-white dark:bg-gray-800 shadow;
  689. }
  690. .bx-artificer .bx-popup-border {
  691. @apply ring-1 ring-gray-300 dark:ring-gray-700 rounded-md;
  692. }
  693. .bx-artificer .bx-popup-width {
  694. @apply w-full md:w-128;
  695. }
  696. .bx-artificer .bx-popup-width-small,
  697. .bx-artificer .bx-popup-menu .bx-popup-content {
  698. @apply w-56;
  699. }
  700. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  701. @apply w-full md:w-full;
  702. }
  703. .bx-artificer .bx-popup-fog {
  704. @apply bg-gray-600 opacity-75;
  705. }
  706. /* Common elements: Menus */
  707. .bx-artificer .bx-stl-mil,
  708. .bx-artificer .bx-stl-mil-sm,
  709. .bx-artificer .bx-stl-mil-wo-bg,
  710. .bx-artificer .bx-stl-mil-wo-bg-gaps {
  711. @apply leading-6 text-sm text-gray-600 dark:text-gray-400 hover:text-gray-800 dark:hover:text-gray-200 font-medium;
  712. }
  713. .bx-artificer .bx-stl-mil,
  714. .bx-artificer .bx-stl-mil-sm,
  715. .bx-artificer .bx-stl-mil-wo-bg {
  716. @apply flex items-center px-3 py-1.5;
  717. }
  718. .bx-artificer .bx-stl-mil,
  719. .bx-artificer .bx-stl-mil-sm {
  720. @apply active:bg-gray-300 dark:active:bg-black/50 hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  721. @apply rounded-md;
  722. }
  723. .bx-artificer .bx-stl-mil-sm {
  724. @apply px-2 leading-5;
  725. }
  726. .bx-artificer .bx-popup .bx-stl-mil-sm {
  727. @apply px-4;
  728. }
  729. .bx-artificer .bx-stl-mil-hover {
  730. @apply hover:text-gray-800 dark:hover:text-gray-200;
  731. @apply hover:bg-gray-200/50 dark:hover:bg-gray-700/50;
  732. }
  733. .bx-artificer .bx-stl-mil-active {
  734. @apply active:bg-gray-300 dark:active:bg-black/50;
  735. }
  736. .bx-artificer .bx-popup .bx-stl-mil,
  737. .bx-artificer .bx-popup .bx-stl-mil-sm {
  738. @apply rounded-none;
  739. }
  740. .bx-artificer .bx-menu-tab-active .bx-stl-mil,
  741. .bx-artificer .bx-menu-tab-active .bx-stl-mil-sm {
  742. @apply ring-1 ring-white/50 dark:ring-gray-800/50 bg-gray-200 dark:bg-gray-900 text-gray-900 dark:text-white;
  743. }
  744. .bx-artificer .bx-popup .bx-menu-tab-active .bx-stl-mil,
  745. .bx-artificer .bx-popup .bx-menu-tab-active .bx-stl-mil-sm {
  746. @apply ring-0;
  747. }
  748. .bx-artificer .bx-stl-mii,
  749. .bx-artificer .bx-stl-mii-sm,
  750. .bx-artificer .bx-stl-mil .sys-action-do-icon {
  751. @apply flex items-center justify-center text-gray-500 text-lg;
  752. }
  753. .bx-artificer .bx-stl-mii > *,
  754. .bx-artificer .bx-stl-mii-sm > *,
  755. .bx-artificer .bx-stl-mil .sys-action-do-icon > * {
  756. @apply flex items-center justify-center h-6 w-6 mr-3;
  757. }
  758. .bx-artificer .bx-stl-mii:last-child > *,
  759. .bx-artificer .bx-stl-mii-sm:last-child > *,
  760. .bx-artificer .bx-stl-mil .sys-action-do-icon:last-child > * {
  761. @apply mr-0;
  762. }
  763. .bx-artificer .bx-stl-mil .sys-action-do-icon ~ .sys-action-do-text {
  764. @apply ml-0;
  765. }
  766. .bx-artificer .bx-stl-mii-sm {
  767. @apply h-4 w-4 mr-1 leading-4 text-sm;
  768. }
  769. .bx-artificer .bx-stl-mit {
  770. @apply truncate;
  771. }
  772. .bx-artificer .bx-stl-mia {
  773. @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;
  774. }
  775. /* Horizontal menu */
  776. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  777. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  778. @apply text-gray-700 dark:text-gray-200 font-medium;
  779. }
  780. /* Vertical menu */
  781. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  782. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  783. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  784. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  785. }
  786. /* Vertical menu in Popup */
  787. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  788. @apply hover:text-gray-900 dark:hover:text-gray-100;
  789. }
  790. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  791. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  792. }
  793. /* Main menu */
  794. /* Page Submenu */
  795. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  796. @apply text-gray-900 dark:text-gray-100;
  797. }
  798. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  799. @apply bg-blue-500 group-hover:bg-blue-500;
  800. }
  801. /* Profile Stats menu */
  802. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-menu-tab-active {
  803. @apply bg-slate-900/[.08] dark:bg-slate-900 ring-1 ring-gray-200 dark:ring-gray-800 text-gray-900 dark:text-white;
  804. }
  805. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-more,
  806. .bx-artificer .bx-menu-profile-stats.bx-menu-ver li.bx-psmi-show-less {
  807. @apply text-gray-400 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300
  808. }
  809. /* Profile Cover Actions */
  810. .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 {
  811. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  812. }
  813. /* Common elements: Informers */
  814. .bx-artificer .bx-informer-msg a {
  815. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  816. }
  817. .bx-artificer .bx-informer-msg-info {
  818. @apply bg-blue-50 text-blue-700;
  819. }
  820. .bx-artificer .bx-informer-msg-alert {
  821. @apply bg-yellow-50 text-yellow-700;
  822. }
  823. .bx-artificer .bx-informer-msg-error {
  824. @apply bg-red-50 text-red-700;
  825. }
  826. .bx-artificer .bx-form-row-view-value {
  827. @apply truncate;
  828. }
  829. /* Common elements: All Actions */
  830. .bx-artificer .sys-action-counter.sys-ac-link,
  831. .bx-artificer .sys-action-counter .sys-ac-link {
  832. @apply flex items-center;
  833. @apply border-none;
  834. @apply text-gray-500 dark:text-gray-500 hover:text-gray-700 dark:hover:text-gray-300;
  835. @apply rounded-full;
  836. }
  837. .bx-artificer .sys-action-counter.sys-ac-only.sys-ac-link,
  838. .bx-artificer .sys-action-counter.sys-ac-only .sys-ac-link {
  839. @apply hover:bg-gray-100 dark:hover:bg-gray-600;
  840. }
  841. /* Common elements: Comments */
  842. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  843. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  844. }
  845. /* Common elements: Units */
  846. .bx-artificer .bx-def-icon-size {
  847. @apply h-8 w-8;
  848. }
  849. .bx-artificer .bx-def-thumb-size {
  850. @apply h-10 w-10;
  851. }
  852. .bx-artificer .bx-def-ava-size {
  853. @apply h-24 w-24;
  854. }
  855. .bx-artificer .bx-def-ava-big-size {
  856. @apply w-48 h-48;
  857. }
  858. .bx-artificer .bx-base-text-unit-title a,
  859. .bx-artificer .bx-tl-title a {
  860. @apply hover:underline hover:text-blue-700 dark:hover:text-blue-600;
  861. }
  862. .bx-artificer .bx-base-pofile-unit-online {
  863. @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;
  864. }
  865. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  866. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  867. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  868. }
  869. /* Common elements: Auth */
  870. .sys-auth-block {
  871. @apply grid-cols-2;
  872. }
  873. .sys-auth-block.sys-auth-compact-container {
  874. @apply grid-cols-4;
  875. }
  876. /* Common elements: Votes */
  877. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled,
  878. .bx-vote-likes .bx-vote-element-holder .bx-vote-do-vote.bx-vote-disabled .sys-icon {
  879. @apply text-gray-300 dark:text-gray-700;
  880. }
  881. /* Modules: Timeline */
  882. .bx-artificer .bx-tl-item-text .bx-tl-content.bx-tl-overflow:before {
  883. @apply bg-gradient-to-b from-transparent to-white dark:to-gray-800;
  884. }
  885. /* 3d Party: Flickity */
  886. .bx-artificer .flickity-button {
  887. @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;
  888. }
  889. /* 3d Party: Quill */
  890. .bx-artificer div.ql-editor {
  891. @apply bg-gray-50 dark:bg-gray-900/50 focus:bg-white dark:focus:bg-gray-900;
  892. }
  893. .bx-artificer div.ql-editor:focus{
  894. @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;
  895. }
  896. .bx-artificer .ql-mention-list li {
  897. @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;
  898. }
  899. }