lasthourcloud/resources/css/app.css

134 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-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 {
@apply min-h-screen h-full bg-coolgray-100;
}
2023-05-03 12:36:53 +00:00
body {
2023-06-05 22:18:48 +00:00
@apply scrollbar min-h-screen bg-coolgray-100 text-neutral-400 antialiased;
2023-05-25 19:23:03 +00:00
}
main {
2023-06-14 10:48:29 +00:00
@apply pl-24 pr-10 lg:px-14 mx-auto max-w-screen-xl pt-4;
2023-05-18 11:26:35 +00:00
}
2023-05-25 19:23:03 +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-05-17 13:46:20 +00:00
input {
2023-06-12 20:30:47 +00:00
@apply input input-sm h-7 outline-none placeholder:text-neutral-700 text-white rounded;
2023-05-16 18:47:59 +00:00
}
2023-06-05 22:18:48 +00:00
input[type="text"],
[type="number"],
[type="email"],
[type="password"] {
2023-06-07 19:44:16 +00:00
@apply read-only:bg-coolgray-200/50 read-only:text-opacity-25;
2023-05-17 13:46:20 +00:00
}
2023-06-05 22:18:48 +00:00
.label-text,
label {
2023-05-22 09:21:03 +00:00
@apply text-neutral-400 text-sm;
}
2023-05-17 13:46:20 +00:00
2023-05-14 12:43:49 +00:00
textarea {
2023-06-12 20:30:47 +00:00
@apply textarea placeholder:text-neutral-700 text-white rounded scrollbar;
2023-05-17 07:26:50 +00:00
}
2023-05-04 08:45:09 +00:00
select {
2023-06-13 08:11:11 +00:00
@apply h-7 select select-xs text-sm disabled:bg-coolgray-200 border-none disabled:opacity-50 font-normal placeholder:text-neutral-700 text-white rounded;
2023-05-04 08:45:09 +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 {
@apply text-neutral-400 hover:text-white text-sm 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-12 20:30:47 +00:00
@apply flex items-center justify-center text-sm 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 {
@apply uppercase text-sm;
}
tbody {
@apply divide-y divide-coolgray-200;
}
tr {
@apply text-sm text-neutral-400;
}
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;
}