scinote-web/app/assets/stylesheets/application.tailwind.css

76 lines
1.4 KiB
CSS
Raw Permalink Normal View History

@import "tailwind/inputs";
2023-06-14 20:40:26 +08:00
@import "tailwind/buttons";
2023-08-17 19:55:17 +08:00
@import "tailwind/modals";
2023-08-28 19:10:02 +08:00
@import "tailwind/flyouts";
2024-07-25 20:06:26 +08:00
@import "tailwind/radio";
@import "tailwind/loader.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
2023-07-21 16:35:14 +08:00
.tw-hidden {
@apply hidden
}
html {
font-size: 16px;
}
2023-06-06 20:38:54 +08:00
.border {
border-style: solid;
border-color: theme('borderColor.DEFAULT', currentColor);
}
.scroll-container .ps__rail-y{
background-color: var(--sn-white);
opacity: 1;
}
.scroll-container.ps-transparent .ps__rail-y{
background-color: transparent;
&::after,
&::before {
background-color: transparent;
}
}
.scroll-container .ps__thumb-y{
background-color: var(--sn-grey);
opacity: 1;
right: 5px;
}
.scroll-container .ps__rail-x{
background-color: var(--sn-white);
opacity: 1;
}
.scroll-container .ps__thumb-x{
background-color: var(--sn-grey);
opacity: 1;
bottom: 5px;
}
/* Hide caret in Safari */
#relationships-section summary::-webkit-details-marker {
display: none;
}
.ag-theme-alpine {
--ag-font-family: "SN Inter", "Open Sans", Arial, Helvetica, sans-serif !important;
}
.animate-skeleton {
background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
background-size: 500px;
animation: shine-lines 1.6s infinite linear
}
@keyframes shine-lines {
0% { background-position: -150px }
2024-07-25 20:06:26 +08:00
40%, 100% { background-position: 320px }
}