Use factorized colors.
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="raised" (click)="cancel()">Annuler</button>
|
<button class="stroked" (click)="cancel()">Annuler</button>
|
||||||
<button class="raised"
|
<button class="stroked"
|
||||||
(click)="confirm()"
|
(click)="confirm()"
|
||||||
[ngClass]="data.confirmButtonType">
|
[ngClass]="data.confirmButtonType">
|
||||||
{{data.confirmButtonLabel}}
|
{{data.confirmButtonLabel}}
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
</span>
|
</span>
|
||||||
<button *ngIf="!activeTaskList"
|
<button *ngIf="!activeTaskList"
|
||||||
(click)="openNewListForm()"
|
(click)="openNewListForm()"
|
||||||
class="raised"
|
class="stroked primary"
|
||||||
matRipple>
|
matRipple>
|
||||||
Nouvelle liste
|
Nouvelle liste
|
||||||
</button>
|
</button>
|
||||||
<button *ngIf="activeTaskList"
|
<button *ngIf="activeTaskList"
|
||||||
(click)="goTaskListsPane()"
|
(click)="goTaskListsPane()"
|
||||||
class="icon raised"
|
class="icon stroked primary"
|
||||||
matRipple
|
matRipple
|
||||||
matTooltip="Retourner aux task-lists">
|
matTooltip="Retourner aux task-lists">
|
||||||
<mat-icon>chevron_left</mat-icon>
|
<mat-icon>chevron_left</mat-icon>
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
test
|
test
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<button class="icon raised"
|
<button class="icon stroked primary"
|
||||||
(click)="enableSelectionMode()"
|
(click)="enableSelectionMode()"
|
||||||
matTooltip="Activer la sélection des task-lists"
|
matTooltip="Activer la sélection des task-lists"
|
||||||
matTooltipPosition="left">
|
matTooltipPosition="left">
|
||||||
@@ -36,6 +36,6 @@
|
|||||||
Cliquez sur une liste pour la sélectionner
|
Cliquez sur une liste pour la sélectionner
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="raised" (click)="disableSelectionMode()">Annuler</button>
|
<button class="stroked primary" (click)="disableSelectionMode()">Annuler</button>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ nav {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 3.2rem;
|
height: 3.2rem;
|
||||||
background-color: var(--secondary); //#666;
|
background-color: #eee; //#666;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -21,8 +21,6 @@ nav {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.middle {
|
.middle {
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
--primary-border: #ccc;
|
--primary-border: #ccc;
|
||||||
--primary-hover: #eee;
|
--primary-hover: #eee;
|
||||||
--secondary: #dddddd;
|
--secondary: #dddddd;
|
||||||
|
--secondary-hover: #c9c9c9;
|
||||||
--secondaryBorder: #cccccc;
|
--secondaryBorder: #cccccc;
|
||||||
|
|
||||||
--disabled: #eee;
|
--disabled: #eee;
|
||||||
@@ -84,7 +85,6 @@ button {
|
|||||||
min-width: 1rem;
|
min-width: 1rem;
|
||||||
min-height: 1rem;
|
min-height: 1rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: inherit;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.raised {
|
&.raised {
|
||||||
@@ -96,6 +96,22 @@ button {
|
|||||||
|
|
||||||
&.stroked {
|
&.stroked {
|
||||||
border-color: var(--primary-border);
|
border-color: var(--primary-border);
|
||||||
|
|
||||||
|
&.primary {
|
||||||
|
background-color: var(--primary);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--primary-hover);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.secondary {
|
||||||
|
background-color: var(--secondary);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--secondary-hover)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.alert {
|
&.alert {
|
||||||
|
|||||||
Reference in New Issue
Block a user