Skip to content

Commit fc05c8a

Browse files
committed
Fixing overlay transparency.
Fixing button shape.
1 parent 6d149cf commit fc05c8a

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

eform-client/src/scss/libs/theme.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,37 @@ body {
185185
color: white; // Replace with your desired color value
186186
}
187187
}
188+
189+
.cdk-overlay-container {
190+
@include mat.dialog-overrides((
191+
container-shape: 20px,
192+
container-elevation-shadow: none,
193+
actions-padding: 20px,
194+
));
195+
}
196+
197+
/* Global button shape overrides */
198+
button.mat-mdc-raised-button,
199+
a.mat-mdc-raised-button,
200+
button.mat-mdc-unelevated-button,
201+
a.mat-mdc-unelevated-button,
202+
button.mat-mdc-outlined-button,
203+
a.mat-mdc-outlined-button,
204+
button.mat-mdc-text-button,
205+
a.mat-mdc-text-button {
206+
border-radius: 20px;
207+
}
208+
209+
/* Icon buttons */
210+
button.mat-mdc-icon-button,
211+
a.mat-mdc-icon-button {
212+
border-radius: 20px;
213+
}
214+
215+
/* Optional: FABs */
216+
button.mat-mdc-fab,
217+
a.mat-mdc-fab,
218+
button.mat-mdc-mini-fab,
219+
a.mat-mdc-mini-fab {
220+
border-radius: 20px;
221+
}

eform-client/src/scss/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,7 @@ ngx-material-timepicker-container {
358358
z-index: 2000;
359359
position: relative;
360360
}
361+
362+
.cdk-overlay-backdrop {
363+
background-color: rgba(0, 0, 0, 1) !important;
364+
}

0 commit comments

Comments
 (0)