[ADF-3282] Refactor Start Task Component (#4012)

* [ADF-3282] Refactor Start Task Component

* [ADF-3282] Fix e2e test

* [ADF-3282] Remove maxTaskNameLength from start task doc
This commit is contained in:
davidcanonieto
2018-11-29 14:57:36 +00:00
committed by Eugenio Romano
parent ca5543c48d
commit 49738ad555
10 changed files with 318 additions and 244 deletions

View File

@@ -6,56 +6,26 @@
$header-border: 1px solid mat-color($foreground, divider);
.adf-new-task-heading {
padding: 12px 20px;
font-weight: bold;
padding-top: 12px;
border-bottom: $header-border;
font-size: 18px;
float: left;
text-align: left;
width: calc(100% - 40px);
.mat-card-title {
font-weight: bold;
font-size: 18px;
}
}
.adf-new-task-form {
width: 100%;
}
.adf-new-task-layout-card {
width: 66%;
margin: 10px auto;
&-content {
display: flex;
flex-flow: row;
flex-wrap: wrap;
justify-content: space-between;
.adf-grid-row {
display: flex;
flex-flow: row;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 8px;
}
.adf-grid-column {
display: flex;
flex-flow: column;
}
.adf-grid-full-width {
width: 100%;
}
.adf-grid-half-width {
width: 49%;
}
}
}
.adf-new-task-footer {
padding: 4px;
font-size: 18px;
border-top: 1px solid #eee;
float: left;
width: calc(100% - 40px);
text-align: right;
}
.adf-mat-select {
@@ -154,11 +124,3 @@
}
}
}
@media (max-width: 600px) {
.adf-new-task-layout-card {
width: 90%;
margin-left: auto;
margin-right: auto;
}
}