150 lines
2.8 KiB
CSS
150 lines
2.8 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
.table {
|
|
@apply text-left text-sm rtl:text-right;
|
|
:where(th, td) {
|
|
@apply px-4 py-3 align-middle;
|
|
}
|
|
tr.active,
|
|
tr.active:nth-child(even),
|
|
&-zebra tbody tr:nth-child(even) {
|
|
@apply bg-[#191E24];
|
|
}
|
|
tr.hover,
|
|
tr.hover:nth-child(even) {
|
|
@apply [@media(hover:hover)]:hover:bg-[#000];
|
|
}
|
|
|
|
&-zebra {
|
|
tr.active,
|
|
tr.active:nth-child(even),
|
|
&-zebra tbody tr:nth-child(even) {
|
|
@apply bg-[#000];
|
|
}
|
|
}
|
|
&-zebra tr.hover,
|
|
&-zebra tr.hover:nth-child(even) {
|
|
@apply [@media(hover:hover)]:hover:bg-[#000];
|
|
}
|
|
|
|
:where(thead, tbody) {
|
|
:where(tr:not(:last-child)),
|
|
:where(tr:first-child:last-child) {
|
|
@apply border-b-[#000] border-b;
|
|
}
|
|
}
|
|
|
|
:where(thead, tfoot) {
|
|
@apply whitespace-nowrap text-xs;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.no-scrollbar {
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Styles for WebKit browsers (Chrome, Safari, newer versions of Opera) */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
width: auto; /* Keep the width for vertical scrollbar */
|
|
height: 0; /* Set height to 0 to hide horizontal scrollbar */
|
|
}
|
|
|
|
/* Styles for Firefox */
|
|
.no-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: auto transparent; /* vertical scrollbar color, then track color */
|
|
}
|
|
|
|
/* Styles for Internet Explorer and Edge */
|
|
.no-scrollbar {
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
}
|
|
|
|
.shake-ticker:hover img {
|
|
animation-name: shake;
|
|
animation-duration: 0.5s;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: ease-in-out;
|
|
}
|
|
|
|
@keyframes shake {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
25% {
|
|
transform: rotate(10deg);
|
|
}
|
|
50% {
|
|
transform: rotate(0deg);
|
|
}
|
|
75% {
|
|
transform: rotate(-10deg);
|
|
}
|
|
100% {
|
|
transform: rotate(0deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.loader,
|
|
.loader:before,
|
|
.loader:after {
|
|
border-radius: 50%;
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
-webkit-animation-fill-mode: both;
|
|
animation-fill-mode: both;
|
|
-webkit-animation: load7 0.8s infinite ease-in-out;
|
|
animation: load7 0.8s infinite ease-in-out;
|
|
}
|
|
.loader {
|
|
color: #ffffff;
|
|
font-size: 10px;
|
|
margin: 80px auto;
|
|
position: relative;
|
|
text-indent: -9999em;
|
|
-webkit-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
-webkit-animation-delay: -0.16s;
|
|
animation-delay: -0.16s;
|
|
}
|
|
.loader:before,
|
|
.loader:after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
.loader:before {
|
|
left: -3.5em;
|
|
-webkit-animation-delay: -0.32s;
|
|
animation-delay: -0.32s;
|
|
}
|
|
.loader:after {
|
|
left: 3.5em;
|
|
}
|
|
@-webkit-keyframes load7 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 2.5em 0 -1.3em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 2.5em 0 0;
|
|
}
|
|
}
|
|
@keyframes load7 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 2.5em 0 -1.3em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 2.5em 0 0;
|
|
}
|
|
}
|