Notification permission ask added

This commit is contained in:
2022-05-03 15:34:01 -03:00
parent f4a49236d6
commit 3fb0f5bc6c
7 changed files with 204 additions and 50 deletions

View File

@@ -3,16 +3,20 @@
display: flex;
flex-direction: column;
justify-content: center;
height: 17vh;
height: 14vh;
padding: 0vh 1vw;
box-sizing: border-box;
}
.header-main-page a {
text-decoration: none;
}
.header-main-page .title-link {
width: fit-content;
}
.header-main-page h1 {
color: #ffffff;
font-size: 3vw;
display: inline;
font-family: "Raleway", sans-serif;
font-weight: 700;
margin: 0;
@@ -25,6 +29,41 @@
color: #4c8ad5;
}
.notification-select {
background-color: #1FAB89;
height: 3vh;
display: flex;
align-items: flex-end;
padding-left: 1vw;
box-sizing: border-box;
color: #fff;
font-family: "Rambla", sans-serif;
}
.notification-select p {
display: inline-block;
align-self: center;
padding: 0;
margin: 0;
margin-right: 1vw;
}
.notification-select button {
height: 80%;
width: 5%;
margin-right: 0.5vw;
border: none;
border-radius: 2px;
align-self: center;
color: #fff;
font-weight: bold;
cursor: pointer;
}
.notification-select button.yes {
background-color: #4caf50;
}
.notification-select button.no {
background-color: #d32f2f;
}
@media (max-width: 991.98px) {
.header-main-page {
height: auto;
@@ -37,12 +76,31 @@
.header-main-page h3 {
font-size: 13pt;
}
.notification-select {
height: auto;
flex-wrap: wrap;
}
.notification-select p {
width: 100%;
margin-top: 1vh;
margin-bottom: 1vh;
}
.notification-select button {
height: 30px;
width: 20%;
margin-bottom: 1vh;
}
}
.header-main-page.dark-mode-component {
background-color: #303841;
border-bottom: 1px solid #ffffff72;
}
.notification-select.dark-mode-component {
background-color: #3A4750;
}
.banner-login {
background-color: #D17262;
color: white;

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@
// align-items: center;
justify-content: center;
height: 17vh;
height: 14vh;
padding: 0vh 1vw;
box-sizing: border-box;
@@ -15,11 +15,18 @@
a {
text-decoration: none;
}
.title-link {
width: fit-content;
}
h1 {
color: #ffffff;
font-size: 3vw;
display: inline;
@include titleFont();
@include normalizeTitle();
}
@@ -30,28 +37,98 @@
color: $lightest-color-dark;
}
}
.notification-select {
background-color: $second-color;
height: 3vh;
display: flex;
align-items: flex-end;
@media (max-width: 991.98px) {
.header-main-page {
height: auto;
padding: 3vw 0px;
align-items: center;
padding-left: 1vw;
h1 {
font-size: 26pt;
box-sizing: border-box;
color: #fff;
@include bodyFont();
p {
display: inline-block;
align-self: center;
padding: 0;
margin: 0;
margin-right: 1vw;
}
h3 {
font-size: 13pt;
}
}
}
button {
height: 80%;
width: 5%;
.header-main-page.dark-mode-component {
background-color: $main-color-dark;
border-bottom: 1px solid #ffffff72;
}
margin-right: 0.5vw;
border: none;
border-radius: 2px;
align-self: center;
color: #fff;
font-weight: bold;
cursor: pointer;
}
button.yes {
background-color: rgb(76, 175, 80);
}
button.no {
background-color: rgb(211, 47, 47);
}
}
@media (max-width: 991.98px) {
.header-main-page {
height: auto;
padding: 3vw 0px;
align-items: center;
h1 {
font-size: 26pt;
}
h3 {
font-size: 13pt;
}
}
.notification-select {
height: auto;
flex-wrap: wrap;
p {
width: 100%;
margin-top: 1vh;
margin-bottom: 1vh;
}
button {
height: 30px;
width: 20%;
margin-bottom: 1vh;
}
}
}
.header-main-page.dark-mode-component {
background-color: $main-color-dark;
border-bottom: 1px solid #ffffff72;
}
.notification-select.dark-mode-component {
background-color: $second-color-dark;
}