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,33 @@
.CommentCard {
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: 0.7em;
margin: 15px 0 15px 0;
}
.CommentCard__container {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
padding: 20px;
}
.CommentCard__user-logo {
border-radius: 50%;
object-fit: cover;
width: 50px;
height: 50px;
cursor: pointer;
}
.CommentCard__message-info {
display: flex;
align-items: center;
margin-left: 10px;
font-size: 16px;
}
.CommentCard__message {
line-height: 1.8;
margin: 15px 0 0 0;
}

View File

@ -0,0 +1,7 @@
.FunctionComments__row {
margin-bottom: 20px;
}
.FunctionComments__textarea {
height: auto;
resize: vertical;
}

View File

@ -0,0 +1,41 @@
.FunctionTabs__nav {
display: flex;
flex-wrap: wrap;
padding-left: 0;
margin-bottom: 0;
list-style: none;
border-bottom: 1px solid #d9e2ef;
margin-bottom: -1px;
margin-top: 30px;
}
.FunctionTabs__nav-item {
margin-bottom: -1px;
cursor: pointer;
}
.FunctionTabs__nav-link {
color: var(--text-color);
border: 1px solid #0c0b0b38;
border-bottom: 0px;
border-top-left-radius: 0.375rem;
border-top-right-radius: 0.375rem;
display: block;
padding: 0.5rem 1rem;
transition: 0.2s;
}
.FunctionTabs__nav-link-active {
border-color: #d9e2ef #d9e2ef #fff;
color: var(--important);
}
.FunctionTabs__nav-link:hover {
border-color: #f1f4f8 #f1f4f8 #d9e2ef;
text-decoration: none;
}
@media (max-width: 490px) {
.FunctionTabs__nav {
flex-direction: column;
}
.FunctionTabs__nav-link {
border-color: #f1f4f8 #f1f4f8 #d9e2ef;
}
}

View File

@ -0,0 +1,40 @@
.Functions__title {
padding: 20px 0 20px 0;
margin-bottom: 0;
}
.Functions__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;
}
.Functions__search-container {
margin-bottom: 50px;
}
.Functions__select-option {
color: rgb(221, 220, 220);
}
.Functions__search-input {
width: 40%;
}
/* col-sm */
@media (max-width: 576px) {
.Functions__search-container {
flex-direction: column;
align-items: center;
}
.Functions__select {
width: 90%;
margin-bottom: 5px;
}
.Functions__search-input {
width: 90%;
}
}

View File

@ -0,0 +1,167 @@
/* HEADER */
.Header {
position: fixed;
width: 100%;
top: 0;
left: 0;
right: 0;
z-index: 100;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: space-between;
padding: 0.5rem 1rem;
border-bottom: var(--border-header-footer);
background-color: var(--background-color);
}
@media (min-width: 992px) {
.Header {
flex-flow: row nowrap;
justify-content: flex-start;
}
}
.Header > .container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
@media (min-width: 992px) {
.Header > .container {
flex-wrap: nowrap;
}
}
/* Brand */
.Header__brand-link {
display: inline-block;
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
margin-right: 1rem;
font-size: 1.25rem;
line-height: inherit;
white-space: nowrap;
}
#brand-link__logo-small-screen {
display: none;
}
@media (max-width: 496px) {
#brand-link__logo {
display: none;
}
.Header__brand-link {
width: 30%;
}
#brand-link__logo-small-screen {
display: inline-block;
}
}
@media (min-width: 992px) {
.Header .Header__navbar {
display: flex;
flex-basis: auto;
}
}
.Header__navbar {
flex-basis: 100%;
flex-grow: 1;
align-items: center;
}
.navbar__list {
display: flex;
flex-direction: row;
margin-left: auto;
}
.navbar__list.navbar__list-active {
margin: 0 !important;
display: flex;
}
@media (max-width: 992px) {
.navbar__list {
display: none;
flex-direction: column;
align-items: center;
padding-left: 0;
list-style: none;
}
}
.navbar-link {
display: block;
padding: 0.5rem 1rem;
}
/* Details Styling */
.navbar-link:hover {
text-decoration: none;
color: rgba(255, 255, 255, 0.75);
}
.navbar-link,
.navbar-link-active {
color: rgba(255, 255, 255, 0.5);
}
.navbar-link-active,
.navbar-link-active:hover,
.Header__brand-link {
color: var(--text-color);
}
.navbar-item {
list-style: none;
}
.navbar-link {
font-size: 16px;
padding: 0.5rem;
}
/* Hamburger Icon */
.Header__hamburger {
display: none;
width: 56px;
height: 40px;
cursor: pointer;
background-color: transparent;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 0.25rem;
position: relative;
}
.Header__hamburger > span,
.Header__hamburger > span::before,
.Header__hamburger > span::after {
position: absolute;
width: 22px;
height: 1.3px;
background-color: rgba(255, 255, 255);
}
.Header__hamburger > span {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: background-color 0.3s ease-in-out;
}
.Header__hamburger > span::before,
.Header__hamburger > span::after {
content: '';
transition: transform 0.3s ease-in-out;
}
.Header__hamburger > span::before {
transform: translateY(-8px);
}
.Header__hamburger > span::after {
transform: translateY(8px);
}
.Header__hamburger-active span {
background-color: transparent;
}
.Header__hamburger-active > span::before {
transform: translateY(0px) rotateZ(45deg);
}
.Header__hamburger-active > span::after {
transform: translateY(0px) rotateZ(-45deg);
}
/* Apparition du hamburger */
@media (max-width: 992px) {
.Header__hamburger {
display: flex;
}
}

