lasthourcloud/resources/css/app.css

129 lines
2.8 KiB
CSS
Raw Normal View History

2023-05-12 13:39:07 +00:00
@tailwind base;
2023-03-17 14:33:48 +00:00
@tailwind components;
@tailwind utilities;
2023-05-03 12:36:53 +00:00
2023-05-26 13:19:01 +00:00
.scrollbar {
2023-07-05 19:26:21 +00:00
@apply scrollbar-thumb-coollabs-100 scrollbar-track-coolgray-200 scrollbar-w-2;
2023-05-26 13:19:01 +00:00
}
2023-05-26 13:19:14 +00:00
html {
2023-06-16 08:32:29 +00:00
@apply text-neutral-400;
2023-05-26 13:19:14 +00:00
}
2023-05-03 12:36:53 +00:00
body {
2023-07-05 19:26:21 +00:00
@apply text-sm antialiased scrollbar;
2023-05-25 19:23:03 +00:00
}
2023-06-16 08:32:29 +00:00
.main {
2023-07-05 19:26:21 +00:00
@apply max-w-screen-xl pt-4 pl-24 pr-10 mx-auto;
2023-05-18 11:26:35 +00:00
}
2023-06-16 08:32:29 +00:00
input {
2023-07-05 19:26:21 +00:00
@apply w-full text-white rounded outline-none input input-sm h-7 placeholder:text-neutral-700 bg-coolgray-200 read-only:bg-coolgray-200/50 read-only:text-opacity-25;
2023-06-16 10:00:36 +00:00
}
2023-06-19 09:15:46 +00:00
input:not(input[type="checkbox"]) {
2023-06-19 08:58:00 +00:00
@apply border-none disabled:border-none;
2023-06-16 08:32:29 +00:00
}
2023-05-18 11:26:35 +00:00
input[type="checkbox"] {
2023-07-05 19:26:21 +00:00
@apply rounded toggle toggle-warning toggle-xs disabled:toggle-warning;
2023-05-03 12:36:53 +00:00
}
2023-06-16 08:32:29 +00:00
textarea {
2023-07-05 19:26:21 +00:00
@apply text-xs leading-5 text-white rounded textarea read-only:bg-coolgray-200/50 disabled:border-none read-only:text-opacity-25 placeholder:text-neutral-700 scrollbar bg-coolgray-200;
2023-06-16 08:32:29 +00:00
}
select {
2023-07-05 19:26:21 +00:00
@apply font-normal text-white border-none rounded h-7 select select-xs disabled:bg-coolgray-200 disabled:opacity-50 placeholder:text-neutral-700 bg-coolgray-200;
2023-05-17 13:46:20 +00:00
}
2023-06-05 22:18:48 +00:00
.label-text,
label {
2023-06-16 10:35:40 +00:00
@apply text-neutral-400;
2023-05-22 09:21:03 +00:00
}
2023-05-17 13:46:20 +00:00
2023-06-02 10:34:45 +00:00
.loading {
@apply w-4 text-warning;
}
2023-05-18 11:26:35 +00:00
button[isWarning] {
2023-06-13 08:30:07 +00:00
@apply bg-red-600 hover:bg-red-500;
2023-05-18 11:26:35 +00:00
}
button[isHighlighted] {
2023-07-05 19:26:21 +00:00
@apply text-white btn-primary;
2023-05-16 19:49:29 +00:00
}
h1 {
2023-06-02 10:34:45 +00:00
@apply text-3xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
h2 {
2023-06-02 10:34:45 +00:00
@apply text-2xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
h3 {
2023-06-02 10:34:45 +00:00
@apply text-xl font-bold text-white;
2023-05-16 19:49:29 +00:00
}
2023-06-01 10:15:33 +00:00
h4 {
2023-06-02 10:34:45 +00:00
@apply text-base font-bold text-white;
2023-06-01 10:15:33 +00:00
}
2023-05-18 11:26:35 +00:00
a {
2023-06-16 10:35:40 +00:00
@apply text-neutral-400 hover:text-white link link-hover hover:bg-transparent;
2023-05-16 19:49:29 +00:00
}
2023-06-07 08:33:45 +00:00
.kbd-custom {
2023-07-05 19:26:21 +00:00
@apply px-2 text-xs border border-dashed rounded border-neutral-700 text-warning;
2023-06-07 08:33:45 +00:00
}
2023-05-22 13:47:40 +00:00
.icon {
@apply w-6 h-6;
}
.icon:hover {
@apply text-white;
}
2023-05-16 19:49:29 +00:00
.box {
2023-07-05 19:26:21 +00:00
@apply flex items-center justify-center p-2 transition-colors rounded min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white hover:no-underline;
2023-05-03 12:36:53 +00:00
}
2023-05-16 19:49:29 +00:00
2023-05-25 13:47:27 +00:00
.lds-heart {
2023-06-05 22:18:48 +00:00
animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
2023-05-25 13:47:27 +00:00
}
@keyframes lds-heart {
2023-06-05 22:18:48 +00:00
0% {
transform: scale(1);
}
5% {
transform: scale(1.2);
}
39% {
transform: scale(0.85);
}
45% {
transform: scale(1);
}
60% {
transform: scale(0.95);
}
100% {
transform: scale(0.9);
}
2023-05-25 13:47:27 +00:00
}
.bg-coollabs-gradient {
@apply text-transparent text-white bg-gradient-to-r from-purple-500 via-pink-500 to-red-500;
2023-05-30 13:52:17 +00:00
}
2023-05-31 07:22:08 +00:00
.text-helper {
2023-06-05 22:18:48 +00:00
@apply inline-block font-bold text-warning;
}
2023-06-12 19:12:07 +00:00
table {
@apply min-w-full divide-y divide-coolgray-200;
}
thead {
2023-06-16 10:35:40 +00:00
@apply uppercase;
2023-06-12 19:12:07 +00:00
}
tbody {
@apply divide-y divide-coolgray-200;
}
tr {
2023-06-16 10:35:40 +00:00
@apply text-neutral-400;
2023-06-12 19:12:07 +00:00
}
tr th {
@apply px-3 py-3.5 text-left text-white;
}
tr th:first-child {
@apply py-3.5 pl-4 pr-3 sm:pl-6;
}
tr td {
@apply px-3 py-4 whitespace-nowrap;
}
tr td:first-child {
2023-07-05 19:26:21 +00:00
@apply pl-4 pr-3 font-bold sm:pl-6;
2023-06-12 19:12:07 +00:00
}