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 {
|
.theme-clean .cv-page {
|
||||||
box-shadow: none;
|
box-shadow: 2px 2px 9px rgba(0,0,0,0.5);
|
||||||
border: none;
|
border: 1px solid #333;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 900px;
|
max-width: 900px;
|
||||||
transition: all 0.3s ease-in-out;
|
transition: all 0.3s ease-in-out;
|
||||||
@@ -521,24 +521,25 @@ iconify-icon {
|
|||||||
|
|
||||||
.sidebar-title {
|
.sidebar-title {
|
||||||
font-family: 'Quicksand', sans-serif;
|
font-family: 'Quicksand', sans-serif;
|
||||||
font-size: 1.3em;
|
font-size: 1.1em;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
line-height: 1.2em;
|
line-height: 1.3em;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 12px;
|
||||||
padding: 8px 0;
|
padding: 0;
|
||||||
color: rgb(51, 51, 51);
|
color: rgb(51, 51, 51);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-content {
|
.sidebar-content {
|
||||||
font-family: 'Quicksand', sans-serif;
|
font-family: 'Quicksand', sans-serif;
|
||||||
font-size: 0.9em;
|
font-size: 0.85em;
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.skill-item {
|
.skill-item {
|
||||||
margin-bottom: 0.3rem;
|
margin-bottom: 0.25rem;
|
||||||
color: rgb(0, 0, 0);
|
color: rgb(0, 0, 0);
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Main Content - Right column */
|
/* Main Content - Right column */
|
||||||
@@ -707,6 +708,32 @@ iconify-icon {
|
|||||||
display: inline-block;
|
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-period,
|
||||||
.experience-separator,
|
.experience-separator,
|
||||||
.experience-location,
|
.experience-location,
|
||||||
|
|||||||
@@ -93,6 +93,12 @@
|
|||||||
<span class="company-name">{{.Company}}</span>
|
<span class="company-name">{{.Company}}</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{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>
|
</h4>
|
||||||
<span class="experience-period">{{.StartDate}} / {{if .Current}}{{if eq $.Lang "es"}}presente{{else}}now{{end}}{{else}}{{.EndDate}}{{end}}</span>
|
<span class="experience-period">{{.StartDate}} / {{if .Current}}{{if eq $.Lang "es"}}presente{{else}}now{{end}}{{else}}{{.EndDate}}{{end}}</span>
|
||||||
{{if .Duration}}
|
{{if .Duration}}
|
||||||
|
|||||||
Reference in New Issue
Block a user