View File

@ -0,0 +1,47 @@
.UserCard {
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: 0 0 50px 0;
cursor: pointer;
transition: all 0.3s;
padding: 10px;
}
.UserCard__container {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
color: var(--text-color);
text-decoration: none !important;
}
.UserCard:hover {
transform: translateY(-7px);
}
/* col-md */
@media (min-width: 768px) {
.UserCard {
margin: 0 30px 50px 30px;
}
}
/* col-xl */
@media (min-width: 1200px) {
.UserCard {
margin: 0 20px 50px 20px;
}
}
.UserCard__logo {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
}
.UserCard__name {
margin: 30px 0 10px 0;
}

244
website/styles/general.css Normal file
View File

@ -0,0 +1,244 @@
/* GENERAL */
:root {
--border-header-footer: 3px rgba(255, 255, 255, 0.7) solid;
--background-color: #181818;
--text-color: rgb(222, 222, 222);
--important: #ffd800;
}
html {
line-height: initial;
}
body {
background-color: var(--background-color);
}
#__next {
min-height: 100vh;
display: flex;
flex-flow: column wrap;
background-color: var(--background-color);
color: var(--text-color);
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-size: 18px;
padding-top: 99px; /* Height of the Header */
}
p {
font-size: 18px;
line-height: 1.9;
}
a:hover {
text-decoration: underline;
}
/* CONTENT */
.content {
flex-grow: 1;
display: flex;
}
.centeredContainer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
div[aria-hidden='true'] > * {
display: none;
}
.notyf__message {
font-family: sans-serif;
}
/* LOADING */
.isLoading {
display: none;
}
#preloader {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
@keyframes Loader__spin {
0% {
animation-timing-function: cubic-bezier(0.5856, 0.0703, 0.4143, 0.9297);
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* UTILITIES */
.text-center {
text-align: center;
word-break: break-word;
}
.justify-content-center {
justify-content: center;
}
.align-items-center {
align-items: center;
}
.title-important {
color: var(--important);
font-weight: 500;
}
a,
.important {
color: var(--important);
text-decoration: none;
}
.d-none {
display: none !important;
}
.form-group {
margin-top: 1.4rem;
}
.form-control {
display: block;
width: 100%;
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.25rem;
}
.form-label {
display: inline-block;
margin-bottom: 0.5em;
}
.form-result {
margin: 30px;
}
.form-success {
color: #90ee90;
}
.form-error {
color: #ff7f7f;
}
.btn {
cursor: pointer;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn-lg {
padding: 0.5rem 1rem;
font-size: 1.25rem;
line-height: 1.5;
border-radius: 0.3rem;
}
.btn-dark:hover {
color: #fff;
background-color: #23272b;
border-color: #1d2124;
}
.btn-dark {
color: #fff;
background-color: #343a40;
border-color: #343a40;
}
.btn-primary:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.btn-primary {
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.custom-control {
display: flex;
justify-content: center;
}
.custom-control-input {
position: absolute;
z-index: -1;
opacity: 0;
}
.custom-control-label {
position: relative;
margin-bottom: 0;
vertical-align: top;
}
.custom-control-input:checked ~ .custom-control-label::before {
color: #fff;
border-color: #007bff;
background-color: #007bff;
}
.custom-switch .custom-control-label::before {
left: -2.25rem;
width: 1.75rem;
pointer-events: all;
border-radius: 0.5rem;
}
.custom-control-label::before {
position: absolute;
top: 0.25rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
pointer-events: none;
content: '';
background-color: #fff;
border: #adb5bd solid 1px;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
background-color: #fff;
-webkit-transform: translateX(0.75rem);
transform: translateX(0.75rem);
}
.custom-switch .custom-control-label::after {
top: calc(0.25rem + 2px);
left: calc(-2.25rem + 2px);
width: calc(1rem - 4px);
height: calc(1rem - 4px);
background-color: #adb5bd;
border-radius: 0.5rem;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
-webkit-transform 0.15s ease-in-out;
}
.custom-control-label::after {
position: absolute;
top: 0.25rem;
left: -1.5rem;
display: block;
width: 1rem;
height: 1rem;
content: '';
background: no-repeat 50%/50% 50%;
}
.table-column {
display: grid;
}
.table,
th,
td {
border: 1px solid var(--text-color);
border-collapse: collapse;
}
.table-row {
padding: 15px;
}
.vscode-editor {
padding: 15px;
border-radius: 10px;
overflow: auto;
white-space: normal !important;
}

710
website/styles/grid.css Normal file
View File

@ -0,0 +1,710 @@
/*!
* Bootstrap Grid v4.4.1 (https://getbootstrap.com/)
* Edited by Divlo (col, col-sm, col-md, col-lg, col-xl) and 24 columns (no offsets)
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
.container {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
.container-fluid {
width: 100%;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (max-width: 576px) {
.container {
width: 90%;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
}
.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-13,
.col-14,
.col-15,
.col-16,
.col-17,
.col-18,
.col-19,
.col-20,
.col-21,
.col-22,
.col-23,
.col-24,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-13,
.col-sm-14,
.col-sm-15,
.col-sm-16,
.col-sm-17,
.col-sm-18,
.col-sm-19,
.col-sm-20,
.col-sm-21,
.col-sm-22,
.col-sm-23,
.col-sm-24,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-13,
.col-md-14,
.col-md-15,
.col-md-16,
.col-md-17,
.col-md-18,
.col-md-19,
.col-md-20,
.col-md-21,
.col-md-22,
.col-md-23,
.col-md-24,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-13,
.col-lg-14,
.col-lg-15,
.col-lg-16,
.col-lg-17,
.col-lg-18,
.col-lg-19,
.col-lg-20,
.col-lg-21,
.col-lg-22,
.col-lg-23,
.col-lg-24,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-13,
.col-xl-14,
.col-xl-15,
.col-xl-16,
.col-xl-17,
.col-xl-18,
.col-xl-19,
.col-xl-20,
.col-xl-21,
.col-xl-22,
.col-xl-23,
.col-xl-24 {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
}
/* col- */
.col-1 {
flex: 0 0 4.16667%;
max-width: 4.16667%;
}
.col-2 {
flex: 0 0 8.33333%;
max-width: 8.33333%;
}
.col-3 {
flex: 0 0 12.5%;
max-width: 12.5%;
}
.col-4 {
flex: 0 0 16.66667%;
max-width: 16.66667%;
}
.col-5 {
flex: 0 0 20.83333%;
max-width: 20.83333%;
}
.col-6 {
flex: 0 0 25%;
max-width: 25%;
}
.col-7 {
flex: 0 0 29.16667%;
max-width: 29.16667%;
}
.col-8 {
flex: 0 0 33.33333%;
max-width: 33.33333%;
}
.col-9 {
flex: 0 0 37.5%;
max-width: 37.5%;
}
.col-10 {
flex: 0 0 41.66667%;
max-width: 41.66667%;
}
.col-11 {
flex: 0 0 45.83333%;
max-width: 45.83333%;
}
.col-12 {
flex: 0 0 50%;
max-width: 50%;
}
.col-13 {
flex: 0 0 54.16667%;
max-width: 54.16667%;
}
.col-14 {
flex: 0 0 58.33333%;
max-width: 58.33333%;
}
.col-15 {
flex: 0 0 62.5%;
max-width: 62.5%;
}
.col-16 {
flex: 0 0 66.66667%;
max-width: 66.66667%;
}
.col-17 {
flex: 0 0 70.83333%;
max-width: 70.83333%;
}
.col-18 {
flex: 0 0 75%;
max-width: 75%;
}
.col-19 {
flex: 0 0 79.16667%;
max-width: 79.16667%;
}
.col-20 {
flex: 0 0 83.33333%;
max-width: 83.33333%;
}
.col-21 {
flex: 0 0 87.5%;
max-width: 87.5%;
}
.col-22 {
flex: 0 0 91.66667%;
max-width: 91.66667%;
}
.col-23 {
flex: 0 0 95.83333%;
max-width: 95.83333%;
}
.col-24 {
flex: 0 0 100%;
max-width: 100%;
}
/* col-sm */
@media (min-width: 576px) {
.col-sm-1 {
flex: 0 0 4.16667%;
max-width: 4.16667%;
}
.col-sm-2 {
flex: 0 0 8.33333%;
max-width: 8.33333%;
}
.col-sm-3 {
flex: 0 0 12.5%;
max-width: 12.5%;
}
.col-sm-4 {
flex: 0 0 16.66667%;
max-width: 16.66667%;
}
.col-sm-5 {
flex: 0 0 20.83333%;
max-width: 20.83333%;
}
.col-sm-6 {
flex: 0 0 25%;
max-width: 25%;
}
.col-sm-7 {
flex: 0 0 29.16667%;
max-width: 29.16667%;
}
.col-sm-8 {
flex: 0 0 33.33333%;
max-width: 33.33333%;
}
.col-sm-9 {
flex: 0 0 37.5%;
max-width: 37.5%;
}
.col-sm-10 {
flex: 0 0 41.66667%;
max-width: 41.66667%;
}
.col-sm-11 {
flex: 0 0 45.83333%;
max-width: 45.83333%;
}
.col-sm-12 {
flex: 0 0 50%;
max-width: 50%;
}
.col-sm-13 {
flex: 0 0 54.16667%;
max-width: 54.16667%;
}
.col-sm-14 {
flex: 0 0 58.33333%;
max-width: 58.33333%;
}
.col-sm-15 {
flex: 0 0 62.5%;
max-width: 62.5%;
}
.col-sm-16 {
flex: 0 0 66.66667%;
max-width: 66.66667%;
}
.col-sm-17 {
flex: 0 0 70.83333%;
max-width: 70.83333%;
}
.col-sm-18 {
flex: 0 0 75%;
max-width: 75%;
}
.col-sm-19 {
flex: 0 0 79.16667%;
max-width: 79.16667%;
}
.col-sm-20 {
flex: 0 0 83.33333%;
max-width: 83.33333%;
}
.col-sm-21 {
flex: 0 0 87.5%;
max-width: 87.5%;
}
.col-sm-22 {
flex: 0 0 91.66667%;
max-width: 91.66667%;
}
.col-sm-23 {
flex: 0 0 95.83333%;
max-width: 95.83333%;
}
.col-sm-24 {
flex: 0 0 100%;
max-width: 100%;
}
}
/* col-md */
@media (min-width: 768px) {
.col-md-1 {
flex: 0 0 4.16667%;
max-width: 4.16667%;
}
.col-md-2 {
flex: 0 0 8.33333%;
max-width: 8.33333%;
}
.col-md-3 {
flex: 0 0 12.5%;
max-width: 12.5%;
}
.col-md-4 {
flex: 0 0 16.66667%;
max-width: 16.66667%;
}
.col-md-5 {
flex: 0 0 20.83333%;
max-width: 20.83333%;
}
.col-md-6 {
flex: 0 0 25%;
max-width: 25%;
}
.col-md-7 {
flex: 0 0 29.16667%;
max-width: 29.16667%;
}
.col-md-8 {
flex: 0 0 33.33333%;
max-width: 33.33333%;
}
.col-md-9 {
flex: 0 0 37.5%;
max-width: 37.5%;
}
.col-md-10 {
flex: 0 0 41.66667%;
max-width: 41.66667%;
}
.col-md-11 {
flex: 0 0 45.83333%;
max-width: 45.83333%;
}
.col-md-12 {
flex: 0 0 50%;
max-width: 50%;
}
.col-md-13 {
flex: 0 0 54.16667%;
max-width: 54.16667%;
}
.col-md-14 {
flex: 0 0 58.33333%;
max-width: 58.33333%;
}
.col-md-15 {
flex: 0 0 62.5%;
max-width: 62.5%;
}
.col-md-16 {
flex: 0 0 66.66667%;
max-width: 66.66667%;
}
.col-md-17 {
flex: 0 0 70.83333%;
max-width: 70.83333%;
}
.col-md-18 {
flex: 0 0 75%;
max-width: 75%;
}
.col-md-19 {
flex: 0 0 79.16667%;
max-width: 79.16667%;
}
.col-md-20 {
flex: 0 0 83.33333%;
max-width: 83.33333%;
}
.col-md-21 {
flex: 0 0 87.5%;
max-width: 87.5%;
}
.col-md-22 {
flex: 0 0 91.66667%;
max-width: 91.66667%;
}
.col-md-23 {
flex: 0 0 95.83333%;
max-width: 95.83333%;
}
.col-md-24 {
flex: 0 0 100%;
max-width: 100%;
}
}
/* col-lg */
@media (min-width: 992px) {
.col-lg-1 {
flex: 0 0 4.16667%;
max-width: 4.16667%;
}
.col-lg-2 {
flex: 0 0 8.33333%;
max-width: 8.33333%;
}
.col-lg-3 {
flex: 0 0 12.5%;
max-width: 12.5%;
}
.col-lg-4 {
flex: 0 0 16.66667%;
max-width: 16.66667%;
}
.col-lg-5 {
flex: 0 0 20.83333%;
max-width: 20.83333%;
}
.col-lg-6 {
flex: 0 0 25%;
max-width: 25%;
}
.col-lg-7 {
flex: 0 0 29.16667%;
max-width: 29.16667%;
}
.col-lg-8 {
flex: 0 0 33.33333%;
max-width: 33.33333%;
}
.col-lg-9 {
flex: 0 0 37.5%;
max-width: 37.5%;
}
.col-lg-10 {
flex: 0 0 41.66667%;
max-width: 41.66667%;
}
.col-lg-11 {
flex: 0 0 45.83333%;
max-width: 45.83333%;
}
.col-lg-12 {
flex: 0 0 50%;
max-width: 50%;
}
.col-lg-13 {
flex: 0 0 54.16667%;
max-width: 54.16667%;
}
.col-lg-14 {
flex: 0 0 58.33333%;
max-width: 58.33333%;
}
.col-lg-15 {
flex: 0 0 62.5%;
max-width: 62.5%;
}
.col-lg-16 {
flex: 0 0 66.66667%;
max-width: 66.66667%;
}
.col-lg-17 {
flex: 0 0 70.83333%;
max-width: 70.83333%;
}
.col-lg-18 {
flex: 0 0 75%;
max-width: 75%;
}
.col-lg-19 {
flex: 0 0 79.16667%;
max-width: 79.16667%;
}
.col-lg-20 {
flex: 0 0 83.33333%;
max-width: 83.33333%;
}
.col-lg-21 {
flex: 0 0 87.5%;
max-width: 87.5%;
}
.col-lg-22 {
flex: 0 0 91.66667%;
max-width: 91.66667%;
}
.col-lg-23 {
flex: 0 0 95.83333%;
max-width: 95.83333%;
}
.col-lg-24 {
flex: 0 0 100%;
max-width: 100%;
}
}
/* col-xl */
@media (min-width: 1200px) {
.col-xl-1 {
flex: 0 0 4.16667%;
max-width: 4.16667%;
}
.col-xl-2 {
flex: 0 0 8.33333%;
max-width: 8.33333%;
}
.col-xl-3 {
flex: 0 0 12.5%;
max-width: 12.5%;
}
.col-xl-4 {
flex: 0 0 16.66667%;
max-width: 16.66667%;
}
.col-xl-5 {
flex: 0 0 20.83333%;
max-width: 20.83333%;
}
.col-xl-6 {
flex: 0 0 25%;
max-width: 25%;
}
.col-xl-7 {
flex: 0 0 29.16667%;
max-width: 29.16667%;
}
.col-xl-8 {
flex: 0 0 33.33333%;
max-width: 33.33333%;
}
.col-xl-9 {
flex: 0 0 37.5%;
max-width: 37.5%;
}
.col-xl-10 {
flex: 0 0 41.66667%;
max-width: 41.66667%;
}
.col-xl-11 {
flex: 0 0 45.83333%;
max-width: 45.83333%;
}
.col-xl-12 {
flex: 0 0 50%;
max-width: 50%;
}
.col-xl-13 {
flex: 0 0 54.16667%;
max-width: 54.16667%;
}
.col-xl-14 {
flex: 0 0 58.33333%;
max-width: 58.33333%;
}
.col-xl-15 {
flex: 0 0 62.5%;
max-width: 62.5%;
}
.col-xl-16 {
flex: 0 0 66.66667%;
max-width: 66.66667%;
}
.col-xl-17 {
flex: 0 0 70.83333%;
max-width: 70.83333%;
}
.col-xl-18 {
flex: 0 0 75%;
max-width: 75%;
}
.col-xl-19 {
flex: 0 0 79.16667%;
max-width: 79.16667%;
}
.col-xl-20 {
flex: 0 0 83.33333%;
max-width: 83.33333%;
}
.col-xl-21 {
flex: 0 0 87.5%;
max-width: 87.5%;
}
.col-xl-22 {
flex: 0 0 91.66667%;
max-width: 91.66667%;
}
.col-xl-23 {
flex: 0 0 95.83333%;
max-width: 95.83333%;
}
.col-xl-24 {
flex: 0 0 100%;
max-width: 100%;
}
}

351
website/styles/normalize.css vendored Normal file
View File

@ -0,0 +1,351 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type='checkbox'],
[type='radio'] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type='search'] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type='search']::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

View File

@ -0,0 +1,81 @@
/* Make clicks pass-through */
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: var(--important);
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/* Fancy blur effect */
#nprogress .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height: 100%;
box-shadow: 0 0 10px var(--important), 0 0 5px var(--important);
opacity: 1;
-webkit-transform: rotate(3deg) translate(0px, -4px);
-ms-transform: rotate(3deg) translate(0px, -4px);
transform: rotate(3deg) translate(0px, -4px);
}
/* Remove these to get rid of the spinner */
#nprogress .spinner {
display: block;
position: fixed;
z-index: 1031;
top: 15px;
right: 15px;
}
#nprogress .spinner-icon {
width: 18px;
height: 18px;
box-sizing: border-box;
border: solid 2px transparent;
border-top-color: var(--important);
border-left-color: var(--important);
border-radius: 50%;
-webkit-animation: nprogress-spinner 400ms linear infinite;
animation: nprogress-spinner 400ms linear infinite;
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
position: absolute;
}
@-webkit-keyframes nprogress-spinner {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes nprogress-spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

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%;
}

1
website/styles/suneditor.min.css vendored Normal file

File diff suppressed because one or more lines are too long