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

659 lines
18 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;
}
}
[data-hide-dropzone] .filepond--drop-label {
display: none !important;
}
[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;
}
[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;
}
.ProseMirror p {
margin-top: 0;
margin-bottom: 0;
min-height: 1.4em;
}
.fi-modal-content .prose p,
[dir="rtl"] .prose p {
margin-top: 0.1em;
margin-bottom: 0.1em;
}
.fi-photo-gallery .filepond--root {
contain: layout style !important;
display: flex !important;
flex-direction: column !important;
min-height: 60px !important;
height: auto !important;
margin-top: 8px !important;
overflow: visible !important;
}
.fi-photo-gallery .filepond--list-scroller {
order: 2 !important;
position: relative !important;
transform: none !important;
height: auto !important;
overflow: visible !important;
top: unset !important;
left: unset !important;
right: unset !important;
margin: 0 !important;
}
.fi-photo-gallery .filepond--drop-label {
order: 1 !important;
position: relative !important;
top: unset !important;
left: unset !important;
right: unset !important;
bottom: unset !important;
transform: none !important;
margin-top: 4px !important;
height: auto !important;
}
.fi-photo-gallery-view .filepond--root,
[data-hide-dropzone] .filepond--root {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
.fi-photo-gallery .filepond--list {
position: relative !important;
transform: none !important;
display: flex !important;
flex-wrap: wrap !important;
gap: 6px !important;
padding: 8px !important;
height: auto !important;
}
.fi-photo-gallery .filepond--item {
display: block !important;
position: relative !important;
transform: none !important;
width: 100px !important;
height: 56px !important;
margin: 0 !important;
overflow: hidden !important;
border-radius: 6px !important;
flex-shrink: 0 !important;
transition: none !important;
animation: none !important;
}
.fi-photo-gallery .filepond--item * {
transition: none !important;
animation: none !important;
}
.fi-photo-gallery .filepond--image-preview-wrapper {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
max-height: none !important;
margin-top: 0 !important;
transform: none !important;
}
.fi-photo-gallery .filepond--image-preview-overlay,
.fi-photo-gallery .filepond--image-preview {
height: 100% !important;
max-height: none !important;
}
.fi-photo-gallery .filepond--image-preview canvas {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
display: block !important;
}
.fi-photo-gallery .filepond--panel-root,
.fi-photo-gallery .filepond--panel-top,
.fi-photo-gallery .filepond--panel-center,
.fi-photo-gallery .filepond--panel-bottom,
.fi-photo-gallery .filepond--item .filepond--panel {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
.fi-photo-gallery .filepond--file {
padding: 0 !important;
}
.fi-photo-gallery .filepond--file-action-button {
width: 1.4rem !important;
height: 1.4rem !important;
}
.fi-photo-gallery .filepond--file-info {
display: none !important;
}
.fi-video-gallery .filepond--root {
contain: layout style !important;
display: flex !important;
flex-direction: column !important;
min-height: 60px !important;
height: auto !important;
margin-top: 8px !important;
overflow: visible !important;
}
.fi-video-gallery .filepond--list-scroller {
order: 2 !important;
position: relative !important;
transform: none !important;
height: auto !important;
overflow: visible !important;
top: unset !important;
left: unset !important;
right: unset !important;
margin: 0 !important;
}
.fi-video-gallery .filepond--drop-label {
order: 1 !important;
position: relative !important;
top: unset !important;
left: unset !important;
right: unset !important;
bottom: unset !important;
transform: none !important;
margin-bottom: 4px !important;
height: auto !important;
}
.fi-video-gallery .filepond--list {
position: relative !important;
transform: none !important;
display: flex !important;
flex-wrap: wrap !important;
gap: 6px !important;
padding: 8px !important;
height: auto !important;
}
.fi-video-gallery .filepond--item {
display: block !important;
position: relative !important;
transform: none !important;
width: 160px !important;
height: 90px !important;
margin: 0 !important;
overflow: hidden !important;
border-radius: 6px !important;
flex-shrink: 0 !important;
background-color: #111 !important;
}
.fi-video-gallery .filepond--media-preview-wrapper,
.fi-video-gallery .filepond--media-preview {
width: 100% !important;
height: 100% !important;
position: absolute !important;
top: 0 !important;
left: 0 !important;
}
.fi-video-gallery .filepond--media-preview video {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
}
.fi-video-gallery .filepond--item .filepond--panel {
background-color: transparent !important;
border: none !important;
box-shadow: none !important;
}
.fi-video-gallery .filepond--file {
padding: 0 !important;
}
.fi-video-gallery .filepond--file-info {
display: none !important;
}
.fi-video-gallery .filepond--file-action-button {
width: 1.4rem !important;
height: 1.4rem !important;
}
.fi-photo-gallery-view .filepond--file-action-button.filepond--action-remove-item,
.fi-photo-gallery-view .filepond--file-action-button.filepond--action-revert-item-processing,
.fi-photo-gallery-view .filepond--file-action-button.filepond--action-abort-item-load,
[data-hide-dropzone] .filepond--file-action-button.filepond--action-remove-item,
[data-hide-dropzone] .filepond--file-action-button.filepond--action-revert-item-processing,
[data-hide-dropzone] .filepond--file-action-button.filepond--action-abort-item-load {
display: none !important;
}
#fi-lightbox {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.92);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
direction: ltr;
}
#fi-lightbox.lb-open {
opacity: 1;
pointer-events: all;
}
#fi-lb-wrap {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
overflow: hidden;
}
#fi-lb-img {
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
border-radius: 4px;
transition: opacity 0.15s ease, transform 0.2s ease;
transform-origin: center center;
user-select: none;
pointer-events: none;
cursor: default;
}
#fi-lb-img.lb-zoomed {
pointer-events: auto;
cursor: grab;
}
#fi-lb-img.lb-zoomed.lb-dragging {
cursor: grabbing;
transition: opacity 0.15s ease;
}
#fi-lb-close {
position: absolute;
top: 1rem;
left: 1rem;
right: auto;
z-index: 10;
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
border: none;
color: white;
font-size: 1.25rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
line-height: 1;
}
#fi-lb-close:hover {
background: rgba(255, 255, 255, 0.35);
}
#fi-lb-prev,
#fi-lb-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
width: 3rem;
height: 3rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.15);
border: none;
color: white;
font-size: 1.75rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
line-height: 1;
}
#fi-lb-prev { left: 1rem; }
#fi-lb-next { right: 1rem; }
#fi-lb-prev:hover,
#fi-lb-next:hover {
background: rgba(255, 255, 255, 0.35);
}
#fi-lb-counter {
position: absolute;
bottom: 1.25rem;
left: 50%;
transform: translateX(-50%);
color: rgba(255, 255, 255, 0.85);
font-size: 0.875rem;
background: rgba(0, 0, 0, 0.45);
padding: 0.2rem 0.75rem;
border-radius: 9999px;
pointer-events: none;
white-space: nowrap;
}
#fi-lb-hint {
position: absolute;
bottom: 1.25rem;
right: 1.5rem;
color: rgba(255, 255, 255, 0.35);
font-size: 0.7rem;
pointer-events: none;
direction: rtl;
}
#fi-lb-caption {
position: absolute;
top: 1rem;
right: 1rem;
width: 280px;
height: auto;
max-height: calc(100% - 2rem);
background: rgba(255, 255, 255, 0.97);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
border-radius: 14px;
direction: rtl;
z-index: 4;
display: flex;
flex-direction: column;
overflow: hidden;
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
#fi-lb-caption.lb-cap-hidden {
transform: translateX(calc(100% + 1rem));
opacity: 0;
pointer-events: none;
}
#fi-lb-cap-header {
display: flex;
align-items: center;
gap: 9px;
padding: 11px 13px 9px;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
flex-shrink: 0;
background: rgba(0, 0, 0, 0.04);
}
#fi-lb-cap-icon {
width: 28px;
height: 28px;
border-radius: 7px;
background: rgba(59, 130, 246, 0.12);
border: 1px solid rgba(59, 130, 246, 0.25);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
#fi-lb-cap-title {
font-size: 0.75rem;
font-weight: 700;
color: rgba(10, 15, 35, 0.9);
letter-spacing: 0.02em;
flex: 1;
}
#fi-lb-cap-close {
width: 24px;
height: 24px;
border-radius: 6px;
background: rgba(0, 0, 0, 0.08);
border: 1px solid rgba(0, 0, 0, 0.18);
color: rgba(0, 0, 0, 0.75);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
font-weight: 600;
transition: background 0.2s, color 0.2s;
flex-shrink: 0;
line-height: 1;
}
#fi-lb-cap-close:hover {
background: rgba(0, 0, 0, 0.15);
color: rgba(0, 0, 0, 0.95);
}
#fi-lb-cap-body {
padding: 14px 13px 18px;
font-size: 0.82rem;
line-height: 1.9;
overflow-y: auto;
overflow-x: hidden;
color: rgba(20, 30, 50, 0.88);
scrollbar-width: thin;
scrollbar-color: rgba(0,0,0,0.15) transparent;
}
#fi-lb-cap-body::-webkit-scrollbar { width: 3px; }
#fi-lb-cap-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }
#fi-lb-cap-body mark { border-radius: 2px; padding: 0 2px; }
#fi-lb-cap-body ul, #fi-lb-cap-body ol { padding-right: 18px; margin: 4px 0; }
#fi-lb-cap-body li { margin: 2px 0; }
#fi-lb-cap-body strong { color: rgba(10, 20, 40, 0.95); }
#fi-lb-cap-body blockquote { border-right: 3px solid rgba(59,130,246,0.4); padding-right: 10px; margin: 6px 0; color: rgba(20,30,50,0.6); font-style: normal; }
#fi-lb-cap-toggle {
position: absolute;
top: 1rem;
right: 1rem;
z-index: 10;
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background: rgba(40, 44, 60, 0.85);
border: 1px solid rgba(255, 255, 255, 0.25);
color: rgba(255, 255, 255, 0.95);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, border-color 0.2s, opacity 0.2s;
opacity: 0;
pointer-events: none;
}
#fi-lb-cap-toggle.lb-cap-toggle-visible {
opacity: 1;
pointer-events: auto;
}
#fi-lb-cap-toggle:hover {
background: rgba(60, 65, 90, 0.95);
border-color: rgba(255, 255, 255, 0.45);
}
#fi-lb-img {
max-width: calc(100vw - 310px);
transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease, transform 0.2s ease;
}
#fi-lightbox.lb-no-caption #fi-lb-img,
#fi-lightbox.lb-cap-collapsed #fi-lb-img {
max-width: 90vw;
}
details.fi-text-expand > summary {
list-style: none;
cursor: pointer;
}
details.fi-text-expand > summary::-webkit-details-marker {
display: none;
}
details.fi-text-expand[open] > summary {
display: none;
}