lasthourcloud/resources/css/app.css

129 lines
2.7 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-06-05 22:18:48 +00:00
@apply scrollbar-thumb-coollabs-100 scrollbar-track-coolgray-200 scrollbar-w-1;
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-06-16 10:35:40 +00:00
@apply scrollbar antialiased text-sm;
2023-05-25 19:23:03 +00:00
}
2023-06-16 08:32:29 +00:00
.main {
2023-06-15 06:38:15 +00:00
@apply pl-24 pr-10 mx-auto max-w-screen-xl pt-4;
2023-05-18 11:26:35 +00:00
}
2023-06-16 08:32:29 +00:00
input {
2023-06-16 11:13:09 +00:00
@apply input input-sm h-7 outline-none placeholder:text-neutral-700 text-white rounded bg-coolgray-200 w-full read-only:bg-coolgray-200/50 read-only:text-opacity-25 disabled:border-none;
2023-06-16 10:00:36 +00:00
}
input && :not(input[type="checkbox"]) {
@apply border-none;
2023-06-16 08:32:29 +00:00
}
2023-05-18 11:26:35 +00:00
input[type="checkbox"] {
2023-05-22 13:47:40 +00:00
@apply toggle toggle-warning toggle-xs rounded;
2023-05-03 12:36:53 +00:00
}
2023-06-16 08:32:29 +00:00
textarea {
2023-06-16 11:13:09 +00:00
@apply textarea placeholder:text-neutral-700 text-white rounded scrollbar bg-coolgray-200 leading-5 text-xs;
2023-06-16 08:32:29 +00:00
}
select {
2023-06-16 10:35:40 +00:00
@apply h-7 select select-xs disabled:bg-coolgray-200 border-none disabled:opacity-50 font-normal placeholder:text-neutral-700 text-white rounded 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] {
@apply btn-primary text-white;
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 {
@apply px-2 text-xs border border-dashed rounded border-neutral-700 text-warning;
}
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-06-16 10:35:40 +00:00
@apply flex items-center justify-center rounded min-h-12 bg-coolgray-200 hover:bg-coollabs-100 hover:text-white p-2 hover:no-underline transition-colors;
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 {
2023-06-05 22:18:48 +00:00
@apply text-transparent bg-clip-text 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 {
@apply pl-4 pr-3 sm:pl-6 font-bold;
}