init commit

This commit is contained in:
David Melendez
2026-01-14 22:38:44 +01:00
parent 4e0c415f0b
commit e25d53d054
124 changed files with 21653 additions and 1 deletions

View File

@@ -0,0 +1,234 @@
/**
* Mixins - Enterprise SCSS Architecture
* Professional Resume Builder
*
* @author David Valera Melendez <david@valera-melendez.de>
* @created 2025-08-08
* @location Made in Germany 🇩🇪
*/
// ==========================================================================
// Media Query Mixins
// ==========================================================================
@mixin media-up($breakpoint) {
@media (min-width: $breakpoint) {
@content;
}
}
@mixin media-down($breakpoint) {
@media (max-width: ($breakpoint - 1px)) {
@content;
}
}
@mixin media-between($min, $max) {
@media (min-width: $min) and (max-width: ($max - 1px)) {
@content;
}
}
// ==========================================================================
// Flexbox Mixins
// ==========================================================================
@mixin flex-center {
display: flex;
align-items: center;
justify-content: center;
}
@mixin flex-between {
display: flex;
align-items: center;
justify-content: space-between;
}
@mixin flex-column-center {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
// ==========================================================================
// Button Mixins
// ==========================================================================
@mixin button-base {
display: inline-flex;
align-items: center;
justify-content: center;
padding: $spacing-sm $spacing-base;
border: none;
border-radius: $radius-md;
font-weight: $font-weight-medium;
font-size: $font-size-base;
line-height: $line-height-tight;
text-decoration: none;
cursor: pointer;
transition: all $transition-base;
user-select: none;
&:focus {
outline: none;
box-shadow: 0 0 0 3px rgba($primary-color, 0.1);
}
&:disabled {
opacity: 0.6;
cursor: not-allowed;
}
}
@mixin button-variant($bg-color, $text-color: $white, $hover-bg-color: null) {
@include button-base;
background-color: $bg-color;
color: $text-color;
@if $hover-bg-color {
&:hover:not(:disabled) {
background-color: $hover-bg-color;
transform: translateY(-1px);
box-shadow: $shadow-md;
}
} @else {
&:hover:not(:disabled) {
background-color: darken($bg-color, 8%);
transform: translateY(-1px);
box-shadow: $shadow-md;
}
}
&:active {
transform: translateY(0);
}
}
// ==========================================================================
// Card Mixins
// ==========================================================================
@mixin card-base {
background-color: $white;
border-radius: $radius-xl;
box-shadow: $shadow-sm;
overflow: hidden;
transition: all $transition-base;
}
@mixin card-hover {
&:hover {
transform: translateY(-2px);
box-shadow: $shadow-lg;
}
}
// ==========================================================================
// Form Mixins
// ==========================================================================
@mixin form-control-base {
display: block;
width: 100%;
padding: $spacing-sm $spacing-base;
font-size: $font-size-base;
font-weight: $font-weight-normal;
line-height: $line-height-normal;
color: $text-primary;
background-color: $white;
border: 2px solid $border-color;
border-radius: $radius-md;
transition: all $transition-base;
&:focus {
outline: none;
border-color: $primary-color;
box-shadow: 0 0 0 0.25rem rgba($primary-color, 0.25);
}
&::placeholder {
color: $text-muted;
opacity: 1;
}
&:disabled {
background-color: $gray-100;
opacity: 1;
cursor: not-allowed;
}
}
// ==========================================================================
// Animation Mixins
// ==========================================================================
@mixin fade-in($duration: $transition-base) {
animation: fadeIn $duration ease-out;
}
@mixin slide-up($duration: $transition-base) {
animation: slideUp $duration ease-out;
}
@mixin scale-in($duration: $transition-base) {
animation: scaleIn $duration ease-out;
}
// ==========================================================================
// Utility Mixins
// ==========================================================================
@mixin sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@mixin clearfix {
&::after {
content: '';
display: table;
clear: both;
}
}
@mixin text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@mixin aspect-ratio($width, $height) {
position: relative;
&::before {
content: '';
display: block;
padding-top: percentage($height / $width);
}
> * {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
// ==========================================================================
// Background Pattern Mixins
// ==========================================================================
@mixin grid-pattern($size: 50px, $color: rgba(255, 255, 255, 0.1)) {
background-image:
radial-gradient(circle at 25% 25%, $color 2px, transparent 2px),
radial-gradient(circle at 75% 75%, $color 1px, transparent 1px);
background-size: $size $size;
}
@mixin dot-pattern($size: 20px, $color: rgba(0, 0, 0, 0.1)) {
background-image: radial-gradient(circle, $color 1px, transparent 1px);
background-size: $size $size;
}

View File

@@ -0,0 +1,288 @@
/**
* Variables - Professional Bootstrap Design System for Laravel
* Professional Resume Builder
*
* @author David Valera Melendez <david@valera-melendez.de>
* @created 2025-08-08
* @location Made in Germany 🇩🇪
* @description Professional color system and design tokens for Laravel with Bootstrap
*/
/* ========================================
CSS CUSTOM PROPERTIES (Professional Bootstrap Match)
======================================== */
:root {
/* Primary Brand Colors - Professional Blue */
--color-primary: #1976d2;
--color-primary-light: #42a5f5;
--color-primary-dark: #1565c0;
--color-primary-50: #e3f2fd;
--color-primary-100: #bbdefb;
--color-primary-200: #90caf9;
--color-primary-300: #64b5f6;
--color-primary-400: #42a5f5;
--color-primary-500: #1976d2;
--color-primary-600: #1976d2;
--color-primary-700: #1565c0;
--color-primary-800: #0d47a1;
--color-primary-900: #0d47a1;
/* Accent Colors */
--color-accent: #ff9800;
--color-accent-light: #ffb74d;
--color-accent-dark: #f57f17;
/* Semantic Colors */
--color-success: #4caf50;
--color-success-light: #81c784;
--color-success-dark: #388e3c;
--color-warning: #ff9800;
--color-warning-light: #ffb74d;
--color-warning-dark: #f57f17;
--color-error: #f44336;
--color-error-light: #ef5350;
--color-error-dark: #c62828;
--color-error-bg: rgba(244, 67, 54, 0.05);
--color-info: #2196f3;
--color-info-light: #64b5f6;
--color-info-dark: #1976d2;
/* Text Colors */
--color-text-primary: #212121;
--color-text-secondary: #757575;
--color-text-disabled: #bdbdbd;
--color-text-hint: #9e9e9e;
--color-text-muted: #555555;
--color-text-dark: #444444;
--color-text-light: #999999;
--color-text-white: #ffffff;
--color-text-white-muted: rgba(255, 255, 255, 0.9);
/* Background Colors */
--color-background: #fafafa;
--color-background-paper: #ffffff;
--color-background-default: #f5f5f5;
--color-background-dialog: #ffffff;
/* Surface Colors */
--color-surface: #ffffff;
--color-surface-variant: #f5f5f5;
/* Border Colors */
--color-border: #e0e0e0;
--color-border-light: #f5f5f5;
--color-border-dark: #bdbdbd;
/* Shadow Colors */
--color-shadow-light: rgba(0, 0, 0, 0.1);
--color-shadow-medium: rgba(0, 0, 0, 0.15);
--color-shadow-dark: rgba(0, 0, 0, 0.25);
/* Gradient Definitions */
--gradient-primary: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
--gradient-accent: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
--gradient-success: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
/* Spacing System */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-xxl: 3rem;
/* Border Radius System */
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 12px;
--border-radius-xl: 16px;
--border-radius-round: 50%;
/* Professional Shadow System */
--shadow-xs: 0 1px 2px 0 var(--color-shadow-light);
--shadow-sm: 0 1px 3px 0 var(--color-shadow-light), 0 1px 2px 0 var(--color-shadow-light);
--shadow-md: 0 4px 6px -1px var(--color-shadow-light), 0 2px 4px -1px var(--color-shadow-light);
--shadow-lg: 0 10px 15px -3px var(--color-shadow-light), 0 4px 6px -2px var(--color-shadow-light);
--shadow-xl: 0 20px 25px -5px var(--color-shadow-light), 0 10px 10px -5px var(--color-shadow-light);
--shadow-2xl: 0 25px 50px -12px var(--color-shadow-dark);
/* Transitions */
--transition-fast: 0.15s ease;
--transition-normal: 0.2s ease;
--transition-slow: 0.3s ease;
}
/* ========================================
SCSS VARIABLES (Build-time)
======================================== */
// Primary Brand Colors
$primary-color: #1976d2;
$primary-light: #42a5f5;
$primary-dark: #1565c0;
$secondary-color: #757575;
$accent-color: #ff9800;
// Semantic Colors
$success-color: #4caf50;
$warning-color: #ff9800;
$danger-color: #f44336;
$info-color: #2196f3;
// Text Colors
$text-primary: #212121;
$text-secondary: #757575;
$text-muted: #9e9e9e;
$text-disabled: #bdbdbd;
$black: #000000;
$white: #ffffff;
// Background Colors
$bg-primary: #ffffff;
$bg-secondary: #fafafa;
$bg-tertiary: #f5f5f5;
// Border Colors
$border-color: #e0e0e0;
$border-light: #f5f5f5;
$border-dark: #bdbdbd;
// Spacing System
$spacing-xs: 0.25rem;
$spacing-sm: 0.5rem;
$spacing-md: 1rem;
$spacing-base: 1rem; // Same as md for compatibility
$spacing-lg: 1.5rem;
$spacing-xl: 2rem;
$spacing-xxl: 3rem;
// Typography Scale
$font-size-xs: 0.75rem; // 12px
$font-size-sm: 0.875rem; // 14px
$font-size-base: 1rem; // 16px
$font-size-lg: 1.125rem; // 18px
$font-size-xl: 1.25rem; // 20px
$font-size-xxl: 1.5rem; // 24px
$font-size-2xl: 1.5rem; // 24px
$font-size-xxxl: 2rem; // 32px
$font-size-3xl: 1.875rem; // 30px
$font-size-4xl: 2.25rem; // 36px
$font-size-5xl: 3rem; // 48px
$font-weight-light: 300;
$font-weight-normal: 400;
$font-weight-medium: 500;
$font-weight-semibold: 600;
$font-weight-bold: 700;
// Line Heights
$line-height-tight: 1.25;
$line-height-normal: 1.5;
$line-height-relaxed: 1.75;
// Font Families (Material Design Compatible)
$font-family-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
$font-family-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
// Line Heights
$line-height-tight: 1.2;
$line-height-normal: 1.5;
$line-height-relaxed: 1.6;
// Border Radius System
$border-radius-sm: 4px;
$border-radius-md: 8px;
$border-radius-lg: 12px;
$border-radius-xl: 16px;
$border-radius-round: 50%;
// Breakpoints (Bootstrap Compatible)
$breakpoint-xs: 576px;
$breakpoint-sm: 768px;
$breakpoint-md: 992px;
$breakpoint-lg: 1200px;
$breakpoint-xl: 1400px;
/* ========================================
PROFESSIONAL MIXINS
======================================== */
// Material Design Card Mixin
@mixin material-card {
background-color: var(--color-surface);
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow-md);
border: 1px solid var(--color-border-light);
padding: var(--spacing-lg);
transition: var(--transition-normal);
&:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
}
// Material Design Button Mixin
@mixin material-button($color: var(--color-primary)) {
background-color: $color;
color: white;
border: none;
border-radius: var(--border-radius-md);
padding: var(--spacing-sm) var(--spacing-md);
font-weight: $font-weight-medium;
transition: var(--transition-normal);
cursor: pointer;
display: inline-flex;
align-items: center;
gap: var(--spacing-xs);
text-decoration: none;
&:hover {
filter: brightness(110%);
transform: translateY(-1px);
box-shadow: var(--shadow-md);
color: white;
text-decoration: none;
}
&:active {
transform: translateY(0);
}
&:disabled {
background-color: var(--color-text-disabled);
cursor: not-allowed;
transform: none;
box-shadow: none;
}
}
// Gradient Background Mixin
@mixin gradient-background($gradient: var(--gradient-primary)) {
background: $gradient;
color: var(--color-text-white);
}
// Professional Input Mixin
@mixin material-input {
border: 1px solid var(--color-border);
border-radius: var(--border-radius-md);
padding: var(--spacing-sm) var(--spacing-md);
background-color: var(--color-surface);
transition: var(--transition-normal);
font-size: $font-size-base;
&:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
outline: none;
}
&::placeholder {
color: var(--color-text-hint);
}
}