Files
supabase/studio/styles/storage.scss
2022-06-15 22:24:56 +08:00

87 lines
1.4 KiB
SCSS

.storage-container {
.sbui-space-col {
@apply flex-grow;
#files {
@apply h-full;
}
}
.sbui-btn {
@apply focus:outline-none;
}
.sbui-btn-default {
@apply border;
border-color: transparent !important;
}
.sbui-checkbox-container {
@apply w-auto;
}
.sbui-input-container {
input {
@apply text-sm;
}
.sbui-btn-container {
.sbui-btn {
@apply py-1;
}
}
}
.sbui-menu__item {
span {
@apply text-sm;
}
}
.sbui-overlay-container {
@apply z-10;
}
}
// May need to just comment this out, the smooth scrolling looks weird
// .file-explorer {
// scroll-behavior: smooth;
// }
.storage-row:hover {
.storage-row-menu {
@apply opacity-100;
}
}
.shimmering-loader {
animation: shimmer 2s infinite linear;
background: linear-gradient(
to right,
var(--colors-scale3) 4%,
var(--colors-scale4) 25%,
var(--colors-scale3) 36%
);
background-size: 1000px 100%;
}
.dark .shimmering-loader {
animation: shimmer 2s infinite linear;
background: linear-gradient(
to right,
var(--colors-scale5) 4%,
var(--colors-scale6) 25%,
var(--colors-scale5) 36%
);
background-size: 1000px 100%;
}
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
.sql-editor-container {
@apply p-0;
}
.sbui-dropdown__trigger:focus {
outline: none;
}