feat: add PWA support

This commit is contained in:
divlo
2020-12-28 13:07:21 +01:00
parent c594577415
commit c285d3b69e
72 changed files with 2892 additions and 1339 deletions

View File

@ -0,0 +1,7 @@
.Error404__container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-width: 100%;
}

View File

@ -0,0 +1,34 @@
.FunctionComponent__top {
display: flex;
align-items: center;
position: relative;
flex-direction: column;
word-wrap: break-word;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin-top: 40px;
}
.FunctionComponent__title {
margin: 0;
}
.FunctionComponent__description {
word-break: break-all;
margin-bottom: 0;
}
.FunctionComponent__slide {
margin-top: 30px;
}
.FunctionComponent__image {
width: 150px;
}
.FunctionComponent__star-favorite {
color: var(--important);
width: 2em !important;
height: 2em !important;
position: absolute;
right: 0;
top: 15px;
margin-right: 15px;
cursor: pointer;
}

View File

@ -0,0 +1,35 @@
.Admin__Modal__container {
display: flex;
flex-direction: column;
justify-content: center;
margin: 30px 0 0 0;
}
.Admin__Modal__row {
display: flex;
align-items: center;
flex-direction: column;
word-wrap: break-word;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin-bottom: 50px;
}
.Admin__Modal-top-container {
margin: 20px 0;
}
.Admin__Modal-select-option {
color: rgb(221, 220, 220);
}
.Admin__Function-slide {
margin-top: 40px;
}
.Admin__Input-group {
display: flex;
flex-direction: column;
word-wrap: break-word;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin-top: 40px;
padding: 40px;
}

View File

@ -0,0 +1,38 @@
.Chronometer__container {
display: flex;
flex-flow: row wrap;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
padding: 20px;
margin-bottom: 40px;
}
.Chronometer__item {
width: 100%;
}
.Chronomter__row {
margin: 8px 0 16px 0;
text-align: center;
}
.Chronometer__time-left {
font-size: 3rem;
font-weight: 700;
}
.Chronometer__buttons {
border-top: solid 3px var(--important);
padding-top: 12px;
}
.Chronometer__row-button {
display: flex;
justify-content: center;
}
.Chronometer-btn {
color: var(--text-color);
cursor: pointer;
background-color: transparent;
border: none;
outline: none;
margin-left: 14px;
margin-right: 14px;
width: 2em;
}

View File

@ -0,0 +1,20 @@
.Product__image {
max-width: 150px;
}
.Price__result {
height: 50px;
margin: 5px 0 10px 0;
display: flex;
align-items: center;
padding-left: 10px;
color: #fff;
}
.Price__result-success {
background-color: #28a745;
}
.Price__result-plus {
background-color: #dc3545;
}
.Price__result-moins {
background-color: #343a40;
}

View File

@ -0,0 +1,34 @@
.ManageToDo__container {
display: flex;
flex-direction: column;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin: 40px 40px;
}
.ManageToDo__list {
overflow: hidden;
}
.ManageToDo__list-item {
display: flex;
justify-content: space-between;
margin: 25px 0;
}
.ManageToDo__list-item.isCompleted {
text-decoration: line-through;
}
.ManageToDo__task-btn {
color: var(--text-color);
cursor: pointer;
background-color: transparent;
border: none;
outline: none;
margin-left: 7px;
margin-right: 7px;
width: 1.75em;
}
.ManageToDo__list-item-span {
width: calc(100% - 120px);
overflow: hidden;
text-overflow: ellipsis;
}

View File

@ -0,0 +1,15 @@
.Home__container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.Home__logo-spin {
cursor: pointer;
}
.Home__image-width {
width: 13em;
}
div[aria-hidden='false'] {
overflow: hidden !important;
}

View File

@ -0,0 +1,28 @@
.Profile__container {
display: flex;
flex-direction: column;
justify-content: center;
margin: 30px 0 0 0;
}
.Profile__row {
display: flex;
align-items: center;
flex-direction: column;
word-wrap: break-word;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
margin-bottom: 50px;
}
.Profile__logo {
border-radius: 50%;
object-fit: cover;
width: 150px;
height: 150px;
}
.Profile__comment {
margin: 0 0 50px 0;
}
.Profile__Modal-top-container {
margin: 20px 0;
}

View File

@ -0,0 +1,22 @@
.Register-Login__container {
display: flex;
flex-direction: column;
justify-content: center;
}
.Register-Login__row {
padding: 30px;
box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.25);
border: 1px solid black;
border-radius: 1rem;
}
.Register-Login__title {
text-align: center;
}
.Register-Login__Forgot-password {
color: var(--text-color);
font-size: 16px;
}
.Register-Login__Forgot-password:hover {
color: var(--important);
text-decoration: none;
}

View File

@ -0,0 +1,19 @@
.Users__form-control {
display: block;
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.5em;
}
.Users__search-container {
margin-bottom: 50px;
}
.Users__search-input {
width: 50%;
}