tailwind.css 14 KB

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