matab-panel/resources/css/filament/admin/theme.css

202 lines
5.9 KiB
CSS

@import '../../../../vendor/filament/filament/resources/css/theme.css';
[x-cloak] { display: none !important; }
.fi-simple-layout {
background:
radial-gradient(ellipse at 15% 60%, rgba(59, 130, 246, 0.25) 0%, transparent 55%),
radial-gradient(ellipse at 85% 15%, rgba(30, 64, 175, 0.3) 0%, transparent 45%),
radial-gradient(ellipse at 55% 85%, rgba(147, 197, 253, 0.2) 0%, transparent 50%),
linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 45%, #dbeafe 100%);
position: relative;
}
.fi-simple-layout::before {
content: '';
position: absolute;
inset: 0;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
pointer-events: none;
z-index: 0;
}
.fi-simple-layout > * {
position: relative;
z-index: 1;
}
.dark .fi-simple-layout {
background:
radial-gradient(ellipse at 15% 60%, rgba(30, 64, 175, 0.5) 0%, transparent 55%),
radial-gradient(ellipse at 85% 15%, rgba(59, 130, 246, 0.35) 0%, transparent 45%),
radial-gradient(ellipse at 55% 85%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
linear-gradient(145deg, #0f172a 0%, #0c1a3a 45%, #0f2158 100%);
}
.dark .fi-simple-layout::before {
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.fi-simple-main {
backdrop-filter: blur(8px);
background: rgba(255, 255, 255, 0.85) !important;
border: 1px solid rgba(255, 255, 255, 0.6) !important;
box-shadow: 0 20px 60px rgba(30, 64, 175, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}
.dark .fi-simple-main {
background: rgba(15, 23, 42, 0.85) !important;
border: 1px solid rgba(59, 130, 246, 0.15) !important;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(30, 64, 175, 0.2) !important;
}
.fi-theme-switcher {
display: none !important;
}
.fi-dropdown-list:has(.fi-theme-switcher) {
display: none !important;
}
@source '../../../../app/Filament/**/*';
@source '../../../../resources/views/filament/**/*';
@source '../../../../resources/views/components/**/*';
@source '../../../../vendor/ariaieboy/filament-jalali/resources/**/*';
/* Sidebar white background */
.fi-sidebar {
@apply bg-white! dark:bg-gray-900!;
}
.fi-sidebar-nav {
@apply bg-white! dark:bg-gray-900!;
}
.nav-card {
@apply overflow-hidden rounded-xl bg-white shadow ring-1 ring-gray-950/5 transition-all duration-200 dark:bg-gray-900 dark:ring-white/10 h-full flex flex-col;
}
.nav-card-body-text {
@apply text-sm leading-loose text-gray-500 dark:text-gray-400;
}
.fi-ta-header-toolbar {
direction: ltr;
}
[dir="rtl"] .fi-select-input {
background-position: left 0.5rem center;
}
.fi-ta-header-toolbar .fi-btn {
direction: rtl;
}
[dir="rtl"] .fi-ta-header-toolbar .fi-dropdown-panel {
direction: rtl;
}
[dir="rtl"] .fi-ta-header-toolbar .fi-ta-search-field {
direction: rtl;
}
[dir="rtl"] .fi-global-search-field {
direction: rtl;
}
[dir="rtl"] .fi-ta-filters-modal,
[dir="rtl"] .fi-ta-filters-dropdown,
[dir="rtl"] .fi-ta-filters {
direction: rtl;
text-align: right;
}
@media (max-width: 639px) {
.fi-ta-header-toolbar {
flex-direction: column !important;
align-items: stretch !important;
}
.fi-ta-header-toolbar > :nth-child(2) {
order: -1;
margin-inline-start: 0 !important;
width: 100%;
}
.fi-ta-header-toolbar > :nth-child(2) .fi-ta-search-field,
.fi-ta-header-toolbar > :nth-child(2) .fi-input-wrp {
width: 100%;
}
.fi-ta-header-toolbar > :nth-child(1) {
flex-direction: row !important;
flex-wrap: wrap;
}
}
/* Hide FilePond dropzone in view-only file upload fields */
[data-hide-dropzone] .filepond--drop-label {
display: none !important;
}
/* Re-enable pointer events for media player controls inside disabled fields */
[data-hide-dropzone] .filepond--item,
[data-hide-dropzone] .filepond--file-wrapper,
[data-hide-dropzone] .filepond--media-preview-wrapper,
[data-hide-dropzone] .filepond--media-preview,
[data-hide-dropzone] .filepond--media-player,
[data-hide-dropzone] .filepond--media-player-button,
[data-hide-dropzone] .filepond--media-player-button-playbackrate,
[data-hide-dropzone] .audioplayer {
pointer-events: auto !important;
}
/* Lift speed button above any overlay */
[data-hide-dropzone] .filepond--media-player-button-playbackrate {
position: relative !important;
z-index: 10 !important;
}
.fi-modal > .fi-modal-window-ctn {
grid-template-rows: 1fr auto 1fr !important;
}
.fi-pagination {
display: flex !important;
flex-wrap: nowrap !important;
align-items: center !important;
column-gap: calc(var(--spacing) * 2) !important;
}
.fi-pagination .fi-pagination-overview {
display: block !important;
order: 1;
flex: 1;
}
.fi-pagination .fi-pagination-previous-btn {
order: 2;
justify-self: unset;
}
.fi-pagination .fi-pagination-items {
display: flex !important;
order: 3;
grid-column-start: unset !important;
justify-self: unset !important;
}
.fi-pagination .fi-pagination-next-btn {
order: 4;
grid-column-start: unset !important;
justify-self: unset !important;
}
.fi-pagination .fi-pagination-records-per-page-select-ctn {
order: 5;
grid-column-start: unset !important;
justify-self: unset !important;
flex: 1;
display: flex !important;
justify-content: flex-end !important;
}