globals.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. @import "preflight.css";
  2. @tailwind base;
  3. @tailwind components;
  4. @import '../../themes/light.css';
  5. @import '../../themes/dark.css';
  6. @import "../../themes/manual-light.css";
  7. @import "../../themes/manual-dark.css";
  8. html {
  9. color-scheme: light;
  10. }
  11. html[data-theme='dark'] {
  12. color-scheme: dark;
  13. }
  14. html[data-changing-theme] * {
  15. transition: none !important;
  16. }
  17. :root {
  18. --max-width: 1100px;
  19. --border-radius: 12px;
  20. --font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono",
  21. "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro",
  22. "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
  23. --foreground-rgb: 0, 0, 0;
  24. --background-start-rgb: 214, 219, 220;
  25. --background-end-rgb: 255, 255, 255;
  26. --primary-glow: conic-gradient(from 180deg at 50% 50%,
  27. #16abff33 0deg,
  28. #0885ff33 55deg,
  29. #54d6ff33 120deg,
  30. #0071ff33 160deg,
  31. transparent 360deg);
  32. --secondary-glow: radial-gradient(rgba(255, 255, 255, 1),
  33. rgba(255, 255, 255, 0));
  34. --tile-start-rgb: 239, 245, 249;
  35. --tile-end-rgb: 228, 232, 233;
  36. --tile-border: conic-gradient(#00000080,
  37. #00000040,
  38. #00000030,
  39. #00000020,
  40. #00000010,
  41. #00000010,
  42. #00000080);
  43. --callout-rgb: 238, 240, 241;
  44. --callout-border-rgb: 172, 175, 176;
  45. --card-rgb: 180, 185, 188;
  46. --card-border-rgb: 131, 134, 135;
  47. }
  48. /* @media (prefers-color-scheme: dark) {
  49. :root {
  50. --foreground-rgb: 255, 255, 255;
  51. --background-start-rgb: 0, 0, 0;
  52. --background-end-rgb: 0, 0, 0;
  53. --primary-glow: radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0));
  54. --secondary-glow: linear-gradient(to bottom right,
  55. rgba(1, 65, 255, 0),
  56. rgba(1, 65, 255, 0),
  57. rgba(1, 65, 255, 0.3));
  58. --tile-start-rgb: 2, 13, 46;
  59. --tile-end-rgb: 2, 5, 19;
  60. --tile-border: conic-gradient(#ffffff80,
  61. #ffffff40,
  62. #ffffff30,
  63. #ffffff20,
  64. #ffffff10,
  65. #ffffff10,
  66. #ffffff80);
  67. --callout-rgb: 20, 20, 20;
  68. --callout-border-rgb: 108, 108, 108;
  69. --card-rgb: 100, 100, 100;
  70. --card-border-rgb: 200, 200, 200;
  71. }
  72. } */
  73. * {
  74. box-sizing: border-box;
  75. padding: 0;
  76. margin: 0;
  77. }
  78. html,
  79. body {
  80. max-width: 100vw;
  81. overflow: hidden;
  82. }
  83. body {
  84. color: rgb(var(--foreground-rgb));
  85. user-select: none;
  86. /* background: linear-gradient(
  87. to bottom,
  88. transparent,
  89. rgb(var(--background-end-rgb))
  90. )
  91. rgb(var(--background-start-rgb)); */
  92. }
  93. a {
  94. color: inherit;
  95. text-decoration: none;
  96. outline: none;
  97. }
  98. button:focus-within {
  99. outline: none;
  100. }
  101. /* @media (prefers-color-scheme: dark) {
  102. html {
  103. color-scheme: dark;
  104. }
  105. } */
  106. /* CSS Utils */
  107. .h1 {
  108. padding-bottom: 1.5rem;
  109. line-height: 1.5;
  110. font-size: 1.125rem;
  111. color: #111928;
  112. }
  113. .h2 {
  114. font-size: 14px;
  115. font-weight: 500;
  116. color: #111928;
  117. line-height: 1.5;
  118. }
  119. /* font define start */
  120. .system-kbd {
  121. font-size: 12px;
  122. font-weight: 500;
  123. line-height: 16px;
  124. }
  125. .system-2xs-regular-uppercase {
  126. font-size: 10px;
  127. font-weight: 400;
  128. text-transform: uppercase;
  129. line-height: 12px;
  130. }
  131. .system-2xs-regular {
  132. font-size: 10px;
  133. font-weight: 400;
  134. line-height: 12px;
  135. }
  136. .system-2xs-medium {
  137. font-size: 10px;
  138. font-weight: 500;
  139. line-height: 12px;
  140. }
  141. .system-2xs-medium-uppercase {
  142. font-size: 10px;
  143. font-weight: 500;
  144. text-transform: uppercase;
  145. line-height: 12px;
  146. }
  147. .system-2xs-semibold-uppercase {
  148. font-size: 10px;
  149. font-weight: 600;
  150. text-transform: uppercase;
  151. line-height: 12px;
  152. }
  153. .system-xs-regular {
  154. font-size: 12px;
  155. font-weight: 400;
  156. line-height: 16px;
  157. }
  158. .system-xs-regular-uppercase {
  159. font-size: 12px;
  160. font-weight: 400;
  161. text-transform: uppercase;
  162. line-height: 16px;
  163. }
  164. .system-xs-medium {
  165. font-size: 12px;
  166. font-weight: 500;
  167. line-height: 16px;
  168. }
  169. .system-xs-medium-uppercase {
  170. font-size: 12px;
  171. font-weight: 500;
  172. text-transform: uppercase;
  173. line-height: 16px;
  174. }
  175. .system-xs-semibold {
  176. font-size: 12px;
  177. font-weight: 600;
  178. line-height: 16px;
  179. }
  180. .system-xs-semibold-uppercase {
  181. font-size: 12px;
  182. font-weight: 600;
  183. text-transform: uppercase;
  184. line-height: 16px;
  185. }
  186. .system-sm-regular {
  187. font-size: 13px;
  188. font-weight: 400;
  189. line-height: 16px;
  190. }
  191. .system-sm-medium {
  192. font-size: 13px;
  193. font-weight: 500;
  194. line-height: 16px;
  195. }
  196. .system-sm-medium-uppercase {
  197. font-size: 13px;
  198. font-weight: 500;
  199. text-transform: uppercase;
  200. line-height: 16px;
  201. }
  202. .system-sm-semibold {
  203. font-size: 13px;
  204. font-weight: 600;
  205. line-height: 16px;
  206. }
  207. .system-sm-semibold-uppercase {
  208. font-size: 13px;
  209. font-weight: 600;
  210. text-transform: uppercase;
  211. line-height: 16px;
  212. }
  213. .system-md-regular {
  214. font-size: 14px;
  215. font-weight: 400;
  216. line-height: 20px;
  217. }
  218. .system-md-medium {
  219. font-size: 14px;
  220. font-weight: 500;
  221. line-height: 20px;
  222. }
  223. .system-md-semibold {
  224. font-size: 14px;
  225. font-weight: 600;
  226. line-height: 20px;
  227. }
  228. .system-md-semibold-uppercase {
  229. font-size: 14px;
  230. font-weight: 600;
  231. text-transform: uppercase;
  232. line-height: 20px;
  233. }
  234. .system-xl-regular {
  235. font-size: 16px;
  236. font-weight: 400;
  237. line-height: 24px;
  238. }
  239. .system-xl-medium {
  240. font-size: 16px;
  241. font-weight: 500;
  242. line-height: 24px;
  243. }
  244. .system-xl-semibold {
  245. font-size: 16px;
  246. font-weight: 600;
  247. line-height: 24px;
  248. }
  249. [class*="code-"] {
  250. @apply font-mono;
  251. }
  252. .code-xs-regular {
  253. font-size: 12px;
  254. font-weight: 400;
  255. line-height: 1.5;
  256. }
  257. .code-xs-semibold {
  258. font-size: 12px;
  259. font-weight: 600;
  260. line-height: 1.5;
  261. }
  262. .code-sm-regular {
  263. font-size: 13px;
  264. font-weight: 400;
  265. line-height: 1.5;
  266. }
  267. .code-sm-semibold {
  268. font-size: 13px;
  269. font-weight: 600;
  270. line-height: 1.5;
  271. }
  272. .code-md-regular {
  273. font-size: 14px;
  274. font-weight: 400;
  275. line-height: 1.5;
  276. }
  277. .code-md-semibold {
  278. font-size: 14px;
  279. font-weight: 600;
  280. line-height: 1.5;
  281. }
  282. .body-xs-light {
  283. font-size: 12px;
  284. font-weight: 300;
  285. line-height: 16px;
  286. }
  287. .body-xs-regular {
  288. font-size: 12px;
  289. font-weight: 400;
  290. line-height: 16px;
  291. }
  292. .body-xs-medium {
  293. font-size: 12px;
  294. font-weight: 500;
  295. line-height: 16px;
  296. }
  297. .body-sm-light {
  298. font-size: 13px;
  299. font-weight: 300;
  300. line-height: 16px;
  301. }
  302. .body-sm-regular {
  303. font-size: 13px;
  304. font-weight: 400;
  305. line-height: 16px;
  306. }
  307. .body-sm-medium {
  308. font-size: 13px;
  309. font-weight: 500;
  310. line-height: 16px;
  311. }
  312. .body-md-light {
  313. font-size: 14px;
  314. font-weight: 300;
  315. line-height: 20px;
  316. }
  317. .body-md-regular {
  318. font-size: 14px;
  319. font-weight: 400;
  320. line-height: 20px;
  321. }
  322. .body-md-medium {
  323. font-size: 14px;
  324. font-weight: 500;
  325. line-height: 20px;
  326. }
  327. .body-lg-light {
  328. font-size: 15px;
  329. font-weight: 300;
  330. line-height: 20px;
  331. }
  332. .body-lg-regular {
  333. font-size: 15px;
  334. font-weight: 400;
  335. line-height: 20px;
  336. }
  337. .body-lg-medium {
  338. font-size: 15px;
  339. font-weight: 500;
  340. line-height: 20px;
  341. }
  342. .body-xl-regular {
  343. font-size: 16px;
  344. font-weight: 400;
  345. line-height: 24px;
  346. }
  347. .body-xl-medium {
  348. font-size: 16px;
  349. font-weight: 500;
  350. line-height: 24px;
  351. }
  352. .body-xl-light {
  353. font-size: 16px;
  354. font-weight: 300;
  355. line-height: 24px;
  356. }
  357. .body-2xl-light {
  358. font-size: 18px;
  359. font-weight: 300;
  360. line-height: 1.5;
  361. }
  362. .body-2xl-regular {
  363. font-size: 18px;
  364. font-weight: 400;
  365. line-height: 1.5;
  366. }
  367. .body-2xl-medium {
  368. font-size: 18px;
  369. font-weight: 500;
  370. line-height: 1.5;
  371. }
  372. .title-xs-semi-bold {
  373. font-size: 12px;
  374. font-weight: 600;
  375. line-height: 16px;
  376. }
  377. .title-xs-bold {
  378. font-size: 12px;
  379. font-weight: 700;
  380. line-height: 16px;
  381. }
  382. .title-sm-semi-bold {
  383. font-size: 13px;
  384. font-weight: 600;
  385. line-height: 16px;
  386. }
  387. .title-sm-bold {
  388. font-size: 13px;
  389. font-weight: 700;
  390. line-height: 16px;
  391. }
  392. .title-md-semi-bold {
  393. font-size: 14px;
  394. font-weight: 600;
  395. line-height: 20px;
  396. }
  397. .title-md-bold {
  398. font-size: 14px;
  399. font-weight: 700;
  400. line-height: 20px;
  401. }
  402. .title-lg-semi-bold {
  403. font-size: 15px;
  404. font-weight: 600;
  405. line-height: 1.2;
  406. }
  407. .title-lg-bold {
  408. font-size: 15px;
  409. font-weight: 700;
  410. line-height: 1.2;
  411. }
  412. .title-xl-semi-bold {
  413. font-size: 16px;
  414. font-weight: 600;
  415. line-height: 1.2;
  416. }
  417. .title-xl-bold {
  418. font-size: 16px;
  419. font-weight: 700;
  420. line-height: 1.2;
  421. }
  422. .title-2xl-semi-bold {
  423. font-size: 18px;
  424. font-weight: 600;
  425. line-height: 1.2;
  426. }
  427. .title-2xl-bold {
  428. font-size: 18px;
  429. font-weight: 700;
  430. line-height: 1.2;
  431. }
  432. .title-3xl-semi-bold {
  433. font-size: 20px;
  434. font-weight: 600;
  435. line-height: 1.2;
  436. }
  437. .title-3xl-bold {
  438. font-size: 20px;
  439. font-weight: 700;
  440. line-height: 1.2;
  441. }
  442. .title-4xl-semi-bold {
  443. font-size: 24px;
  444. font-weight: 600;
  445. line-height: 1.2;
  446. }
  447. .title-4xl-bold {
  448. font-size: 24px;
  449. font-weight: 700;
  450. line-height: 1.2;
  451. }
  452. .title-5xl-semi-bold {
  453. font-size: 30px;
  454. font-weight: 600;
  455. line-height: 1.2;
  456. }
  457. .title-5xl-bold {
  458. font-size: 30px;
  459. font-weight: 700;
  460. line-height: 1.2;
  461. }
  462. .title-6xl-semi-bold {
  463. font-size: 36px;
  464. font-weight: 600;
  465. line-height: 1.2;
  466. }
  467. .title-6xl-bold {
  468. font-size: 36px;
  469. font-weight: 700;
  470. line-height: 1.2;
  471. }
  472. .title-7xl-semi-bold {
  473. font-size: 48px;
  474. font-weight: 600;
  475. line-height: 1.2;
  476. }
  477. .title-7xl-bold {
  478. font-size: 48px;
  479. font-weight: 700;
  480. line-height: 1.2;
  481. }
  482. .title-8xl-semi-bold {
  483. font-size: 60px;
  484. font-weight: 600;
  485. line-height: 1.2;
  486. }
  487. .title-8xl-bold {
  488. font-size: 60px;
  489. font-weight: 700;
  490. line-height: 1.2;
  491. }
  492. /* font define end */
  493. /* border radius start */
  494. .radius-2xs {
  495. border-radius: 2px;
  496. }
  497. .radius-xs {
  498. border-radius: 4px;
  499. }
  500. .radius-sm {
  501. border-radius: 6px;
  502. }
  503. .radius-md {
  504. border-radius: 8px;
  505. }
  506. .radius-lg {
  507. border-radius: 10px;
  508. }
  509. .radius-xl {
  510. border-radius: 12px;
  511. }
  512. .radius-2xl {
  513. border-radius: 16px;
  514. }
  515. .radius-3xl {
  516. border-radius: 20px;
  517. }
  518. .radius-4xl {
  519. border-radius: 24px;
  520. }
  521. .radius-5xl {
  522. border-radius: 24px;
  523. }
  524. .radius-6xl {
  525. border-radius: 28px;
  526. }
  527. .radius-7xl {
  528. border-radius: 32px;
  529. }
  530. .radius-8xl {
  531. border-radius: 40px;
  532. }
  533. .radius-9xl {
  534. border-radius: 48px;
  535. }
  536. .radius-full {
  537. border-radius: 64px;
  538. }
  539. /* border radius end */
  540. .link {
  541. @apply text-blue-600 cursor-pointer hover:opacity-80 transition-opacity duration-200 ease-in-out;
  542. }
  543. .text-gradient {
  544. background: linear-gradient(91.58deg, #2250f2 -29.55%, #0ebcf3 75.22%);
  545. -webkit-background-clip: text;
  546. -webkit-text-fill-color: transparent;
  547. background-clip: text;
  548. text-fill-color: transparent;
  549. }
  550. /* overwrite paging active dark model style */
  551. [class*="style_paginatio"] li .text-primary-600 {
  552. color: rgb(28 100 242);
  553. background-color: rgb(235 245 255);
  554. }
  555. /* support safari 14 and below */
  556. .inset-0 {
  557. left: 0;
  558. right: 0;
  559. top: 0;
  560. bottom: 0;
  561. }
  562. [data-theme="dark"] [data-hide-on-theme="dark"],
  563. [data-theme="light"] [data-hide-on-theme="light"] {
  564. display: none;
  565. }
  566. @import "../components/base/button/index.css";
  567. @import "../components/base/action-button/index.css";
  568. @import "../components/base/modal/index.css";
  569. @tailwind utilities;
  570. @layer utilities {
  571. /* Hide scrollbar for Chrome, Safari and Opera */
  572. .no-scrollbar::-webkit-scrollbar {
  573. display: none;
  574. }
  575. /* Hide scrollbar for IE, Edge and Firefox */
  576. .no-scrollbar {
  577. -ms-overflow-style: none;
  578. scrollbar-width: none;
  579. }
  580. }