-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7da738c
commit ebc52c8
Showing
6 changed files
with
61 additions
and
19 deletions.
There are no files selected for viewing
12 changes: 10 additions & 2 deletions
12
frontend/src/app/components/buttons/circle-button/circle-button.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
frontend/src/app/pages/roller-shutter-page/roller-shutter-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
@for (rollerShutter of rollerShutters(); track rollerShutter.id) { | ||
<app-roller-shutter-cell [rollerShutter]="rollerShutter"/> | ||
} | ||
<div class="controls"> | ||
<app-circle-button text="Alles auf" (triggered)="openAll.emit()"/> | ||
<app-circle-button text="Alles zu" (triggered)="closeAll.emit()"/> | ||
</div> | ||
|
||
<div class="shutter-tiles"> | ||
@for (rollerShutter of rollerShutters(); track rollerShutter.id) { | ||
<app-roller-shutter-cell [rollerShutter]="rollerShutter"/> | ||
} | ||
</div> |
14 changes: 8 additions & 6 deletions
14
frontend/src/app/pages/roller-shutter-page/roller-shutter-page.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
:host { | ||
.controls { | ||
display: grid; | ||
grid-template-columns: 33% 33% 33% | ||
grid-template-columns: 10% 10% auto; | ||
grid-template-rows: 100%; | ||
max-height: 25vh; | ||
} | ||
|
||
@media screen and (max-width: 1000px) { | ||
:host { | ||
grid-template-columns: 100%; | ||
} | ||
.shutter-tiles { | ||
display: grid; | ||
grid-template-columns: repeat( auto-fit, minmax(405px, 1fr) ); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters