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;