init commit
This commit is contained in:
0
resources/css/app.css
Normal file
0
resources/css/app.css
Normal file
534
resources/js/app.js
Normal file
534
resources/js/app.js
Normal file
@@ -0,0 +1,534 @@
|
||||
/**
|
||||
* Main JavaScript Application
|
||||
* Professional Resume Builder - Laravel Application
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
// Import Bootstrap JavaScript
|
||||
import 'bootstrap';
|
||||
|
||||
// Import Axios for HTTP requests
|
||||
import axios from 'axios';
|
||||
|
||||
// Configure Axios defaults
|
||||
window.axios = axios;
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
// CSRF Token setup
|
||||
const token = document.head.querySelector('meta[name="csrf-token"]');
|
||||
if (token) {
|
||||
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
|
||||
} else {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
||||
|
||||
/**
|
||||
* Application Class - Main Application Logic
|
||||
*/
|
||||
class ResumeBuilderApp {
|
||||
constructor() {
|
||||
this.init();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize the application
|
||||
*/
|
||||
init() {
|
||||
this.setupEventListeners();
|
||||
this.setupFormValidation();
|
||||
this.setupTooltips();
|
||||
this.setupAnimations();
|
||||
this.setupAccessibility();
|
||||
this.setupProgressBars();
|
||||
// Professional Resume Builder initialized - Made in Germany 🇩🇪
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup global event listeners
|
||||
*/
|
||||
setupEventListeners() {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
this.handlePageLoad();
|
||||
});
|
||||
|
||||
// Handle form submissions with loading states
|
||||
document.addEventListener('submit', (e) => {
|
||||
if (e.target.tagName === 'FORM') {
|
||||
this.handleFormSubmit(e.target);
|
||||
}
|
||||
});
|
||||
|
||||
// Handle dynamic content loading
|
||||
document.addEventListener('click', (e) => {
|
||||
if (e.target.matches('[data-action]')) {
|
||||
this.handleDynamicAction(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle page load events
|
||||
*/
|
||||
handlePageLoad() {
|
||||
// Animate elements on page load
|
||||
this.animateOnLoad();
|
||||
|
||||
// Focus management
|
||||
this.setupFocusManagement();
|
||||
|
||||
// Auto-dismiss alerts
|
||||
this.setupAlertDismissal();
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup form validation
|
||||
*/
|
||||
setupFormValidation() {
|
||||
const forms = document.querySelectorAll('form[data-validate]');
|
||||
|
||||
forms.forEach(form => {
|
||||
const inputs = form.querySelectorAll('input, select, textarea');
|
||||
|
||||
inputs.forEach(input => {
|
||||
// Real-time validation
|
||||
input.addEventListener('input', () => {
|
||||
this.validateField(input);
|
||||
});
|
||||
|
||||
input.addEventListener('blur', () => {
|
||||
this.validateField(input);
|
||||
});
|
||||
});
|
||||
|
||||
// Form submission validation
|
||||
form.addEventListener('submit', (e) => {
|
||||
if (!this.validateForm(form)) {
|
||||
e.preventDefault();
|
||||
this.showValidationErrors(form);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate individual field
|
||||
*/
|
||||
validateField(field) {
|
||||
const isValid = field.checkValidity();
|
||||
const hasValue = field.value.trim().length > 0;
|
||||
|
||||
field.classList.remove('is-valid', 'is-invalid');
|
||||
|
||||
if (hasValue) {
|
||||
field.classList.add(isValid ? 'is-valid' : 'is-invalid');
|
||||
}
|
||||
|
||||
// Custom validation rules
|
||||
if (field.type === 'password' && field.name === 'password') {
|
||||
this.validatePassword(field);
|
||||
}
|
||||
|
||||
if (field.type === 'password' && field.name === 'password_confirmation') {
|
||||
this.validatePasswordConfirmation(field);
|
||||
}
|
||||
|
||||
return isValid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate password strength
|
||||
*/
|
||||
validatePassword(passwordField) {
|
||||
const password = passwordField.value;
|
||||
const minLength = 8;
|
||||
const hasUpperCase = /[A-Z]/.test(password);
|
||||
const hasLowerCase = /[a-z]/.test(password);
|
||||
const hasNumbers = /\d/.test(password);
|
||||
const hasSpecialChar = /[!@#$%^&*]/.test(password);
|
||||
|
||||
const isStrong = password.length >= minLength && hasUpperCase && hasLowerCase && hasNumbers;
|
||||
|
||||
passwordField.classList.remove('is-valid', 'is-invalid');
|
||||
if (password.length > 0) {
|
||||
passwordField.classList.add(isStrong ? 'is-valid' : 'is-invalid');
|
||||
}
|
||||
|
||||
return isStrong;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate password confirmation
|
||||
*/
|
||||
validatePasswordConfirmation(confirmField) {
|
||||
const password = document.querySelector('input[name="password"]')?.value || '';
|
||||
const confirmation = confirmField.value;
|
||||
|
||||
const matches = password === confirmation && confirmation.length > 0;
|
||||
|
||||
confirmField.classList.remove('is-valid', 'is-invalid');
|
||||
if (confirmation.length > 0) {
|
||||
confirmField.classList.add(matches ? 'is-valid' : 'is-invalid');
|
||||
}
|
||||
|
||||
return matches;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate entire form
|
||||
*/
|
||||
validateForm(form) {
|
||||
const inputs = form.querySelectorAll('input[required], select[required], textarea[required]');
|
||||
let isValid = true;
|
||||
|
||||
inputs.forEach(input => {
|
||||
if (!this.validateField(input)) {
|
||||
isValid = false;
|
||||
}
|
||||
});
|
||||
|
||||
return isValid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show validation errors
|
||||
*/
|
||||
showValidationErrors(form) {
|
||||
const firstInvalidField = form.querySelector('.is-invalid');
|
||||
if (firstInvalidField) {
|
||||
firstInvalidField.focus();
|
||||
firstInvalidField.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle form submission with loading states
|
||||
*/
|
||||
handleFormSubmit(form) {
|
||||
const submitButton = form.querySelector('button[type="submit"]');
|
||||
if (submitButton) {
|
||||
const originalContent = submitButton.innerHTML;
|
||||
const loadingText = submitButton.dataset.loading || 'Processing...';
|
||||
|
||||
submitButton.innerHTML = `<span class="spinner-border spinner-border-sm me-2"></span>${loadingText}`;
|
||||
submitButton.disabled = true;
|
||||
|
||||
// Re-enable if form doesn't redirect (error case)
|
||||
setTimeout(() => {
|
||||
if (document.contains(submitButton)) {
|
||||
submitButton.innerHTML = originalContent;
|
||||
submitButton.disabled = false;
|
||||
}
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup tooltips
|
||||
*/
|
||||
setupTooltips() {
|
||||
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||
tooltipTriggerList.map(function (tooltipTriggerEl) {
|
||||
return new bootstrap.Tooltip(tooltipTriggerEl);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup animations
|
||||
*/
|
||||
setupAnimations() {
|
||||
// Intersection Observer for scroll animations
|
||||
if ('IntersectionObserver' in window) {
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('animate-fade-in-up');
|
||||
observer.unobserve(entry.target);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
document.querySelectorAll('[data-animate]').forEach(el => {
|
||||
observer.observe(el);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Animate elements on page load
|
||||
*/
|
||||
animateOnLoad() {
|
||||
// Stagger animation for cards
|
||||
const cards = document.querySelectorAll('.card');
|
||||
cards.forEach((card, index) => {
|
||||
setTimeout(() => {
|
||||
card.style.opacity = '0';
|
||||
card.style.transform = 'translateY(20px)';
|
||||
card.style.transition = 'all 0.5s ease';
|
||||
|
||||
setTimeout(() => {
|
||||
card.style.opacity = '1';
|
||||
card.style.transform = 'translateY(0)';
|
||||
}, 100 * index);
|
||||
}, 0);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup progress bars with animation
|
||||
*/
|
||||
setupProgressBars() {
|
||||
const progressBars = document.querySelectorAll('.progress-bar');
|
||||
|
||||
const animateProgress = (entries, observer) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const progressBar = entry.target;
|
||||
const targetWidth = progressBar.style.width;
|
||||
|
||||
progressBar.style.width = '0%';
|
||||
|
||||
setTimeout(() => {
|
||||
progressBar.style.transition = 'width 1s ease-in-out';
|
||||
progressBar.style.width = targetWidth;
|
||||
}, 200);
|
||||
|
||||
observer.unobserve(progressBar);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
if ('IntersectionObserver' in window) {
|
||||
const observer = new IntersectionObserver(animateProgress);
|
||||
progressBars.forEach(bar => observer.observe(bar));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup accessibility features
|
||||
*/
|
||||
setupAccessibility() {
|
||||
// Keyboard navigation for custom elements
|
||||
document.addEventListener('keydown', (e) => {
|
||||
if (e.key === 'Enter' || e.key === ' ') {
|
||||
if (e.target.matches('[role="button"]:not(button):not(input)')) {
|
||||
e.preventDefault();
|
||||
e.target.click();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Focus management for modals
|
||||
document.addEventListener('shown.bs.modal', (e) => {
|
||||
const modal = e.target;
|
||||
const focusableElement = modal.querySelector('input, button, select, textarea, [tabindex]:not([tabindex="-1"])');
|
||||
if (focusableElement) {
|
||||
focusableElement.focus();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup focus management
|
||||
*/
|
||||
setupFocusManagement() {
|
||||
// Auto-focus first input in forms
|
||||
const firstInput = document.querySelector('input:not([type="hidden"]):not([readonly])');
|
||||
if (firstInput && !firstInput.value) {
|
||||
setTimeout(() => firstInput.focus(), 100);
|
||||
}
|
||||
|
||||
// Skip links for accessibility
|
||||
const skipLinks = document.querySelectorAll('.skip-link');
|
||||
skipLinks.forEach(link => {
|
||||
link.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
const target = document.querySelector(link.getAttribute('href'));
|
||||
if (target) {
|
||||
target.focus();
|
||||
target.scrollIntoView();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup alert auto-dismissal
|
||||
*/
|
||||
setupAlertDismissal() {
|
||||
const alerts = document.querySelectorAll('.alert:not(.alert-permanent)');
|
||||
|
||||
alerts.forEach(alert => {
|
||||
// Auto-dismiss success alerts
|
||||
if (alert.classList.contains('alert-success')) {
|
||||
setTimeout(() => {
|
||||
this.dismissAlert(alert);
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
// Auto-dismiss info alerts
|
||||
if (alert.classList.contains('alert-info')) {
|
||||
setTimeout(() => {
|
||||
this.dismissAlert(alert);
|
||||
}, 8000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Dismiss alert with animation
|
||||
*/
|
||||
dismissAlert(alert) {
|
||||
alert.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
|
||||
alert.style.opacity = '0';
|
||||
alert.style.transform = 'translateY(-20px)';
|
||||
|
||||
setTimeout(() => {
|
||||
if (alert.parentNode) {
|
||||
alert.parentNode.removeChild(alert);
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle dynamic actions
|
||||
*/
|
||||
handleDynamicAction(e) {
|
||||
e.preventDefault();
|
||||
const action = e.target.dataset.action;
|
||||
|
||||
switch (action) {
|
||||
case 'confirm-delete':
|
||||
this.handleConfirmDelete(e.target);
|
||||
break;
|
||||
case 'copy-link':
|
||||
this.handleCopyLink(e.target);
|
||||
break;
|
||||
case 'toggle-visibility':
|
||||
this.handleToggleVisibility(e.target);
|
||||
break;
|
||||
default:
|
||||
console.warn('Unknown action:', action);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle confirm delete action
|
||||
*/
|
||||
handleConfirmDelete(element) {
|
||||
const message = element.dataset.message || 'Are you sure you want to delete this item?';
|
||||
const form = element.closest('form') || document.querySelector(element.dataset.form);
|
||||
|
||||
if (confirm(message) && form) {
|
||||
form.submit();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle copy link action
|
||||
*/
|
||||
async handleCopyLink(element) {
|
||||
const url = element.dataset.url || window.location.href;
|
||||
|
||||
try {
|
||||
await navigator.clipboard.writeText(url);
|
||||
this.showToast('Link copied to clipboard!', 'success');
|
||||
} catch (err) {
|
||||
console.error('Failed to copy link:', err);
|
||||
this.showToast('Failed to copy link', 'error');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle toggle visibility action
|
||||
*/
|
||||
handleToggleVisibility(element) {
|
||||
const target = document.querySelector(element.dataset.target);
|
||||
const type = element.type;
|
||||
|
||||
if (target && type === 'password') {
|
||||
const isPassword = target.type === 'password';
|
||||
target.type = isPassword ? 'text' : 'password';
|
||||
|
||||
const icon = element.querySelector('i');
|
||||
if (icon) {
|
||||
icon.classList.toggle('bi-eye');
|
||||
icon.classList.toggle('bi-eye-slash');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Show toast notification
|
||||
*/
|
||||
showToast(message, type = 'info') {
|
||||
const toastContainer = this.getOrCreateToastContainer();
|
||||
const toast = this.createToast(message, type);
|
||||
|
||||
toastContainer.appendChild(toast);
|
||||
|
||||
const bsToast = new bootstrap.Toast(toast);
|
||||
bsToast.show();
|
||||
|
||||
toast.addEventListener('hidden.bs.toast', () => {
|
||||
toast.remove();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get or create toast container
|
||||
*/
|
||||
getOrCreateToastContainer() {
|
||||
let container = document.querySelector('.toast-container');
|
||||
|
||||
if (!container) {
|
||||
container = document.createElement('div');
|
||||
container.className = 'toast-container position-fixed top-0 end-0 p-3';
|
||||
container.style.zIndex = '1055';
|
||||
document.body.appendChild(container);
|
||||
}
|
||||
|
||||
return container;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create toast element
|
||||
*/
|
||||
createToast(message, type) {
|
||||
const toast = document.createElement('div');
|
||||
toast.className = 'toast';
|
||||
toast.setAttribute('role', 'alert');
|
||||
toast.setAttribute('aria-live', 'assertive');
|
||||
toast.setAttribute('aria-atomic', 'true');
|
||||
|
||||
const iconMap = {
|
||||
success: 'bi-check-circle-fill text-success',
|
||||
error: 'bi-exclamation-circle-fill text-danger',
|
||||
warning: 'bi-exclamation-triangle-fill text-warning',
|
||||
info: 'bi-info-circle-fill text-info'
|
||||
};
|
||||
|
||||
const icon = iconMap[type] || iconMap.info;
|
||||
|
||||
toast.innerHTML = `
|
||||
<div class="toast-header">
|
||||
<i class="bi ${icon} me-2"></i>
|
||||
<strong class="me-auto">Resume Builder</strong>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="toast"></button>
|
||||
</div>
|
||||
<div class="toast-body">
|
||||
${message}
|
||||
</div>
|
||||
`;
|
||||
|
||||
return toast;
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize the application
|
||||
const app = new ResumeBuilderApp();
|
||||
|
||||
// Export for global access
|
||||
window.ResumeBuilderApp = app;
|
||||
32
resources/js/bootstrap.js
vendored
Normal file
32
resources/js/bootstrap.js
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* We'll load the axios HTTP library which allows us to easily issue requests
|
||||
* to our Laravel back-end. This library automatically handles sending the
|
||||
* CSRF token as a header based on the value of the "XSRF" token cookie.
|
||||
*/
|
||||
|
||||
import axios from 'axios';
|
||||
window.axios = axios;
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
* for events that are broadcast by Laravel. Echo and event broadcasting
|
||||
* allows your team to easily build robust real-time web applications.
|
||||
*/
|
||||
|
||||
// import Echo from 'laravel-echo';
|
||||
|
||||
// import Pusher from 'pusher-js';
|
||||
// window.Pusher = Pusher;
|
||||
|
||||
// window.Echo = new Echo({
|
||||
// broadcaster: 'pusher',
|
||||
// key: import.meta.env.VITE_PUSHER_APP_KEY,
|
||||
// cluster: import.meta.env.VITE_PUSHER_APP_CLUSTER ?? 'mt1',
|
||||
// wsHost: import.meta.env.VITE_PUSHER_HOST ? import.meta.env.VITE_PUSHER_HOST : `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
|
||||
// wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,
|
||||
// wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
|
||||
// forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',
|
||||
// enabledTransports: ['ws', 'wss'],
|
||||
// });
|
||||
234
resources/sass/abstracts/_mixins.scss
Normal file
234
resources/sass/abstracts/_mixins.scss
Normal 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;
|
||||
}
|
||||
288
resources/sass/abstracts/_variables.scss
Normal file
288
resources/sass/abstracts/_variables.scss
Normal 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);
|
||||
}
|
||||
}
|
||||
47
resources/sass/app.scss
Normal file
47
resources/sass/app.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
// ==========================================================================
|
||||
// Enterprise SCSS Architecture - 7-1 Pattern
|
||||
// Professional Resume Builder
|
||||
// ==========================================================================
|
||||
|
||||
// ==========================================================================
|
||||
// 1. Abstracts
|
||||
// ==========================================================================
|
||||
@import 'abstracts/variables';
|
||||
@import 'abstracts/mixins';
|
||||
|
||||
// ==========================================================================
|
||||
// 2. Vendors/Third-party
|
||||
// ==========================================================================
|
||||
@import '~bootstrap/scss/bootstrap';
|
||||
|
||||
// ==========================================================================
|
||||
// 3. Base
|
||||
// ==========================================================================
|
||||
@import 'base/base';
|
||||
|
||||
// ==========================================================================
|
||||
// 4. Layout
|
||||
// ==========================================================================
|
||||
@import 'layouts/header';
|
||||
@import 'layouts/footer';
|
||||
|
||||
// ==========================================================================
|
||||
// 5. Components
|
||||
// ==========================================================================
|
||||
@import 'components/buttons';
|
||||
@import 'components/cards';
|
||||
@import 'components/forms';
|
||||
|
||||
// ==========================================================================
|
||||
// 6. Pages
|
||||
// ==========================================================================
|
||||
@import 'pages/login';
|
||||
@import 'pages/register';
|
||||
@import 'pages/dashboard';
|
||||
@import 'pages/resume-index';
|
||||
@import 'pages/resume-create';
|
||||
|
||||
// ==========================================================================
|
||||
// 7. Utilities
|
||||
// ==========================================================================
|
||||
@import 'utilities/helpers';
|
||||
231
resources/sass/base/_base.scss
Normal file
231
resources/sass/base/_base.scss
Normal file
@@ -0,0 +1,231 @@
|
||||
/**
|
||||
* Base Styles - Enterprise SCSS Architecture
|
||||
* Professional Resume Builder
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
// ==========================================================================
|
||||
// CSS Reset & Base Styles
|
||||
// ==========================================================================
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: $font-family-primary;
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-normal;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba($black, 0);
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: $font-family-primary;
|
||||
font-size: $font-size-base;
|
||||
font-weight: $font-weight-normal;
|
||||
line-height: $line-height-normal;
|
||||
color: $text-primary;
|
||||
background-color: $bg-secondary;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba($black, 0);
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Typography Base
|
||||
// ==========================================================================
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: $spacing-md;
|
||||
font-weight: $font-weight-semibold;
|
||||
line-height: $line-height-tight;
|
||||
color: $text-primary;
|
||||
}
|
||||
|
||||
h1 { font-size: $font-size-4xl; }
|
||||
h2 { font-size: $font-size-3xl; }
|
||||
h3 { font-size: $font-size-2xl; }
|
||||
h4 { font-size: $font-size-xl; }
|
||||
h5 { font-size: $font-size-lg; }
|
||||
h6 { font-size: $font-size-base; }
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: $spacing-base;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
small,
|
||||
.small {
|
||||
font-size: $font-size-sm;
|
||||
font-weight: $font-weight-normal;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Links
|
||||
// ==========================================================================
|
||||
a {
|
||||
color: $primary-color;
|
||||
text-decoration: underline;
|
||||
transition: color $transition-base;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken($primary-color, 15%);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: thin dotted;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Lists
|
||||
// ==========================================================================
|
||||
ul,
|
||||
ol {
|
||||
margin-top: 0;
|
||||
margin-bottom: $spacing-base;
|
||||
padding-left: $spacing-xl;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: $spacing-xs;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Forms Base
|
||||
// ==========================================================================
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Images & Media
|
||||
// ==========================================================================
|
||||
img {
|
||||
border-style: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Tables
|
||||
// ==========================================================================
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: $spacing-sm;
|
||||
padding-bottom: $spacing-sm;
|
||||
color: $text-muted;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Code
|
||||
// ==========================================================================
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: $font-family-mono;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: $spacing-base;
|
||||
overflow: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Accessibility
|
||||
// ==========================================================================
|
||||
.sr-only {
|
||||
@include sr-only;
|
||||
}
|
||||
|
||||
.sr-only-focusable {
|
||||
&:active,
|
||||
&:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
white-space: normal;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Focus States
|
||||
// ==========================================================================
|
||||
:focus {
|
||||
outline: 2px solid $primary-color;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
:focus:not(:focus-visible) {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 2px solid $primary-color;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
465
resources/sass/components/_buttons.scss
Normal file
465
resources/sass/components/_buttons.scss
Normal file
@@ -0,0 +1,465 @@
|
||||
// ==========================================================================
|
||||
// Button Components
|
||||
// Professional Resume Builder - Button Styles
|
||||
// ==========================================================================
|
||||
|
||||
// Base button enhancements
|
||||
.btn {
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.025em;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease-in-out;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active:not(:disabled) {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
// Button loading state
|
||||
&.btn-loading {
|
||||
color: transparent !important;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
border: 2px solid currentColor;
|
||||
border-radius: 50%;
|
||||
border-top-color: transparent;
|
||||
animation: btn-spinner 0.8s linear infinite;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Primary button variants
|
||||
.btn-primary {
|
||||
background: var(--brand-gradient);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-gradient-hover);
|
||||
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: var(--brand-primary-dark);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-primary-soft {
|
||||
background: rgba(102, 126, 234, 0.1);
|
||||
border: 1px solid rgba(102, 126, 234, 0.2);
|
||||
color: var(--brand-primary);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgba(102, 126, 234, 0.15);
|
||||
border-color: rgba(102, 126, 234, 0.3);
|
||||
color: var(--brand-primary-dark);
|
||||
}
|
||||
}
|
||||
|
||||
// Success button variants
|
||||
.btn-success {
|
||||
background: var(--brand-gradient-success);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-gradient-success-hover);
|
||||
box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-success-soft {
|
||||
background: rgba(34, 197, 94, 0.1);
|
||||
border: 1px solid rgba(34, 197, 94, 0.2);
|
||||
color: var(--brand-success);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgba(34, 197, 94, 0.15);
|
||||
border-color: rgba(34, 197, 94, 0.3);
|
||||
color: var(--brand-success-dark);
|
||||
}
|
||||
}
|
||||
|
||||
// Warning button variants
|
||||
.btn-warning {
|
||||
background: var(--brand-gradient-warning);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-gradient-warning-hover);
|
||||
box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-warning-soft {
|
||||
background: rgba(251, 191, 36, 0.1);
|
||||
border: 1px solid rgba(251, 191, 36, 0.2);
|
||||
color: var(--brand-warning);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgba(251, 191, 36, 0.15);
|
||||
border-color: rgba(251, 191, 36, 0.3);
|
||||
color: var(--brand-warning-dark);
|
||||
}
|
||||
}
|
||||
|
||||
// Danger button variants
|
||||
.btn-danger {
|
||||
background: var(--brand-gradient-danger);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-gradient-danger-hover);
|
||||
box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-danger-soft {
|
||||
background: rgba(239, 68, 68, 0.1);
|
||||
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||
color: var(--brand-danger);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgba(239, 68, 68, 0.15);
|
||||
border-color: rgba(239, 68, 68, 0.3);
|
||||
color: var(--brand-danger-dark);
|
||||
}
|
||||
}
|
||||
|
||||
// Outline button enhancements
|
||||
.btn-outline-primary {
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--brand-primary);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-success {
|
||||
border-color: var(--brand-success);
|
||||
color: var(--brand-success);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-success);
|
||||
border-color: var(--brand-success);
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-warning {
|
||||
border-color: var(--brand-warning);
|
||||
color: var(--brand-warning);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-warning);
|
||||
border-color: var(--brand-warning);
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-danger {
|
||||
border-color: var(--brand-danger);
|
||||
color: var(--brand-danger);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-danger);
|
||||
border-color: var(--brand-danger);
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
// Button sizes
|
||||
.btn-xs {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.75rem;
|
||||
border-radius: var(--border-radius-sm);
|
||||
}
|
||||
|
||||
.btn-xl {
|
||||
padding: 1rem 2rem;
|
||||
font-size: 1.125rem;
|
||||
border-radius: var(--border-radius-lg);
|
||||
}
|
||||
|
||||
// Button with icons
|
||||
.btn-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-icon-only {
|
||||
padding: 0.625rem;
|
||||
|
||||
i {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Floating action button
|
||||
.btn-fab {
|
||||
width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.25rem;
|
||||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
||||
position: fixed;
|
||||
bottom: 2rem;
|
||||
right: 2rem;
|
||||
z-index: 1050;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
transform: translateY(-2px) scale(1.05);
|
||||
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
i {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Button groups
|
||||
.btn-group {
|
||||
.btn {
|
||||
&:not(:first-child):not(:last-child) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
transform: none;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Toggle buttons
|
||||
.btn-toggle {
|
||||
background: var(--color-white);
|
||||
border: 2px solid var(--color-gray-200);
|
||||
color: var(--color-gray-600);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--color-gray-50);
|
||||
border-color: var(--color-gray-300);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--brand-primary-dark);
|
||||
border-color: var(--brand-primary-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Gradient buttons
|
||||
.btn-gradient-purple {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
|
||||
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-gradient-orange {
|
||||
background: linear-gradient(135deg, #ff9a56 0%, #ff6b95 100%);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(255, 154, 86, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #ff8a46 0%, #ff5b85 100%);
|
||||
box-shadow: 0 6px 20px rgba(255, 154, 86, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-gradient-teal {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
|
||||
box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
|
||||
}
|
||||
}
|
||||
|
||||
// Social buttons
|
||||
.btn-social {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
i {
|
||||
margin-right: 0.75rem;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.btn-google {
|
||||
background: #db4437;
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: #c23321;
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-facebook {
|
||||
background: #3b5998;
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: #2d4373;
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-linkedin {
|
||||
background: #0077b5;
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: #005885;
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-github {
|
||||
background: #333;
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: #24292e;
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Button animations
|
||||
@keyframes btn-spinner {
|
||||
0% {
|
||||
transform: translate(-50%, -50%) rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: translate(-50%, -50%) rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes btn-pulse {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
|
||||
}
|
||||
70% {
|
||||
box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
|
||||
}
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-pulse {
|
||||
animation: btn-pulse 2s infinite;
|
||||
}
|
||||
|
||||
// Responsive button adjustments
|
||||
@include media-breakpoint-down(sm) {
|
||||
.btn-fab {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
font-size: 1.125rem;
|
||||
bottom: 1.5rem;
|
||||
right: 1.5rem;
|
||||
}
|
||||
|
||||
.btn-social {
|
||||
padding: 0.625rem 1.25rem;
|
||||
font-size: 0.875rem;
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
537
resources/sass/components/_cards.scss
Normal file
537
resources/sass/components/_cards.scss
Normal file
@@ -0,0 +1,537 @@
|
||||
// ==========================================================================
|
||||
// Card Components
|
||||
// Professional Resume Builder - Card Styles
|
||||
// ==========================================================================
|
||||
|
||||
// Base card enhancements
|
||||
.card {
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
transition: all 0.3s ease-in-out;
|
||||
background: var(--color-white);
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
}
|
||||
|
||||
// Card header enhancements
|
||||
.card-header {
|
||||
background-color: transparent;
|
||||
border-bottom: 1px solid var(--color-gray-100);
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
&.bg-light {
|
||||
background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%) !important;
|
||||
}
|
||||
|
||||
&.bg-primary {
|
||||
background: var(--brand-gradient) !important;
|
||||
color: var(--color-white);
|
||||
border-bottom-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
&.bg-success {
|
||||
background: var(--brand-gradient-success) !important;
|
||||
color: var(--color-white);
|
||||
border-bottom-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
// Card body enhancements
|
||||
.card-body {
|
||||
padding: var(--spacing-lg);
|
||||
}
|
||||
|
||||
// Card footer enhancements
|
||||
.card-footer {
|
||||
background-color: var(--color-gray-50);
|
||||
border-top: 1px solid var(--color-gray-100);
|
||||
padding: var(--spacing-lg);
|
||||
}
|
||||
|
||||
// Feature Cards
|
||||
.feature-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-xl);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
transition: all 0.3s ease-in-out;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto var(--spacing-lg);
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
font-size: 1.5rem;
|
||||
box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
|
||||
|
||||
&.icon-success {
|
||||
background: var(--brand-gradient-success);
|
||||
box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
|
||||
}
|
||||
|
||||
&.icon-warning {
|
||||
background: var(--brand-gradient-warning);
|
||||
box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3);
|
||||
}
|
||||
|
||||
&.icon-info {
|
||||
background: var(--brand-gradient-info);
|
||||
box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.feature-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.feature-description {
|
||||
color: var(--color-gray-600);
|
||||
line-height: 1.6;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.feature-link {
|
||||
color: var(--brand-primary);
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
margin-top: var(--spacing-md);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-left: 0.25rem;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
&:hover i {
|
||||
transform: translateX(2px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Stats Cards
|
||||
.stats-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.stats-number {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
color: var(--brand-primary);
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1;
|
||||
|
||||
&.text-success {
|
||||
color: var(--brand-success);
|
||||
}
|
||||
|
||||
&.text-warning {
|
||||
color: var(--brand-warning);
|
||||
}
|
||||
|
||||
&.text-danger {
|
||||
color: var(--brand-danger);
|
||||
}
|
||||
}
|
||||
|
||||
.stats-label {
|
||||
color: var(--color-gray-600);
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.875rem;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.stats-change {
|
||||
margin-top: var(--spacing-sm);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
|
||||
&.positive {
|
||||
color: var(--brand-success);
|
||||
}
|
||||
|
||||
&.negative {
|
||||
color: var(--brand-danger);
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Profile Cards
|
||||
.profile-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-xl);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
text-align: center;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto var(--spacing-md);
|
||||
border: 4px solid var(--color-white);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.avatar-initials {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
font-weight: 600;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-name {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.profile-role {
|
||||
color: var(--color-gray-600);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.profile-bio {
|
||||
color: var(--color-gray-600);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.profile-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
// Testimonial Cards
|
||||
.testimonial-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-xl);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '"';
|
||||
position: absolute;
|
||||
top: -0.5rem;
|
||||
left: var(--spacing-lg);
|
||||
font-size: 4rem;
|
||||
color: var(--brand-primary);
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.testimonial-content {
|
||||
font-style: italic;
|
||||
color: var(--color-gray-700);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.testimonial-author {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
|
||||
.author-avatar {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.author-info {
|
||||
.author-name {
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 0.125rem;
|
||||
}
|
||||
|
||||
.author-role {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.testimonial-rating {
|
||||
display: flex;
|
||||
gap: 0.125rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
i {
|
||||
color: var(--brand-warning);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pricing Cards
|
||||
.pricing-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-xl);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
text-align: center;
|
||||
position: relative;
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
&.featured {
|
||||
border: 2px solid var(--brand-primary);
|
||||
transform: scale(1.05);
|
||||
|
||||
.pricing-badge {
|
||||
position: absolute;
|
||||
top: -0.5rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
padding: 0.375rem 1rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
.pricing-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.pricing-price {
|
||||
margin-bottom: var(--spacing-lg);
|
||||
|
||||
.price-currency {
|
||||
font-size: 1.25rem;
|
||||
color: var(--color-gray-600);
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.price-amount {
|
||||
font-size: 3rem;
|
||||
font-weight: 800;
|
||||
color: var(--brand-primary);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.price-period {
|
||||
color: var(--color-gray-600);
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.pricing-features {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 0 var(--spacing-xl);
|
||||
|
||||
li {
|
||||
padding: 0.5rem 0;
|
||||
color: var(--color-gray-600);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
i {
|
||||
color: var(--brand-success);
|
||||
margin-right: var(--spacing-sm);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Card variations
|
||||
.card-elevated {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.card-flat {
|
||||
box-shadow: none;
|
||||
border: 1px solid var(--color-gray-100);
|
||||
}
|
||||
|
||||
.card-bordered {
|
||||
border: 2px solid var(--color-gray-100);
|
||||
|
||||
&.border-primary {
|
||||
border-color: var(--brand-primary);
|
||||
}
|
||||
|
||||
&.border-success {
|
||||
border-color: var(--brand-success);
|
||||
}
|
||||
|
||||
&.border-warning {
|
||||
border-color: var(--brand-warning);
|
||||
}
|
||||
|
||||
&.border-danger {
|
||||
border-color: var(--brand-danger);
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive adjustments
|
||||
@include media-breakpoint-down(md) {
|
||||
.feature-card {
|
||||
padding: var(--spacing-lg);
|
||||
text-align: left;
|
||||
|
||||
.feature-icon {
|
||||
margin: 0 0 var(--spacing-md) 0;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.stats-card {
|
||||
.stats-number {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-card {
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
.profile-avatar {
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.pricing-card {
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
&.featured {
|
||||
transform: none;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.pricing-price {
|
||||
.price-amount {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.testimonial-card {
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
.testimonial-content {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Card animations
|
||||
@keyframes cardFadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.card-animate {
|
||||
animation: cardFadeIn 0.6s ease-out;
|
||||
|
||||
&:nth-child(2) {
|
||||
animation-delay: 0.1s;
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
animation-delay: 0.2s;
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
animation-delay: 0.3s;
|
||||
}
|
||||
}
|
||||
585
resources/sass/components/_forms.scss
Normal file
585
resources/sass/components/_forms.scss
Normal file
@@ -0,0 +1,585 @@
|
||||
// ==========================================================================
|
||||
// Form Components
|
||||
// Professional Resume Builder - Form Styles
|
||||
// ==========================================================================
|
||||
|
||||
// Base form enhancements
|
||||
.form-control, .form-select {
|
||||
border: 2px solid var(--color-gray-200);
|
||||
border-radius: var(--border-radius-md);
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 1rem;
|
||||
transition: all 0.2s ease-in-out;
|
||||
background-color: var(--color-white);
|
||||
|
||||
&:focus {
|
||||
border-color: var(--brand-primary);
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
|
||||
background-color: var(--color-white);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
background-color: var(--color-gray-50);
|
||||
border-color: var(--color-gray-100);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
&.is-valid {
|
||||
border-color: var(--brand-success);
|
||||
box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.1);
|
||||
}
|
||||
|
||||
&.is-invalid {
|
||||
border-color: var(--brand-danger);
|
||||
box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
// Form labels
|
||||
.form-label {
|
||||
font-weight: 500;
|
||||
color: var(--color-gray-700);
|
||||
margin-bottom: 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
|
||||
&.required {
|
||||
&::after {
|
||||
content: " *";
|
||||
color: var(--brand-danger);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Floating labels
|
||||
.form-floating {
|
||||
position: relative;
|
||||
|
||||
.form-control, .form-select {
|
||||
height: 3.5rem;
|
||||
padding: 1rem 0.75rem;
|
||||
|
||||
&:focus, &:not(:placeholder-shown) {
|
||||
padding-top: 1.625rem;
|
||||
padding-bottom: 0.625rem;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 1rem 0.75rem;
|
||||
overflow: hidden;
|
||||
text-align: start;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
border: 2px solid transparent;
|
||||
transform-origin: 0 0;
|
||||
transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
|
||||
font-weight: 400;
|
||||
color: var(--color-gray-500);
|
||||
}
|
||||
|
||||
.form-control:focus ~ label,
|
||||
.form-control:not(:placeholder-shown) ~ label,
|
||||
.form-select ~ label {
|
||||
opacity: 0.65;
|
||||
transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
|
||||
.form-control.is-invalid:focus ~ label,
|
||||
.form-control.is-invalid:not(:placeholder-shown) ~ label {
|
||||
color: var(--brand-danger);
|
||||
}
|
||||
|
||||
.form-control.is-valid:focus ~ label,
|
||||
.form-control.is-valid:not(:placeholder-shown) ~ label {
|
||||
color: var(--brand-success);
|
||||
}
|
||||
}
|
||||
|
||||
// Input groups
|
||||
.input-group {
|
||||
.form-control {
|
||||
&:not(:first-child) {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
background-color: var(--color-gray-50);
|
||||
border: 2px solid var(--color-gray-200);
|
||||
color: var(--color-gray-600);
|
||||
font-weight: 500;
|
||||
padding: 0.75rem 1rem;
|
||||
|
||||
i {
|
||||
color: var(--color-gray-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Form check (checkboxes and radios)
|
||||
.form-check {
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
.form-check-input {
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
margin-top: 0.125rem;
|
||||
border: 2px solid var(--color-gray-300);
|
||||
border-radius: var(--border-radius-sm);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:checked {
|
||||
background-color: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
|
||||
border-color: var(--brand-primary);
|
||||
}
|
||||
|
||||
&[type="radio"] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.form-check-label {
|
||||
font-weight: 400;
|
||||
color: var(--color-gray-700);
|
||||
margin-left: 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&.form-switch {
|
||||
.form-check-input {
|
||||
width: 2.5rem;
|
||||
height: 1.25rem;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280,0,0,.25%29'/%3e%3c/svg%3e");
|
||||
background-position: left center;
|
||||
border-radius: var(--border-radius-full);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:checked {
|
||||
background-position: right center;
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255,255,255,1.0%29'/%3e%3c/svg%3e");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Range inputs
|
||||
.form-range {
|
||||
height: 1.5rem;
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
appearance: none;
|
||||
|
||||
&::-webkit-slider-track {
|
||||
width: 100%;
|
||||
height: 0.5rem;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
background: var(--color-gray-200);
|
||||
border-radius: var(--border-radius-full);
|
||||
}
|
||||
|
||||
&::-webkit-slider-thumb {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
background: var(--brand-primary);
|
||||
border: 2px solid var(--color-white);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
&::-moz-range-track {
|
||||
width: 100%;
|
||||
height: 0.5rem;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
background: var(--color-gray-200);
|
||||
border-radius: var(--border-radius-full);
|
||||
border: none;
|
||||
}
|
||||
|
||||
&::-moz-range-thumb {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
background: var(--brand-primary);
|
||||
border: 2px solid var(--color-white);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
// File inputs
|
||||
.form-control[type="file"] {
|
||||
padding: 0.375rem 0.75rem;
|
||||
|
||||
&::file-selector-button {
|
||||
padding: 0.375rem 0.75rem;
|
||||
margin: -0.375rem -0.75rem -0.375rem 0;
|
||||
margin-inline-end: 0.75rem;
|
||||
color: var(--color-gray-600);
|
||||
background-color: var(--color-gray-100);
|
||||
pointer-events: none;
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
border-inline-end-width: 2px;
|
||||
border-radius: 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled):not([readonly])::file-selector-button {
|
||||
background-color: var(--color-gray-200);
|
||||
}
|
||||
}
|
||||
|
||||
// Form validation
|
||||
.was-validated .form-control:valid,
|
||||
.form-control.is-valid {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2322c55e' d='m2.3 6.73.8.8 4.1-4.1-.8-.8L3.1 5.9l-1.6-1.6-.8.8z'/%3e%3c/svg%3e");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right calc(0.375em + 0.1875rem) center;
|
||||
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
||||
}
|
||||
|
||||
.was-validated .form-control:invalid,
|
||||
.form-control.is-invalid {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4M8.2 4.6l-2.4 2.4'/%3e%3c/svg%3e");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right calc(0.375em + 0.1875rem) center;
|
||||
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
||||
}
|
||||
|
||||
// Feedback messages
|
||||
.valid-feedback {
|
||||
color: var(--brand-success);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.invalid-feedback {
|
||||
color: var(--brand-danger);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
// Custom form controls
|
||||
.custom-file-upload {
|
||||
display: inline-block;
|
||||
padding: 0.75rem 1.5rem;
|
||||
cursor: pointer;
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
border-radius: var(--border-radius-md);
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
// Multi-step form
|
||||
.multi-step-form {
|
||||
.step-indicator {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: var(--spacing-xl);
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
||||
.step {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
|
||||
&:not(:last-child)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
right: -50%;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: var(--color-gray-200);
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.active {
|
||||
&:not(:last-child)::after {
|
||||
background: var(--brand-primary);
|
||||
}
|
||||
|
||||
.step-number {
|
||||
background: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.step-title {
|
||||
color: var(--brand-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
&.completed {
|
||||
.step-number {
|
||||
background: var(--brand-success);
|
||||
color: var(--color-white);
|
||||
|
||||
&::before {
|
||||
content: "✓";
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.step-title {
|
||||
color: var(--brand-success);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.step-number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: 50%;
|
||||
background: var(--color-gray-200);
|
||||
color: var(--color-gray-600);
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.5rem;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
margin: 0;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
}
|
||||
|
||||
.step-content {
|
||||
display: none;
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
animation: fadeIn 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
.step-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: var(--spacing-xl);
|
||||
padding-top: var(--spacing-lg);
|
||||
border-top: 1px solid var(--color-gray-100);
|
||||
|
||||
.btn {
|
||||
min-width: 120px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Form sections
|
||||
.form-section {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-xl);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
|
||||
.section-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: var(--spacing-md);
|
||||
padding-bottom: var(--spacing-sm);
|
||||
border-bottom: 2px solid var(--color-gray-100);
|
||||
|
||||
i {
|
||||
color: var(--brand-primary);
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.section-description {
|
||||
color: var(--color-gray-600);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive form adjustments
|
||||
@include media-breakpoint-down(md) {
|
||||
.form-floating {
|
||||
.form-control, .form-select {
|
||||
height: 3.25rem;
|
||||
padding: 0.875rem 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.multi-step-form {
|
||||
.step-indicator {
|
||||
.step-number {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.step-actions {
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
order: 2;
|
||||
|
||||
&.btn-outline-secondary {
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-section {
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
.section-title {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Form animations
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shake {
|
||||
0%, 100% { transform: translateX(0); }
|
||||
25% { transform: translateX(-5px); }
|
||||
75% { transform: translateX(5px); }
|
||||
}
|
||||
|
||||
.form-control.is-invalid,
|
||||
.form-select.is-invalid {
|
||||
animation: shake 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
// Loading states
|
||||
.form-loading {
|
||||
position: relative;
|
||||
pointer-events: none;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--border-radius-lg);
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
|
||||
// Form success state
|
||||
.form-success {
|
||||
text-align: center;
|
||||
padding: var(--spacing-4xl) var(--spacing-lg);
|
||||
|
||||
.success-icon {
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
border-radius: 50%;
|
||||
background: var(--brand-gradient-success);
|
||||
color: var(--color-white);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto var(--spacing-lg);
|
||||
font-size: 2rem;
|
||||
animation: successPulse 2s infinite;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: var(--color-dark);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--color-gray-600);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes successPulse {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
|
||||
}
|
||||
70% {
|
||||
box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
|
||||
}
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
|
||||
}
|
||||
}
|
||||
484
resources/sass/layouts/_footer.scss
Normal file
484
resources/sass/layouts/_footer.scss
Normal file
@@ -0,0 +1,484 @@
|
||||
// ==========================================================================
|
||||
// Footer Layout Styles
|
||||
// Professional Resume Builder - Footer
|
||||
// ==========================================================================
|
||||
|
||||
.main-footer {
|
||||
background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
|
||||
color: var(--color-gray-300);
|
||||
padding: var(--spacing-4xl) 0 var(--spacing-xl);
|
||||
margin-top: auto;
|
||||
|
||||
.footer-content {
|
||||
.footer-brand {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
.brand-logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
.brand-icon {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
border-radius: var(--border-radius-lg);
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: var(--spacing-md);
|
||||
font-size: 1.5rem;
|
||||
box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.brand-text {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
.brand-description {
|
||||
color: var(--color-gray-400);
|
||||
line-height: 1.6;
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
.footer-section {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
h6 {
|
||||
color: var(--color-white);
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
a {
|
||||
color: var(--color-gray-400);
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
transition: all 0.2s ease;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-white);
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
width: 1rem;
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-contact {
|
||||
.contact-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
.contact-icon {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
background: rgba(102, 126, 234, 0.1);
|
||||
color: var(--brand-primary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: var(--spacing-md);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
.contact-label {
|
||||
font-size: 0.8rem;
|
||||
color: var(--color-gray-500);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
margin-bottom: 0.125rem;
|
||||
}
|
||||
|
||||
.contact-value {
|
||||
color: var(--color-gray-300);
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-social {
|
||||
.social-links {
|
||||
display: flex;
|
||||
gap: var(--spacing-sm);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
|
||||
a {
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: var(--color-gray-300);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
font-size: 1.125rem;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
&.facebook:hover {
|
||||
background: #3b5998;
|
||||
}
|
||||
|
||||
&.twitter:hover {
|
||||
background: #1da1f2;
|
||||
}
|
||||
|
||||
&.linkedin:hover {
|
||||
background: #0077b5;
|
||||
}
|
||||
|
||||
&.github:hover {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
&.instagram:hover {
|
||||
background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.newsletter {
|
||||
.newsletter-title {
|
||||
color: var(--color-white);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-sm);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.newsletter-description {
|
||||
color: var(--color-gray-400);
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.newsletter-form {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
||||
.form-control {
|
||||
flex: 1;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
color: var(--color-white);
|
||||
border-radius: var(--border-radius-md);
|
||||
padding: 0.75rem 1rem;
|
||||
|
||||
&::placeholder {
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: var(--brand-primary);
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
background: var(--brand-gradient);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
padding-top: var(--spacing-lg);
|
||||
margin-top: var(--spacing-xl);
|
||||
|
||||
.footer-copyright {
|
||||
color: var(--color-gray-500);
|
||||
font-size: 0.875rem;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: var(--brand-primary);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-legal {
|
||||
.legal-links {
|
||||
display: flex;
|
||||
gap: var(--spacing-lg);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: var(--color-gray-500);
|
||||
text-decoration: none;
|
||||
font-size: 0.875rem;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-white);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Minimal footer variant
|
||||
.footer-minimal {
|
||||
background: var(--color-white);
|
||||
border-top: 1px solid var(--color-gray-100);
|
||||
padding: var(--spacing-lg) 0;
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.footer-text {
|
||||
color: var(--color-gray-600);
|
||||
font-size: 0.875rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: var(--spacing-lg);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: var(--color-gray-600);
|
||||
text-decoration: none;
|
||||
font-size: 0.875rem;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Auth footer (for login/register pages)
|
||||
.auth-footer {
|
||||
background: transparent;
|
||||
padding: var(--spacing-lg) 0;
|
||||
text-align: center;
|
||||
margin-top: auto;
|
||||
|
||||
.footer-text {
|
||||
color: var(--color-gray-600);
|
||||
font-size: 0.875rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: var(--spacing-lg);
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
color: var(--brand-primary);
|
||||
text-decoration: none;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive design
|
||||
@include media-breakpoint-down(lg) {
|
||||
.main-footer {
|
||||
.footer-content {
|
||||
.footer-links {
|
||||
.footer-section {
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
}
|
||||
|
||||
.footer-social {
|
||||
margin-top: var(--spacing-xl);
|
||||
|
||||
.social-links {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.newsletter-form {
|
||||
flex-direction: column;
|
||||
|
||||
.form-control {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
text-align: center;
|
||||
|
||||
.footer-legal {
|
||||
margin-top: var(--spacing-md);
|
||||
|
||||
.legal-links {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer-minimal {
|
||||
.footer-content {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
gap: var(--spacing-md);
|
||||
|
||||
.footer-links {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.main-footer {
|
||||
padding: var(--spacing-2xl) 0 var(--spacing-lg);
|
||||
|
||||
.footer-content {
|
||||
.footer-brand {
|
||||
text-align: center;
|
||||
|
||||
.brand-description {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-contact {
|
||||
text-align: center;
|
||||
|
||||
.contact-item {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.auth-footer {
|
||||
.footer-links {
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-sm);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Footer animations
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.footer-animate {
|
||||
.footer-section {
|
||||
animation: fadeInUp 0.6s ease-out;
|
||||
|
||||
&:nth-child(2) {
|
||||
animation-delay: 0.1s;
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
animation-delay: 0.2s;
|
||||
}
|
||||
|
||||
&:nth-child(4) {
|
||||
animation-delay: 0.3s;
|
||||
}
|
||||
}
|
||||
}
|
||||
478
resources/sass/layouts/_header.scss
Normal file
478
resources/sass/layouts/_header.scss
Normal file
@@ -0,0 +1,478 @@
|
||||
// ==========================================================================
|
||||
// Header Layout Styles
|
||||
// Professional Resume Builder - Header/Navigation
|
||||
// ==========================================================================
|
||||
|
||||
// Main navigation
|
||||
.main-navbar {
|
||||
background: var(--color-white);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
|
||||
padding: 0.5rem 0;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1030;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&.scrolled {
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
font-size: 1.5rem;
|
||||
color: var(--brand-primary);
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary-dark);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.brand-icon {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
background: var(--brand-gradient);
|
||||
color: var(--color-white);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-right: 0.75rem;
|
||||
font-size: 1.25rem;
|
||||
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
.nav-link {
|
||||
font-weight: 500;
|
||||
color: var(--color-gray-700);
|
||||
padding: 0.625rem 1rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary);
|
||||
background-color: rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: var(--brand-primary);
|
||||
font-weight: 600;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -0.5rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
background: var(--brand-primary);
|
||||
border-radius: var(--border-radius-full);
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-toggler {
|
||||
border: none;
|
||||
padding: 0.375rem 0.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
|
||||
.navbar-toggler-icon {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28102, 126, 234, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// User dropdown
|
||||
.user-dropdown {
|
||||
.dropdown-toggle {
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 0.375rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--color-white);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
object-fit: cover;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.user-info {
|
||||
text-align: left;
|
||||
|
||||
.user-name {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.user-role {
|
||||
font-size: 0.75rem;
|
||||
color: var(--color-gray-600);
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-arrow {
|
||||
margin-left: 0.5rem;
|
||||
color: var(--color-gray-400);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
&[aria-expanded="true"] {
|
||||
.dropdown-arrow {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
padding: 0.5rem;
|
||||
min-width: 200px;
|
||||
margin-top: 0.5rem;
|
||||
|
||||
.dropdown-item {
|
||||
border-radius: var(--border-radius-md);
|
||||
padding: 0.625rem 1rem;
|
||||
font-weight: 400;
|
||||
color: var(--color-gray-700);
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-gray-50);
|
||||
color: var(--color-dark);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: var(--color-gray-100);
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.75rem;
|
||||
width: 1rem;
|
||||
color: var(--color-gray-500);
|
||||
}
|
||||
|
||||
&.text-danger {
|
||||
color: var(--brand-danger);
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(239, 68, 68, 0.1);
|
||||
color: var(--brand-danger);
|
||||
}
|
||||
|
||||
i {
|
||||
color: var(--brand-danger);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-divider {
|
||||
border-color: var(--color-gray-100);
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Notification badge
|
||||
.notification-badge {
|
||||
position: relative;
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: -0.375rem;
|
||||
right: -0.375rem;
|
||||
background: var(--brand-danger);
|
||||
color: var(--color-white);
|
||||
font-size: 0.625rem;
|
||||
padding: 0.25rem 0.375rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
font-weight: 600;
|
||||
min-width: 1.125rem;
|
||||
height: 1.125rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 2px solid var(--color-white);
|
||||
}
|
||||
}
|
||||
|
||||
// Search bar in header
|
||||
.header-search {
|
||||
position: relative;
|
||||
max-width: 400px;
|
||||
margin: 0 auto;
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 0.625rem 1rem 0.625rem 2.75rem;
|
||||
border: 2px solid var(--color-gray-200);
|
||||
border-radius: var(--border-radius-full);
|
||||
background: var(--color-white);
|
||||
transition: all 0.2s ease;
|
||||
font-size: 0.9rem;
|
||||
|
||||
&:focus {
|
||||
border-color: var(--brand-primary);
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: var(--color-gray-500);
|
||||
}
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-gray-400);
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.search-results {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.5rem);
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
z-index: 1050;
|
||||
display: none;
|
||||
|
||||
&.show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.search-item {
|
||||
padding: 0.75rem 1rem;
|
||||
border-bottom: 1px solid var(--color-gray-100);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-gray-50);
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.item-title {
|
||||
font-weight: 500;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.item-description {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Breadcrumb
|
||||
.custom-breadcrumb {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
|
||||
.breadcrumb {
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
.breadcrumb-item {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
|
||||
&.active {
|
||||
color: var(--color-gray-800);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--brand-primary);
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
color: var(--color-gray-400);
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Mobile navigation
|
||||
@include media-breakpoint-down(lg) {
|
||||
.main-navbar {
|
||||
.navbar-collapse {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
|
||||
.navbar-nav {
|
||||
.nav-link {
|
||||
padding: 0.875rem 1rem;
|
||||
margin-bottom: 0.25rem;
|
||||
|
||||
&.active::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
.brand-icon {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-dropdown {
|
||||
margin-top: var(--spacing-md);
|
||||
padding-top: var(--spacing-md);
|
||||
border-top: 1px solid var(--color-gray-100);
|
||||
|
||||
.dropdown-toggle {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
padding: 0.75rem 1rem;
|
||||
background-color: var(--color-gray-50);
|
||||
border-radius: var(--border-radius-md);
|
||||
|
||||
.user-info {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
position: static;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
background: transparent;
|
||||
padding: 0;
|
||||
margin-top: 0.5rem;
|
||||
|
||||
.dropdown-item {
|
||||
background: var(--color-white);
|
||||
margin-bottom: 0.25rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-gray-50);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-search {
|
||||
margin: var(--spacing-md) 0;
|
||||
|
||||
.search-input {
|
||||
font-size: 1rem;
|
||||
padding: 0.75rem 1rem 0.75rem 3rem;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
left: 1.125rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Header animations
|
||||
@keyframes slideDown {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-collapse.collapsing,
|
||||
.navbar-collapse.show {
|
||||
animation: slideDown 0.3s ease-out;
|
||||
}
|
||||
|
||||
// Sticky header behavior
|
||||
.header-hidden {
|
||||
transform: translateY(-100%);
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.header-visible {
|
||||
transform: translateY(0);
|
||||
transition: transform 0.3s ease-in-out;
|
||||
}
|
||||
570
resources/sass/pages/_dashboard-old.scss
Normal file
570
resources/sass/pages/_dashboard-old.scss
Normal file
@@ -0,0 +1,570 @@
|
||||
/**
|
||||
* Dashboard Page Styles - Enterprise SCSS Architecture
|
||||
* Professional Resume Builder
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
// ==========================================================================
|
||||
// Dashboard Container
|
||||
// ==========================================================================
|
||||
.dashboard-container {
|
||||
padding: $spacing-lg 0;
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
padding: $spacing-base 0;
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Hero Section
|
||||
// ==========================================================================
|
||||
.hero-section {
|
||||
margin-bottom: $spacing-4xl;
|
||||
|
||||
.hero-card {
|
||||
@include card-base;
|
||||
background: $gradient-primary;
|
||||
color: $white;
|
||||
border-radius: $radius-2xl;
|
||||
box-shadow: $shadow-2xl;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
@include grid-pattern(60px, rgba(255, 255, 255, 0.1));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-4xl;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
padding: $spacing-3xl $spacing-lg;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero-icon {
|
||||
margin-bottom: $spacing-xl;
|
||||
|
||||
.large-icon {
|
||||
font-size: 4rem;
|
||||
transition: all $transition-base;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1) rotate(5deg);
|
||||
}
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
font-size: 3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: $font-size-4xl;
|
||||
font-weight: $font-weight-bold;
|
||||
margin-bottom: $spacing-lg;
|
||||
text-shadow: 0 2px 4px rgba($black, 0.2);
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
font-size: $font-size-3xl;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: $font-size-lg;
|
||||
opacity: 0.9;
|
||||
margin-bottom: $spacing-lg;
|
||||
font-weight: $font-weight-light;
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
font-size: $font-size-base;
|
||||
}
|
||||
}
|
||||
|
||||
.author-signature {
|
||||
font-size: $font-size-base;
|
||||
opacity: 0.8;
|
||||
margin-bottom: $spacing-2xl;
|
||||
font-weight: $font-weight-medium;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
@include flex-center;
|
||||
gap: $spacing-lg;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
flex-direction: column;
|
||||
gap: $spacing-base;
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
@include button-base;
|
||||
padding: $spacing-md $spacing-xl;
|
||||
font-size: $font-size-base;
|
||||
font-weight: $font-weight-semibold;
|
||||
border-radius: $radius-md;
|
||||
transition: all $transition-base;
|
||||
|
||||
&.btn-light {
|
||||
background-color: $white;
|
||||
color: $primary-color;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba($white, 0.9);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: $shadow-lg;
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-outline-light {
|
||||
background-color: transparent;
|
||||
color: $white;
|
||||
border: 2px solid rgba($white, 0.8);
|
||||
|
||||
&:hover {
|
||||
background-color: rgba($white, 0.1);
|
||||
border-color: $white;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Stats Section
|
||||
// ==========================================================================
|
||||
.stats-section {
|
||||
margin-bottom: $spacing-4xl;
|
||||
|
||||
.stat-card {
|
||||
@include card-base;
|
||||
@include card-hover;
|
||||
border: none;
|
||||
height: 100%;
|
||||
transition: all $transition-base;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: $shadow-xl;
|
||||
|
||||
.stat-icon {
|
||||
transform: scale(1.1) rotate(5deg);
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-2xl;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
@include flex-center;
|
||||
margin: 0 auto $spacing-lg auto;
|
||||
border-radius: $radius-full;
|
||||
transition: all $transition-base;
|
||||
|
||||
i {
|
||||
font-size: $font-size-2xl;
|
||||
}
|
||||
|
||||
&.bg-primary {
|
||||
background: linear-gradient(135deg, $primary-color, lighten($primary-color, 10%));
|
||||
}
|
||||
|
||||
&.bg-success {
|
||||
background: linear-gradient(135deg, $success-color, lighten($success-color, 10%));
|
||||
}
|
||||
|
||||
&.bg-warning {
|
||||
background: linear-gradient(135deg, $warning-color, lighten($warning-color, 10%));
|
||||
}
|
||||
|
||||
&.bg-info {
|
||||
background: linear-gradient(135deg, $info-color, lighten($info-color, 10%));
|
||||
}
|
||||
}
|
||||
|
||||
.stat-number {
|
||||
font-size: $font-size-3xl;
|
||||
font-weight: $font-weight-bold;
|
||||
margin-bottom: $spacing-xs;
|
||||
line-height: 1;
|
||||
|
||||
&.text-primary { color: $primary-color; }
|
||||
&.text-success { color: $success-color; }
|
||||
&.text-warning { color: $warning-color; }
|
||||
&.text-info { color: $info-color; }
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
font-size: $font-size-2xl;
|
||||
}
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: $font-size-base;
|
||||
color: $text-muted;
|
||||
font-weight: $font-weight-medium;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Features Section
|
||||
// ==========================================================================
|
||||
.features-section {
|
||||
margin-bottom: $spacing-4xl;
|
||||
|
||||
.section-title {
|
||||
font-size: $font-size-3xl;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $text-primary;
|
||||
margin-bottom: $spacing-sm;
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
font-size: $font-size-2xl;
|
||||
}
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: $font-size-lg;
|
||||
color: $text-muted;
|
||||
margin-bottom: $spacing-2xl;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
@include card-base;
|
||||
@include card-hover;
|
||||
border: none;
|
||||
height: 100%;
|
||||
transition: all $transition-base;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: $shadow-xl;
|
||||
|
||||
.feature-avatar {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-2xl;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.feature-avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
@include flex-center;
|
||||
margin: 0 auto $spacing-lg auto;
|
||||
border-radius: $radius-full;
|
||||
background-color: rgba($primary-color, 0.1);
|
||||
transition: all $transition-base;
|
||||
|
||||
i {
|
||||
font-size: $font-size-3xl;
|
||||
color: $primary-color;
|
||||
}
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: $font-size-xl;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $text-primary;
|
||||
margin-bottom: $spacing-lg;
|
||||
}
|
||||
|
||||
.card-text {
|
||||
font-size: $font-size-base;
|
||||
color: $text-muted;
|
||||
line-height: $line-height-relaxed;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Recent Activity Section
|
||||
// ==========================================================================
|
||||
.recent-activity-section {
|
||||
margin-bottom: $spacing-4xl;
|
||||
|
||||
.card {
|
||||
@include card-base;
|
||||
border: none;
|
||||
|
||||
.card-header {
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: $spacing-xl $spacing-xl 0 $spacing-xl;
|
||||
|
||||
.card-title {
|
||||
font-size: $font-size-xl;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $text-primary;
|
||||
margin: 0;
|
||||
|
||||
i {
|
||||
color: $primary-color;
|
||||
margin-right: $spacing-sm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-lg $spacing-xl $spacing-xl $spacing-xl;
|
||||
}
|
||||
}
|
||||
|
||||
.activity-item {
|
||||
padding: $spacing-lg;
|
||||
border: 2px solid $border-color;
|
||||
border-radius: $radius-md;
|
||||
background-color: rgba($gray-50, 0.5);
|
||||
transition: all $transition-base;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba($gray-100, 0.8);
|
||||
border-color: $border-color-hover;
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: $font-size-base;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $text-primary;
|
||||
margin-bottom: $spacing-xs;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: $font-size-sm;
|
||||
color: $text-muted;
|
||||
margin-bottom: $spacing-sm;
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
&.small {
|
||||
font-size: $font-size-xs;
|
||||
|
||||
i {
|
||||
margin-right: $spacing-xs;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Quick Actions Section
|
||||
// ==========================================================================
|
||||
.quick-actions-section {
|
||||
.card {
|
||||
@include card-base;
|
||||
border: none;
|
||||
|
||||
.card-header {
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: $spacing-xl $spacing-xl 0 $spacing-xl;
|
||||
|
||||
.card-title {
|
||||
font-size: $font-size-xl;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $text-primary;
|
||||
margin: 0;
|
||||
|
||||
i {
|
||||
color: $primary-color;
|
||||
margin-right: $spacing-sm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-lg $spacing-xl $spacing-xl $spacing-xl;
|
||||
}
|
||||
}
|
||||
|
||||
.action-card {
|
||||
@include card-base;
|
||||
text-decoration: none;
|
||||
height: 100%;
|
||||
transition: all $transition-base;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&.border-primary {
|
||||
border-color: rgba($primary-color, 0.3);
|
||||
|
||||
&:hover {
|
||||
border-color: $primary-color;
|
||||
background-color: rgba($primary-color, 0.02);
|
||||
transform: translateY(-8px) scale(1.02);
|
||||
box-shadow: $shadow-xl;
|
||||
|
||||
i {
|
||||
transform: scale(1.2) rotate(10deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.border-success {
|
||||
border-color: rgba($success-color, 0.3);
|
||||
|
||||
&:hover {
|
||||
border-color: $success-color;
|
||||
background-color: rgba($success-color, 0.02);
|
||||
transform: translateY(-8px) scale(1.02);
|
||||
box-shadow: $shadow-xl;
|
||||
|
||||
i {
|
||||
transform: scale(1.2) rotate(-10deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.border-warning {
|
||||
border-color: rgba($warning-color, 0.3);
|
||||
|
||||
&:hover {
|
||||
border-color: $warning-color;
|
||||
background-color: rgba($warning-color, 0.02);
|
||||
transform: translateY(-8px) scale(1.02);
|
||||
box-shadow: $shadow-xl;
|
||||
|
||||
i {
|
||||
transform: scale(1.2) rotate(5deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: $spacing-2xl;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 4rem;
|
||||
margin-bottom: $spacing-lg;
|
||||
transition: all $transition-base;
|
||||
|
||||
&.text-primary { color: $primary-color; }
|
||||
&.text-success { color: $success-color; }
|
||||
&.text-warning { color: $warning-color; }
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: $font-size-base;
|
||||
font-weight: $font-weight-semibold;
|
||||
margin-bottom: $spacing-sm;
|
||||
|
||||
&.text-primary { color: $primary-color; }
|
||||
&.text-success { color: $success-color; }
|
||||
&.text-warning { color: $warning-color; }
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: $font-size-sm;
|
||||
color: $text-muted;
|
||||
margin: 0;
|
||||
line-height: $line-height-normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Animations
|
||||
// ==========================================================================
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard-container > section {
|
||||
animation: fadeInUp 0.6s ease-out;
|
||||
|
||||
&:nth-child(1) { animation-delay: 0; }
|
||||
&:nth-child(2) { animation-delay: 0.1s; }
|
||||
&:nth-child(3) { animation-delay: 0.2s; }
|
||||
&:nth-child(4) { animation-delay: 0.3s; }
|
||||
&:nth-child(5) { animation-delay: 0.4s; }
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// Responsive Design
|
||||
// ==========================================================================
|
||||
@include media-down($breakpoint-lg) {
|
||||
.features-section {
|
||||
.feature-card {
|
||||
margin-bottom: $spacing-xl;
|
||||
}
|
||||
}
|
||||
|
||||
.quick-actions-section {
|
||||
.action-card {
|
||||
margin-bottom: $spacing-lg;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-down($breakpoint-md) {
|
||||
.dashboard-container {
|
||||
padding: $spacing-base 0;
|
||||
}
|
||||
|
||||
.stats-section,
|
||||
.features-section,
|
||||
.recent-activity-section {
|
||||
margin-bottom: $spacing-2xl;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
margin-bottom: $spacing-2xl;
|
||||
}
|
||||
|
||||
.stat-card,
|
||||
.feature-card {
|
||||
margin-bottom: $spacing-lg;
|
||||
}
|
||||
|
||||
.recent-activity-section {
|
||||
.activity-item {
|
||||
margin-bottom: $spacing-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
357
resources/sass/pages/_dashboard.scss
Normal file
357
resources/sass/pages/_dashboard.scss
Normal file
@@ -0,0 +1,357 @@
|
||||
/**
|
||||
* Dashboard/Home Page - Professional Bootstrap Design
|
||||
* Clean professional homepage styling
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
/* ==========================================================================
|
||||
Home Container & Layout (Matching Angular)
|
||||
========================================================================== */
|
||||
|
||||
.home-container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 32px 24px 0 24px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Hero Section (Exact Angular Material Match)
|
||||
========================================================================== */
|
||||
|
||||
.hero-section {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
text-align: center;
|
||||
padding: 48px 24px;
|
||||
@include gradient-background(var(--gradient-primary));
|
||||
color: var(--color-text-white);
|
||||
border-radius: var(--border-radius-xl);
|
||||
border: none;
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.hero-icon .large-icon {
|
||||
font-size: 72px;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
margin-bottom: 24px;
|
||||
color: var(--color-text-white-muted);
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: $font-weight-light;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.25rem;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.9;
|
||||
line-height: 1.5;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.author-signature {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 32px;
|
||||
opacity: 0.8;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.primary-cta, .secondary-cta {
|
||||
@include material-button();
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 12px 24px;
|
||||
font-size: 1rem;
|
||||
font-weight: $font-weight-medium;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: var(--transition-normal);
|
||||
text-decoration: none;
|
||||
|
||||
i {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.primary-cta {
|
||||
background-color: var(--color-text-white);
|
||||
color: var(--color-primary);
|
||||
border: 2px solid var(--color-text-white);
|
||||
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
color: var(--color-text-white);
|
||||
border-color: var(--color-text-white);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
}
|
||||
|
||||
.secondary-cta {
|
||||
background-color: transparent;
|
||||
color: var(--color-text-white);
|
||||
border: 2px solid var(--color-text-white);
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-text-white);
|
||||
color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Features Section (Angular Material Grid Match)
|
||||
========================================================================== */
|
||||
|
||||
.features-section {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.section-header h2 {
|
||||
font-size: 2rem;
|
||||
font-weight: $font-weight-normal;
|
||||
margin-bottom: 8px;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.section-header p {
|
||||
font-size: 1.125rem;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
@include material-card;
|
||||
height: 100%;
|
||||
padding: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 1px solid var(--color-border-light);
|
||||
|
||||
.card-header {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.feature-avatar {
|
||||
background-color: var(--color-primary);
|
||||
color: var(--color-text-white);
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: var(--border-radius-round);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.5rem;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.feature-highlights {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 16px 0 0;
|
||||
}
|
||||
|
||||
.feature-highlights li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.check-icon {
|
||||
color: var(--color-success);
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Technology Stack Section (Angular Material Match)
|
||||
========================================================================== */
|
||||
|
||||
.tech-section {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.tech-card {
|
||||
@include material-card;
|
||||
padding: 24px;
|
||||
border: 1px solid var(--color-border-light);
|
||||
|
||||
.card-header {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin-bottom: 24px;
|
||||
|
||||
.card-title {
|
||||
color: var(--color-text-primary);
|
||||
font-size: 1.25rem;
|
||||
font-weight: $font-weight-medium;
|
||||
|
||||
i {
|
||||
color: var(--color-primary);
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.tech-stack {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 24px;
|
||||
margin: 24px 0;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tech-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 16px;
|
||||
border-radius: var(--border-radius-md);
|
||||
background-color: var(--color-surface-variant);
|
||||
border: 1px solid var(--color-border-light);
|
||||
transition: var(--transition-normal);
|
||||
min-width: 100px;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
background-color: var(--color-surface);
|
||||
}
|
||||
}
|
||||
|
||||
.tech-item i {
|
||||
color: var(--color-primary);
|
||||
font-size: 32px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.tech-item span {
|
||||
font-size: 0.9rem;
|
||||
font-weight: $font-weight-medium;
|
||||
color: var(--color-text-primary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tech-description {
|
||||
text-align: center;
|
||||
color: var(--color-text-secondary);
|
||||
margin-top: 24px;
|
||||
line-height: 1.6;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Responsive Design (Angular Material Breakpoints)
|
||||
========================================================================== */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.home-container {
|
||||
padding: 24px 16px 0 16px;
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
padding: 32px 16px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.primary-cta,
|
||||
.secondary-cta {
|
||||
width: 100%;
|
||||
max-width: 280px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.tech-stack {
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.tech-item {
|
||||
min-width: 80px;
|
||||
padding: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.features-grid {
|
||||
.col-lg-4:nth-child(3) {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.home-container {
|
||||
padding: 16px 12px 0 12px;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.section-header h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
494
resources/sass/pages/_login.scss
Normal file
494
resources/sass/pages/_login.scss
Normal file
@@ -0,0 +1,494 @@
|
||||
/**
|
||||
* Login Page - Professional Bootstrap Design
|
||||
* Clean and modern login interface styling
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
/* ==========================================================================
|
||||
Login Container & Layout (Angular Material Match)
|
||||
========================================================================== */
|
||||
|
||||
.login-container {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
background-color: var(--color-background);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Hero Background Section (Left Side - Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.hero-background {
|
||||
flex: 1;
|
||||
@include gradient-background(var(--gradient-primary));
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
padding: 48px;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.hero-icon .large-icon {
|
||||
font-size: 72px;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
margin-bottom: 24px;
|
||||
color: var(--color-text-white-muted);
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: $font-weight-light;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.125rem;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.9;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.author-signature {
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Login Form Container (Right Side - Angular Material Card)
|
||||
========================================================================== */
|
||||
|
||||
.login-form-container {
|
||||
flex: 0 0 520px;
|
||||
background-color: transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 48px 32px;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
flex: 1;
|
||||
background: var(--gradient-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.login-card {
|
||||
@include material-card;
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
background-color: var(--color-surface);
|
||||
border: none;
|
||||
box-shadow: var(--shadow-xl);
|
||||
border-radius: var(--border-radius-xl);
|
||||
overflow: hidden;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: 48px 32px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
padding: 32px 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Form Header (Angular Material Avatar & Title)
|
||||
========================================================================== */
|
||||
|
||||
.form-header {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.login-avatar {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: var(--border-radius-round);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 24px;
|
||||
color: var(--color-text-white);
|
||||
font-size: 1.5rem;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.form-title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: $font-weight-normal;
|
||||
color: var(--color-text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.form-subtitle {
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Material Design Form Fields (Angular Material Input Style)
|
||||
========================================================================== */
|
||||
|
||||
.login-form {
|
||||
.form-group {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-field {
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.material-input {
|
||||
@include material-input;
|
||||
width: 100%;
|
||||
padding: 16px 12px 8px;
|
||||
font-size: 1rem;
|
||||
background-color: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: var(--transition-normal);
|
||||
|
||||
&:focus {
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
|
||||
outline: none;
|
||||
|
||||
+ .form-label {
|
||||
color: var(--color-primary);
|
||||
transform: translateY(-20px) scale(0.85);
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:placeholder-shown) + .form-label {
|
||||
transform: translateY(-20px) scale(0.85);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
&.is-invalid {
|
||||
border-color: var(--color-error);
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
|
||||
}
|
||||
|
||||
+ .form-label {
|
||||
color: var(--color-error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-label {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-hint);
|
||||
pointer-events: none;
|
||||
transition: var(--transition-normal);
|
||||
transform-origin: left top;
|
||||
background-color: var(--color-surface);
|
||||
padding: 0 4px;
|
||||
margin-left: -4px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.form-outline {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
border-radius: var(--border-radius-md);
|
||||
}
|
||||
|
||||
/* Password Toggle Button */
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 12px;
|
||||
transform: translateY(-50%);
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-text-hint);
|
||||
cursor: pointer;
|
||||
font-size: 1.2rem;
|
||||
padding: 4px;
|
||||
border-radius: var(--border-radius-sm);
|
||||
transition: var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-text-secondary);
|
||||
background-color: rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Form Options (Remember Me & Forgot Password)
|
||||
========================================================================== */
|
||||
|
||||
.form-options {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 24px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-check {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
|
||||
.form-check-input {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 2px solid var(--color-border-dark);
|
||||
border-radius: 3px;
|
||||
background-color: var(--color-surface);
|
||||
|
||||
&:checked {
|
||||
background-color: var(--color-primary);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
.form-check-label {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-secondary);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.forgot-password-link {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
transition: var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Login Button (Angular Material Raised Button)
|
||||
========================================================================== */
|
||||
|
||||
.login-btn {
|
||||
@include material-button(var(--color-primary));
|
||||
width: 100%;
|
||||
padding: 14px 24px;
|
||||
font-size: 1rem;
|
||||
font-weight: $font-weight-medium;
|
||||
border-radius: var(--border-radius-md);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-primary-dark);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Social Login Section (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.social-login {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin: 24px 0;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: var(--color-border);
|
||||
}
|
||||
|
||||
span {
|
||||
background-color: var(--color-surface);
|
||||
padding: 0 16px;
|
||||
color: var(--color-text-hint);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.social-btn {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--border-radius-md);
|
||||
background-color: var(--color-surface);
|
||||
color: var(--color-text-secondary);
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-normal);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--color-border-dark);
|
||||
background-color: var(--color-surface-variant);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
&.google-btn:hover {
|
||||
border-color: #db4437;
|
||||
color: #db4437;
|
||||
}
|
||||
|
||||
&.github-btn:hover {
|
||||
border-color: #333;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Register Link
|
||||
========================================================================== */
|
||||
|
||||
.register-link {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
||||
p {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.register-link-text {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Error Messages (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.alert {
|
||||
border-radius: var(--border-radius-md);
|
||||
border: none;
|
||||
padding: 16px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&.alert-danger {
|
||||
background-color: var(--color-error-bg);
|
||||
color: var(--color-error-dark);
|
||||
border-left: 4px solid var(--color-error);
|
||||
}
|
||||
}
|
||||
|
||||
.invalid-feedback {
|
||||
display: block;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-error);
|
||||
margin-top: 8px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Responsive Design
|
||||
========================================================================== */
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.login-container {
|
||||
background: var(--gradient-primary);
|
||||
}
|
||||
|
||||
.login-form-container {
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
margin: 0;
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.form-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.login-card .card-body {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
}
|
||||
188
resources/sass/pages/_register-complete.scss
Normal file
188
resources/sass/pages/_register-complete.scss
Normal file
@@ -0,0 +1,188 @@
|
||||
/* ==========================================================================
|
||||
Register Button (Angular Material Raised Button)
|
||||
========================================================================== */
|
||||
|
||||
.register-btn {
|
||||
@include material-button(var(--color-success));
|
||||
width: 100%;
|
||||
padding: 14px 24px;
|
||||
font-size: 1rem;
|
||||
font-weight: $font-weight-medium;
|
||||
border-radius: var(--border-radius-md);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-success-dark);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Social Registration Section (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.social-login {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin: 24px 0;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: var(--color-border);
|
||||
}
|
||||
|
||||
span {
|
||||
background-color: var(--color-surface);
|
||||
padding: 0 16px;
|
||||
color: var(--color-text-hint);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.social-btn {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--border-radius-md);
|
||||
background-color: var(--color-surface);
|
||||
color: var(--color-text-secondary);
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-normal);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--color-border-dark);
|
||||
background-color: var(--color-surface-variant);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
&.google-btn:hover {
|
||||
border-color: #db4437;
|
||||
color: #db4437;
|
||||
}
|
||||
|
||||
&.github-btn:hover {
|
||||
border-color: #333;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Login Link
|
||||
========================================================================== */
|
||||
|
||||
.login-link {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
||||
p {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.login-link-text {
|
||||
color: var(--color-success);
|
||||
text-decoration: none;
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-success-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Error Messages (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.alert {
|
||||
border-radius: var(--border-radius-md);
|
||||
border: none;
|
||||
padding: 16px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&.alert-danger {
|
||||
background-color: var(--color-error-bg);
|
||||
color: var(--color-error-dark);
|
||||
border-left: 4px solid var(--color-error);
|
||||
}
|
||||
}
|
||||
|
||||
.invalid-feedback {
|
||||
display: block;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-error);
|
||||
margin-top: 8px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Responsive Design
|
||||
========================================================================== */
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.register-container {
|
||||
background: var(--gradient-success);
|
||||
}
|
||||
|
||||
.register-form-container {
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.register-card {
|
||||
margin: 0;
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.form-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.register-card .card-body {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
|
||||
.register-form-container {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
516
resources/sass/pages/_register.scss
Normal file
516
resources/sass/pages/_register.scss
Normal file
@@ -0,0 +1,516 @@
|
||||
/**
|
||||
* Register Page - Professional Bootstrap Design
|
||||
* Clean and modern registration interface styling
|
||||
*
|
||||
* @author David Valera Melendez <david@valera-melendez.de>
|
||||
* @created 2025-08-08
|
||||
* @location Made in Germany 🇩🇪
|
||||
*/
|
||||
|
||||
/* ==========================================================================
|
||||
Register Container & Layout (Angular Material Match)
|
||||
========================================================================== */
|
||||
|
||||
.register-container {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
background-color: var(--color-background);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Hero Background Section (Left Side - Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.hero-background {
|
||||
flex: 1;
|
||||
@include gradient-background(var(--gradient-success));
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-overlay {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
padding: 48px;
|
||||
color: var(--color-text-white);
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.hero-icon .large-icon {
|
||||
font-size: 72px;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
margin-bottom: 24px;
|
||||
color: var(--color-text-white-muted);
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: $font-weight-light;
|
||||
margin-bottom: 16px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.hero-subtitle {
|
||||
font-size: 1.125rem;
|
||||
margin-bottom: 16px;
|
||||
opacity: 0.9;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.author-signature {
|
||||
font-size: 0.9rem;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Register Form Container (Right Side - Angular Material Card)
|
||||
========================================================================== */
|
||||
|
||||
.register-form-container {
|
||||
flex: 0 0 520px;
|
||||
background-color: transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32px 24px;
|
||||
overflow-y: auto;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
flex: 1;
|
||||
background: var(--gradient-success);
|
||||
}
|
||||
}
|
||||
|
||||
.register-card {
|
||||
@include material-card;
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
background-color: var(--color-surface);
|
||||
border: none;
|
||||
box-shadow: var(--shadow-xl);
|
||||
border-radius: var(--border-radius-xl);
|
||||
overflow: hidden;
|
||||
|
||||
@media (max-width: 992px) {
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: 40px 32px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
padding: 32px 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Form Header (Angular Material Avatar & Title)
|
||||
========================================================================== */
|
||||
|
||||
.form-header {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.register-avatar {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
background-color: var(--color-success);
|
||||
border-radius: var(--border-radius-round);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 24px;
|
||||
color: var(--color-text-white);
|
||||
font-size: 1.5rem;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.form-title {
|
||||
font-size: 1.75rem;
|
||||
font-weight: $font-weight-normal;
|
||||
color: var(--color-text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.form-subtitle {
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Material Design Form Fields (Angular Material Input Style)
|
||||
========================================================================== */
|
||||
|
||||
.register-form {
|
||||
.form-group {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-field {
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.material-input {
|
||||
@include material-input;
|
||||
width: 100%;
|
||||
padding: 16px 12px 8px;
|
||||
font-size: 1rem;
|
||||
background-color: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: var(--transition-normal);
|
||||
|
||||
&:focus {
|
||||
border-color: var(--color-success);
|
||||
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
|
||||
outline: none;
|
||||
|
||||
+ .form-label {
|
||||
color: var(--color-success);
|
||||
transform: translateY(-20px) scale(0.85);
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:placeholder-shown) + .form-label {
|
||||
transform: translateY(-20px) scale(0.85);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
&.is-invalid {
|
||||
border-color: var(--color-error);
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
|
||||
}
|
||||
|
||||
+ .form-label {
|
||||
color: var(--color-error);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-valid {
|
||||
border-color: var(--color-success);
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
|
||||
}
|
||||
|
||||
+ .form-label {
|
||||
color: var(--color-success);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.form-label {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 12px;
|
||||
font-size: 1rem;
|
||||
color: var(--color-text-hint);
|
||||
pointer-events: none;
|
||||
transition: var(--transition-normal);
|
||||
transform-origin: left top;
|
||||
background-color: var(--color-surface);
|
||||
padding: 0 4px;
|
||||
margin-left: -4px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.form-outline {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
pointer-events: none;
|
||||
border-radius: var(--border-radius-md);
|
||||
}
|
||||
|
||||
/* Password Toggle Button */
|
||||
.password-toggle {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 12px;
|
||||
transform: translateY(-50%);
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-text-hint);
|
||||
cursor: pointer;
|
||||
font-size: 1.2rem;
|
||||
padding: 4px;
|
||||
border-radius: var(--border-radius-sm);
|
||||
transition: var(--transition-fast);
|
||||
z-index: 2;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-text-secondary);
|
||||
background-color: rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Password Requirements & Validation
|
||||
========================================================================== */
|
||||
|
||||
.password-requirements {
|
||||
margin-top: 8px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Form Checkboxes (Terms & Newsletter)
|
||||
========================================================================== */
|
||||
|
||||
.form-check {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
.form-check-input {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 2px solid var(--color-border-dark);
|
||||
border-radius: 3px;
|
||||
background-color: var(--color-surface);
|
||||
margin-top: 2px;
|
||||
|
||||
&:checked {
|
||||
background-color: var(--color-success);
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
|
||||
}
|
||||
|
||||
&.is-invalid {
|
||||
border-color: var(--color-error);
|
||||
}
|
||||
}
|
||||
|
||||
.form-check-label {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-secondary);
|
||||
cursor: pointer;
|
||||
line-height: 1.4;
|
||||
|
||||
a {
|
||||
color: var(--color-success);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-success-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Register Button (Angular Material Raised Button)
|
||||
========================================================================== */
|
||||
|
||||
.register-btn {
|
||||
@include material-button(var(--color-success));
|
||||
width: 100%;
|
||||
padding: 14px 24px;
|
||||
font-size: 1rem;
|
||||
font-weight: $font-weight-medium;
|
||||
border-radius: var(--border-radius-md);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--color-success-dark);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Social Registration Section (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.social-login {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
margin: 24px 0;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 1px;
|
||||
background-color: var(--color-border);
|
||||
}
|
||||
|
||||
span {
|
||||
background-color: var(--color-surface);
|
||||
padding: 0 16px;
|
||||
color: var(--color-text-hint);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.social-buttons {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
|
||||
@media (max-width: 576px) {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.social-btn {
|
||||
flex: 1;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--border-radius-md);
|
||||
background-color: var(--color-surface);
|
||||
color: var(--color-text-secondary);
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-normal);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--color-border-dark);
|
||||
background-color: var(--color-surface-variant);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
&.google-btn:hover {
|
||||
border-color: #db4437;
|
||||
color: #db4437;
|
||||
}
|
||||
|
||||
&.github-btn:hover {
|
||||
border-color: #333;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Login Link
|
||||
========================================================================== */
|
||||
|
||||
.login-link {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
|
||||
p {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 0.9rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.login-link-text {
|
||||
color: var(--color-success);
|
||||
text-decoration: none;
|
||||
font-weight: $font-weight-medium;
|
||||
transition: var(--transition-fast);
|
||||
|
||||
&:hover {
|
||||
color: var(--color-success-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Error Messages (Angular Material Style)
|
||||
========================================================================== */
|
||||
|
||||
.alert {
|
||||
border-radius: var(--border-radius-md);
|
||||
border: none;
|
||||
padding: 16px;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&.alert-danger {
|
||||
background-color: var(--color-error-bg);
|
||||
color: var(--color-error-dark);
|
||||
border-left: 4px solid var(--color-error);
|
||||
}
|
||||
}
|
||||
|
||||
.invalid-feedback {
|
||||
display: block;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-error);
|
||||
margin-top: 8px;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Responsive Design
|
||||
========================================================================== */
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.register-container {
|
||||
background: var(--gradient-success);
|
||||
}
|
||||
|
||||
.register-form-container {
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.register-card {
|
||||
margin: 0;
|
||||
box-shadow: var(--shadow-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.hero-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.form-title {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.register-card .card-body {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
|
||||
.register-form-container {
|
||||
flex: 0 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
529
resources/sass/pages/_resume-create.scss
Normal file
529
resources/sass/pages/_resume-create.scss
Normal file
@@ -0,0 +1,529 @@
|
||||
// ==========================================================================
|
||||
// Resume Builder Create Page Styles
|
||||
// Professional Resume Builder - Template Selection
|
||||
// ==========================================================================
|
||||
|
||||
.resume-create-page {
|
||||
.page-header {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
h1 {
|
||||
color: var(--color-dark);
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 500;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Template Cards Grid
|
||||
.templates-grid {
|
||||
.template-card {
|
||||
background: var(--color-white);
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-6px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
|
||||
|
||||
.template-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.template-preview {
|
||||
position: relative;
|
||||
height: 300px;
|
||||
background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.preview-placeholder {
|
||||
text-align: center;
|
||||
color: var(--color-gray-400);
|
||||
|
||||
i {
|
||||
font-size: 4rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
display: block;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.125rem;
|
||||
font-weight: 500;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.template-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
z-index: 2;
|
||||
|
||||
.preview-btn {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border: 2px solid rgba(255, 255, 255, 0.6);
|
||||
color: var(--color-white);
|
||||
padding: 0.75rem 1.5rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s ease;
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border-color: rgba(255, 255, 255, 0.8);
|
||||
color: var(--color-white);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.template-header {
|
||||
display: flex;
|
||||
justify-content: between;
|
||||
align-items: start;
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
.template-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.template-category {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
padding: 0.375rem 0.75rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
|
||||
&.bg-primary {
|
||||
background: rgba(102, 126, 234, 0.1) !important;
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
|
||||
&.bg-success {
|
||||
background: rgba(34, 197, 94, 0.1) !important;
|
||||
color: var(--brand-success);
|
||||
}
|
||||
|
||||
&.bg-warning {
|
||||
background: rgba(251, 191, 36, 0.1) !important;
|
||||
color: var(--brand-warning);
|
||||
}
|
||||
|
||||
&.bg-info {
|
||||
background: rgba(59, 130, 246, 0.1) !important;
|
||||
color: var(--brand-info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.template-description {
|
||||
color: var(--color-gray-600);
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.template-features {
|
||||
margin-bottom: var(--spacing-lg);
|
||||
|
||||
.feature-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
||||
li {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
margin-bottom: 0.25rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
i {
|
||||
color: var(--brand-success);
|
||||
margin-right: 0.5rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.template-actions {
|
||||
.select-btn {
|
||||
width: 100%;
|
||||
background: var(--brand-gradient);
|
||||
border: none;
|
||||
color: var(--color-white);
|
||||
padding: 0.875rem 1.5rem;
|
||||
font-weight: 600;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.6;
|
||||
transform: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.btn-loading {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
|
||||
.spinner-border {
|
||||
width: 1.25rem;
|
||||
height: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.loading {
|
||||
.btn-text {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.btn-loading {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.preview-link {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: var(--brand-primary);
|
||||
text-decoration: none;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
margin-top: var(--spacing-sm);
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary-dark);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Template Filters
|
||||
.template-filters {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-lg);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
|
||||
|
||||
.filter-section {
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.filter-label {
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.filter-options {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
|
||||
.filter-btn {
|
||||
background: var(--color-white);
|
||||
border: 1px solid var(--color-gray-300);
|
||||
color: var(--color-gray-600);
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
transition: all 0.2s ease;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-gray-50);
|
||||
border-color: var(--color-gray-400);
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-primary-dark);
|
||||
border-color: var(--brand-primary-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Empty State
|
||||
.no-templates {
|
||||
text-align: center;
|
||||
padding: var(--spacing-4xl) var(--spacing-lg);
|
||||
|
||||
.empty-icon {
|
||||
font-size: 4rem;
|
||||
color: var(--color-gray-300);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: var(--color-gray-700);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--color-gray-500);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 0;
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Loading States
|
||||
.templates-loading {
|
||||
.loading-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
height: 500px;
|
||||
|
||||
.loading-preview {
|
||||
height: 300px;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
}
|
||||
|
||||
.loading-body {
|
||||
padding: var(--spacing-lg);
|
||||
|
||||
.loading-title {
|
||||
height: 1.5rem;
|
||||
width: 70%;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-sm);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
}
|
||||
|
||||
.loading-description {
|
||||
height: 1rem;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-sm);
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&:last-of-type {
|
||||
width: 60%;
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
}
|
||||
|
||||
.loading-button {
|
||||
height: 3rem;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-md);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive Design
|
||||
@include media-breakpoint-down(lg) {
|
||||
.template-filters {
|
||||
.filter-options {
|
||||
.filter-btn {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
min-width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.resume-create-page {
|
||||
.page-header {
|
||||
text-align: center;
|
||||
|
||||
.back-btn {
|
||||
width: 100%;
|
||||
margin-top: var(--spacing-md);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.template-filters {
|
||||
.filter-section {
|
||||
.filter-options {
|
||||
.filter-btn {
|
||||
width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.templates-grid {
|
||||
.template-card {
|
||||
.template-preview {
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
.template-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
|
||||
.template-category {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Template Selection Animations
|
||||
@keyframes selectTemplate {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
.template-card.selecting {
|
||||
animation: selectTemplate 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
// Success State
|
||||
.template-selected {
|
||||
border: 2px solid var(--brand-success) !important;
|
||||
|
||||
.template-overlay {
|
||||
background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(22, 163, 74, 0.9) 100%);
|
||||
opacity: 1;
|
||||
|
||||
.success-message {
|
||||
color: var(--color-white);
|
||||
text-align: center;
|
||||
|
||||
i {
|
||||
font-size: 3rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
opacity: 0.9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
510
resources/sass/pages/_resume-index.scss
Normal file
510
resources/sass/pages/_resume-index.scss
Normal file
@@ -0,0 +1,510 @@
|
||||
// ==========================================================================
|
||||
// Resume Builder Index Page Styles
|
||||
// Professional Resume Builder - Resume Management
|
||||
// ==========================================================================
|
||||
|
||||
.resume-index-page {
|
||||
.page-header {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
h1 {
|
||||
color: var(--color-dark);
|
||||
font-weight: 700;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
.btn {
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 500;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Statistics Cards
|
||||
.stats-cards {
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
.stats-card {
|
||||
background: var(--color-white);
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.stats-number {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: 1;
|
||||
|
||||
&.text-primary {
|
||||
color: var(--brand-primary) !important;
|
||||
}
|
||||
|
||||
&.text-success {
|
||||
color: var(--brand-success) !important;
|
||||
}
|
||||
|
||||
&.text-warning {
|
||||
color: var(--brand-warning) !important;
|
||||
}
|
||||
|
||||
&.text-info {
|
||||
color: var(--brand-info) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.stats-label {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-gray-600);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.stats-icon {
|
||||
width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
border-radius: var(--border-radius-lg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 1.5rem;
|
||||
|
||||
&.bg-primary {
|
||||
background: rgba(102, 126, 234, 0.1) !important;
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
|
||||
&.bg-success {
|
||||
background: rgba(34, 197, 94, 0.1) !important;
|
||||
color: var(--brand-success);
|
||||
}
|
||||
|
||||
&.bg-warning {
|
||||
background: rgba(251, 191, 36, 0.1) !important;
|
||||
color: var(--brand-warning);
|
||||
}
|
||||
|
||||
&.bg-info {
|
||||
background: rgba(59, 130, 246, 0.1) !important;
|
||||
color: var(--brand-info);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Resume Cards Grid
|
||||
.resumes-grid {
|
||||
.resume-card {
|
||||
background: var(--color-white);
|
||||
border: none;
|
||||
border-radius: var(--border-radius-lg);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
transition: all 0.3s ease;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
.resume-thumbnail {
|
||||
height: 200px;
|
||||
background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-bottom: 1px solid var(--color-gray-100);
|
||||
|
||||
.thumbnail-placeholder {
|
||||
color: var(--color-gray-400);
|
||||
text-align: center;
|
||||
|
||||
i {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 0.5rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: var(--spacing-lg);
|
||||
}
|
||||
|
||||
.resume-title {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-dark);
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--brand-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.resume-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
.meta-item {
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-gray-600);
|
||||
|
||||
i {
|
||||
margin-right: 0.25rem;
|
||||
color: var(--color-gray-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.resume-status {
|
||||
margin-bottom: var(--spacing-md);
|
||||
|
||||
.badge {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 500;
|
||||
padding: 0.375rem 0.75rem;
|
||||
border-radius: var(--border-radius-full);
|
||||
|
||||
&.bg-success {
|
||||
background: var(--brand-success) !important;
|
||||
}
|
||||
|
||||
&.bg-warning {
|
||||
background: var(--brand-warning) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
&.bg-secondary {
|
||||
background: var(--color-gray-500) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.resume-actions {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
||||
.btn {
|
||||
flex: 1;
|
||||
padding: 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-primary {
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--brand-primary);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-success {
|
||||
border-color: var(--brand-success);
|
||||
color: var(--brand-success);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-success);
|
||||
border-color: var(--brand-success);
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline-danger {
|
||||
border-color: var(--brand-danger);
|
||||
color: var(--brand-danger);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-danger);
|
||||
border-color: var(--brand-danger);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Empty State
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: var(--spacing-4xl) var(--spacing-lg);
|
||||
|
||||
.empty-icon {
|
||||
font-size: 4rem;
|
||||
color: var(--color-gray-300);
|
||||
margin-bottom: var(--spacing-lg);
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: var(--color-gray-700);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--color-gray-500);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: var(--spacing-xl);
|
||||
max-width: 400px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0.875rem 2rem;
|
||||
font-weight: 600;
|
||||
border-radius: var(--border-radius-md);
|
||||
}
|
||||
}
|
||||
|
||||
// Filters and Search
|
||||
.resume-filters {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-lg);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
|
||||
|
||||
.search-input {
|
||||
position: relative;
|
||||
|
||||
.form-control {
|
||||
border-radius: var(--border-radius-md);
|
||||
border: 1px solid var(--color-gray-300);
|
||||
padding: 0.75rem 1rem 0.75rem 3rem;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:focus {
|
||||
border-color: var(--brand-primary);
|
||||
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: var(--color-gray-400);
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.filter-buttons {
|
||||
.btn {
|
||||
border-radius: var(--border-radius-full);
|
||||
padding: 0.5rem 1rem;
|
||||
font-weight: 500;
|
||||
border: 1px solid var(--color-gray-300);
|
||||
color: var(--color-gray-600);
|
||||
background: var(--color-white);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&.active {
|
||||
background: var(--brand-primary);
|
||||
border-color: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
&:hover:not(.active) {
|
||||
background: var(--color-gray-50);
|
||||
border-color: var(--color-gray-400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pagination
|
||||
.pagination-wrapper {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: var(--spacing-xl);
|
||||
|
||||
.pagination {
|
||||
.page-item {
|
||||
.page-link {
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--color-gray-600);
|
||||
font-weight: 500;
|
||||
padding: 0.5rem 0.75rem;
|
||||
margin: 0 0.125rem;
|
||||
border-radius: var(--border-radius-md);
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-gray-100);
|
||||
color: var(--color-gray-800);
|
||||
}
|
||||
}
|
||||
|
||||
&.active .page-link {
|
||||
background: var(--brand-primary);
|
||||
color: var(--color-white);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-primary-dark);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive Design
|
||||
@include media-breakpoint-down(lg) {
|
||||
.resume-index-page {
|
||||
.page-header {
|
||||
.header-actions {
|
||||
margin-top: var(--spacing-md);
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stats-cards {
|
||||
.col-xl-3 {
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.resume-filters {
|
||||
.search-input {
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.filter-buttons {
|
||||
.btn {
|
||||
width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.resumes-grid {
|
||||
.resume-card {
|
||||
.resume-actions {
|
||||
.btn {
|
||||
font-size: 0.8rem;
|
||||
padding: 0.375rem 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Loading States
|
||||
.loading-skeleton {
|
||||
.skeleton-card {
|
||||
background: var(--color-white);
|
||||
border-radius: var(--border-radius-lg);
|
||||
padding: var(--spacing-lg);
|
||||
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
|
||||
.skeleton-thumbnail {
|
||||
height: 200px;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-md);
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
.skeleton-text {
|
||||
height: 1rem;
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-sm);
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&.title {
|
||||
height: 1.5rem;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
&.subtitle {
|
||||
height: 1rem;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
&.meta {
|
||||
height: 0.875rem;
|
||||
width: 40%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
618
resources/sass/utilities/_helpers.scss
Normal file
618
resources/sass/utilities/_helpers.scss
Normal file
@@ -0,0 +1,618 @@
|
||||
// ==========================================================================
|
||||
// Utility Classes
|
||||
// Professional Resume Builder - Helper Classes
|
||||
// ==========================================================================
|
||||
|
||||
// Spacing utilities (extending Bootstrap)
|
||||
.spacing-xs { margin: var(--spacing-xs); }
|
||||
.spacing-sm { margin: var(--spacing-sm); }
|
||||
.spacing-md { margin: var(--spacing-md); }
|
||||
.spacing-lg { margin: var(--spacing-lg); }
|
||||
.spacing-xl { margin: var(--spacing-xl); }
|
||||
.spacing-2xl { margin: var(--spacing-2xl); }
|
||||
.spacing-3xl { margin: var(--spacing-3xl); }
|
||||
.spacing-4xl { margin: var(--spacing-4xl); }
|
||||
|
||||
.p-xs { padding: var(--spacing-xs); }
|
||||
.p-sm { padding: var(--spacing-sm); }
|
||||
.p-md { padding: var(--spacing-md); }
|
||||
.p-lg { padding: var(--spacing-lg); }
|
||||
.p-xl { padding: var(--spacing-xl); }
|
||||
.p-2xl { padding: var(--spacing-2xl); }
|
||||
.p-3xl { padding: var(--spacing-3xl); }
|
||||
.p-4xl { padding: var(--spacing-4xl); }
|
||||
|
||||
// Margin utilities
|
||||
.m-xs { margin: var(--spacing-xs); }
|
||||
.m-sm { margin: var(--spacing-sm); }
|
||||
.m-md { margin: var(--spacing-md); }
|
||||
.m-lg { margin: var(--spacing-lg); }
|
||||
.m-xl { margin: var(--spacing-xl); }
|
||||
.m-2xl { margin: var(--spacing-2xl); }
|
||||
|
||||
.mt-xs { margin-top: var(--spacing-xs); }
|
||||
.mt-sm { margin-top: var(--spacing-sm); }
|
||||
.mt-md { margin-top: var(--spacing-md); }
|
||||
.mt-lg { margin-top: var(--spacing-lg); }
|
||||
.mt-xl { margin-top: var(--spacing-xl); }
|
||||
.mt-2xl { margin-top: var(--spacing-2xl); }
|
||||
|
||||
.mb-xs { margin-bottom: var(--spacing-xs); }
|
||||
.mb-sm { margin-bottom: var(--spacing-sm); }
|
||||
.mb-md { margin-bottom: var(--spacing-md); }
|
||||
.mb-lg { margin-bottom: var(--spacing-lg); }
|
||||
.mb-xl { margin-bottom: var(--spacing-xl); }
|
||||
.mb-2xl { margin-bottom: var(--spacing-2xl); }
|
||||
|
||||
// Text utilities
|
||||
.text-primary-custom {
|
||||
color: var(--brand-primary) !important;
|
||||
}
|
||||
|
||||
.text-success-custom {
|
||||
color: var(--brand-success) !important;
|
||||
}
|
||||
|
||||
.text-warning-custom {
|
||||
color: var(--brand-warning) !important;
|
||||
}
|
||||
|
||||
.text-danger-custom {
|
||||
color: var(--brand-danger) !important;
|
||||
}
|
||||
|
||||
.text-info-custom {
|
||||
color: var(--brand-info) !important;
|
||||
}
|
||||
|
||||
.text-gradient {
|
||||
background: var(--brand-gradient);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.text-gradient-success {
|
||||
background: var(--brand-gradient-success);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.text-shadow {
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.text-shadow-sm {
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.text-shadow-lg {
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
// Background utilities
|
||||
.bg-gradient-primary {
|
||||
background: var(--brand-gradient) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.bg-gradient-success {
|
||||
background: var(--brand-gradient-success) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.bg-gradient-warning {
|
||||
background: var(--brand-gradient-warning) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.bg-gradient-danger {
|
||||
background: var(--brand-gradient-danger) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.bg-gradient-info {
|
||||
background: var(--brand-gradient-info) !important;
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.bg-primary-light {
|
||||
background-color: var(--brand-primary-light) !important;
|
||||
color: var(--brand-primary-dark);
|
||||
}
|
||||
|
||||
.bg-success-light {
|
||||
background-color: var(--brand-success-light) !important;
|
||||
color: var(--brand-success-dark);
|
||||
}
|
||||
|
||||
.bg-warning-light {
|
||||
background-color: var(--brand-warning-light) !important;
|
||||
color: var(--brand-warning-dark);
|
||||
}
|
||||
|
||||
.bg-danger-light {
|
||||
background-color: var(--brand-danger-light) !important;
|
||||
color: var(--brand-danger-dark);
|
||||
}
|
||||
|
||||
.bg-info-light {
|
||||
background-color: var(--brand-info-light) !important;
|
||||
color: var(--brand-info-dark);
|
||||
}
|
||||
|
||||
// Border utilities
|
||||
.border-primary-custom {
|
||||
border-color: var(--brand-primary) !important;
|
||||
}
|
||||
|
||||
.border-success-custom {
|
||||
border-color: var(--brand-success) !important;
|
||||
}
|
||||
|
||||
.border-warning-custom {
|
||||
border-color: var(--brand-warning) !important;
|
||||
}
|
||||
|
||||
.border-danger-custom {
|
||||
border-color: var(--brand-danger) !important;
|
||||
}
|
||||
|
||||
.border-info-custom {
|
||||
border-color: var(--brand-info) !important;
|
||||
}
|
||||
|
||||
.border-radius-xs {
|
||||
border-radius: var(--border-radius-xs) !important;
|
||||
}
|
||||
|
||||
.border-radius-sm {
|
||||
border-radius: var(--border-radius-sm) !important;
|
||||
}
|
||||
|
||||
.border-radius-md {
|
||||
border-radius: var(--border-radius-md) !important;
|
||||
}
|
||||
|
||||
.border-radius-lg {
|
||||
border-radius: var(--border-radius-lg) !important;
|
||||
}
|
||||
|
||||
.border-radius-xl {
|
||||
border-radius: var(--border-radius-xl) !important;
|
||||
}
|
||||
|
||||
.border-radius-full {
|
||||
border-radius: var(--border-radius-full) !important;
|
||||
}
|
||||
|
||||
// Shadow utilities
|
||||
.shadow-xs {
|
||||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
|
||||
}
|
||||
|
||||
.shadow-sm {
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
|
||||
}
|
||||
|
||||
.shadow-md {
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
|
||||
}
|
||||
|
||||
.shadow-lg {
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
|
||||
}
|
||||
|
||||
.shadow-xl {
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
|
||||
}
|
||||
|
||||
.shadow-2xl {
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
|
||||
}
|
||||
|
||||
.shadow-inner {
|
||||
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06) !important;
|
||||
}
|
||||
|
||||
.shadow-none {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
// Colored shadows
|
||||
.shadow-primary {
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
|
||||
}
|
||||
|
||||
.shadow-success {
|
||||
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15) !important;
|
||||
}
|
||||
|
||||
.shadow-warning {
|
||||
box-shadow: 0 4px 12px rgba(251, 191, 36, 0.15) !important;
|
||||
}
|
||||
|
||||
.shadow-danger {
|
||||
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
|
||||
}
|
||||
|
||||
.shadow-info {
|
||||
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15) !important;
|
||||
}
|
||||
|
||||
// Display utilities
|
||||
.d-grid {
|
||||
display: grid !important;
|
||||
}
|
||||
|
||||
.grid-cols-1 {
|
||||
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.grid-cols-2 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.grid-cols-3 {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.grid-cols-4 {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
.grid-gap-1 {
|
||||
gap: 0.25rem !important;
|
||||
}
|
||||
|
||||
.grid-gap-2 {
|
||||
gap: 0.5rem !important;
|
||||
}
|
||||
|
||||
.grid-gap-3 {
|
||||
gap: 1rem !important;
|
||||
}
|
||||
|
||||
.grid-gap-4 {
|
||||
gap: 1.5rem !important;
|
||||
}
|
||||
|
||||
.grid-gap-5 {
|
||||
gap: 2rem !important;
|
||||
}
|
||||
|
||||
// Flexbox utilities
|
||||
.flex-center {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
.flex-between {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
}
|
||||
|
||||
.flex-around {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-around !important;
|
||||
}
|
||||
|
||||
.flex-column-center {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
// Position utilities
|
||||
.position-center {
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
left: 50% !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
}
|
||||
|
||||
.position-center-x {
|
||||
position: absolute !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%) !important;
|
||||
}
|
||||
|
||||
.position-center-y {
|
||||
position: absolute !important;
|
||||
top: 50% !important;
|
||||
transform: translateY(-50%) !important;
|
||||
}
|
||||
|
||||
// Visibility utilities
|
||||
.invisible {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.visible {
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.opacity-0 {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.opacity-25 {
|
||||
opacity: 0.25 !important;
|
||||
}
|
||||
|
||||
.opacity-50 {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
|
||||
.opacity-75 {
|
||||
opacity: 0.75 !important;
|
||||
}
|
||||
|
||||
.opacity-100 {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
// Cursor utilities
|
||||
.cursor-pointer {
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.cursor-not-allowed {
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
.cursor-wait {
|
||||
cursor: wait !important;
|
||||
}
|
||||
|
||||
.cursor-help {
|
||||
cursor: help !important;
|
||||
}
|
||||
|
||||
// Transform utilities
|
||||
.transform-none {
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.scale-90 {
|
||||
transform: scale(0.9) !important;
|
||||
}
|
||||
|
||||
.scale-95 {
|
||||
transform: scale(0.95) !important;
|
||||
}
|
||||
|
||||
.scale-100 {
|
||||
transform: scale(1) !important;
|
||||
}
|
||||
|
||||
.scale-105 {
|
||||
transform: scale(1.05) !important;
|
||||
}
|
||||
|
||||
.scale-110 {
|
||||
transform: scale(1.1) !important;
|
||||
}
|
||||
|
||||
.rotate-90 {
|
||||
transform: rotate(90deg) !important;
|
||||
}
|
||||
|
||||
.rotate-180 {
|
||||
transform: rotate(180deg) !important;
|
||||
}
|
||||
|
||||
.rotate-270 {
|
||||
transform: rotate(270deg) !important;
|
||||
}
|
||||
|
||||
// Transition utilities
|
||||
.transition-none {
|
||||
transition: none !important;
|
||||
}
|
||||
|
||||
.transition-all {
|
||||
transition: all 0.15s ease-in-out !important;
|
||||
}
|
||||
|
||||
.transition-slow {
|
||||
transition: all 0.3s ease-in-out !important;
|
||||
}
|
||||
|
||||
.transition-fast {
|
||||
transition: all 0.1s ease-in-out !important;
|
||||
}
|
||||
|
||||
// Animation utilities
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ping {
|
||||
75%, 100% {
|
||||
transform: scale(2);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
50% {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 100% {
|
||||
transform: translateY(-25%);
|
||||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||||
}
|
||||
50% {
|
||||
transform: none;
|
||||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-spin {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
.animate-ping {
|
||||
animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
||||
}
|
||||
|
||||
.animate-pulse {
|
||||
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
.animate-bounce {
|
||||
animation: bounce 1s infinite;
|
||||
}
|
||||
|
||||
// Hover utilities
|
||||
.hover-lift {
|
||||
transition: transform 0.2s ease-in-out !important;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.hover-scale {
|
||||
transition: transform 0.2s ease-in-out !important;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.05) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.hover-rotate {
|
||||
transition: transform 0.2s ease-in-out !important;
|
||||
|
||||
&:hover {
|
||||
transform: rotate(5deg) !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Loading states
|
||||
.loading-skeleton {
|
||||
background: linear-gradient(90deg, var(--color-gray-200) 25%, var(--color-gray-100) 50%, var(--color-gray-200) 75%);
|
||||
background-size: 200% 100%;
|
||||
animation: shimmer 2s infinite;
|
||||
border-radius: var(--border-radius-sm);
|
||||
}
|
||||
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive utilities for custom breakpoints
|
||||
@include media-breakpoint-up(xs) {
|
||||
.d-xs-block { display: block !important; }
|
||||
.d-xs-none { display: none !important; }
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
.d-sm-block { display: block !important; }
|
||||
.d-sm-none { display: none !important; }
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
.d-md-block { display: block !important; }
|
||||
.d-md-none { display: none !important; }
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.d-lg-block { display: block !important; }
|
||||
.d-lg-none { display: none !important; }
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
.d-xl-block { display: block !important; }
|
||||
.d-xl-none { display: none !important; }
|
||||
}
|
||||
|
||||
// Print utilities
|
||||
@media print {
|
||||
.print-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.print-visible {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.print-break-before {
|
||||
page-break-before: always !important;
|
||||
}
|
||||
|
||||
.print-break-after {
|
||||
page-break-after: always !important;
|
||||
}
|
||||
|
||||
.print-no-break {
|
||||
page-break-inside: avoid !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Accessibility utilities
|
||||
.sr-only-focusable {
|
||||
&:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.focus-visible {
|
||||
&:focus-visible {
|
||||
outline: 2px solid var(--brand-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
// High contrast mode support
|
||||
@media (prefers-contrast: high) {
|
||||
.text-muted {
|
||||
color: var(--color-gray-800) !important;
|
||||
}
|
||||
|
||||
.border {
|
||||
border-color: var(--color-gray-800) !important;
|
||||
}
|
||||
|
||||
.shadow-sm,
|
||||
.shadow-md,
|
||||
.shadow-lg {
|
||||
box-shadow: none !important;
|
||||
border: 1px solid var(--color-gray-800) !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Reduced motion support
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
194
resources/views/auth/login.blade.php
Normal file
194
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,194 @@
|
||||
{{--
|
||||
Professional Login Page - Professional Bootstrap Design
|
||||
Clean and modern login interface
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-08
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.material-auth')
|
||||
|
||||
@section('title', 'Sign In - Professional Resume Builder')
|
||||
@section('page_class', 'auth-page login-page')
|
||||
|
||||
@section('content')
|
||||
<!-- Professional Login Page - Bootstrap Style -->
|
||||
<div class="login-container">
|
||||
<!-- Hero Background Section -->
|
||||
<div class="hero-background">
|
||||
<div class="hero-overlay">
|
||||
<div class="hero-content">
|
||||
<div class="hero-icon">
|
||||
<i class="bi bi-person-badge large-icon"></i>
|
||||
</div>
|
||||
<h1 class="hero-title">Professional Resume Builder</h1>
|
||||
<p class="hero-subtitle">
|
||||
Create impressive, professional resumes with modern design and expert guidance
|
||||
</p>
|
||||
<p class="author-signature">
|
||||
<strong>Created by David Valera Melendez</strong> | Made in Germany 🇩🇪
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Login Form Container -->
|
||||
<div class="login-form-container">
|
||||
<div class="login-card">
|
||||
<div class="card-body">
|
||||
<!-- Form Header -->
|
||||
<div class="form-header">
|
||||
<div class="login-avatar">
|
||||
<i class="bi bi-box-arrow-in-right"></i>
|
||||
</div>
|
||||
<h2 class="form-title">Sign In</h2>
|
||||
<p class="form-subtitle">Welcome back to Resume Builder</p>
|
||||
</div>
|
||||
|
||||
<!-- Error Messages -->
|
||||
@if($errors->any())
|
||||
<div class="alert alert-danger d-flex align-items-center" role="alert">
|
||||
<i class="bi bi-exclamation-triangle-fill me-2"></i>
|
||||
<div>
|
||||
@foreach($errors->all() as $error)
|
||||
<div>{{ $error }}</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Login Form -->
|
||||
<form method="POST" action="{{ route('login') }}" class="login-form">
|
||||
@csrf
|
||||
|
||||
<!-- Email Field -->
|
||||
<div class="form-group">
|
||||
<div class="form-field">
|
||||
<input
|
||||
type="email"
|
||||
class="form-control material-input @error('email') is-invalid @enderror"
|
||||
id="email"
|
||||
name="email"
|
||||
value="{{ old('email') }}"
|
||||
required
|
||||
autocomplete="email"
|
||||
autofocus
|
||||
placeholder=" "
|
||||
>
|
||||
<label for="email" class="form-label">Email Address</label>
|
||||
<div class="form-outline"></div>
|
||||
@error('email')
|
||||
<div class="invalid-feedback">
|
||||
<i class="bi bi-exclamation-circle me-1"></i>
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Password Field -->
|
||||
<div class="form-group">
|
||||
<div class="form-field">
|
||||
<input
|
||||
type="password"
|
||||
class="form-control material-input @error('password') is-invalid @enderror"
|
||||
id="password"
|
||||
name="password"
|
||||
required
|
||||
autocomplete="current-password"
|
||||
placeholder=" "
|
||||
>
|
||||
<label for="password" class="form-label">Password</label>
|
||||
<div class="form-outline"></div>
|
||||
<button type="button" class="password-toggle" onclick="togglePassword('password')">
|
||||
<i class="bi bi-eye" id="password-icon"></i>
|
||||
</button>
|
||||
@error('password')
|
||||
<div class="invalid-feedback">
|
||||
<i class="bi bi-exclamation-circle me-1"></i>
|
||||
{{ $message }}
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Remember Me & Forgot Password -->
|
||||
<div class="form-options">
|
||||
<div class="form-check">
|
||||
<input
|
||||
type="checkbox"
|
||||
class="form-check-input"
|
||||
id="remember"
|
||||
name="remember"
|
||||
{{ old('remember') ? 'checked' : '' }}
|
||||
>
|
||||
<label class="form-check-label" for="remember">
|
||||
Remember me
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@if (Route::has('password.request'))
|
||||
<a href="{{ route('password.request') }}" class="forgot-password-link">
|
||||
Forgot password?
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<!-- Login Button -->
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary login-btn">
|
||||
<i class="bi bi-box-arrow-in-right me-2"></i>
|
||||
Sign In
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Social Login Section -->
|
||||
<div class="social-login">
|
||||
<div class="divider">
|
||||
<span>or continue with</span>
|
||||
</div>
|
||||
|
||||
<div class="social-buttons">
|
||||
<button type="button" class="btn social-btn google-btn">
|
||||
<i class="bi bi-google me-2"></i>
|
||||
Google
|
||||
</button>
|
||||
<button type="button" class="btn social-btn github-btn">
|
||||
<i class="bi bi-github me-2"></i>
|
||||
GitHub
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Register Link -->
|
||||
<div class="register-link">
|
||||
<p>Don't have an account?
|
||||
<a href="{{ route('register') }}" class="register-link-text">
|
||||
Sign up here
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
function togglePassword(fieldId) {
|
||||
const passwordField = document.getElementById(fieldId);
|
||||
const passwordIcon = document.getElementById(fieldId + '-icon');
|
||||
|
||||
if (passwordField.type === 'password') {
|
||||
passwordField.type = 'text';
|
||||
passwordIcon.className = 'bi bi-eye-slash';
|
||||
} else {
|
||||
passwordField.type = 'password';
|
||||
passwordIcon.className = 'bi bi-eye';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
315
resources/views/auth/register.blade.php
Normal file
315
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,315 @@
|
||||
{{-- Professional Register Page - Bootstrap Implementation --}}
|
||||
@extends('layouts.material-auth')
|
||||
|
||||
@section('title', 'Create Account - ' . config('app.name'))
|
||||
|
||||
@section('head')
|
||||
<meta name="description" content="Create your account to access our professional resume builder">
|
||||
<meta name="keywords" content="register, create account, resume builder, professional">
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="register-container">
|
||||
{{-- Hero Background Section (Left) --}}
|
||||
<div class="hero-background">
|
||||
<div class="hero-overlay">
|
||||
<div class="hero-content">
|
||||
<div class="hero-icon">
|
||||
<i class="bi bi-person-plus-fill large-icon"></i>
|
||||
</div>
|
||||
<h2 class="hero-title">Join Today</h2>
|
||||
<p class="hero-subtitle">Create your professional resume with our advanced builder tools</p>
|
||||
<div class="author-signature">
|
||||
<small>🇩🇪 Made in Germany by David Valera Melendez</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Register Form Section (Right) --}}
|
||||
<div class="register-form-container">
|
||||
<div class="register-card">
|
||||
<div class="card-body">
|
||||
{{-- Form Header --}}
|
||||
<div class="form-header">
|
||||
<div class="register-avatar">
|
||||
<i class="bi bi-person-plus"></i>
|
||||
</div>
|
||||
<h2 class="form-title">Create Account</h2>
|
||||
<p class="form-subtitle">Join us to build your professional resume</p>
|
||||
</div>
|
||||
|
||||
{{-- Error Messages --}}
|
||||
@if ($errors->any())
|
||||
<div class="alert alert-danger" role="alert">
|
||||
@foreach ($errors->all() as $error)
|
||||
<div>{{ $error }}</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Registration Form --}}
|
||||
<form method="POST" action="{{ route('register') }}" class="register-form" id="registerForm">
|
||||
@csrf
|
||||
|
||||
{{-- Name Fields Row --}}
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-field">
|
||||
<input type="text"
|
||||
class="form-control material-input @error('first_name') is-invalid @enderror"
|
||||
id="first_name"
|
||||
name="first_name"
|
||||
value="{{ old('first_name') }}"
|
||||
placeholder=" "
|
||||
required>
|
||||
<label for="first_name" class="form-label">First Name</label>
|
||||
@error('first_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-field">
|
||||
<input type="text"
|
||||
class="form-control material-input @error('last_name') is-invalid @enderror"
|
||||
id="last_name"
|
||||
name="last_name"
|
||||
value="{{ old('last_name') }}"
|
||||
placeholder=" "
|
||||
required>
|
||||
<label for="last_name" class="form-label">Last Name</label>
|
||||
@error('last_name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Email Field --}}
|
||||
<div class="form-field">
|
||||
<input type="email"
|
||||
class="form-control material-input @error('email') is-invalid @enderror"
|
||||
id="email"
|
||||
name="email"
|
||||
value="{{ old('email') }}"
|
||||
placeholder=" "
|
||||
required>
|
||||
<label for="email" class="form-label">Email Address</label>
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Password Field --}}
|
||||
<div class="form-field">
|
||||
<input type="password"
|
||||
class="form-control material-input @error('password') is-invalid @enderror"
|
||||
id="password"
|
||||
name="password"
|
||||
placeholder=" "
|
||||
required>
|
||||
<label for="password" class="form-label">Password</label>
|
||||
<button type="button" class="password-toggle" id="passwordToggle">
|
||||
<i class="bi bi-eye"></i>
|
||||
</button>
|
||||
@error('password')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
<div class="password-requirements" id="passwordRequirements" style="display: none;">
|
||||
<small class="text-muted">
|
||||
Password must be at least 8 characters long
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Confirm Password Field --}}
|
||||
<div class="form-field">
|
||||
<input type="password"
|
||||
class="form-control material-input @error('password_confirmation') is-invalid @enderror"
|
||||
id="password_confirmation"
|
||||
name="password_confirmation"
|
||||
placeholder=" "
|
||||
required>
|
||||
<label for="password_confirmation" class="form-label">Confirm Password</label>
|
||||
<button type="button" class="password-toggle" id="confirmPasswordToggle">
|
||||
<i class="bi bi-eye"></i>
|
||||
</button>
|
||||
@error('password_confirmation')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Terms and Conditions --}}
|
||||
<div class="form-check">
|
||||
<input type="checkbox"
|
||||
class="form-check-input @error('terms') is-invalid @enderror"
|
||||
id="terms"
|
||||
name="terms"
|
||||
value="1"
|
||||
{{ old('terms') ? 'checked' : '' }}
|
||||
required>
|
||||
<label class="form-check-label" for="terms">
|
||||
I agree to the <a href="#" class="text-decoration-none">Terms of Service</a> and <a href="#" class="text-decoration-none">Privacy Policy</a>
|
||||
</label>
|
||||
@error('terms')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
{{-- Newsletter Subscription --}}
|
||||
<div class="form-check">
|
||||
<input type="checkbox"
|
||||
class="form-check-input"
|
||||
id="newsletter"
|
||||
name="newsletter"
|
||||
value="1"
|
||||
{{ old('newsletter') ? 'checked' : '' }}>
|
||||
<label class="form-check-label" for="newsletter">
|
||||
Subscribe to our newsletter for resume tips and updates
|
||||
</label>
|
||||
</div>
|
||||
|
||||
{{-- Register Button --}}
|
||||
<button type="submit" class="btn register-btn" id="registerBtn">
|
||||
<span class="btn-text">Create Account</span>
|
||||
<span class="spinner-border spinner-border-sm d-none" role="status" aria-hidden="true"></span>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
{{-- Divider --}}
|
||||
<div class="divider">
|
||||
<span>or register with</span>
|
||||
</div>
|
||||
|
||||
{{-- Social Registration --}}
|
||||
<div class="social-login">
|
||||
<div class="social-buttons">
|
||||
<button type="button" class="btn social-btn google-btn">
|
||||
<i class="bi bi-google"></i>
|
||||
Google
|
||||
</button>
|
||||
<button type="button" class="btn social-btn github-btn">
|
||||
<i class="bi bi-github"></i>
|
||||
GitHub
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Login Link --}}
|
||||
<div class="login-link">
|
||||
<p>Already have an account? <a href="{{ route('login') }}" class="login-link-text">Sign in here</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Password visibility toggles
|
||||
const passwordToggle = document.getElementById('passwordToggle');
|
||||
const confirmPasswordToggle = document.getElementById('confirmPasswordToggle');
|
||||
const passwordInput = document.getElementById('password');
|
||||
const confirmPasswordInput = document.getElementById('password_confirmation');
|
||||
const passwordRequirements = document.getElementById('passwordRequirements');
|
||||
|
||||
// Password toggle functionality
|
||||
passwordToggle?.addEventListener('click', function() {
|
||||
const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password';
|
||||
passwordInput.setAttribute('type', type);
|
||||
this.querySelector('i').classList.toggle('bi-eye');
|
||||
this.querySelector('i').classList.toggle('bi-eye-slash');
|
||||
});
|
||||
|
||||
confirmPasswordToggle?.addEventListener('click', function() {
|
||||
const type = confirmPasswordInput.getAttribute('type') === 'password' ? 'text' : 'password';
|
||||
confirmPasswordInput.setAttribute('type', type);
|
||||
this.querySelector('i').classList.toggle('bi-eye');
|
||||
this.querySelector('i').classList.toggle('bi-eye-slash');
|
||||
});
|
||||
|
||||
// Show password requirements on focus
|
||||
passwordInput?.addEventListener('focus', function() {
|
||||
passwordRequirements.style.display = 'block';
|
||||
});
|
||||
|
||||
passwordInput?.addEventListener('blur', function() {
|
||||
if (this.value.length === 0) {
|
||||
passwordRequirements.style.display = 'none';
|
||||
}
|
||||
});
|
||||
|
||||
// Form validation and submission
|
||||
const registerForm = document.getElementById('registerForm');
|
||||
const registerBtn = document.getElementById('registerBtn');
|
||||
|
||||
registerForm?.addEventListener('submit', function(e) {
|
||||
// Add loading state
|
||||
registerBtn.disabled = true;
|
||||
registerBtn.querySelector('.btn-text').textContent = 'Creating Account...';
|
||||
registerBtn.querySelector('.spinner-border').classList.remove('d-none');
|
||||
});
|
||||
|
||||
// Real-time validation
|
||||
const inputs = registerForm?.querySelectorAll('.material-input');
|
||||
inputs?.forEach(input => {
|
||||
input.addEventListener('blur', function() {
|
||||
validateField(this);
|
||||
});
|
||||
|
||||
input.addEventListener('input', function() {
|
||||
if (this.classList.contains('is-invalid')) {
|
||||
validateField(this);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Password confirmation validation
|
||||
confirmPasswordInput?.addEventListener('input', function() {
|
||||
if (passwordInput.value !== this.value) {
|
||||
this.classList.add('is-invalid');
|
||||
this.classList.remove('is-valid');
|
||||
} else if (this.value.length > 0) {
|
||||
this.classList.remove('is-invalid');
|
||||
this.classList.add('is-valid');
|
||||
}
|
||||
});
|
||||
|
||||
function validateField(field) {
|
||||
const value = field.value.trim();
|
||||
|
||||
// Reset validation classes
|
||||
field.classList.remove('is-invalid', 'is-valid');
|
||||
|
||||
if (field.hasAttribute('required') && !value) {
|
||||
field.classList.add('is-invalid');
|
||||
return false;
|
||||
}
|
||||
|
||||
if (field.type === 'email' && value) {
|
||||
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||
if (!emailRegex.test(value)) {
|
||||
field.classList.add('is-invalid');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (field.type === 'password' && value) {
|
||||
if (value.length < 8) {
|
||||
field.classList.add('is-invalid');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (value) {
|
||||
field.classList.add('is-valid');
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
197
resources/views/dashboard/index.blade.php
Normal file
197
resources/views/dashboard/index.blade.php
Normal file
@@ -0,0 +1,197 @@
|
||||
{{--
|
||||
Professional Home Dashboard - Professional Bootstrap Design
|
||||
Clean Professional Resume Builder Dashboard
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Professional Resume Builder - Dashboard')
|
||||
@section('page_class', 'home-page')
|
||||
|
||||
@section('content')
|
||||
<!-- Professional Home Page - Bootstrap Design -->
|
||||
<div class="home-container">
|
||||
<!-- Hero Section -->
|
||||
<section class="hero-section">
|
||||
<div class="card hero-card">
|
||||
<div class="card-body">
|
||||
<div class="hero-content">
|
||||
<div class="hero-icon">
|
||||
<i class="bi bi-person-badge large-icon"></i>
|
||||
</div>
|
||||
<h1 class="hero-title">Professional Resume Builder</h1>
|
||||
<p class="hero-subtitle">
|
||||
Create impressive, professional resumes with modern design and expert guidance
|
||||
</p>
|
||||
<p class="author-signature">
|
||||
<strong>Created by David Valera Melendez</strong> | Made in Germany 🇩🇪
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
<a href="{{ route('resume-builder.create') }}" class="btn primary-cta">
|
||||
<i class="bi bi-pencil-square"></i>
|
||||
Start Building Your Resume
|
||||
</a>
|
||||
<a href="{{ route('resume-builder.create') }}" class="btn secondary-cta">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Create New Resume
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section class="features-section">
|
||||
<div class="section-header">
|
||||
<h2>Why Choose Our Resume Builder?</h2>
|
||||
<p>Professional features designed for modern job seekers</p>
|
||||
</div>
|
||||
|
||||
<div class="row g-4 features-grid">
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card feature-card h-100">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<div class="feature-avatar me-3">
|
||||
<i class="bi bi-palette"></i>
|
||||
</div>
|
||||
<h5 class="card-title mb-0">Professional Design</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Modern, clean templates that make a lasting impression on employers and hiring managers.</p>
|
||||
<ul class="feature-highlights">
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Clean, modern layouts
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
ATS-friendly formats
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Professional typography
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card feature-card h-100">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<div class="feature-avatar me-3">
|
||||
<i class="bi bi-lightning"></i>
|
||||
</div>
|
||||
<h5 class="card-title mb-0">Easy to Use</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Intuitive step-by-step builder that guides you through creating your perfect resume.</p>
|
||||
<ul class="feature-highlights">
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Step-by-step guidance
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Real-time preview
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Smart suggestions
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card feature-card h-100">
|
||||
<div class="card-header d-flex align-items-center">
|
||||
<div class="feature-avatar me-3">
|
||||
<i class="bi bi-download"></i>
|
||||
</div>
|
||||
<h5 class="card-title mb-0">Export Options</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>Download your resume in multiple formats, optimized for different use cases.</p>
|
||||
<ul class="feature-highlights">
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
PDF export
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Print-ready format
|
||||
</li>
|
||||
<li>
|
||||
<i class="bi bi-check-circle check-icon"></i>
|
||||
Mobile optimized
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Technology Stack Section -->
|
||||
<section class="tech-section">
|
||||
<div class="section-header">
|
||||
<h2>Built with Modern Technology</h2>
|
||||
<p>Powered by enterprise-grade tools and frameworks</p>
|
||||
</div>
|
||||
|
||||
<div class="tech-stack">
|
||||
<div class="tech-item">
|
||||
<i class="bi bi-code-slash"></i>
|
||||
<span>Laravel 10</span>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<i class="bi bi-bootstrap"></i>
|
||||
<span>Bootstrap 5</span>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<i class="bi bi-palette2"></i>
|
||||
<span>SCSS</span>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<i class="bi bi-phone"></i>
|
||||
<span>Responsive</span>
|
||||
</div>
|
||||
<div class="tech-item">
|
||||
<i class="bi bi-speedometer2"></i>
|
||||
<span>Fast</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="tech-description">
|
||||
This resume builder is built with Laravel 10, Bootstrap 5, and modern SCSS,
|
||||
ensuring a professional, responsive, and user-friendly experience across all devices.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Add smooth scrolling and animations
|
||||
const cards = document.querySelectorAll('.feature-card');
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('animate-fade-in');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
cards.forEach(card => {
|
||||
observer.observe(card);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
251
resources/views/layouts/app.blade.php
Normal file
251
resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,251 @@
|
||||
{{--
|
||||
Main Application Layout
|
||||
Professional Resume Builder - Laravel Application
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-08
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-bs-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="description" content="{{ $description ?? 'Professional Resume Builder - Create stunning CVs with our enterprise-grade platform' }}">
|
||||
<meta name="author" content="David Valera Melendez">
|
||||
<meta name="keywords" content="resume, cv, builder, professional, career, job, employment">
|
||||
|
||||
<title>{{ $title ?? 'Professional Resume Builder' }} | David Valera Melendez</title>
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
<link rel="apple-touch-icon" href="{{ asset('apple-touch-icon.png') }}">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Bootstrap Icons -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
||||
|
||||
<!-- Styles -->
|
||||
@vite(['resources/sass/app.scss'])
|
||||
@stack('styles')
|
||||
|
||||
<!-- Scripts -->
|
||||
<script>
|
||||
window.Laravel = {
|
||||
csrfToken: '{{ csrf_token() }}',
|
||||
user: @auth {{ Js::from(auth()->user()) }} @else null @endauth
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body class="d-flex flex-column min-vh-100">
|
||||
<!-- Skip to main content for accessibility -->
|
||||
<a href="#main-content" class="visually-hidden-focusable btn btn-primary position-absolute top-0 start-0 z-3">
|
||||
Skip to main content
|
||||
</a>
|
||||
|
||||
<!-- Navigation Header -->
|
||||
@auth
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary shadow-sm">
|
||||
<div class="container-fluid">
|
||||
<!-- Brand -->
|
||||
<a class="navbar-brand d-flex align-items-center" href="{{ route('dashboard') }}">
|
||||
<i class="bi bi-file-earmark-text-fill me-2 fs-4"></i>
|
||||
<span class="fw-bold">Resume Builder</span>
|
||||
</a>
|
||||
|
||||
<!-- Mobile Toggle -->
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<!-- Navigation Menu -->
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav me-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {{ request()->routeIs('dashboard') ? 'active' : '' }}" href="{{ route('dashboard') }}">
|
||||
<i class="bi bi-speedometer2 me-1"></i>
|
||||
Dashboard
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {{ request()->routeIs('resume-builder.*') ? 'active' : '' }}" href="{{ route('resume-builder.index') }}">
|
||||
<i class="bi bi-pencil-square me-1"></i>
|
||||
Resume Builder
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {{ request()->routeIs('templates.*') ? 'active' : '' }}" href="{{ route('templates.index') }}">
|
||||
<i class="bi bi-collection me-1"></i>
|
||||
Templates
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- User Menu -->
|
||||
<div class="dropdown">
|
||||
<a class="nav-link dropdown-toggle d-flex align-items-center" href="#" role="button" data-bs-toggle="dropdown">
|
||||
<img src="{{ auth()->user()->avatar_url }}" alt="Avatar" class="rounded-circle me-2" width="32" height="32">
|
||||
<span class="d-none d-md-inline">{{ auth()->user()->full_name }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><h6 class="dropdown-header">{{ auth()->user()->full_name }}</h6></li>
|
||||
<li><small class="dropdown-item-text text-muted">{{ auth()->user()->email }}</small></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="{{ route('profile.show') }}">
|
||||
<i class="bi bi-person me-2"></i>
|
||||
Profile Settings
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-item" href="{{ route('account.settings') }}">
|
||||
<i class="bi bi-gear me-2"></i>
|
||||
Account Settings
|
||||
</a>
|
||||
</li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li>
|
||||
<form method="POST" action="{{ route('logout') }}" class="d-inline">
|
||||
@csrf
|
||||
<button type="submit" class="dropdown-item text-danger">
|
||||
<i class="bi bi-box-arrow-right me-2"></i>
|
||||
Sign Out
|
||||
</button>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@endauth
|
||||
|
||||
<!-- Main Content -->
|
||||
<main id="main-content" class="flex-grow-1">
|
||||
<!-- Alert Messages -->
|
||||
@if (session('success'))
|
||||
<div class="alert alert-success alert-dismissible fade show m-0 rounded-0" role="alert">
|
||||
<div class="container">
|
||||
<i class="bi bi-check-circle me-2"></i>
|
||||
{{ session('success') }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('error'))
|
||||
<div class="alert alert-danger alert-dismissible fade show m-0 rounded-0" role="alert">
|
||||
<div class="container">
|
||||
<i class="bi bi-exclamation-triangle me-2"></i>
|
||||
{{ session('error') }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('warning'))
|
||||
<div class="alert alert-warning alert-dismissible fade show m-0 rounded-0" role="alert">
|
||||
<div class="container">
|
||||
<i class="bi bi-exclamation-circle me-2"></i>
|
||||
{{ session('warning') }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (session('info'))
|
||||
<div class="alert alert-info alert-dismissible fade show m-0 rounded-0" role="alert">
|
||||
<div class="container">
|
||||
<i class="bi bi-info-circle me-2"></i>
|
||||
{{ session('info') }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Page Content -->
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
<!-- Footer -->
|
||||
@guest
|
||||
<footer class="bg-dark text-light py-4 mt-auto">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h5 class="fw-bold mb-3">Professional Resume Builder</h5>
|
||||
<p class="text-muted mb-0">
|
||||
Create outstanding resumes with our enterprise-grade platform.
|
||||
Trusted by professionals worldwide.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<h6 class="fw-semibold">Platform</h6>
|
||||
<ul class="list-unstyled small">
|
||||
<li><a href="{{ route('features') }}" class="text-muted text-decoration-none">Features</a></li>
|
||||
<li><a href="{{ route('templates.index') }}" class="text-muted text-decoration-none">Templates</a></li>
|
||||
<li><a href="{{ route('pricing') }}" class="text-muted text-decoration-none">Pricing</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<h6 class="fw-semibold">Support</h6>
|
||||
<ul class="list-unstyled small">
|
||||
<li><a href="{{ route('help') }}" class="text-muted text-decoration-none">Help Center</a></li>
|
||||
<li><a href="{{ route('contact') }}" class="text-muted text-decoration-none">Contact</a></li>
|
||||
<li><a href="{{ route('privacy') }}" class="text-muted text-decoration-none">Privacy</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-4">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-6">
|
||||
<p class="text-muted small mb-0">
|
||||
© {{ date('Y') }} David Valera Melendez. Made in Germany 🇩🇪
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-md-end">
|
||||
<div class="d-flex justify-content-md-end gap-3">
|
||||
<span class="badge bg-primary">
|
||||
<i class="bi bi-shield-check me-1"></i>
|
||||
SSL Secured
|
||||
</span>
|
||||
<span class="badge bg-success">
|
||||
<i class="bi bi-check-circle me-1"></i>
|
||||
GDPR Compliant
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@endguest
|
||||
|
||||
<!-- Scripts -->
|
||||
@vite(['resources/js/app.js'])
|
||||
@stack('scripts')
|
||||
|
||||
<!-- Auto-dismiss alerts -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Auto-dismiss success alerts after 5 seconds
|
||||
const successAlerts = document.querySelectorAll('.alert-success');
|
||||
successAlerts.forEach(alert => {
|
||||
setTimeout(() => {
|
||||
const bsAlert = new bootstrap.Alert(alert);
|
||||
bsAlert.close();
|
||||
}, 5000);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
205
resources/views/layouts/auth.blade.php
Normal file
205
resources/views/layouts/auth.blade.php
Normal file
@@ -0,0 +1,205 @@
|
||||
{{--
|
||||
Authentication Layout
|
||||
Professional Resume Builder - Auth Pages Layout
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-08
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-bs-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<meta name="description" content="{{ $description ?? 'Professional Resume Builder - Enterprise-grade authentication system' }}">
|
||||
<meta name="author" content="David Valera Melendez">
|
||||
|
||||
<title>{{ $title ?? 'Authentication' }} | Professional Resume Builder</title>
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
<!-- Bootstrap Icons -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
||||
|
||||
<!-- Styles -->
|
||||
@vite(['resources/sass/app.scss'])
|
||||
@stack('styles')
|
||||
|
||||
<style>
|
||||
.auth-container {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.auth-container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
backdrop-filter: blur(20px);
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
border: 1px solid rgba(255, 255, 255, 0.3);
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
.auth-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.brand-icon {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.security-badge {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
@keyframes slideInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
.auth-wrapper {
|
||||
animation: slideInUp 0.6s ease-out;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
border: none;
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="auth-container d-flex align-items-center justify-content-center p-3">
|
||||
<!-- Skip to main content for accessibility -->
|
||||
<a href="#main-content" class="visually-hidden-focusable btn btn-primary position-absolute top-0 start-0 z-3">
|
||||
Skip to main content
|
||||
</a>
|
||||
|
||||
<div class="auth-wrapper w-100" style="max-width: 480px;">
|
||||
<!-- Brand Header -->
|
||||
<div class="text-center text-white mb-4">
|
||||
<div class="mb-3">
|
||||
<i class="bi bi-file-earmark-text-fill brand-icon rounded-circle p-3 fs-1"></i>
|
||||
</div>
|
||||
<h1 class="fw-bold mb-2" style="font-size: 2rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);">
|
||||
Resume Builder
|
||||
</h1>
|
||||
<p class="mb-0 opacity-75">Professional CV Creation Platform</p>
|
||||
</div>
|
||||
|
||||
<!-- Main Content Card -->
|
||||
<main id="main-content">
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
<!-- Security Features -->
|
||||
<div class="d-flex justify-content-center gap-3 flex-wrap mt-4 text-white">
|
||||
<div class="security-badge rounded-pill px-3 py-2 small">
|
||||
<i class="bi bi-shield-check me-1"></i>
|
||||
SSL Encryption
|
||||
</div>
|
||||
<div class="security-badge rounded-pill px-3 py-2 small">
|
||||
<i class="bi bi-check-circle me-1"></i>
|
||||
GDPR Compliant
|
||||
</div>
|
||||
<div class="security-badge rounded-pill px-3 py-2 small">
|
||||
<i class="bi bi-eye-slash me-1"></i>
|
||||
Privacy Protected
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="text-center text-white mt-4">
|
||||
<p class="small mb-2 opacity-75">
|
||||
© {{ date('Y') }} David Valera Melendez. Made in Germany 🇩🇪
|
||||
</p>
|
||||
<div class="d-flex justify-content-center gap-3 small">
|
||||
<a href="{{ route('privacy') }}" class="text-white text-decoration-none opacity-75">Privacy Policy</a>
|
||||
<a href="{{ route('terms') }}" class="text-white text-decoration-none opacity-75">Terms of Service</a>
|
||||
<a href="{{ route('support') }}" class="text-white text-decoration-none opacity-75">Support</a>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
@vite(['resources/js/app.js'])
|
||||
@stack('scripts')
|
||||
|
||||
<!-- Form validation and interactions -->
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Auto-focus first input
|
||||
const firstInput = document.querySelector('input:not([type="hidden"])');
|
||||
if (firstInput) {
|
||||
firstInput.focus();
|
||||
}
|
||||
|
||||
// Real-time validation feedback
|
||||
const forms = document.querySelectorAll('form');
|
||||
forms.forEach(form => {
|
||||
const inputs = form.querySelectorAll('input[required]');
|
||||
inputs.forEach(input => {
|
||||
input.addEventListener('blur', function() {
|
||||
validateInput(this);
|
||||
});
|
||||
|
||||
input.addEventListener('input', function() {
|
||||
if (this.classList.contains('is-invalid')) {
|
||||
validateInput(this);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
function validateInput(input) {
|
||||
const isValid = input.checkValidity();
|
||||
input.classList.toggle('is-valid', isValid && input.value.length > 0);
|
||||
input.classList.toggle('is-invalid', !isValid && input.value.length > 0);
|
||||
}
|
||||
|
||||
// Enhanced loading states
|
||||
const submitButtons = document.querySelectorAll('button[type="submit"]');
|
||||
submitButtons.forEach(button => {
|
||||
button.closest('form').addEventListener('submit', function() {
|
||||
button.innerHTML = '<span class="spinner-border spinner-border-sm me-2"></span>Processing...';
|
||||
button.disabled = true;
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
220
resources/views/profile/edit.blade.php
Normal file
220
resources/views/profile/edit.blade.php
Normal file
@@ -0,0 +1,220 @@
|
||||
{{--
|
||||
Edit Profile - Professional Bootstrap Design
|
||||
Professional Profile Edit Page
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Edit Profile - Professional Resume Builder')
|
||||
@section('page_class', 'profile-edit-page')
|
||||
|
||||
@section('content')
|
||||
<div class="profile-edit-container">
|
||||
<!-- Page Header -->
|
||||
<section class="page-header">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<h1 class="page-title">Edit Profile</h1>
|
||||
<p class="page-subtitle">Update your personal information and preferences</p>
|
||||
</div>
|
||||
<a href="{{ route('profile.show') }}" class="btn secondary-cta">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Profile
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Edit Profile Form -->
|
||||
<section class="profile-edit-form">
|
||||
<form method="POST" action="{{ route('profile.update') }}" enctype="multipart/form-data">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<div class="row g-4">
|
||||
<!-- Personal Information Card -->
|
||||
<div class="col-lg-8">
|
||||
<div class="card form-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-person"></i>
|
||||
Personal Information
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row g-3">
|
||||
<!-- Full Name -->
|
||||
<div class="col-12">
|
||||
<div class="form-floating">
|
||||
<input type="text"
|
||||
class="form-control @error('name') is-invalid @enderror"
|
||||
id="name"
|
||||
name="name"
|
||||
value="{{ old('name', $user->name) }}"
|
||||
placeholder="Full Name"
|
||||
required>
|
||||
<label for="name">Full Name *</label>
|
||||
@error('name')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Email -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating">
|
||||
<input type="email"
|
||||
class="form-control @error('email') is-invalid @enderror"
|
||||
id="email"
|
||||
name="email"
|
||||
value="{{ old('email', $user->email) }}"
|
||||
placeholder="Email Address"
|
||||
required>
|
||||
<label for="email">Email Address *</label>
|
||||
@error('email')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Phone -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-floating">
|
||||
<input type="tel"
|
||||
class="form-control @error('phone') is-invalid @enderror"
|
||||
id="phone"
|
||||
name="phone"
|
||||
value="{{ old('phone', $user->phone) }}"
|
||||
placeholder="Phone Number">
|
||||
<label for="phone">Phone Number</label>
|
||||
@error('phone')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Bio -->
|
||||
<div class="col-12">
|
||||
<div class="form-floating">
|
||||
<textarea class="form-control @error('bio') is-invalid @enderror"
|
||||
id="bio"
|
||||
name="bio"
|
||||
style="height: 120px"
|
||||
placeholder="Tell us about yourself">{{ old('bio', $user->bio) }}</textarea>
|
||||
<label for="bio">About Me</label>
|
||||
@error('bio')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="form-text">
|
||||
<i class="bi bi-info-circle"></i>
|
||||
Optional: Brief description about yourself (max 1000 characters)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Profile Picture Card -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card form-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-camera"></i>
|
||||
Profile Picture
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body text-center">
|
||||
<div class="profile-avatar-edit">
|
||||
@if($user->avatar)
|
||||
<img src="{{ Storage::url($user->avatar) }}" alt="{{ $user->name }}" class="current-avatar" id="avatarPreview">
|
||||
@else
|
||||
<div class="avatar-placeholder" id="avatarPreview">
|
||||
<i class="bi bi-person-circle"></i>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="avatar-upload mt-3">
|
||||
<input type="file"
|
||||
class="form-control @error('avatar') is-invalid @enderror"
|
||||
id="avatar"
|
||||
name="avatar"
|
||||
accept="image/*"
|
||||
style="display: none;">
|
||||
<button type="button" class="btn primary-cta" onclick="document.getElementById('avatar').click()">
|
||||
<i class="bi bi-cloud-upload"></i>
|
||||
Choose Photo
|
||||
</button>
|
||||
@error('avatar')
|
||||
<div class="invalid-feedback d-block">{{ $message }}</div>
|
||||
@enderror
|
||||
<div class="form-text mt-2">
|
||||
<i class="bi bi-info-circle"></i>
|
||||
JPG, PNG or GIF (max 2MB)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Save Changes Card -->
|
||||
<div class="card form-card mt-4">
|
||||
<div class="card-body">
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" class="btn primary-cta">
|
||||
<i class="bi bi-check-circle"></i>
|
||||
Save Changes
|
||||
</button>
|
||||
<a href="{{ route('profile.show') }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-x-circle"></i>
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Avatar preview functionality
|
||||
const avatarInput = document.getElementById('avatar');
|
||||
const avatarPreview = document.getElementById('avatarPreview');
|
||||
|
||||
if (avatarInput && avatarPreview) {
|
||||
avatarInput.addEventListener('change', function(e) {
|
||||
const file = e.target.files[0];
|
||||
if (file) {
|
||||
const reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
avatarPreview.innerHTML = '<img src="' + e.target.result + '" alt="Avatar Preview" class="current-avatar">';
|
||||
};
|
||||
reader.readAsDataURL(file);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Form validation feedback
|
||||
const form = document.querySelector('form');
|
||||
if (form) {
|
||||
form.addEventListener('submit', function(e) {
|
||||
// Add loading state
|
||||
const submitBtn = form.querySelector('button[type="submit"]');
|
||||
if (submitBtn) {
|
||||
submitBtn.disabled = true;
|
||||
submitBtn.innerHTML = '<i class="bi bi-hourglass-split"></i> Saving...';
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
421
resources/views/profile/settings.blade.php
Normal file
421
resources/views/profile/settings.blade.php
Normal file
@@ -0,0 +1,421 @@
|
||||
{{--
|
||||
Account Settings - Professional Bootstrap Design
|
||||
Professional Account Management Page
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Account Settings - Professional Resume Builder')
|
||||
@section('page_class', 'account-settings-page')
|
||||
|
||||
@section('content')
|
||||
<div class="account-settings-container">
|
||||
<!-- Page Header -->
|
||||
<section class="page-header">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div>
|
||||
<h1 class="page-title">Account Settings</h1>
|
||||
<p class="page-subtitle">Manage your account preferences and security settings</p>
|
||||
</div>
|
||||
<a href="{{ route('profile.show') }}" class="btn secondary-cta">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Profile
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Settings Navigation Tabs -->
|
||||
<section class="settings-nav">
|
||||
<div class="card nav-card">
|
||||
<div class="card-body">
|
||||
<nav class="settings-tabs">
|
||||
<button class="tab-btn active" data-tab="security">
|
||||
<i class="bi bi-shield-lock"></i>
|
||||
Security
|
||||
</button>
|
||||
<button class="tab-btn" data-tab="preferences">
|
||||
<i class="bi bi-gear"></i>
|
||||
Preferences
|
||||
</button>
|
||||
<button class="tab-btn" data-tab="notifications">
|
||||
<i class="bi bi-bell"></i>
|
||||
Notifications
|
||||
</button>
|
||||
<button class="tab-btn" data-tab="privacy">
|
||||
<i class="bi bi-eye-slash"></i>
|
||||
Privacy
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Settings Content -->
|
||||
<section class="settings-content">
|
||||
<!-- Security Settings Tab -->
|
||||
<div class="tab-content active" id="security-tab">
|
||||
<div class="row g-4">
|
||||
<!-- Change Password Card -->
|
||||
<div class="col-lg-6">
|
||||
<div class="card settings-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-key"></i>
|
||||
Change Password
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('account.password.update') }}">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<!-- Current Password -->
|
||||
<div class="form-floating mb-3">
|
||||
<input type="password"
|
||||
class="form-control @error('current_password') is-invalid @enderror"
|
||||
id="current_password"
|
||||
name="current_password"
|
||||
placeholder="Current Password"
|
||||
required>
|
||||
<label for="current_password">Current Password</label>
|
||||
@error('current_password')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<!-- New Password -->
|
||||
<div class="form-floating mb-3">
|
||||
<input type="password"
|
||||
class="form-control @error('password') is-invalid @enderror"
|
||||
id="password"
|
||||
name="password"
|
||||
placeholder="New Password"
|
||||
required>
|
||||
<label for="password">New Password</label>
|
||||
@error('password')
|
||||
<div class="invalid-feedback">{{ $message }}</div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<!-- Confirm Password -->
|
||||
<div class="form-floating mb-3">
|
||||
<input type="password"
|
||||
class="form-control"
|
||||
id="password_confirmation"
|
||||
name="password_confirmation"
|
||||
placeholder="Confirm New Password"
|
||||
required>
|
||||
<label for="password_confirmation">Confirm New Password</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn primary-cta">
|
||||
<i class="bi bi-shield-check"></i>
|
||||
Update Password
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Account Security Card -->
|
||||
<div class="col-lg-6">
|
||||
<div class="card settings-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-shield-check"></i>
|
||||
Account Security
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="security-status">
|
||||
<div class="status-item">
|
||||
<div class="status-indicator verified">
|
||||
<i class="bi bi-check-circle-fill"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Email Verified</span>
|
||||
<span class="status-description">Your email is verified and secure</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="status-item">
|
||||
<div class="status-indicator">
|
||||
<i class="bi bi-clock"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Last Password Change</span>
|
||||
<span class="status-description">{{ $user->updated_at->diffForHumans() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="status-item">
|
||||
<div class="status-indicator active">
|
||||
<i class="bi bi-circle-fill"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Account Status</span>
|
||||
<span class="status-description">Active and in good standing</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Preferences Tab -->
|
||||
<div class="tab-content" id="preferences-tab">
|
||||
<div class="card settings-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-palette"></i>
|
||||
Display Preferences
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('account.preferences.update') }}">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<div class="row g-3">
|
||||
<!-- Theme Preference -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Theme</label>
|
||||
<select class="form-select" name="theme">
|
||||
<option value="light" selected>Light Theme</option>
|
||||
<option value="dark">Dark Theme</option>
|
||||
<option value="auto">Auto (System)</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Language Preference -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Language</label>
|
||||
<select class="form-select" name="language">
|
||||
<option value="en" selected>English</option>
|
||||
<option value="es">Español</option>
|
||||
<option value="de">Deutsch</option>
|
||||
<option value="fr">Français</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Timezone -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Timezone</label>
|
||||
<select class="form-select" name="timezone">
|
||||
<option value="Europe/Berlin" selected>Europe/Berlin (GMT+1)</option>
|
||||
<option value="America/New_York">America/New_York (GMT-5)</option>
|
||||
<option value="America/Los_Angeles">America/Los_Angeles (GMT-8)</option>
|
||||
<option value="Asia/Tokyo">Asia/Tokyo (GMT+9)</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Date Format -->
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Date Format</label>
|
||||
<select class="form-select" name="date_format">
|
||||
<option value="d/m/Y" selected>DD/MM/YYYY</option>
|
||||
<option value="m/d/Y">MM/DD/YYYY</option>
|
||||
<option value="Y-m-d">YYYY-MM-DD</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-3">
|
||||
<button type="submit" class="btn primary-cta">
|
||||
<i class="bi bi-check-circle"></i>
|
||||
Save Preferences
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Notifications Tab -->
|
||||
<div class="tab-content" id="notifications-tab">
|
||||
<div class="card settings-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-bell"></i>
|
||||
Notification Settings
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form method="POST" action="{{ route('account.preferences.update') }}">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<div class="notification-settings">
|
||||
<!-- Email Notifications -->
|
||||
<div class="notification-group">
|
||||
<h6 class="notification-group-title">Email Notifications</h6>
|
||||
<div class="notification-item">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="email_resume_updates" name="email_resume_updates" checked>
|
||||
<label class="form-check-label" for="email_resume_updates">
|
||||
Resume Updates
|
||||
</label>
|
||||
</div>
|
||||
<small class="text-muted">Get notified when your resume is updated or completed</small>
|
||||
</div>
|
||||
|
||||
<div class="notification-item">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="email_tips" name="email_tips" checked>
|
||||
<label class="form-check-label" for="email_tips">
|
||||
Tips & Suggestions
|
||||
</label>
|
||||
</div>
|
||||
<small class="text-muted">Receive helpful tips for improving your resume</small>
|
||||
</div>
|
||||
|
||||
<div class="notification-item">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="email_security" name="email_security" checked>
|
||||
<label class="form-check-label" for="email_security">
|
||||
Security Alerts
|
||||
</label>
|
||||
</div>
|
||||
<small class="text-muted">Important security notifications about your account</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-3">
|
||||
<button type="submit" class="btn primary-cta">
|
||||
<i class="bi bi-check-circle"></i>
|
||||
Save Notification Settings
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Privacy Tab -->
|
||||
<div class="tab-content" id="privacy-tab">
|
||||
<div class="row g-4">
|
||||
<!-- Privacy Settings -->
|
||||
<div class="col-lg-8">
|
||||
<div class="card settings-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-shield-lock"></i>
|
||||
Privacy Settings
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="privacy-settings">
|
||||
<div class="privacy-item">
|
||||
<div class="privacy-header">
|
||||
<h6>Profile Visibility</h6>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="profile_public" name="profile_public">
|
||||
<label class="form-check-label" for="profile_public"></label>
|
||||
</div>
|
||||
</div>
|
||||
<p class="privacy-description">Make your profile visible to other users</p>
|
||||
</div>
|
||||
|
||||
<div class="privacy-item">
|
||||
<div class="privacy-header">
|
||||
<h6>Resume Sharing</h6>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="resume_sharing" name="resume_sharing" checked>
|
||||
<label class="form-check-label" for="resume_sharing"></label>
|
||||
</div>
|
||||
</div>
|
||||
<p class="privacy-description">Allow sharing of your resumes via public links</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Danger Zone -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card settings-card danger-zone">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-exclamation-triangle"></i>
|
||||
Danger Zone
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="danger-description">
|
||||
These actions are permanent and cannot be undone.
|
||||
</p>
|
||||
|
||||
<form method="POST" action="{{ route('profile.destroy') }}" onsubmit="return confirm('Are you sure you want to delete your account? This action cannot be undone.')">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
<button type="submit" class="btn btn-danger">
|
||||
<i class="bi bi-trash"></i>
|
||||
Delete Account
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Tab functionality
|
||||
const tabBtns = document.querySelectorAll('.tab-btn');
|
||||
const tabContents = document.querySelectorAll('.tab-content');
|
||||
|
||||
tabBtns.forEach(btn => {
|
||||
btn.addEventListener('click', function() {
|
||||
const tabId = this.dataset.tab + '-tab';
|
||||
|
||||
// Remove active class from all tabs and contents
|
||||
tabBtns.forEach(b => b.classList.remove('active'));
|
||||
tabContents.forEach(c => c.classList.remove('active'));
|
||||
|
||||
// Add active class to clicked tab and corresponding content
|
||||
this.classList.add('active');
|
||||
document.getElementById(tabId).classList.add('active');
|
||||
});
|
||||
});
|
||||
|
||||
// Password strength indicator
|
||||
const passwordInput = document.getElementById('password');
|
||||
if (passwordInput) {
|
||||
passwordInput.addEventListener('input', function() {
|
||||
// Add password strength validation here if needed
|
||||
});
|
||||
}
|
||||
|
||||
// Form submission loading states
|
||||
const forms = document.querySelectorAll('form');
|
||||
forms.forEach(form => {
|
||||
form.addEventListener('submit', function(e) {
|
||||
const submitBtn = form.querySelector('button[type="submit"]');
|
||||
if (submitBtn) {
|
||||
submitBtn.disabled = true;
|
||||
const originalText = submitBtn.innerHTML;
|
||||
submitBtn.innerHTML = '<i class="bi bi-hourglass-split"></i> Saving...';
|
||||
|
||||
// Re-enable after 3 seconds to prevent permanent disable on validation errors
|
||||
setTimeout(() => {
|
||||
submitBtn.disabled = false;
|
||||
submitBtn.innerHTML = originalText;
|
||||
}, 3000);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
233
resources/views/profile/show.blade.php
Normal file
233
resources/views/profile/show.blade.php
Normal file
@@ -0,0 +1,233 @@
|
||||
{{--
|
||||
User Profile - Professional Bootstrap Design
|
||||
Professional Profile Management Page
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'My Profile - Professional Resume Builder')
|
||||
@section('page_class', 'profile-page')
|
||||
|
||||
@section('content')
|
||||
<div class="profile-container">
|
||||
<!-- Profile Header Section -->
|
||||
<section class="profile-header">
|
||||
<div class="card profile-header-card">
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-auto">
|
||||
<div class="profile-avatar-container">
|
||||
@if($user->avatar)
|
||||
<img src="{{ Storage::url($user->avatar) }}" alt="{{ $user->name }}" class="profile-avatar">
|
||||
@else
|
||||
<div class="profile-avatar-placeholder">
|
||||
<i class="bi bi-person-circle"></i>
|
||||
</div>
|
||||
@endif
|
||||
<div class="avatar-edit-badge">
|
||||
<a href="{{ route('profile.edit') }}" class="btn-edit-avatar" title="Edit Avatar">
|
||||
<i class="bi bi-camera"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h1 class="profile-name">{{ $user->name }}</h1>
|
||||
<p class="profile-email">{{ $user->email }}</p>
|
||||
@if($user->phone)
|
||||
<p class="profile-phone">
|
||||
<i class="bi bi-telephone"></i>
|
||||
{{ $user->phone }}
|
||||
</p>
|
||||
@endif
|
||||
<div class="profile-actions">
|
||||
<a href="{{ route('profile.edit') }}" class="btn primary-cta">
|
||||
<i class="bi bi-pencil-square"></i>
|
||||
Edit Profile
|
||||
</a>
|
||||
<a href="{{ route('account.settings') }}" class="btn secondary-cta">
|
||||
<i class="bi bi-gear"></i>
|
||||
Account Settings
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Profile Information Section -->
|
||||
<section class="profile-info">
|
||||
<div class="row g-4">
|
||||
<!-- Personal Information Card -->
|
||||
<div class="col-lg-6">
|
||||
<div class="card info-card h-100">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-person"></i>
|
||||
Personal Information
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="info-list">
|
||||
<div class="info-item">
|
||||
<label class="info-label">Full Name</label>
|
||||
<span class="info-value">{{ $user->name }}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<label class="info-label">Email Address</label>
|
||||
<span class="info-value">{{ $user->email }}</span>
|
||||
</div>
|
||||
@if($user->phone)
|
||||
<div class="info-item">
|
||||
<label class="info-label">Phone Number</label>
|
||||
<span class="info-value">{{ $user->phone }}</span>
|
||||
</div>
|
||||
@endif
|
||||
<div class="info-item">
|
||||
<label class="info-label">Member Since</label>
|
||||
<span class="info-value">{{ $user->created_at->format('F j, Y') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Account Status Card -->
|
||||
<div class="col-lg-6">
|
||||
<div class="card info-card h-100">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-shield-check"></i>
|
||||
Account Status
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="status-list">
|
||||
<div class="status-item">
|
||||
<div class="status-indicator verified">
|
||||
<i class="bi bi-check-circle-fill"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Email Verified</span>
|
||||
<span class="status-description">Your email address is verified</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="status-indicator active">
|
||||
<i class="bi bi-circle-fill"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Account Active</span>
|
||||
<span class="status-description">Your account is in good standing</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="status-item">
|
||||
<div class="status-indicator">
|
||||
<i class="bi bi-clock"></i>
|
||||
</div>
|
||||
<div class="status-content">
|
||||
<span class="status-title">Last Login</span>
|
||||
<span class="status-description">{{ $user->updated_at->diffForHumans() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Biography Section -->
|
||||
@if($user->bio)
|
||||
<section class="profile-bio">
|
||||
<div class="card bio-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-journal-text"></i>
|
||||
About Me
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="bio-text">{{ $user->bio }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endif
|
||||
|
||||
<!-- Recent Activity Section -->
|
||||
<section class="profile-activity">
|
||||
<div class="card activity-card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-activity"></i>
|
||||
Recent Activity
|
||||
</h5>
|
||||
<a href="{{ route('resume-builder.index') }}" class="btn btn-outline-primary btn-sm">
|
||||
View All Resumes
|
||||
</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
@if($user->resumes && $user->resumes->count() > 0)
|
||||
<div class="activity-list">
|
||||
@foreach($user->resumes->take(5) as $resume)
|
||||
<div class="activity-item">
|
||||
<div class="activity-icon">
|
||||
<i class="bi bi-file-earmark-text"></i>
|
||||
</div>
|
||||
<div class="activity-content">
|
||||
<span class="activity-title">{{ $resume->title ?? 'Untitled Resume' }}</span>
|
||||
<span class="activity-description">
|
||||
Updated {{ $resume->updated_at->diffForHumans() }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="activity-actions">
|
||||
<a href="{{ route('resume-builder.edit', $resume) }}" class="btn btn-sm btn-outline-primary">
|
||||
Edit
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@else
|
||||
<div class="empty-state">
|
||||
<div class="empty-icon">
|
||||
<i class="bi bi-file-earmark-plus"></i>
|
||||
</div>
|
||||
<h6 class="empty-title">No Resumes Yet</h6>
|
||||
<p class="empty-description">Start building your professional resume today</p>
|
||||
<a href="{{ route('resume-builder.create') }}" class="btn primary-cta">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Create Your First Resume
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Add smooth animations
|
||||
const cards = document.querySelectorAll('.card');
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('animate-fade-in');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
cards.forEach(card => {
|
||||
observer.observe(card);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
189
resources/views/resume-builder/create.blade.php
Normal file
189
resources/views/resume-builder/create.blade.php
Normal file
@@ -0,0 +1,189 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Create New Resume')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<!-- Page Header -->
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<div>
|
||||
<h1 class="h3 mb-1">Create New Resume</h1>
|
||||
<p class="text-muted mb-0">Choose a template to get started with your professional resume</p>
|
||||
</div>
|
||||
<a href="{{ route('dashboard') }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-arrow-left"></i> Back to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Template Selection -->
|
||||
<div class="row">
|
||||
@forelse($templates as $template)
|
||||
<div class="col-lg-4 col-md-6 mb-4">
|
||||
<div class="card h-100 shadow-sm template-card">
|
||||
<div class="card-img-top bg-light d-flex align-items-center justify-content-center" style="height: 300px;">
|
||||
@if(isset($template['preview']) && $template['preview'])
|
||||
<img src="{{ asset($template['preview']) }}"
|
||||
alt="{{ $template['name'] }} Template"
|
||||
class="img-fluid rounded"
|
||||
style="max-height: 280px; object-fit: cover;">
|
||||
@else
|
||||
<div class="text-center text-muted">
|
||||
<i class="bi bi-file-earmark-text display-4"></i>
|
||||
<p class="mt-2 mb-0">{{ $template['name'] }}</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between align-items-start mb-2">
|
||||
<h5 class="card-title mb-0">{{ $template['name'] }}</h5>
|
||||
@if(isset($template['category']))
|
||||
<span class="badge bg-primary">{{ $template['category'] }}</span>
|
||||
@endif
|
||||
</div>
|
||||
<p class="card-text text-muted small">{{ $template['description'] }}</p>
|
||||
<div class="d-grid gap-2">
|
||||
<form action="{{ route('resume-builder.store') }}" method="POST">
|
||||
@csrf
|
||||
<input type="hidden" name="template_id" value="{{ $template['id'] }}">
|
||||
<button type="submit" class="btn btn-primary w-100">
|
||||
<i class="bi bi-plus-circle"></i> Use This Template
|
||||
</button>
|
||||
</form>
|
||||
<a href="#" class="btn btn-outline-secondary btn-sm"
|
||||
onclick="previewTemplate({{ $template['id'] }})">
|
||||
<i class="bi bi-eye"></i> Preview
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<div class="col-12">
|
||||
<div class="text-center py-5">
|
||||
<i class="bi bi-exclamation-triangle display-4 text-muted"></i>
|
||||
<h4 class="mt-3">No Templates Available</h4>
|
||||
<p class="text-muted">Please contact support to add templates to the system.</p>
|
||||
</div>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
@if(count($templates) > 0)
|
||||
<!-- Features Info -->
|
||||
<div class="row mt-5">
|
||||
<div class="col-12">
|
||||
<div class="card bg-light">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">✨ What You Get</h5>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<ul class="list-unstyled">
|
||||
<li><i class="bi bi-check-circle text-success"></i> Professional layouts</li>
|
||||
<li><i class="bi bi-check-circle text-success"></i> ATS-friendly formats</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<ul class="list-unstyled">
|
||||
<li><i class="bi bi-check-circle text-success"></i> Easy customization</li>
|
||||
<li><i class="bi bi-check-circle text-success"></i> PDF export</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<ul class="list-unstyled">
|
||||
<li><i class="bi bi-check-circle text-success"></i> Public sharing links</li>
|
||||
<li><i class="bi bi-check-circle text-success"></i> Real-time preview</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Template Preview Modal -->
|
||||
<div class="modal fade" id="templatePreviewModal" tabindex="-1">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Template Preview</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div id="templatePreviewContent" class="text-center">
|
||||
<div class="spinner-border" role="status">
|
||||
<span class="visually-hidden">Loading...</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary" id="usePreviewedTemplate">Use This Template</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('styles')
|
||||
<style>
|
||||
.template-card {
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.template-card:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.card-img-top img {
|
||||
border-radius: 0.375rem;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
function previewTemplate(templateId) {
|
||||
// Show modal
|
||||
const modal = new bootstrap.Modal(document.getElementById('templatePreviewModal'));
|
||||
modal.show();
|
||||
|
||||
// Load preview content (you can implement AJAX loading here)
|
||||
document.getElementById('templatePreviewContent').innerHTML = `
|
||||
<div class="text-muted">
|
||||
<i class="bi bi-file-earmark-text display-4"></i>
|
||||
<p class="mt-2">Template preview will be loaded here</p>
|
||||
<p class="small">Feature coming soon...</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
// Set up the "Use This Template" button
|
||||
document.getElementById('usePreviewedTemplate').onclick = function() {
|
||||
// Create and submit form
|
||||
const form = document.createElement('form');
|
||||
form.method = 'POST';
|
||||
form.action = '{{ route("resume-builder.store") }}';
|
||||
|
||||
const csrfToken = document.createElement('input');
|
||||
csrfToken.type = 'hidden';
|
||||
csrfToken.name = '_token';
|
||||
csrfToken.value = '{{ csrf_token() }}';
|
||||
|
||||
const templateInput = document.createElement('input');
|
||||
templateInput.type = 'hidden';
|
||||
templateInput.name = 'template_id';
|
||||
templateInput.value = templateId;
|
||||
|
||||
form.appendChild(csrfToken);
|
||||
form.appendChild(templateInput);
|
||||
document.body.appendChild(form);
|
||||
form.submit();
|
||||
};
|
||||
}
|
||||
</script>
|
||||
@endpush
|
||||
327
resources/views/resume-builder/index.blade.php
Normal file
327
resources/views/resume-builder/index.blade.php
Normal file
@@ -0,0 +1,327 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'My Resumes')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<!-- Page Header -->
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<div>
|
||||
<h1 class="h3 mb-1">My Resumes</h1>
|
||||
<p class="text-muted mb-0">Manage and edit your professional resumes</p>
|
||||
</div>
|
||||
<div class="d-flex gap-2">
|
||||
<a href="{{ route('dashboard') }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-arrow-left"></i> Dashboard
|
||||
</a>
|
||||
<a href="{{ route('resume-builder.create') }}" class="btn btn-primary">
|
||||
<i class="bi bi-plus-circle"></i> Create New Resume
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Statistics Cards -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-xl-3 col-md-6 mb-3">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="card-subtitle mb-1 text-muted">Total Resumes</h6>
|
||||
<h3 class="card-title mb-0 fw-bold text-primary">{{ $resumeStats['total_resumes'] ?? 0 }}</h3>
|
||||
</div>
|
||||
<div class="bg-primary bg-opacity-10 rounded-circle p-3">
|
||||
<i class="bi bi-file-earmark-text text-primary fs-4"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6 mb-3">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="card-subtitle mb-1 text-muted">Published</h6>
|
||||
<h3 class="card-title mb-0 fw-bold text-success">{{ $resumeStats['published_resumes'] ?? 0 }}</h3>
|
||||
</div>
|
||||
<div class="bg-success bg-opacity-10 rounded-circle p-3">
|
||||
<i class="bi bi-check-circle text-success fs-4"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6 mb-3">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="card-subtitle mb-1 text-muted">Draft</h6>
|
||||
<h3 class="card-title mb-0 fw-bold text-warning">{{ $resumeStats['draft_resumes'] ?? 0 }}</h3>
|
||||
</div>
|
||||
<div class="bg-warning bg-opacity-10 rounded-circle p-3">
|
||||
<i class="bi bi-pencil text-warning fs-4"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-3 col-md-6 mb-3">
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="card-subtitle mb-1 text-muted">Total Views</h6>
|
||||
<h3 class="card-title mb-0 fw-bold text-info">{{ $resumeStats['total_views'] ?? 0 }}</h3>
|
||||
</div>
|
||||
<div class="bg-info bg-opacity-10 rounded-circle p-3">
|
||||
<i class="bi bi-eye text-info fs-4"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Resumes Grid -->
|
||||
<div class="row">
|
||||
@forelse($resumes as $resume)
|
||||
<div class="col-lg-4 col-md-6 mb-4">
|
||||
<div class="card h-100 shadow-sm resume-card">
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between align-items-start mb-3">
|
||||
<div class="flex-grow-1">
|
||||
<h5 class="card-title mb-1">{{ $resume->title ?? 'Untitled Resume' }}</h5>
|
||||
<p class="card-text text-muted small mb-2">
|
||||
Template: <span class="fw-medium">{{ ucfirst($resume->template_id ?? 'Unknown') }}</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-sm btn-outline-secondary" type="button" data-bs-toggle="dropdown">
|
||||
<i class="bi bi-three-dots-vertical"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a class="dropdown-item" href="#" onclick="editResume('{{ $resume->id }}')">
|
||||
<i class="bi bi-pencil"></i> Edit
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="#" onclick="viewResume('{{ $resume->id }}')">
|
||||
<i class="bi bi-eye"></i> Preview
|
||||
</a></li>
|
||||
<li><a class="dropdown-item" href="#" onclick="duplicateResume('{{ $resume->id }}')">
|
||||
<i class="bi bi-files"></i> Duplicate
|
||||
</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item text-danger" href="#" onclick="deleteResume('{{ $resume->id }}')">
|
||||
<i class="bi bi-trash"></i> Delete
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Resume Status -->
|
||||
<div class="mb-3">
|
||||
@if($resume->status === 'published')
|
||||
<span class="badge bg-success">Published</span>
|
||||
@elseif($resume->status === 'draft')
|
||||
<span class="badge bg-warning">Draft</span>
|
||||
@else
|
||||
<span class="badge bg-secondary">{{ ucfirst($resume->status ?? 'Unknown') }}</span>
|
||||
@endif
|
||||
|
||||
@if($resume->is_public)
|
||||
<span class="badge bg-info">Public</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<!-- Progress Bar -->
|
||||
@php
|
||||
$completion = $resume->completion_percentage ?? 0;
|
||||
@endphp
|
||||
<div class="mb-3">
|
||||
<div class="d-flex justify-content-between small text-muted mb-1">
|
||||
<span>Completion</span>
|
||||
<span>{{ $completion }}%</span>
|
||||
</div>
|
||||
<div class="progress" style="height: 6px;">
|
||||
<div class="progress-bar @if($completion < 50) bg-warning @elseif($completion < 80) bg-info @else bg-success @endif"
|
||||
style="width: {{ $completion }}%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Resume Meta Info -->
|
||||
<div class="text-muted small mb-3">
|
||||
<div class="d-flex justify-content-between">
|
||||
<span><i class="bi bi-calendar"></i> Created: {{ $resume->created_at->format('M j, Y') }}</span>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between">
|
||||
<span><i class="bi bi-clock"></i> Updated: {{ $resume->updated_at->diffForHumans() }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Action Buttons -->
|
||||
<div class="d-grid gap-2">
|
||||
<button class="btn btn-primary" onclick="editResume('{{ $resume->id }}')">
|
||||
<i class="bi bi-pencil"></i> Edit Resume
|
||||
</button>
|
||||
@if($resume->is_public && $resume->public_url)
|
||||
<button class="btn btn-outline-secondary btn-sm" onclick="shareResume('{{ $resume->public_url }}')">
|
||||
<i class="bi bi-share"></i> Share
|
||||
</button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<div class="col-12">
|
||||
<div class="text-center py-5">
|
||||
<div class="mb-4">
|
||||
<i class="bi bi-file-earmark-plus display-1 text-muted"></i>
|
||||
</div>
|
||||
<h4 class="mb-3">No Resumes Yet</h4>
|
||||
<p class="text-muted mb-4">Create your first professional resume to get started.</p>
|
||||
<a href="{{ route('resume-builder.create') }}" class="btn btn-primary btn-lg">
|
||||
<i class="bi bi-plus-circle"></i> Create Your First Resume
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
|
||||
<!-- Pagination -->
|
||||
@if($resumes->hasPages())
|
||||
<div class="d-flex justify-content-center mt-4">
|
||||
{{ $resumes->links() }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Delete Confirmation Modal -->
|
||||
<div class="modal fade" id="deleteResumeModal" tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete Resume</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to delete this resume? This action cannot be undone.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
||||
<button type="button" class="btn btn-danger" id="confirmDeleteBtn">Delete</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('styles')
|
||||
<style>
|
||||
.resume-card {
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.resume-card:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
function editResume(resumeId) {
|
||||
// Redirect to edit page (implement this route)
|
||||
window.location.href = `/resume-builder/${resumeId}/edit`;
|
||||
}
|
||||
|
||||
function viewResume(resumeId) {
|
||||
// Open preview in new tab (implement this route)
|
||||
window.open(`/resume-builder/${resumeId}`, '_blank');
|
||||
}
|
||||
|
||||
function duplicateResume(resumeId) {
|
||||
// Make AJAX request to duplicate
|
||||
fetch(`/resume-builder/${resumeId}/duplicate`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': '{{ csrf_token() }}',
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (data.success) {
|
||||
location.reload();
|
||||
} else {
|
||||
alert('Failed to duplicate resume');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error:', error);
|
||||
alert('An error occurred while duplicating the resume');
|
||||
});
|
||||
}
|
||||
|
||||
function shareResume(publicUrl) {
|
||||
// Copy public URL to clipboard
|
||||
navigator.clipboard.writeText(window.location.origin + '/resume/' + publicUrl)
|
||||
.then(() => {
|
||||
// Show success message
|
||||
const toast = document.createElement('div');
|
||||
toast.className = 'toast position-fixed top-0 end-0 m-3';
|
||||
toast.innerHTML = `
|
||||
<div class="toast-body bg-success text-white">
|
||||
<i class="bi bi-check-circle"></i> Resume link copied to clipboard!
|
||||
</div>
|
||||
`;
|
||||
document.body.appendChild(toast);
|
||||
|
||||
const bsToast = new bootstrap.Toast(toast);
|
||||
bsToast.show();
|
||||
|
||||
setTimeout(() => toast.remove(), 3000);
|
||||
})
|
||||
.catch(() => {
|
||||
alert('Failed to copy link to clipboard');
|
||||
});
|
||||
}
|
||||
|
||||
let resumeToDelete = null;
|
||||
|
||||
function deleteResume(resumeId) {
|
||||
resumeToDelete = resumeId;
|
||||
const modal = new bootstrap.Modal(document.getElementById('deleteResumeModal'));
|
||||
modal.show();
|
||||
}
|
||||
|
||||
document.getElementById('confirmDeleteBtn').addEventListener('click', function() {
|
||||
if (resumeToDelete) {
|
||||
// Create form and submit
|
||||
const form = document.createElement('form');
|
||||
form.method = 'POST';
|
||||
form.action = `/resume-builder/${resumeToDelete}`;
|
||||
|
||||
const csrfToken = document.createElement('input');
|
||||
csrfToken.type = 'hidden';
|
||||
csrfToken.name = '_token';
|
||||
csrfToken.value = '{{ csrf_token() }}';
|
||||
|
||||
const methodField = document.createElement('input');
|
||||
methodField.type = 'hidden';
|
||||
methodField.name = '_method';
|
||||
methodField.value = 'DELETE';
|
||||
|
||||
form.appendChild(csrfToken);
|
||||
form.appendChild(methodField);
|
||||
document.body.appendChild(form);
|
||||
form.submit();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
277
resources/views/templates/index.blade.php
Normal file
277
resources/views/templates/index.blade.php
Normal file
@@ -0,0 +1,277 @@
|
||||
{{--
|
||||
Resume Templates - Professional Bootstrap Design
|
||||
Professional Template Selection Page
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Resume Templates - Professional Resume Builder')
|
||||
@section('page_class', 'templates-page')
|
||||
|
||||
@section('content')
|
||||
<div class="templates-container">
|
||||
<!-- Page Header -->
|
||||
<section class="page-header">
|
||||
<div class="header-content">
|
||||
<div class="header-text">
|
||||
<h1 class="page-title">Choose Your Template</h1>
|
||||
<p class="page-subtitle">
|
||||
Select from our collection of professional resume templates designed to make you stand out
|
||||
</p>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<a href="{{ route('dashboard') }}" class="btn secondary-cta">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Template Filters -->
|
||||
<section class="template-filters">
|
||||
<div class="card filter-card">
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-6">
|
||||
<div class="filter-group">
|
||||
<label class="filter-label">Category</label>
|
||||
<select class="form-select" id="categoryFilter">
|
||||
<option value="">All Templates</option>
|
||||
<option value="professional">Professional</option>
|
||||
<option value="modern">Modern</option>
|
||||
<option value="classic">Classic</option>
|
||||
<option value="creative">Creative</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="filter-group">
|
||||
<label class="filter-label">Type</label>
|
||||
<select class="form-select" id="typeFilter">
|
||||
<option value="">All Types</option>
|
||||
<option value="free">Free Templates</option>
|
||||
<option value="premium">Premium Templates</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Templates Grid -->
|
||||
<section class="templates-grid">
|
||||
<div class="row g-4" id="templatesGrid">
|
||||
@forelse($templates as $template)
|
||||
<div class="col-lg-4 col-md-6 template-item"
|
||||
data-category="{{ strtolower($template['name']) }}"
|
||||
data-type="{{ $template['is_premium'] ? 'premium' : 'free' }}">
|
||||
<div class="card template-card h-100">
|
||||
<!-- Template Preview -->
|
||||
<div class="template-preview">
|
||||
@if($template['preview_image'])
|
||||
<img src="{{ asset($template['preview_image']) }}"
|
||||
alt="{{ $template['name'] }} Template"
|
||||
class="template-image"
|
||||
onerror="this.src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjQwMCIgdmlld0JveD0iMCAwIDMwMCA0MDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIzMDAiIGhlaWdodD0iNDAwIiBmaWxsPSIjRjVGNUY1Ii8+CjxyZWN0IHg9IjIwIiB5PSIyMCIgd2lkdGg9IjI2MCIgaGVpZ2h0PSIzNjAiIGZpbGw9IndoaXRlIiBzdHJva2U9IiNFMEUwRTAiLz4KPHN2ZyB4PSI1MCIgeT0iNTAiIHdpZHRoPSIyMDAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAyMDAgMzAiIGZpbGw9Im5vbmUiPgo8cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjMwIiBmaWxsPSIjMTk3NkQyIi8+CjwvY3ZnPgo8dGV4dCB4PSIxNTAiIHk9IjIxMCIgZm9udC1mYW1pbHk9IkFyaWFsLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjE2IiBmaWxsPSIjNjY2NjY2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5SZXN1bWUgVGVtcGxhdGU8L3RleHQ+Cjwvc3ZnPg=='">
|
||||
@else
|
||||
<div class="template-placeholder">
|
||||
<i class="bi bi-file-earmark-text"></i>
|
||||
<span>{{ $template['name'] }} Template</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($template['is_premium'])
|
||||
<div class="premium-badge">
|
||||
<i class="bi bi-crown"></i>
|
||||
Premium
|
||||
</div>
|
||||
@else
|
||||
<div class="free-badge">
|
||||
<i class="bi bi-check-circle"></i>
|
||||
Free
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<!-- Template Info -->
|
||||
<div class="card-body">
|
||||
<h5 class="template-title">{{ $template['name'] }}</h5>
|
||||
<p class="template-description">{{ $template['description'] }}</p>
|
||||
</div>
|
||||
|
||||
<!-- Template Actions -->
|
||||
<div class="card-footer">
|
||||
<div class="template-actions">
|
||||
<a href="{{ route('templates.show', $template['id']) }}" class="btn btn-outline-primary">
|
||||
<i class="bi bi-eye"></i>
|
||||
Preview
|
||||
</a>
|
||||
<a href="{{ route('resume-builder.create', ['template' => $template['id']]) }}" class="btn primary-cta">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Use Template
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<div class="col-12">
|
||||
<div class="empty-state">
|
||||
<div class="empty-icon">
|
||||
<i class="bi bi-file-earmark-text"></i>
|
||||
</div>
|
||||
<h5 class="empty-title">No Templates Available</h5>
|
||||
<p class="empty-description">
|
||||
We're working on adding more professional templates for you to choose from.
|
||||
</p>
|
||||
<a href="{{ route('dashboard') }}" class="btn primary-cta">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Template Categories Info -->
|
||||
<section class="template-categories">
|
||||
<div class="section-header">
|
||||
<h2>Template Categories</h2>
|
||||
<p>Choose the style that best represents your professional image</p>
|
||||
</div>
|
||||
|
||||
<div class="row g-4">
|
||||
<div class="col-lg-3 col-md-6">
|
||||
<div class="card category-card">
|
||||
<div class="card-body text-center">
|
||||
<div class="category-icon">
|
||||
<i class="bi bi-briefcase"></i>
|
||||
</div>
|
||||
<h6 class="category-title">Professional</h6>
|
||||
<p class="category-description">Clean, formal templates perfect for traditional industries</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 col-md-6">
|
||||
<div class="card category-card">
|
||||
<div class="card-body text-center">
|
||||
<div class="category-icon">
|
||||
<i class="bi bi-lightning"></i>
|
||||
</div>
|
||||
<h6 class="category-title">Modern</h6>
|
||||
<p class="category-description">Contemporary designs for tech and startup environments</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 col-md-6">
|
||||
<div class="card category-card">
|
||||
<div class="card-body text-center">
|
||||
<div class="category-icon">
|
||||
<i class="bi bi-bookmark"></i>
|
||||
</div>
|
||||
<h6 class="category-title">Classic</h6>
|
||||
<p class="category-description">Timeless layouts that work across all industries</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 col-md-6">
|
||||
<div class="card category-card">
|
||||
<div class="card-body text-center">
|
||||
<div class="category-icon">
|
||||
<i class="bi bi-palette"></i>
|
||||
</div>
|
||||
<h6 class="category-title">Creative</h6>
|
||||
<p class="category-description">Unique designs for creative and artistic professionals</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Template filtering functionality
|
||||
const categoryFilter = document.getElementById('categoryFilter');
|
||||
const typeFilter = document.getElementById('typeFilter');
|
||||
const templateItems = document.querySelectorAll('.template-item');
|
||||
|
||||
function filterTemplates() {
|
||||
const categoryValue = categoryFilter.value.toLowerCase();
|
||||
const typeValue = typeFilter.value;
|
||||
|
||||
templateItems.forEach(item => {
|
||||
const itemCategory = item.dataset.category;
|
||||
const itemType = item.dataset.type;
|
||||
|
||||
let showItem = true;
|
||||
|
||||
// Filter by category
|
||||
if (categoryValue && itemCategory !== categoryValue) {
|
||||
showItem = false;
|
||||
}
|
||||
|
||||
// Filter by type
|
||||
if (typeValue && itemType !== typeValue) {
|
||||
showItem = false;
|
||||
}
|
||||
|
||||
// Show/hide item with animation
|
||||
if (showItem) {
|
||||
item.style.display = 'block';
|
||||
item.classList.add('animate-fade-in');
|
||||
} else {
|
||||
item.style.display = 'none';
|
||||
item.classList.remove('animate-fade-in');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Add event listeners
|
||||
if (categoryFilter) {
|
||||
categoryFilter.addEventListener('change', filterTemplates);
|
||||
}
|
||||
|
||||
if (typeFilter) {
|
||||
typeFilter.addEventListener('change', filterTemplates);
|
||||
}
|
||||
|
||||
// Template card hover effects
|
||||
const templateCards = document.querySelectorAll('.template-card');
|
||||
templateCards.forEach(card => {
|
||||
card.addEventListener('mouseenter', function() {
|
||||
this.style.transform = 'translateY(-5px)';
|
||||
});
|
||||
|
||||
card.addEventListener('mouseleave', function() {
|
||||
this.style.transform = 'translateY(0)';
|
||||
});
|
||||
});
|
||||
|
||||
// Smooth scroll animations
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('animate-fade-in');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
templateCards.forEach(card => {
|
||||
observer.observe(card);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
443
resources/views/templates/preview.blade.php
Normal file
443
resources/views/templates/preview.blade.php
Normal file
@@ -0,0 +1,443 @@
|
||||
{{--
|
||||
Template Preview - Professional Bootstrap Design
|
||||
Full Screen Template Preview with Sample Data
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', 'Preview: ' . $templateData['name'] . ' Template - Professional Resume Builder')
|
||||
@section('page_class', 'template-preview-page')
|
||||
|
||||
@section('content')
|
||||
<div class="template-preview-container">
|
||||
<!-- Preview Header -->
|
||||
<section class="preview-header">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div class="preview-info">
|
||||
<h1 class="preview-title">{{ $templateData['name'] }} Template Preview</h1>
|
||||
<p class="preview-subtitle">Sample resume with placeholder content</p>
|
||||
</div>
|
||||
<div class="preview-actions">
|
||||
<a href="{{ route('templates.show', $templateData['id']) }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Template
|
||||
</a>
|
||||
<a href="{{ route('resume-builder.create', ['template' => $templateData['id']]) }}" class="btn primary-cta">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Use This Template
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Template Preview Content -->
|
||||
<section class="preview-content">
|
||||
<div class="resume-preview-wrapper">
|
||||
<div class="resume-page">
|
||||
<!-- Sample Resume Content -->
|
||||
<div class="resume-container">
|
||||
<!-- Header Section -->
|
||||
<header class="resume-header">
|
||||
<div class="header-content">
|
||||
<h1 class="resume-name">{{ $sampleData['name'] }}</h1>
|
||||
<h2 class="resume-title">{{ $sampleData['title'] }}</h2>
|
||||
<div class="contact-info">
|
||||
<div class="contact-item">
|
||||
<i class="bi bi-envelope"></i>
|
||||
<span>{{ $sampleData['email'] }}</span>
|
||||
</div>
|
||||
<div class="contact-item">
|
||||
<i class="bi bi-telephone"></i>
|
||||
<span>{{ $sampleData['phone'] }}</span>
|
||||
</div>
|
||||
<div class="contact-item">
|
||||
<i class="bi bi-geo-alt"></i>
|
||||
<span>Berlin, Germany</span>
|
||||
</div>
|
||||
<div class="contact-item">
|
||||
<i class="bi bi-linkedin"></i>
|
||||
<span>linkedin.com/in/johndoe</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Professional Summary -->
|
||||
<section class="resume-section">
|
||||
<h3 class="section-title">Professional Summary</h3>
|
||||
<div class="section-content">
|
||||
<p>{{ $sampleData['summary'] }} Proven track record of delivering high-quality solutions and leading cross-functional teams to achieve business objectives.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Experience -->
|
||||
<section class="resume-section">
|
||||
<h3 class="section-title">Professional Experience</h3>
|
||||
<div class="section-content">
|
||||
<div class="experience-item">
|
||||
<div class="experience-header">
|
||||
<h4 class="position-title">Senior Software Developer</h4>
|
||||
<span class="company-name">Tech Solutions GmbH</span>
|
||||
<span class="employment-period">Jan 2020 - Present</span>
|
||||
</div>
|
||||
<ul class="experience-duties">
|
||||
<li>Led development of web applications using modern frameworks</li>
|
||||
<li>Collaborated with cross-functional teams to deliver projects on time</li>
|
||||
<li>Mentored junior developers and conducted code reviews</li>
|
||||
<li>Improved system performance by 40% through optimization</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="experience-item">
|
||||
<div class="experience-header">
|
||||
<h4 class="position-title">Software Developer</h4>
|
||||
<span class="company-name">Digital Innovations Ltd</span>
|
||||
<span class="employment-period">Mar 2018 - Dec 2019</span>
|
||||
</div>
|
||||
<ul class="experience-duties">
|
||||
<li>Developed and maintained web applications using PHP and Laravel</li>
|
||||
<li>Implemented responsive designs and improved user experience</li>
|
||||
<li>Participated in agile development processes and sprint planning</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Education -->
|
||||
<section class="resume-section">
|
||||
<h3 class="section-title">Education</h3>
|
||||
<div class="section-content">
|
||||
<div class="education-item">
|
||||
<h4 class="degree-title">Bachelor of Science in Computer Science</h4>
|
||||
<span class="institution">Technical University of Berlin</span>
|
||||
<span class="graduation-year">2018</span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Skills -->
|
||||
<section class="resume-section">
|
||||
<h3 class="section-title">Technical Skills</h3>
|
||||
<div class="section-content">
|
||||
<div class="skills-grid">
|
||||
<div class="skill-category">
|
||||
<h5 class="skill-category-title">Programming Languages</h5>
|
||||
<div class="skill-tags">
|
||||
<span class="skill-tag">PHP</span>
|
||||
<span class="skill-tag">JavaScript</span>
|
||||
<span class="skill-tag">Python</span>
|
||||
<span class="skill-tag">TypeScript</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-category">
|
||||
<h5 class="skill-category-title">Frameworks & Libraries</h5>
|
||||
<div class="skill-tags">
|
||||
<span class="skill-tag">Laravel</span>
|
||||
<span class="skill-tag">Vue.js</span>
|
||||
<span class="skill-tag">React</span>
|
||||
<span class="skill-tag">Bootstrap</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="skill-category">
|
||||
<h5 class="skill-category-title">Tools & Technologies</h5>
|
||||
<div class="skill-tags">
|
||||
<span class="skill-tag">Git</span>
|
||||
<span class="skill-tag">Docker</span>
|
||||
<span class="skill-tag">MySQL</span>
|
||||
<span class="skill-tag">Redis</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Languages -->
|
||||
<section class="resume-section">
|
||||
<h3 class="section-title">Languages</h3>
|
||||
<div class="section-content">
|
||||
<div class="language-list">
|
||||
<div class="language-item">
|
||||
<span class="language-name">English</span>
|
||||
<span class="language-level">Native</span>
|
||||
</div>
|
||||
<div class="language-item">
|
||||
<span class="language-name">German</span>
|
||||
<span class="language-level">Fluent</span>
|
||||
</div>
|
||||
<div class="language-item">
|
||||
<span class="language-name">Spanish</span>
|
||||
<span class="language-level">Intermediate</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Preview Controls -->
|
||||
<section class="preview-controls">
|
||||
<div class="card controls-card">
|
||||
<div class="card-body">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-6">
|
||||
<div class="control-info">
|
||||
<h6 class="mb-1">Template: {{ $templateData['name'] }}</h6>
|
||||
<p class="text-muted mb-0">This is a sample preview with placeholder content</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="control-actions text-md-end">
|
||||
<button class="btn btn-outline-secondary" onclick="window.print()">
|
||||
<i class="bi bi-printer"></i>
|
||||
Print Preview
|
||||
</button>
|
||||
<a href="{{ route('resume-builder.create', ['template' => $templateData['id']]) }}" class="btn primary-cta">
|
||||
<i class="bi bi-pencil-square"></i>
|
||||
Edit This Template
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('styles')
|
||||
<style>
|
||||
/* Resume Preview Specific Styles */
|
||||
.resume-preview-wrapper {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.resume-page {
|
||||
background: white;
|
||||
min-height: 1056px; /* A4 height */
|
||||
width: 100%;
|
||||
padding: 40px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.resume-header {
|
||||
border-bottom: 3px solid var(--color-primary);
|
||||
padding-bottom: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.resume-name {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-primary);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.resume-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 400;
|
||||
color: #666;
|
||||
margin: 5px 0 15px 0;
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.contact-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.contact-item i {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.resume-section {
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 1.3rem;
|
||||
font-weight: 600;
|
||||
color: var(--color-primary);
|
||||
border-bottom: 2px solid var(--color-primary-light);
|
||||
padding-bottom: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.experience-item {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.experience-header {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.position-title {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.company-name {
|
||||
font-weight: 500;
|
||||
color: var(--color-primary);
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.employment-period {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.experience-duties {
|
||||
margin: 8px 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.experience-duties li {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.education-item {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.degree-title {
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
margin: 0 15px 0 0;
|
||||
}
|
||||
|
||||
.institution {
|
||||
color: var(--color-primary);
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.graduation-year {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.skills-grid {
|
||||
display: grid;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.skill-category-title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.skill-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.skill-tag {
|
||||
background: var(--color-primary-light);
|
||||
color: var(--color-primary);
|
||||
padding: 4px 12px;
|
||||
border-radius: 15px;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.language-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.language-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.language-name {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.language-level {
|
||||
color: var(--color-primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Print Styles */
|
||||
@media print {
|
||||
.preview-header,
|
||||
.preview-controls {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.resume-page {
|
||||
box-shadow: none;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
body {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.resume-page {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.resume-name {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.contact-info {
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Smooth animations
|
||||
const sections = document.querySelectorAll('.resume-section');
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.style.opacity = '1';
|
||||
entry.target.style.transform = 'translateY(0)';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
sections.forEach(section => {
|
||||
section.style.opacity = '0';
|
||||
section.style.transform = 'translateY(20px)';
|
||||
section.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
|
||||
observer.observe(section);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
267
resources/views/templates/show.blade.php
Normal file
267
resources/views/templates/show.blade.php
Normal file
@@ -0,0 +1,267 @@
|
||||
{{--
|
||||
Template Details - Professional Bootstrap Design
|
||||
Professional Template Detail Page
|
||||
|
||||
@author David Valera Melendez <david@valera-melendez.de>
|
||||
@created 2025-08-09
|
||||
@location Made in Germany 🇩🇪
|
||||
--}}
|
||||
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('title', $templateData['name'] . ' Template - Professional Resume Builder')
|
||||
@section('page_class', 'template-detail-page')
|
||||
|
||||
@section('content')
|
||||
<div class="template-detail-container">
|
||||
<!-- Template Header -->
|
||||
<section class="template-header">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-8">
|
||||
<div class="template-info">
|
||||
<div class="breadcrumb-nav">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="{{ route('dashboard') }}">Dashboard</a></li>
|
||||
<li class="breadcrumb-item"><a href="{{ route('templates.index') }}">Templates</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ $templateData['name'] }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<h1 class="template-name">{{ $templateData['name'] }} Template</h1>
|
||||
<p class="template-description">{{ $templateData['description'] }}</p>
|
||||
|
||||
<div class="template-badges">
|
||||
@if($templateData['is_premium'])
|
||||
<span class="badge premium-badge">
|
||||
<i class="bi bi-crown"></i>
|
||||
Premium Template
|
||||
</span>
|
||||
@else
|
||||
<span class="badge free-badge">
|
||||
<i class="bi bi-check-circle"></i>
|
||||
Free Template
|
||||
</span>
|
||||
@endif
|
||||
<span class="badge category-badge">Professional</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="template-actions">
|
||||
<a href="{{ route('templates.preview', $templateData['id']) }}" class="btn btn-outline-primary btn-lg">
|
||||
<i class="bi bi-eye"></i>
|
||||
Live Preview
|
||||
</a>
|
||||
<a href="{{ route('resume-builder.create', ['template' => $templateData['id']]) }}" class="btn primary-cta btn-lg">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Use This Template
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Template Preview & Features -->
|
||||
<section class="template-content">
|
||||
<div class="row g-4">
|
||||
<!-- Template Preview -->
|
||||
<div class="col-lg-8">
|
||||
<div class="card preview-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-eye"></i>
|
||||
Template Preview
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="template-preview-container">
|
||||
@if($templateData['preview_image'])
|
||||
<img src="{{ asset($templateData['preview_image']) }}"
|
||||
alt="{{ $templateData['name'] }} Template Preview"
|
||||
class="template-preview-image"
|
||||
onerror="this.src='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAwIiBoZWlnaHQ9IjgwMCIgdmlld0JveD0iMCAwIDYwMCA4MDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI2MDAiIGhlaWdodD0iODAwIiBmaWxsPSIjRjVGNUY1Ii8+CjxyZWN0IHg9IjQwIiB5PSI0MCIgd2lkdGg9IjUyMCIgaGVpZ2h0PSI3MjAiIGZpbGw9IndoaXRlIiBzdHJva2U9IiNFMEUwRTAiLz4KPHN2ZyB4PSI4MCIgeT0iODAiIHdpZHRoPSI0NDAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA0NDAgNjAiIGZpbGw9Im5vbmUiPgo8cmVjdCB3aWR0aD0iNDQwIiBoZWlnaHQ9IjYwIiBmaWxsPSIjMTk3NkQyIi8+CjwvY3ZnPgo8dGV4dCB4PSIzMDAiIHk9IjQyMCIgZm9udC1mYW1pbHk9IkFyaWFsLCBzYW5zLXNlcmlmIiBmb250LXNpemU9IjI0IiBmaWxsPSIjNjY2NjY2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj57eyAkdGVtcGxhdGVEYXRhWyduYW1lJ10gfX0gVGVtcGxhdGU8L3RleHQ+Cjx0ZXh0IHg9IjMwMCIgeT0iNDYwIiBmb250LWZhbWlseT0iQXJpYWwsIHNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMTYiIGZpbGw9IiM5OTk5OTkiIHRleHQtYW5jaG9yPSJtaWRkbGUiPkNsaWNrICJMaXZlIFByZXZpZXciIGZvciBmdWxsIHZpZXc8L3RleHQ+Cjwvc3ZnPg=='">
|
||||
@else
|
||||
<div class="template-preview-placeholder">
|
||||
<i class="bi bi-file-earmark-text"></i>
|
||||
<h5>{{ $templateData['name'] }} Template</h5>
|
||||
<p>Click "Live Preview" to see the full template</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="preview-actions mt-3">
|
||||
<a href="{{ route('templates.preview', $templateData['id']) }}" class="btn btn-outline-primary">
|
||||
<i class="bi bi-fullscreen"></i>
|
||||
Full Screen Preview
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Template Features -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card features-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-star"></i>
|
||||
Template Features
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="feature-list">
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>Professional Layout</span>
|
||||
</div>
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>ATS Friendly</span>
|
||||
</div>
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>Print Optimized</span>
|
||||
</div>
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>Easy Customization</span>
|
||||
</div>
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>Multiple Formats</span>
|
||||
</div>
|
||||
<div class="feature-item">
|
||||
<i class="bi bi-check-circle feature-icon"></i>
|
||||
<span>Modern Typography</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Template Stats -->
|
||||
<div class="card stats-card mt-4">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-bar-chart"></i>
|
||||
Template Stats
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">4.8/5</div>
|
||||
<div class="stat-label">Rating</div>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">2,345</div>
|
||||
<div class="stat-label">Downloads</div>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">98%</div>
|
||||
<div class="stat-label">Success Rate</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Quick Actions -->
|
||||
<div class="card actions-card mt-4">
|
||||
<div class="card-body">
|
||||
<div class="d-grid gap-2">
|
||||
<a href="{{ route('resume-builder.create', ['template' => $templateData['id']]) }}" class="btn primary-cta">
|
||||
<i class="bi bi-plus-circle"></i>
|
||||
Start With This Template
|
||||
</a>
|
||||
<a href="{{ route('templates.preview', $templateData['id']) }}" class="btn btn-outline-primary">
|
||||
<i class="bi bi-eye"></i>
|
||||
Preview Template
|
||||
</a>
|
||||
<a href="{{ route('templates.index') }}" class="btn btn-outline-secondary">
|
||||
<i class="bi bi-arrow-left"></i>
|
||||
Back to Templates
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Template Guidelines -->
|
||||
<section class="template-guidelines">
|
||||
<div class="card guidelines-card">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">
|
||||
<i class="bi bi-lightbulb"></i>
|
||||
Tips for Using This Template
|
||||
</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="guideline-item">
|
||||
<div class="guideline-icon">
|
||||
<i class="bi bi-target"></i>
|
||||
</div>
|
||||
<div class="guideline-content">
|
||||
<h6>Perfect For</h6>
|
||||
<p>Corporate professionals, managers, and executives in traditional industries.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="guideline-item">
|
||||
<div class="guideline-icon">
|
||||
<i class="bi bi-palette"></i>
|
||||
</div>
|
||||
<div class="guideline-content">
|
||||
<h6>Customization</h6>
|
||||
<p>Easily customize colors, fonts, and sections to match your personal brand.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="guidelines-footer mt-3">
|
||||
<p class="text-muted mb-0">
|
||||
<i class="bi bi-info-circle"></i>
|
||||
Need help customizing your resume? Check out our
|
||||
<a href="{{ route('help') }}" class="text-primary">help center</a>
|
||||
for detailed guides and tips.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Smooth scroll animations
|
||||
const cards = document.querySelectorAll('.card');
|
||||
const observer = new IntersectionObserver((entries) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.classList.add('animate-fade-in');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
cards.forEach(card => {
|
||||
observer.observe(card);
|
||||
});
|
||||
|
||||
// Template preview image zoom
|
||||
const previewImage = document.querySelector('.template-preview-image');
|
||||
if (previewImage) {
|
||||
previewImage.addEventListener('click', function() {
|
||||
// Open preview in new tab
|
||||
window.open(this.src, '_blank');
|
||||
});
|
||||
|
||||
previewImage.style.cursor = 'zoom-in';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endsection
|
||||
Reference in New Issue
Block a user