Skip to content

Commit

Permalink
updated more styles related to dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Lopez committed Aug 20, 2024
1 parent fa767fa commit e01b18c
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
:host {
margin: 24px;
display: block;
}

.delete-account-dialog {
align-items: center;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:host {
display: block;
width: 530px;

}

.main {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:host {
display: block;
max-width: 535px;
margin: 24px;
}

h4 {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:host {
display: block;
padding: 20px;
margin: 24px;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h3 mat-dialog-title>Name your plan</h3>
<h3 mat-dialog-title class="title">Name your plan</h3>
<form [formGroup]="planForm" (ngSubmit)="submit()">
<mat-dialog-content>
<div class="info">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:host {
display: block;
}

mat-form-field {
min-width: 480px;
}
Expand All @@ -18,3 +22,11 @@ mat-form-field {
mat-icon {
flex-shrink: 0;
}

.title {
margin: 24px 24px 0;
}

mat-dialog-actions {
padding: 0 24px 16px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
display: block;
min-width: 480px;
position: relative;
margin: 24px;
}

section {
Expand Down
18 changes: 18 additions & 0 deletions src/interface/src/styles/material.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,26 @@ body {
--mat-menu-item-label-text-tracking: 0;
--mat-menu-item-label-text-line-height: 22px;
--mat-menu-item-label-text-weight: 400;


}

.mat-mdc-dialog-container {
// dialog
--mdc-dialog-supporting-text-color: $color-black;
--mdc-dialog-subhead-line-height: 24px;
--mdc-dialog-subhead-size: 22px;
--mdc-dialog-subhead-weight: 600;
--mdc-dialog-supporting-text-size: 14px;

.mdc-dialog__title {
padding: 0;

&::before {
display: none
}
}
}

mat-checkbox:not([disabled]) .mdc-label:hover,
mat-radio-button:not([disabled]) .mdc-label:hover {
Expand Down

0 comments on commit e01b18c

Please sign in to comment.