2021-06-17 07:02:27 +08:00
|
|
|
@layer components {
|
2024-02-09 02:27:16 +08:00
|
|
|
.range-input {
|
2021-07-08 17:35:09 +08:00
|
|
|
height: 8px;
|
|
|
|
@apply appearance-none bg-gray-200 rounded-lg;
|
2021-07-06 17:22:04 +08:00
|
|
|
}
|
|
|
|
|
2024-02-09 02:27:16 +08:00
|
|
|
/*
|
|
|
|
Note that we need separate selectors, because at most one of these
|
|
|
|
pseudo-selectors is valid in the given browser, and an invalid one
|
|
|
|
would cause the whole rule to be invalid and ignored
|
|
|
|
*/
|
|
|
|
.range-input::-moz-range-thumb {
|
|
|
|
@apply w-5 h-5 appearance-none border-transparent bg-blue-600 hover:bg-blue-700 cursor-pointer rounded-xl;
|
2021-07-06 17:22:04 +08:00
|
|
|
}
|
|
|
|
|
2024-02-09 02:27:16 +08:00
|
|
|
.range-input::-webkit-slider-thumb {
|
|
|
|
@apply w-5 h-5 appearance-none border-transparent bg-blue-600 hover:bg-blue-700 cursor-pointer rounded-xl;
|
2021-06-17 07:02:27 +08:00
|
|
|
}
|
2021-03-23 21:10:34 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
/* Custom scrollbars */
|
2021-03-24 00:46:33 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
.tiny-scrollbar::-webkit-scrollbar {
|
|
|
|
width: 0.4rem;
|
|
|
|
height: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tiny-scrollbar::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
@apply bg-gray-400;
|
|
|
|
}
|
2021-03-24 00:46:33 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
.tiny-scrollbar::-webkit-scrollbar-track {
|
|
|
|
@apply bg-gray-100;
|
|
|
|
}
|
2021-02-21 23:54:44 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
/* Tabs */
|
2021-06-08 18:33:50 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
.tabs {
|
2023-03-07 01:14:33 +08:00
|
|
|
@apply w-full flex overflow-x-auto;
|
2021-06-17 07:02:27 +08:00
|
|
|
}
|
2021-06-08 18:33:50 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
.tabs .tab {
|
2023-03-07 01:14:33 +08:00
|
|
|
@apply flex items-center space-x-2 px-3 py-2 border-b-2 text-gray-400 border-gray-100 whitespace-nowrap;
|
2021-06-17 07:02:27 +08:00
|
|
|
}
|
2021-02-11 23:35:32 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
.tabs .tab.active {
|
|
|
|
@apply text-blue-600 border-blue-600;
|
|
|
|
}
|
2021-03-20 21:10:15 +08:00
|
|
|
|
2021-06-17 07:02:27 +08:00
|
|
|
/* Boxes */
|
|
|
|
|
|
|
|
.error-box {
|
2021-06-26 22:47:52 +08:00
|
|
|
@apply rounded-lg px-4 py-2 bg-red-100 text-red-400 font-medium;
|
2021-06-17 07:02:27 +08:00
|
|
|
}
|
2022-03-23 01:25:42 +08:00
|
|
|
|
|
|
|
.info-box {
|
|
|
|
@apply p-4 bg-gray-100 text-sm text-gray-500 font-medium rounded-lg;
|
|
|
|
}
|
2021-05-10 20:37:38 +08:00
|
|
|
}
|