Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORT] [FRONTEND] [PROPOSITION] Modification du layout du rapport d'import #3041

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
data-qa="import-list"
>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Liste des imports</h5>
<div class="card-header d-flex flex-column justify-content-center ImportList__title">
<h5 class="card-title">Liste des imports</h5>
</div>
<div class="card-body">
<div *ngIf="!empty; else emptyBlock">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ $icon-size: 19px;
}

.ImportList {
&__title {
h5 {
margin: 0;
}
}

.Toolbar {
display: flex;
flex-flow: row wrap;
Expand All @@ -23,14 +29,37 @@ $icon-size: 19px;
&__destinations {
max-width: 200px;
}

&__search {
input {
max-height: 36px;

&::placeholder {
color: #999; /* default theme ng-placehodler color */
color: #999;
/* default theme ng-placehodler color */
}
}
}

.card-header {
height: 64px;

h5 {
margin: 0;
}
}

.button {
margin-top: -0.5 * $line-tb-padding !important;
padding: 0 !important;
height: 2 * $icon-size !important;
width: 2 * $icon-size !important;

mat-icon {
font-size: $icon-size !important;
margin: auto;
}
}
}

.Datatable {
Expand All @@ -39,6 +68,7 @@ $icon-size: 19px;
::ng-deep .datatable-header-cell,
::ng-deep .datatable-body-cell {
padding: $line-tb-padding $line-tb-padding * 0.5 !important;

.datatable-body-cell-label,
.datatable-body-cell-label p {
overflow-y: hidden;
Expand All @@ -56,21 +86,25 @@ $icon-size: 19px;
::ng-deep .datatable-row-left {
background-color: rgb(238, 238, 238) !important;
}

::ng-deep .datatable-row-right {
background-color: rgb(238, 238, 238) !important;
}
}

::ng-deep .datatable-row-left {
background-color: #fff;

.datatable-body-cell {
text-align: left;
}
}

::ng-deep .datatable-row-right {
.datatable-body-cell {
background-color: inherit;
transform: translate3d(12px, 0px, 0px); /* trick to remove extra space on the right */
transform: translate3d(12px, 0px, 0px);
/* trick to remove extra space on the right */
text-align: right;
padding: 0 !important;
margin: auto !important;
Expand All @@ -82,15 +116,18 @@ $icon-size: 19px;
padding: $icon-size / 4;
height: 2 * $icon-size !important;
width: 2 * $icon-size !important;

mat-icon {
font-size: $icon-size !important;
}

&:disabled {
color: rgba(0, 0, 0, $button-disabled-opacity) !important;
}

&Tooltip {
filter: opacity(0.6);

&--disabled {
filter: opacity($button-disabled-opacity);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ <h4 class="card-header">
data-qa="import-recapitulatif"
>
<h3 class="title mb-0">Récapitulatif avant import</h3>
<div class="card">
<h4 class="card-header">
<div class="card card-margin">
<h4 class="card-header card-margin">
<mat-icon>build</mat-icon>
Rapports
</h4>
Expand Down
Loading
Loading