feat: add red EXPIRED badge display for expired companies
This commit is contained in:
+38
-11
@@ -453,8 +453,8 @@ iconify-icon {
|
||||
}
|
||||
|
||||
.theme-clean .cv-page {
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
box-shadow: 2px 2px 9px rgba(0,0,0,0.5);
|
||||
border: 1px solid #333;
|
||||
margin: 0 auto;
|
||||
max-width: 900px;
|
||||
transition: all 0.3s ease-in-out;
|
||||
@@ -521,24 +521,25 @@ iconify-icon {
|
||||
|
||||
.sidebar-title {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1.3em;
|
||||
font-weight: 500;
|
||||
line-height: 1.2em;
|
||||
margin-bottom: 8px;
|
||||
padding: 8px 0;
|
||||
font-size: 1.1em;
|
||||
font-weight: 600;
|
||||
line-height: 1.3em;
|
||||
margin-bottom: 12px;
|
||||
padding: 0;
|
||||
color: rgb(51, 51, 51);
|
||||
}
|
||||
|
||||
.sidebar-content {
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 0.9em;
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
font-size: 0.85em;
|
||||
font-weight: 400;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.skill-item {
|
||||
margin-bottom: 0.3rem;
|
||||
margin-bottom: 0.25rem;
|
||||
color: rgb(0, 0, 0);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
/* Main Content - Right column */
|
||||
@@ -707,6 +708,32 @@ iconify-icon {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.current-badge {
|
||||
display: inline-block;
|
||||
background: #27ae60;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.expired-badge {
|
||||
display: inline-block;
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
font-size: 0.7em;
|
||||
padding: 0.2em 0.5em;
|
||||
border-radius: 3px;
|
||||
margin-left: 0.5em;
|
||||
vertical-align: middle;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.experience-period,
|
||||
.experience-separator,
|
||||
.experience-location,
|
||||
|
||||
@@ -93,6 +93,12 @@
|
||||
<span class="company-name">{{.Company}}</span>
|
||||
{{end}}
|
||||
{{end}}
|
||||
{{if .Current}}
|
||||
<span class="current-badge">{{if eq $.Lang "es"}}ACTUAL{{else}}CURRENT{{end}}</span>
|
||||
{{end}}
|
||||
{{if .Expired}}
|
||||
<span class="expired-badge">{{if eq $.Lang "es"}}EXPIRADO{{else}}EXPIRED{{end}}</span>
|
||||
{{end}}
|
||||
</h4>
|
||||
<span class="experience-period">{{.StartDate}} / {{if .Current}}{{if eq $.Lang "es"}}presente{{else}}now{{end}}{{else}}{{.EndDate}}{{end}}</span>
|
||||
{{if .Duration}}
|
||||
|
||||
Reference in New Issue
Block a user