Use factorized style.
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<div class="description">{{data.description}}</div>
|
<div class="description">{{data.description}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="dialog-actions">
|
||||||
<button class="stroked" (click)="cancel()">Annuler</button>
|
<button class="stroked" (click)="cancel()">Annuler</button>
|
||||||
<button class="stroked"
|
<button class="stroked"
|
||||||
(click)="confirm()"
|
(click)="confirm()"
|
||||||
|
|||||||
@@ -32,14 +32,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.actions {
|
|
||||||
margin-top: 1rem;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
|
|
||||||
> * {
|
|
||||||
flex: 1 1 45%;
|
|
||||||
max-width: 45%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,7 @@ nav {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 3.2rem;
|
height: 3.2rem;
|
||||||
background-color: #eee; //#666;
|
background-color: #eee;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -35,7 +35,7 @@ nav {
|
|||||||
|
|
||||||
&.selectionMode {
|
&.selectionMode {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
background-color: #185eb4;
|
background-color: var(--selection);
|
||||||
color: white;
|
color: white;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</p>
|
</p>
|
||||||
<div class="actions">
|
<div class="dialog-actions">
|
||||||
<button class="raised" type="button" (click)="close()">Annuler</button>
|
<button class="stroked primary" type="button" (click)="close()">Annuler</button>
|
||||||
<button class="raised" type="submit">Créer une liste</button>
|
<button class="stroked primary" type="submit">Créer une liste</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -4,9 +4,4 @@ form {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.actions {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -9,8 +9,8 @@
|
|||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</p>
|
</p>
|
||||||
<div class="actions">
|
<div class="dialog-actions">
|
||||||
<button class="raised" type="button" (click)="close()">Annuler</button>
|
<button class="stroked" type="button" (click)="close()">Annuler</button>
|
||||||
<button class="raised" type="submit">Renommer la liste</button>
|
<button class="stroked" type="submit">Renommer la liste</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@@ -4,9 +4,4 @@ form {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.actions {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -62,7 +62,7 @@ export class TaskListsComponent implements OnInit, OnDestroy {
|
|||||||
this._dialog.open(
|
this._dialog.open(
|
||||||
RenameTaskListComponent,
|
RenameTaskListComponent,
|
||||||
{
|
{
|
||||||
width: '20rem'
|
width: '25rem'
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
--alert-text: #fff;
|
--alert-text: #fff;
|
||||||
--alert-hover: #c20d2b;
|
--alert-hover: #c20d2b;
|
||||||
--alert-border: #b91b35;
|
--alert-border: #b91b35;
|
||||||
|
|
||||||
|
--selection: #185eb4;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@@ -124,3 +126,14 @@ button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dialog-actions {
|
||||||
|
margin-top: 1rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
> * {
|
||||||
|
flex: 1 1 45%;
|
||||||
|
max-width: 45%;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user