Skip to content

Commit

Permalink
cleanup padding for project-area-expander (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
lastminutediorama authored Jan 6, 2025
1 parent 0ccf3cc commit 7eeacba
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}

.arrow-up {
color: #767575;
color: $color-md-gray;

&.active {
cursor: pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

.arrow-up {
color: #767575;
color: $color-md-gray;

&.active {
cursor: pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,14 @@
</div>
</div>
<div class="rx-details">
<span class="rx-detail-name">Stands: </span
><span class="rx-detail-value">{{ rx.treated_stand_count }}</span>
<span class="rx-detail-name">Total: </span
><span class="rx-detail-value">{{ rx.stand_ids.length }}</span>
<div>
<span class="rx-detail-name">Stands: </span
><span class="rx-detail-value">{{ rx.treated_stand_count }}</span>
</div>
<div>
<span class="rx-detail-name">Total: </span
><span class="rx-detail-value">{{ rx.stand_ids.length }}</span>
</div>
</div>
</mat-expansion-panel>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,15 @@
}

.project-area-expander-panel {
padding: 0px;

::ng-deep {


.mat-expansion-panel-header {
padding: 0 12px 0 12px;
}

.mat-expansion-panel-header.header-content .mat-content {
display: flex;
justify-content: space-between;
Expand All @@ -59,6 +66,8 @@
width: 100%;
height: auto;
padding: 12px;
padding-right: 0px;
padding-left: 0px;
}
.mat-expansion-panel-header.header-content.mat-expanded {
height: auto;
Expand Down Expand Up @@ -88,7 +97,7 @@
.header-title {
line-height: 24px;
height: auto;
padding: 0 4px;
padding: 0;
}

.left-content {
Expand All @@ -109,12 +118,12 @@
align-items: center;
justify-content: right;
gap: 8px;
padding-right: 10px;
padding-right: 4px;
}

.stand-count,
.treatment-hexagon {
color: $color-dark-gray;
color: $color-md-gray;
}

.empty-treatments {
Expand All @@ -127,14 +136,15 @@
height: 24px;
display: flex;
align-items: center;
gap: 4px;
padding-left: 40px;
padding-top: 4px;
gap: 12px;
padding-left: 30px;
padding-top: 0px;
padding-bottom: 10px;
line-height: 24px;
}

.rx-detail-name {
@include small-paragraph();
@include xs-label();
}

.rx-detail-value {
Expand All @@ -156,7 +166,8 @@
--mat-expansion-header-expanded-state-height: 34px;
--mat-expansion-header-collapsed-state-height: 34px;
background-color: unset;
padding-right: 0px;
padding-right: 14px;
padding-left: 14px;

::ng-deep .mat-expansion-panel-body {
padding-right: 0px;
Expand All @@ -174,16 +185,18 @@

.sequence-treatment-line {
@include small-paragraph();
padding-left: 36px;
padding-left: 24px;
display: flex;
flex-direction: row;
color: $color-black;
gap: 4px;
line-height: 30px;
height: 30px;
}

.sequence-icon {
color: $color-md-gray;
width: 20px;
font-size: 20px;
line-height: 20px;
line-height: 30px;
}

0 comments on commit 7eeacba

Please sign in to comment.