Skip to content

Commit

Permalink
buttons with labels instead of icons, tweak colors
Browse files Browse the repository at this point in the history
  • Loading branch information
hofstef committed Nov 7, 2024
1 parent c3cdf1f commit 2c6f7f7
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
}

::ng-deep.activeMatButtonActor button {
background-color: #43acbf;
color: #ffffff;
background-color: #b3d8e0;
}

::ng-deep.activeMatButtonWorkObject button {
background-color: #0168b7;
background-color: #3eafbf;
color: #ffffff;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,13 @@
/>
</div>
<div class="buttons">
<button mat-button title="Upload Icon" (click)="startIconUpload()">
<span class="material-icons-outlined materialIconButton">upload</span>
<button
mat-stroked-button
class="mr-1"
title="Upload Icon"
(click)="startIconUpload()"
>
<span>Upload Icon</span>
<input
type="file"
multiple
Expand All @@ -52,33 +57,36 @@
/>
</button>
<button
mat-button
class="button"
mat-stroked-button
class="mr-1"
title="Reset to default icon set"
(click)="loadMinimalIconConfigurationWithDefaultIcons()"
>
<span class="material-icons-outlined materialIconButton"> home </span>
<span>Reset to Default</span>
</button>
<button
mat-button
title="Cancel changes"
mat-stroked-button
class="mr-1"
title="Cancel Changes"
(click)="loadInitialConfiguration()"
>
<span class="material-icons-outlined materialIconButton">close</span>
<span>Cancel Changes</span>
</button>
<div class="divider"></div>
<button mat-button title="Save icon set" (click)="saveIconSet()">
<span class="material-icons-outlined materialIconButton">save</span>
<button
mat-stroked-button
class="mr-1"
title="Save changes"
(click)="saveIconSet()"
>
<span>Save changes</span>
</button>
<div class="divider"></div>
<button
mat-button
title="Import icon set"
mat-stroked-button
class="mr-1"
title="Import Icon Set"
(click)="startIconSetImport()"
>
<span class="material-icons-outlined materialIconButton"
>unarchive</span
>
<span>Import Icon Set</span>
<input
type="file"
accept=".domain, .iconset"
Expand All @@ -89,10 +97,13 @@
(change)="importIconSet()"
/>
</button>
<button mat-button title="Export icon set" (click)="exportIconSet()">
<span class="material-icons-outlined materialIconButton"
>archive</span
>
<button
mat-stroked-button
class="mr-1"
title="Export Icon Set"
(click)="exportIconSet()"
>
<span>Export Icon Set</span>
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
display: grid;
grid-template-columns: max-content auto;
height: 46px;
border-bottom: #ccc 2px solid;
background-color: #e4eff3;
}

.searchbar {
Expand All @@ -18,7 +18,6 @@
align-items: center;
justify-self: left;
height: inherit;
border-right: #ccc 2px solid;
}

.buttons {
Expand All @@ -33,31 +32,16 @@
}
}

.divider {
border-left: #ccc 2px solid;
height: inherit;
}

.button {
width: 36px;
}

.mat-button {
color: #666666;
.activeNone {
background-color: #e0e0e0;
}

.activeActor {
background-color: #42aebb;
color: white;
}

.activeNone {
background-color: #e0e0e0;
color: black;
background-color: #b3d8e0;
}

.activeWorkObject {
background-color: #42aebb;
background-color: #3eafbf;
color: white;
}

Expand Down

0 comments on commit 2c6f7f7

Please sign in to comment.