769 lines
15 KiB
CSS
769 lines
15 KiB
CSS
/* Standardized UI Component Styling */
|
|
|
|
/*
|
|
* This file contains standardized styling for all UI components
|
|
* to ensure consistency across the application
|
|
*/
|
|
|
|
/* === BUTTONS === */
|
|
|
|
/* Base button style */
|
|
.btn {
|
|
font-weight: 600;
|
|
border-radius: 0.5rem;
|
|
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 1.5rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: -100%;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: all 0.6s;
|
|
}
|
|
|
|
.btn:hover::after {
|
|
left: 100%;
|
|
}
|
|
|
|
/* Button sizes */
|
|
.btn-sm {
|
|
font-size: 0.875rem;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
.btn-lg {
|
|
font-size: 1.125rem;
|
|
padding: 0.875rem 1.75rem;
|
|
}
|
|
|
|
/* Primary button */
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #3b82f6, #4f46e5);
|
|
color: white;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
box-shadow:
|
|
0 4px 12px -2px rgba(59, 130, 246, 0.35),
|
|
0 0 0 1px rgba(59, 130, 246, 0.1),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
box-shadow:
|
|
0 8px 20px -4px rgba(59, 130, 246, 0.5),
|
|
0 0 0 1px rgba(59, 130, 246, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
background: linear-gradient(135deg, #4287f5, #5a4fe0);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: translateY(1px);
|
|
box-shadow:
|
|
0 2px 8px -2px rgba(59, 130, 246, 0.3),
|
|
0 0 0 1px rgba(59, 130, 246, 0.2);
|
|
transition-duration: 0.1s;
|
|
}
|
|
|
|
/* Secondary button */
|
|
.btn-secondary {
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(12px);
|
|
color: white;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
box-shadow:
|
|
0 4px 12px -2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
transform: translateY(-2px);
|
|
box-shadow:
|
|
0 8px 16px -4px rgba(0, 0, 0, 0.3),
|
|
0 0 0 1px rgba(255, 255, 255, 0.15),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-secondary:active {
|
|
transform: translateY(1px);
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
box-shadow:
|
|
0 2px 8px -2px rgba(0, 0, 0, 0.2),
|
|
0 0 0 1px rgba(255, 255, 255, 0.08);
|
|
transition-duration: 0.1s;
|
|
}
|
|
|
|
/* Outline button */
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.btn-outline:active {
|
|
transform: translateY(1px);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Accent button */
|
|
.btn-accent {
|
|
background: linear-gradient(135deg, #a855f7, #ec4899);
|
|
color: white;
|
|
border: 1px solid rgba(236, 72, 153, 0.3);
|
|
box-shadow:
|
|
0 4px 12px -2px rgba(168, 85, 247, 0.35),
|
|
0 0 0 1px rgba(168, 85, 247, 0.1),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.btn-accent:hover {
|
|
box-shadow:
|
|
0 8px 20px -4px rgba(168, 85, 247, 0.5),
|
|
0 0 0 1px rgba(236, 72, 153, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
background: linear-gradient(135deg, #b366f7, #ee5aa3);
|
|
}
|
|
|
|
.btn-accent:active {
|
|
transform: translateY(1px);
|
|
box-shadow:
|
|
0 2px 8px -2px rgba(168, 85, 247, 0.3),
|
|
0 0 0 1px rgba(236, 72, 153, 0.2);
|
|
transition-duration: 0.1s;
|
|
}
|
|
|
|
/* Button loading state */
|
|
.btn.loading {
|
|
position: relative;
|
|
color: transparent !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.btn.loading::before {
|
|
content: "";
|
|
position: absolute;
|
|
height: 1rem;
|
|
width: 1rem;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -0.5rem;
|
|
margin-top: -0.5rem;
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
border-radius: 50%;
|
|
border-top-color: white;
|
|
animation: spin 0.6s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Button disabled state */
|
|
.btn:disabled, .btn[disabled] {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
box-shadow: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Button with icon */
|
|
.btn-with-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn-with-icon svg {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-with-icon:hover svg {
|
|
transform: translateX(2px);
|
|
}
|
|
|
|
/* Enhanced Form Controls */
|
|
.form-input {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
border-radius: 0.5rem;
|
|
color: #fff;
|
|
padding: 0.75rem 1rem;
|
|
width: 100%;
|
|
transition: all 0.3s ease;
|
|
backdrop-filter: blur(10px);
|
|
box-shadow:
|
|
0 4px 12px -2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: rgba(99, 102, 241, 0.6);
|
|
box-shadow:
|
|
0 0 0 3px rgba(99, 102, 241, 0.15),
|
|
0 4px 12px -2px rgba(0, 0, 0, 0.2),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.form-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.form-group .icon {
|
|
position: absolute;
|
|
left: 1rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: rgba(255, 255, 255, 0.5);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.form-group.with-icon .form-input {
|
|
padding-left: 2.75rem;
|
|
}
|
|
|
|
.form-group.success .form-input {
|
|
border-color: rgba(16, 185, 129, 0.5);
|
|
}
|
|
|
|
.form-group.error .form-input {
|
|
border-color: rgba(220, 38, 38, 0.5);
|
|
}
|
|
|
|
.form-error {
|
|
color: rgba(220, 38, 38, 0.9);
|
|
font-size: 0.75rem;
|
|
margin-top: 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.form-helper {
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.75rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.btn-accent:hover {
|
|
box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Outline button */
|
|
.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: white;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Button with icon */
|
|
.btn-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.btn-icon > *:not(:first-child) {
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
/* Disabled button */
|
|
.btn:disabled,
|
|
.btn.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Loading button */
|
|
.btn-loading {
|
|
position: relative;
|
|
opacity: 0.8;
|
|
cursor: wait;
|
|
}
|
|
|
|
/* === CARDS === */
|
|
|
|
/* Base card style */
|
|
.card {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 0.75rem;
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
transition-property: all;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
/* Card variations */
|
|
.card-hover:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Card with glow effect */
|
|
.card-glow:hover {
|
|
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
|
|
}
|
|
|
|
/* Card with purple glow */
|
|
.card-glow-purple:hover {
|
|
box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
|
|
}
|
|
|
|
/* Card with green glow */
|
|
.card-glow-green:hover {
|
|
box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
|
|
}
|
|
|
|
/* Card header */
|
|
.card-header {
|
|
padding: 1.25rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Card body */
|
|
.card-body {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
/* Card footer */
|
|
.card-footer {
|
|
padding: 1.25rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Stats card */
|
|
.stat-card {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 0.75rem;
|
|
padding: 1.25rem;
|
|
transition-property: all;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* === FORM ELEMENTS === */
|
|
|
|
/* Form label */
|
|
.form-label {
|
|
display: block;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
color: #d1d5db;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* Form input */
|
|
.form-input {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 0.5rem;
|
|
color: white;
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
transition-property: all;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
.form-input::placeholder {
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
/* Form select */
|
|
.form-select {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 0.5rem;
|
|
color: white;
|
|
width: 100%;
|
|
padding: 0.75rem 1rem;
|
|
transition-property: all;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: #3b82f6;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
|
|
}
|
|
|
|
/* Form helper text */
|
|
.form-helper {
|
|
margin-top: 0.25rem;
|
|
font-size: 0.875rem;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
/* Form validation */
|
|
.form-error {
|
|
margin-top: 0.25rem;
|
|
font-size: 0.875rem;
|
|
color: #f87171;
|
|
}
|
|
|
|
.form-valid {
|
|
margin-top: 0.25rem;
|
|
font-size: 0.875rem;
|
|
color: #34d399;
|
|
}
|
|
|
|
/* Form group */
|
|
.form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* === TEXT STYLES === */
|
|
|
|
/* Headings */
|
|
.heading-xl {
|
|
font-size: 1.875rem;
|
|
line-height: 2.25rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.heading-xl {
|
|
font-size: 2.25rem;
|
|
line-height: 2.5rem;
|
|
}
|
|
}
|
|
|
|
.heading-lg {
|
|
font-size: 1.5rem;
|
|
line-height: 2rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.heading-lg {
|
|
font-size: 1.875rem;
|
|
line-height: 2.25rem;
|
|
}
|
|
}
|
|
|
|
.heading-md {
|
|
font-size: 1.25rem;
|
|
line-height: 1.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.heading-md {
|
|
font-size: 1.5rem;
|
|
line-height: 2rem;
|
|
}
|
|
}
|
|
|
|
.heading-sm {
|
|
font-size: 1.125rem;
|
|
line-height: 1.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.heading-sm {
|
|
font-size: 1.25rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
}
|
|
|
|
/* Paragraph text */
|
|
.text-body {
|
|
font-size: 1rem;
|
|
line-height: 1.5rem;
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.text-body-sm {
|
|
font-size: 0.875rem;
|
|
line-height: 1.25rem;
|
|
color: #d1d5db;
|
|
}
|
|
|
|
.text-body-lg {
|
|
font-size: 1.125rem;
|
|
line-height: 1.75rem;
|
|
color: #d1d5db;
|
|
}
|
|
|
|
/* === BADGES === */
|
|
|
|
/* Base badge */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 9999px;
|
|
padding-left: 0.625rem;
|
|
padding-right: 0.625rem;
|
|
padding-top: 0.125rem;
|
|
padding-bottom: 0.125rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Badge colors */
|
|
.badge-blue {
|
|
background-color: rgba(59, 130, 246, 0.2);
|
|
color: #93c5fd;
|
|
border: 1px solid rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.badge-green {
|
|
background-color: rgba(16, 185, 129, 0.2);
|
|
color: #6ee7b7;
|
|
border: 1px solid rgba(16, 185, 129, 0.3);
|
|
}
|
|
|
|
.badge-red {
|
|
background-color: rgba(239, 68, 68, 0.2);
|
|
color: #fca5a5;
|
|
border: 1px solid rgba(239, 68, 68, 0.3);
|
|
}
|
|
|
|
.badge-yellow {
|
|
background-color: rgba(245, 158, 11, 0.2);
|
|
color: #fcd34d;
|
|
border: 1px solid rgba(245, 158, 11, 0.3);
|
|
}
|
|
|
|
.badge-purple {
|
|
background-color: rgba(139, 92, 246, 0.2);
|
|
color: #c4b5fd;
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
/* === MODALS === */
|
|
|
|
/* Modal overlay */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
backdrop-filter: blur(8px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 50;
|
|
padding: 1rem;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.modal-overlay {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.modal-overlay {
|
|
padding: 2.5rem;
|
|
}
|
|
}
|
|
|
|
/* Modal content */
|
|
.modal-container {
|
|
background-image: linear-gradient(to bottom right, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.9));
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 1rem;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
|
max-width: 28rem;
|
|
width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Modal header */
|
|
.modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1.25rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* Modal body */
|
|
.modal-body {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
/* Modal footer */
|
|
.modal-footer {
|
|
padding: 1.25rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.modal-footer > * + * {
|
|
margin-left: 0.75rem;
|
|
}
|
|
|
|
/* === LOADERS === */
|
|
|
|
/* Spinner */
|
|
.spinner {
|
|
animation: spin 1s linear infinite;
|
|
border-radius: 9999px;
|
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
|
border-top-color: #3b82f6;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.spinner-sm {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
.spinner-lg {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
|
|
/* Pulse dot */
|
|
.pulse-dot {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
border-radius: 9999px;
|
|
background-color: #10b981;
|
|
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
/* === UTILITIES === */
|
|
|
|
/* Gradient text */
|
|
.gradient-text {
|
|
background-image: linear-gradient(to bottom right, #60a5fa, #6366f1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.gradient-text-purple {
|
|
background-image: linear-gradient(to bottom right, #a78bfa, #ec4899);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
/* Glass effect */
|
|
.glass-effect {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
backdrop-filter: blur(20px);
|
|
}
|
|
|
|
/* Dividers */
|
|
.divider {
|
|
border-top-width: 1px;
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.divider-vertical {
|
|
border-left-width: 1px;
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
height: 100%;
|
|
}
|
|
|
|
/* === ANIMATIONS === */
|
|
|
|
.hover-lift {
|
|
transition-property: transform;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
.hover-lift:hover {
|
|
transform: translateY(-4px);
|
|
}
|
|
|
|
.hover-glow {
|
|
transition-property: box-shadow;
|
|
transition-duration: 300ms;
|
|
}
|
|
|
|
.hover-glow:hover {
|
|
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
|
|
} |