Files
marketplaces/src/styles.scss
sdarbinyan 751ad48489 home page
2026-02-14 01:28:08 +04:00

139 lines
2.9 KiB
SCSS

/* Global Styles */
/* PrimeNG and PrimeIcons */
@import 'primeicons/primeicons.css';
/* Google Fonts - DM Sans for Dexar redesign */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
/* Font optimization */
@font-face {
font-family: system-ui;
font-display: swap;
}
/* Default CSS Variables - will be overridden by theme files */
:root {
--primary-color: #667eea;
--primary-hover: #5568d3;
--secondary-color: #764ba2;
--secondary-hover: #653a8e;
--accent-color: #f093fb;
--accent-hover: #e07ff0;
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
--gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--text-primary: #333333;
--text-secondary: #666666;
--text-light: #999999;
--bg-primary: #ffffff;
--bg-secondary: #f6f7fb;
--bg-tertiary: #e9ecf5;
--success-color: #10b981;
--warning-color: #f59e0b;
--error-color: #ef4444;
--info-color: #3b82f6;
--border-color: #e5e7eb;
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
--shadow-lg: 0 12px 40px rgba(102, 126, 234, 0.25);
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
min-height: 100vh;
overflow-x: hidden;
}
/* Smooth Transitions */
a, button, input, textarea, select {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Responsive Typography */
@media (max-width: 768px) {
html {
font-size: 14px;
}
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--gradient-primary);
border-radius: 10px;
transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background: var(--gradient-secondary);
}
/* Focus Styles */
*:focus-visible {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
}
/* Utility Classes */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.text-center {
text-align: center;
}
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }