tailwind.css 15 KB

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