Skip to content

Commit

Permalink
[#1791] Starting design update of case detail
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Oct 19, 2023
1 parent 65f91e3 commit 8376f05
Showing 1 changed file with 37 additions and 8 deletions.
45 changes: 37 additions & 8 deletions src/open_inwoner/scss/components/Dashboard/Dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,57 @@
.dashboard {
margin-bottom: var(--spacing-mega);

&__list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--spacing-large) var(--spacing-medium);
justify-content: space-between;
display: block;
list-style: none;
margin: 0;
padding: 0;
border-bottom: var(--border-width-thin) solid var(--color-gray);

@media (min-width: 768px) {
@media (min-width: 900px) {
display: flex;
gap: var(--spacing-medium);
gap: 0;
border-top: var(--border-width-thin) solid var(--color-gray);
}
}

&__list-item {
padding: var(--spacing-large) 0;
color: var(--color-gray-dark);
white-space: nowrap;
text-align: center;
border-top: var(--border-width-thin) solid var(--color-gray);
@media (min-width: 900px) {
border-top: none;
margin-left: var(--spacing-extra-large);
}

@media (min-width: 768px) {
&:first-child {
margin-left: 0;
}

p::after {
color: var(--color-gray);
@media (min-width: 900px) {
content: '|';
margin-left: var(--spacing-extra-large);
}
}

&:last-child p::after {
@media (min-width: 900px) {
content: none;
}
}

@media (min-width: 900px) {
text-align: start;
}
}

&__item-label {
color: var(--color-gray-90);
}

.h4 {
@media (min-width: 768px) {
margin-top: var(--spacing-large);
Expand Down

0 comments on commit 8376f05

Please sign in to comment.