tailwind.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  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. /* Margins and Paddings */
  38. .bx-artificer .bx-def-centered {
  39. @apply mx-auto;
  40. }
  41. .bx-artificer .bx-def-margin {
  42. @apply m-4;
  43. }
  44. .bx-artificer .bx-def-margin-left {
  45. @apply ml-4;
  46. }
  47. .bx-artificer .bx-def-margin-left-auto {
  48. @apply ml-4 first:ml-0;
  49. }
  50. .bx-artificer .bx-def-margin-right {
  51. @apply mr-4;
  52. }
  53. .bx-artificer .bx-def-margin-top {
  54. @apply mt-4;
  55. }
  56. .bx-artificer .bx-def-margin-top-auto {
  57. @apply mt-4 first:mt-0;
  58. }
  59. .bx-artificer .bx-def-margin-bottom {
  60. @apply mb-4;
  61. }
  62. .bx-artificer .bx-def-margin-leftright {
  63. @apply mx-4;
  64. }
  65. .bx-artificer .bx-def-margin-leftright-neg {
  66. @apply -mx-4;
  67. }
  68. .bx-artificer .bx-def-margin-topbottom {
  69. @apply my-4;
  70. }
  71. .bx-artificer .bx-def-margin-topbottom-neg {
  72. @apply -my-4;
  73. }
  74. .bx-artificer .bx-def-margin-lefttopright {
  75. @apply mx-4 mt-4;
  76. }
  77. .bx-artificer .bx-def-margin-rightbottomleft {
  78. @apply mx-4 mb-4;
  79. }
  80. .bx-artificer .bx-def-margin-sec {
  81. @apply m-2;
  82. }
  83. .bx-artificer .bx-def-margin-sec-left {
  84. @apply ml-2;
  85. }
  86. .bx-artificer .bx-def-margin-sec-left-auto {
  87. @apply ml-2 first:ml-0;
  88. }
  89. .bx-artificer .bx-def-margin-sec-right {
  90. @apply mr-2;
  91. }
  92. .bx-artificer .bx-def-margin-sec-top {
  93. @apply mt-2;
  94. }
  95. .bx-artificer .bx-def-margin-sec-top-auto {
  96. @apply mt-2 first:mt-0;
  97. }
  98. .bx-artificer .bx-def-margin-sec-bottom {
  99. @apply mb-2;
  100. }
  101. .bx-artificer .bx-def-margin-sec-leftright {
  102. @apply mx-2;
  103. }
  104. .bx-artificer .bx-def-margin-sec-leftright-neg {
  105. @apply -mx-2;
  106. }
  107. .bx-artificer .bx-def-margin-sec-topbottom {
  108. @apply my-2;
  109. }
  110. .bx-artificer .bx-def-margin-sec-topbottom-neg {
  111. @apply -my-2;
  112. }
  113. .bx-artificer .bx-def-margin-sec-lefttopright {
  114. @apply mx-2 mt-2;
  115. }
  116. .bx-artificer .bx-def-margin-sec-rightbottomleft {
  117. @apply mx-2 mb-2;
  118. }
  119. .bx-artificer .bx-def-margin-thd {
  120. @apply m-1;
  121. }
  122. .bx-artificer .bx-def-margin-thd-left {
  123. @apply ml-1;
  124. }
  125. .bx-artificer .bx-def-margin-thd-left-auto {
  126. @apply ml-1 first:ml-0;
  127. }
  128. .bx-artificer .bx-def-margin-thd-right {
  129. @apply mr-1;
  130. }
  131. .bx-artificer .bx-def-margin-thd-top {
  132. @apply mt-1;
  133. }
  134. .bx-artificer .bx-def-margin-thd-top-auto {
  135. @apply mt-1 first:mt-0;
  136. }
  137. .bx-artificer .bx-def-margin-thd-bottom {
  138. @apply mb-1;
  139. }
  140. .bx-artificer .bx-def-margin-thd-leftright {
  141. @apply mx-1;
  142. }
  143. .bx-artificer .bx-def-margin-thd-leftright-neg {
  144. @apply -mx-1;
  145. }
  146. .bx-artificer .bx-def-margin-thd-topbottom {
  147. @apply my-1;
  148. }
  149. .bx-artificer .bx-def-margin-thd-topbottom-neg {
  150. @apply -my-1;
  151. }
  152. .bx-artificer .bx-def-margin-thd-lefttopright {
  153. @apply mx-1 mt-1;
  154. }
  155. .bx-artificer .bx-def-margin-thd-rightbottomleft {
  156. @apply mx-1 mb-1;
  157. }
  158. .bx-artificer .bx-def-padding {
  159. @apply p-4;
  160. }
  161. .bx-artificer .bx-def-padding-left {
  162. @apply pl-4;
  163. }
  164. .bx-artificer .bx-def-padding-left-auto {
  165. @apply pl-4 first:pl-0;
  166. }
  167. .bx-artificer .bx-def-padding-right {
  168. @apply pr-4;
  169. }
  170. .bx-artificer .bx-def-padding-top {
  171. @apply pt-4;
  172. }
  173. .bx-artificer .bx-def-padding-top-auto {
  174. @apply pt-4 first:pt-0;
  175. }
  176. .bx-artificer .bx-def-padding-bottom {
  177. @apply pb-4;
  178. }
  179. .bx-artificer .bx-def-padding-leftright {
  180. @apply px-4;
  181. }
  182. .bx-artificer .bx-def-padding-topbottom {
  183. @apply py-4;
  184. }
  185. .bx-artificer .bx-def-padding-lefttopright {
  186. @apply px-4 pt-4;
  187. }
  188. .bx-artificer .bx-def-padding-rightbottomleft {
  189. @apply px-4 pb-4;
  190. }
  191. .bx-artificer .bx-def-padding-sec {
  192. @apply p-2;
  193. }
  194. .bx-artificer .bx-def-padding-sec-left {
  195. @apply pl-2;
  196. }
  197. .bx-artificer .bx-def-padding-sec-left-auto {
  198. @apply pl-2 first:pl-0;
  199. }
  200. .bx-artificer .bx-def-padding-sec-right {
  201. @apply pr-2;
  202. }
  203. .bx-artificer .bx-def-padding-sec-top {
  204. @apply pt-2;
  205. }
  206. .bx-artificer .bx-def-padding-sec-top-auto {
  207. @apply pt-2 first:pt-0;
  208. }
  209. .bx-artificer .bx-def-padding-sec-bottom {
  210. @apply pb-2;
  211. }
  212. .bx-artificer .bx-def-padding-sec-leftright {
  213. @apply px-2;
  214. }
  215. .bx-artificer .bx-def-padding-sec-topbottom {
  216. @apply py-2;
  217. }
  218. .bx-artificer .bx-def-padding-lefttopright {
  219. @apply px-2 pt-2;
  220. }
  221. .bx-artificer .bx-def-padding-rightbottomleft {
  222. @apply px-2 pb-2;
  223. }
  224. .bx-artificer .bx-def-padding-thd {
  225. @apply p-1;
  226. }
  227. .bx-artificer .bx-def-padding-thd-left {
  228. @apply pl-1;
  229. }
  230. .bx-artificer .bx-def-padding-thd-left-auto {
  231. @apply pl-1 first:pl-0;
  232. }
  233. .bx-artificer .bx-def-padding-thd-right {
  234. @apply pr-1;
  235. }
  236. .bx-artificer .bx-def-padding-thd-top {
  237. @apply pt-1;
  238. }
  239. .bx-artificer .bx-def-padding-thd-top-auto {
  240. @apply pt-1 first:pt-0;
  241. }
  242. .bx-artificer .bx-def-padding-thd-bottom {
  243. @apply pb-1;
  244. }
  245. .bx-artificer .bx-def-padding-thd-leftright {
  246. @apply px-1;
  247. }
  248. .bx-artificer .bx-def-padding-thd-topbottom {
  249. @apply py-1;
  250. }
  251. .bx-artificer .bx-def-padding-lefttopright {
  252. @apply px-1 pt-1;
  253. }
  254. .bx-artificer .bx-def-padding-rightbottomleft {
  255. @apply px-1 pb-1;
  256. }
  257. /* Fonts */
  258. .bx-artificer .bx-def-font,
  259. .bx-artificer .bx-def-font-inputs {
  260. @apply font-inter;
  261. }
  262. .bx-artificer .bx-def-font-grayed {
  263. @apply text-gray-700 dark:text-gray-500 text-opacity-60;
  264. }
  265. .bx-artificer .bx-def-a-colored {
  266. @apply no-underline text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  267. }
  268. .bx-artificer .bx-def-font-small {
  269. @apply text-sm;
  270. }
  271. .bx-artificer .bx-def-font-middle {
  272. @apply text-lg;
  273. }
  274. .bx-artificer .bx-def-font-large {
  275. @apply text-xl;
  276. }
  277. .bx-artificer h3,
  278. .bx-artificer .bx-def-font-h3 {
  279. @apply text-2xl;
  280. }
  281. .bx-artificer h2,
  282. .bx-artificer .bx-def-font-h2 {
  283. @apply text-3xl;
  284. }
  285. .bx-artificer h1,
  286. .bx-artificer .bx-def-font-h1 {
  287. @apply text-4xl leading-10;
  288. }
  289. /* Common elements: Blocks, Boxes, etc. */
  290. .bx-artificer .bx-def-color-bg-block {
  291. @apply bg-gray-50 dark:bg-gray-900;
  292. }
  293. .bx-artificer .bx-def-color-bg-box {
  294. @apply bg-white dark:bg-gray-800;
  295. }
  296. .bx-artificer .bx-def-color-bg-box-active {
  297. @apply bg-gray-100 dark:bg-gray-700;
  298. }
  299. /* Common Elements: HR */
  300. .bx-artificer .bx-def-hr {
  301. @apply mx-0 p-0 border-t border-gray-200 dark:border-gray-700;
  302. }
  303. /* Common Elements: Labels */
  304. .bx-artificer .bx-def-label {
  305. @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;
  306. }
  307. /* Common Elements: Alerts */
  308. .bx-def-unit-alert,
  309. .bx-def-unit-alert-small,
  310. .bx-def-unit-alert-middle {
  311. @apply block absolute top-0 -right-0.5 text-center text-white;
  312. }
  313. .bx-def-unit-alert {
  314. @apply h-4 p-1 leading-4 rounded-full text-xs;
  315. min-width: 1rem;
  316. }
  317. /* Common elements: Buttons */
  318. .bx-artificer .bx-btn {
  319. @apply relative inline-flex justify-center items-center px-4 py-2 border border-gray-300 dark:border-gray-700 text-sm font-medium text-gray-700 dark:text-gray-300 dark:hover:text-white hover:text-gray-800 whitespace-nowrap bg-white dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 rounded-md shadow-sm hover:shadow-md cursor-pointer;
  320. }
  321. .bx-artificer .bx-btn i,
  322. .bx-artificer .bx-btn u {
  323. @apply inline-block align-middle;
  324. }
  325. .bx-artificer .bx-btn i,
  326. .bx-artificer .bx-btn img {
  327. @apply w-5 h-5 leading-5 text-gray-600 dark:text-gray-300;
  328. }
  329. .bx-artificer .bx-btn:hover i,
  330. .bx-artificer .bx-btn:hover img {
  331. @apply text-gray-800 dark:text-gray-100;
  332. }
  333. .bx-artificer .bx-btn i {
  334. @apply text-center;
  335. }
  336. .bx-artificer .bx-btn u {
  337. @apply ml-2 first:ml-0 no-underline;
  338. }
  339. .bx-artificer .bx-btn.bx-btn-primary {
  340. @apply border-transparent text-white hover:text-white dark:hover:text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500;
  341. }
  342. .bx-artificer .bx-btn.bx-btn-primary i,
  343. .bx-artificer .bx-btn.bx-btn-primary img {
  344. @apply text-gray-300;
  345. }
  346. .bx-artificer .bx-btn.bx-btn-primary:hover i,
  347. .bx-artificer .bx-btn.bx-btn-primary:hover img {
  348. @apply text-gray-100;
  349. }
  350. .bx-artificer .bx-btn.bx-btn-disabled {
  351. @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;
  352. }
  353. .bx-artificer .bx-btn.bx-btn-small {
  354. @apply py-1 text-xs;
  355. }
  356. .bx-artificer .bx-btn.bx-btn-small i,
  357. .bx-artificer .bx-btn.bx-btn-small img {
  358. @apply w-4 h-4 leading-4;
  359. }
  360. /* Common elements: Forms */
  361. .bx-artificer form {
  362. @apply text-sm font-normal text-gray-700 dark:text-gray-300;
  363. }
  364. .bx-artificer form a,
  365. .bx-artificer .sys-jf-agreement a,
  366. .bx-artificer .sys-lf-agreement a {
  367. @apply font-normal text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  368. }
  369. .bx-artificer .bx-form-value {
  370. @apply mt-1 first:mt-0;
  371. }
  372. .bx-artificer .bx-form-required,
  373. .bx-artificer .bx-form-warn {
  374. @apply text-red-400;
  375. }
  376. .bx-artificer .bx-switcher-cont.on button {
  377. @apply bg-white dark:bg-gray-800;
  378. }
  379. .bx-artificer .bx-switcher-cont.on button span {
  380. @apply bg-green-500 dark:bg-green-500 translate-x-5;
  381. }
  382. .bx-artificer .bx-switcher-cont.off button {
  383. @apply bg-gray-200 dark:bg-gray-900;
  384. }
  385. .bx-artificer .bx-switcher-cont.off button span {
  386. @apply bg-white dark:bg-gray-500 translate-x-0;
  387. }
  388. .bx-artificer .bx-form-input-autotoken b.val {
  389. @apply bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600;
  390. }
  391. /* Common elements: Popups */
  392. .bx-artificer .bx-popup-wrapper {
  393. @apply overflow-visible;
  394. }
  395. .bx-artificer .bx-popup-applied {
  396. @apply rounded-lg;
  397. }
  398. .bx-artificer .bx-popup-responsive:not(.bx-popup-full-screen):not(.bx-popup-menu) {
  399. @apply w-full md:w-auto;
  400. }
  401. .bx-artificer .bx-popup-full-screen {
  402. @apply w-full;
  403. }
  404. .bx-artificer .bx-popup-width {
  405. @apply w-full md:w-128;
  406. }
  407. .bx-artificer .bx-popup-full-screen .bx-popup-width {
  408. @apply w-full md:w-full;
  409. }
  410. .bx-artificer .bx-popup-fog {
  411. @apply bg-gray-600 opacity-75;
  412. }
  413. /* Common elements: Menus */
  414. /* Horizontal menu */
  415. .bx-artificer .bx-menu-hor li.bx-menu-tab-active a,
  416. .bx-artificer .bx-menu-custom-hor li.bx-menu-tab-active a {
  417. @apply text-gray-700 dark:text-gray-200 font-medium;
  418. }
  419. .bx-artificer .bx-db-header .bx-menu-custom-hor li.bx-menu-tab-active a {
  420. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  421. }
  422. /* Vertical menu */
  423. .bx-artificer .bx-menu-ver li.bx-menu-tab-active .bx-mi-highlight,
  424. .bx-artificer .bx-menu-verlit li.bx-menu-tab-active .bx-mi-highlight,
  425. .bx-artificer .bx-menu-custom-ver li.bx-menu-tab-active .bx-mi-highlight {
  426. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white font-medium;
  427. }
  428. /* Vertical menu in Popup */
  429. .bx-artificer .bx-popup .bx-menu-ver > li:hover {
  430. @apply hover:text-gray-900 dark:hover:text-gray-100;
  431. }
  432. .bx-artificer .bx-popup .bx-menu-ver > li.bx-def-color-bg-active {
  433. @apply bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white;
  434. }
  435. /* Main menu */
  436. .bx-artificer .bx-toolbar-item.bx-ti-menu .bx-menu-main .bx-menu-item.bx-menu-tab-active {
  437. @apply opacity-100 ring-1 ring-gray-200 dark:ring-gray-600 bg-gray-50 dark:bg-gray-700 shadow;
  438. }
  439. .bx-artificer .bx-toolbar-item.bx-ti-menu .bx-menu-main .bx-menu-item.bx-menu-tab-active a {
  440. @apply text-gray-900 dark:text-white;
  441. }
  442. .bx-artificer .bx-toolbar-item.bx-ti-menu .bx-menu-main .bx-popup .bx-menu-item.bx-menu-tab-active {
  443. @apply opacity-100 ring-0 bg-gray-50 dark:bg-gray-700 shadow-none;
  444. }
  445. /* Page Submenu */
  446. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active a {
  447. @apply text-gray-900 dark:text-gray-100;
  448. }
  449. .bx-artificer .bx-menu-main-submenu .bx-menu-item.bx-menu-tab-active .bx-mi-underline {
  450. @apply bg-blue-500 group-hover:bg-blue-500;
  451. }
  452. /* Profile Cover Actions */
  453. .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 {
  454. @apply border-transparent text-gray-200 hover:text-white bg-blue-600 hover:bg-blue-700 focus:ring-blue-500;
  455. }
  456. /* Common elements: Informers */
  457. .bx-artificer .bx-informer-msg a {
  458. @apply text-blue-600 hover:text-blue-700 dark:text-blue-500 dark:hover:text-blue-600;
  459. }
  460. .bx-artificer .bx-informer-msg-info {
  461. @apply bg-blue-50 text-blue-700;
  462. }
  463. .bx-artificer .bx-informer-msg-alert {
  464. @apply bg-yellow-50 text-yellow-700;
  465. }
  466. .bx-artificer .bx-informer-msg-error {
  467. @apply bg-red-50 text-red-700;
  468. }
  469. .bx-artificer .bx-form-row-view-value {
  470. @apply truncate;
  471. }
  472. /* Common elements: Comments */
  473. .bx-artificer .cmt .bx-base-general-unit-meta-username {
  474. @apply text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white;
  475. }
  476. /* Common elements: Units */
  477. .bx-artificer .bx-def-icon-size {
  478. @apply h-8 w-8;
  479. }
  480. .bx-artificer .bx-def-thumb-size {
  481. @apply h-10 w-10;
  482. }
  483. .bx-artificer .bx-def-ava-size {
  484. @apply h-24 w-24;
  485. }
  486. .bx-artificer .bx-def-ava-big-size {
  487. @apply w-48 h-48;
  488. }
  489. .bx-artificer .bx-base-general-unit-meta .bx-base-profile-unit-meta-item > a:not(.bx-btn),
  490. .bx-artificer .bx-base-general-unit-meta ul.bx-menu-custom.bx-menu-custom-hor .bx-base-pofile-unit {
  491. @apply p-1 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700;
  492. }
  493. /* Modules: Timeline */
  494. .bx-artificer .bx-menu-custom-hor.bx-menu-object-bx_timeline_menu_view li.bx-menu-tab-active a {
  495. @apply bg-gray-50 dark:bg-gray-700 ring-1 ring-gray-200 dark:ring-gray-600 text-gray-900 dark:text-white shadow;
  496. }
  497. .bx-artificer .bx-tl-view.bx-tl-view-timeline .bx-tl-cnt .bx-tl-items:before {
  498. @apply bg-gray-200 dark:bg-gray-700;
  499. }
  500. }