master: change repo

This commit is contained in:
Julien Calixte
2019-08-22 11:50:32 +02:00
commit dbd63d341c
263 changed files with 26153 additions and 0 deletions

184
src/styles/index.scss Normal file
View File

@@ -0,0 +1,184 @@
// sass-lint:disable final-newline empty-line-between-blocks class-name-format no-url-protocols no-url-domains nesting-depth
@charset 'utf-8';
@import url('https://fonts.googleapis.com/css?family=Nunito|Raleway|Open+Sans&display=swap');
@import './variables';
@import '~bulma';
@import '~bulma-pricingtable';
@import './notyf';
@import './transitions';
:root {
--primary-color: #{$primary};
--primary-font-color: #{$main};
}
html {
overflow-y: auto;
}
.app {
color: $main;
text-align: center;
}
nav {
&.nav {
a {
color: $main;
font-weight: bold;
&.router-link-exact-active {
color: $blue;
}
}
}
}
.app,
a,
button {
font-family: 'Nunito', sans-serif;
}
.numeric {
font-family: 'Cutive Mono', monospace;
}
$navbar-color: #eaeaea4d;
.navbar-menu {
.navbar-item {
border: 2px solid $navbar-color;
border-radius: 10px;
margin: 5px;
}
}
.title,
.subtitle,
tr {
color: $main;
font-family: 'Raleway', sans-serif;
}
img {
&.logo {
height: auto;
margin: 10px 0;
width: 180pt;
}
}
.icon {
height: auto;
width: 50px;
}
.breadcrumb {
font-size: 16pt;
text-align: center;
ul {
justify-content: center;
}
}
.notyf {
left: 30px;
right: auto;
}
@media only screen and (max-width: 768px) {
.notyf {
left: 0;
right: 0;
width: 100%;
}
@keyframes a {
0% {
bottom: -15px;
margin-top: 0;
max-height: 0;
max-width: 0;
opacity: 0;
}
30% {
bottom: -3px;
opacity: 0.8;
}
to {
bottom: 0;
margin-top: 12px;
max-height: 200px;
max-width: 100%;
opacity: 1;
}
}
.notyf__message {
animation: a 0.3s forwards;
animation-delay: 0.15s;
position: relative;
width: 100%;
}
}
.notyf__toast {
&.notyf--confirm {
background-color: $primary;
}
}
.notyf__icon--confirm {
&::after,
&::before {
background-color: $primary;
}
}
// Service Worker update
.notify-worker {
background-color: $main;
border-radius: 2px;
bottom: 30px;
color: $white;
margin: auto;
max-width: 450px;
min-width: 250px;
padding: 16px;
position: fixed;
text-align: center;
visibility: hidden;
width: 100%;
z-index: 1;
&.show {
animation: fadein 0.5s;
visibility: visible;
}
button {
margin-top: 10px;
}
}
table {
.total {
font-variant: small-caps;
}
}
@keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 30px;
opacity: 1;
}
}