Overview
The ITV Gestion Concesionario application uses a modern glassmorphism design with customizable CSS variables, gradient colors, and responsive layouts. All styling is contained in source/css/styles.css.
Primary Color Scheme
The application uses a beautiful gradient color scheme throughout:
source/css/styles.css (Lines 10, 33, 149)
/* Main body gradient background */
body {
background : linear-gradient ( 135 deg , #667eea 0 % , #764ba2 100 % );
}
/* Header gradient */
.header {
background : linear-gradient ( 135 deg , #667eea 0 % , #764ba2 100 % );
}
/* Primary button gradient */
.btn-primary {
background : linear-gradient ( 135 deg , #667eea 0 % , #764ba2 100 % );
}
The primary gradient colors are #667eea (purple-blue) to #764ba2 (purple). These colors are used consistently across the header, buttons, and accent elements.
Customizing the Color Palette
To change the main color scheme, update these gradient values in styles.css:
Example: Change to Green Theme
/* Replace the gradient values */
body {
background : linear-gradient ( 135 deg , #10b981 0 % , #059669 100 % );
}
.header {
background : linear-gradient ( 135 deg , #10b981 0 % , #059669 100 % );
}
.btn-primary {
background : linear-gradient ( 135 deg , #10b981 0 % , #059669 100 % );
}
Glassmorphism Container
The main container uses a glassmorphism effect with backdrop blur:
source/css/styles.css (Lines 17-26)
.container {
max-width : 1200 px ;
margin : 2 rem auto ;
padding : 2 rem ;
background : rgba ( 255 , 255 , 255 , 0.95 );
backdrop-filter : blur ( 10 px );
border-radius : 0.75 rem ;
box-shadow : 0 10 px 15 px -3 px rgb ( 0 0 0 / 0.1 ),
0 4 px 6 px -4 px rgb ( 0 0 0 / 0.1 ),
0 0 0 1 px rgba ( 255 , 255 , 255 , 0.1 );
border : 1 px solid rgba ( 255 , 255 , 255 , 0.2 );
}
backdrop-filter: blur(10px) creates the frosted glass effect. Adjust the blur value to increase or decrease the effect.
Key CSS Classes
source/css/styles.css (Lines 64-71)
.form-section {
background : #ffffff ;
padding : 2 rem ;
border-radius : 0.75 rem ;
box-shadow : 0 4 px 6 px -1 px rgb ( 0 0 0 / 0.1 ),
0 2 px 4 px -2 px rgb ( 0 0 0 / 0.1 );
border : 1 px solid #e5e7eb ;
border-top : 3 px solid #667eea ;
}
source/css/styles.css (Lines 123-138)
input [ type = "text" ] {
padding : 0.875 rem 1 rem ;
border : 2 px solid #e5e7eb ;
border-radius : 0.5 rem ;
font-size : 1 rem ;
transition : all 0.2 s ease ;
background : #ffffff ;
width : 100 % ;
}
input [ type = "text" ] :focus {
outline : none ;
border-color : #2563eb ;
box-shadow : 0 0 0 3 px rgba ( 37 , 99 , 235 , 0.1 );
transform : translateY ( -1 px );
}
source/css/styles.css (Lines 146-170)
.btn-primary {
margin : 2 rem auto 0 ;
padding : 1 rem 2 rem ;
background : linear-gradient ( 135 deg , #667eea 0 % , #764ba2 100 % );
color : white ;
border : none ;
border-radius : 0.5 rem ;
font-weight : 600 ;
font-size : 1 rem ;
cursor : pointer ;
transition : all 0.3 s ease ;
box-shadow : 0 4 px 6 px -1 px rgb ( 0 0 0 / 0.1 );
}
.btn-primary:hover {
transform : translateY ( -2 px );
box-shadow : 0 10 px 15 px -3 px rgb ( 0 0 0 / 0.1 );
background : linear-gradient ( 135 deg , #f093fb 0 % , #f5576c 100 % );
}
When customizing button hover effects, ensure sufficient color contrast for accessibility (WCAG AA compliance).
Vehicle Block Styling
source/css/styles.css (Lines 180-193)
.bloque {
background : #ffffff ;
padding : 1.5 rem ;
border : 1 px solid #e5e7eb ;
border-radius : 0.75 rem ;
box-shadow : 0 4 px 6 px -1 px rgb ( 0 0 0 / 0.1 );
transition : all 0.3 s ease ;
border-top : 3 px solid #f093fb ;
}
.bloque:hover {
transform : translateY ( -2 px );
box-shadow : 0 10 px 15 px -3 px rgb ( 0 0 0 / 0.1 );
}
Approved Status Styling
source/css/styles.css (Lines 248-267)
.aprobados {
background : linear-gradient ( 135 deg , #ecfdf5 0 % , #d1fae5 100 % );
border : 2 px solid #10b981 ;
border-radius : 0.5 rem ;
padding : 1 rem ;
margin : 1 rem 0 ;
}
.aprobados label {
background : rgba ( 16 , 185 , 129 , 0.1 );
border-color : rgba ( 16 , 185 , 129 , 0.3 );
}
.aprobados label :hover {
background : rgba ( 16 , 185 , 129 , 0.2 );
border-color : #10b981 ;
}
Typography
source/css/styles.css (Lines 8-14, 44-55)
body {
font-family : 'Inter' , -apple-system , BlinkMacSystemFont, 'Segoe UI' , Roboto, sans-serif ;
color : #1f2937 ;
line-height : 1.6 ;
}
h1 {
font-size : 2.5 rem ;
font-weight : 800 ;
margin-bottom : 0.5 rem ;
text-shadow : 0 2 px 4 px rgba ( 0 , 0 , 0 , 0.1 );
}
.subtitle {
font-size : 1.1 rem ;
opacity : 0.9 ;
font-weight : 300 ;
}
Responsive Design
The application includes responsive breakpoints for mobile devices:
source/css/styles.css (Lines 431-456)
@media ( max-width : 768 px ) {
.container {
margin : 1 rem ;
padding : 1 rem ;
}
h1 {
font-size : 2 rem ;
}
.bloque1 {
grid-template-columns : 1 fr ;
}
}
@media ( max-width : 480 px ) {
h1 {
font-size : 1.75 rem ;
}
.btn-primary {
padding : 0.875 rem 1.5 rem ;
font-size : 0.95 rem ;
}
}
Animations
source/css/styles.css (Lines 411-428)
@keyframes fadeIn {
from {
opacity : 0 ;
transform : translateY ( 20 px );
}
to {
opacity : 1 ;
transform : translateY ( 0 );
}
}
.bloque {
animation : fadeIn 0.5 s ease-out ;
}
.bloque:nth-child ( even ) {
animation-delay : 0.1 s ;
}
Quick Customization Checklist
Change Primary Colors
Update the gradient values in body, .header, and .btn-primary classes
Adjust Container Opacity
Modify the rgba(255, 255, 255, 0.95) value in .container background
Customize Border Radius
Search for border-radius values and adjust for sharper or rounder corners
Update Font Family
Change the font-family in the body selector
Modify Shadow Effects
Adjust box-shadow values for lighter or heavier shadows
After making changes to styles.css, clear your browser cache or do a hard refresh (Ctrl+Shift+R) to see the updates.