Skip to content

Commit

Permalink
fix missing css (#6925)
Browse files Browse the repository at this point in the history
  • Loading branch information
pethers authored Jan 1, 2025
1 parent f2f5597 commit 51a4b4a
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ private void createOverviewContent(final VerticalLayout panelContent, final Pers
panelContent.setExpandRatio(cardPanel, ContentRatio.SMALL_GRID);


createCardHeader(cardContent,viewRiksdagenPolitician.getFirstName() + " " + viewRiksdagenPolitician.getLastName()
+ " (" + viewRiksdagenPolitician.getParty() + ")");

createCardHeader(cardContent,viewRiksdagenPolitician.getFirstName() + " " + viewRiksdagenPolitician.getLastName()
+ " (" + viewRiksdagenPolitician.getParty() + ")");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,43 @@
}
}

.politician-overview-card {
background: #1f1f1f;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
color: #e0e0e0;
margin: 1rem 0;
width: 100%;
box-sizing: border-box;
padding: 1rem;

&:hover {
box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
}

.ministry-overview-card {
background: #1f1f1f;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
color: #e0e0e0;
margin: 1rem 0;
width: 100%;
box-sizing: border-box;
padding: 1rem;

&:hover {
box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
}

.card-ministry {
font-size: 0.9rem;
color: #a0ff90;
margin-top: 0.3rem;
}


.card-header-section {
border-bottom: 2px solid #333;
margin-bottom: 0.25rem; // Less empty space after headers
Expand Down Expand Up @@ -320,8 +357,3 @@
}
}

.card-ministry {
font-size: 0.9rem;
color: #a0ff90;
margin-top: 0.3rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2414,6 +2414,42 @@ div.v-layout.v-horizontal.v-widget {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.politician-overview-card {
background: #1f1f1f;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
color: #e0e0e0;
margin: 1rem 0;
width: 100%;
box-sizing: border-box;
padding: 1rem;
}

.politician-overview-card:hover {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.ministry-overview-card {
background: #1f1f1f;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
color: #e0e0e0;
margin: 1rem 0;
width: 100%;
box-sizing: border-box;
padding: 1rem;
}

.ministry-overview-card:hover {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.card-ministry {
font-size: 0.9rem;
color: #a0ff90;
margin-top: 0.3rem;
}

.card-header-section {
border-bottom: 2px solid #333;
margin-bottom: 0.25rem;
Expand Down Expand Up @@ -2490,12 +2526,6 @@ div.v-layout.v-horizontal.v-widget {
word-break: break-word;
}

.card-ministry {
font-size: 0.9rem;
color: #a0ff90;
margin-top: 0.3rem;
}

.cia {
@-webkit-keyframes progressIndeterminate {
0% {
Expand Down

0 comments on commit 51a4b4a

Please sign in to comment.