Save
This commit is contained in:
13
wwwroot/appsettings.json
Normal file
13
wwwroot/appsettings.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"Local": {
|
||||
"Authority": "https://openidconnect.net",
|
||||
"ClientId": "1234.locahost",
|
||||
"RedirectUri": "",
|
||||
"MetadataUrl": "",
|
||||
"PostLogoutRedirectUri": "",
|
||||
"ResponseType": "",
|
||||
"ResponseMode": "",
|
||||
"AdditionalProviderParameters": [],
|
||||
"DefaultScopes": []
|
||||
}
|
||||
}
|
@ -2,10 +2,10 @@
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square70x70logo src="/imgs/mstile-70x70.png" />
|
||||
<square150x150logo src="/imgs/mstile-150x150.png" />
|
||||
<square310x310logo src="/imgs/mstile-310x310.png" />
|
||||
<wide310x150logo src="/imgs/mstile-310x150.png" />
|
||||
<square70x70logo src="/imgs/icon-192.png" />
|
||||
<square150x150logo src="/imgs/icon-512.png" />
|
||||
<square310x310logo src="/imgs/icon-512.png" />
|
||||
<wide310x150logo src="/imgs/icon-512.png" />
|
||||
<TileColor>#fadcc7</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
|
@ -1,3 +1,447 @@
|
||||
:root {
|
||||
--background: #fadcc7;
|
||||
--text-color: #7c3a0b;
|
||||
--placeholder-text-color: rgba(124, 58, 11, 0.3);
|
||||
--black: #0a0a0a;
|
||||
--black-bis: #121212;
|
||||
--black-ter: #242424;
|
||||
--white: #fffefe;
|
||||
--primary-color: #fadcc7;
|
||||
--primary-color-light: white;
|
||||
--primary-color-dark: #f19c5f;
|
||||
--primary-gradiend-light: #fce8d9;
|
||||
--primary-gradiend-dark: #f8d0b4;
|
||||
--primary-gradiend-lighter: #fdf3ec;
|
||||
--primary-gradiend-darker: #f7c5a1;
|
||||
--secondary-color: #c7e5fa;
|
||||
--secondary-color-light: white;
|
||||
--secondary-color-dark: #b4dcf8;
|
||||
--light-shadow: rgba(255, 255, 255, 0.5);
|
||||
--dark-shadow: rgba(241, 156, 95, 0.5);
|
||||
/*--fa-primary-color: hsl(25,84%,26.4%);
|
||||
--fa-secondary-color: hsl(25,84%,66%);*/
|
||||
--fa-primary-color: #0b4d7c;
|
||||
--fa-secondary-color: #5fb4f1;
|
||||
/*--fa-primary-color: hsl(115,84%,26.4%);
|
||||
--fa-secondary-color: hsl(115,84%,66%);*/
|
||||
--fa-primary-opacity: 0.80;
|
||||
--fa-secondary-opacity: 0.80;
|
||||
--danger-color: #fbd5d5;
|
||||
--warning-color: #fbf3d5;
|
||||
--info-color: #d5f1fb;
|
||||
--plus-green: #71ba40;
|
||||
--plus-gold: #cab021; }
|
||||
|
||||
:root {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px;
|
||||
--is-inset: inherit; }
|
||||
|
||||
/*# sourceMappingURL=main.css.map */
|
||||
.neomorph {
|
||||
box-shadow: calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--blur-radius) var(--light-shadow), var(--shadow-offset) var(--shadow-offset) var(--blur-radius) var(--dark-shadow); }
|
||||
.neomorphInset {
|
||||
box-shadow: inset var(--shadow-offset) var(--shadow-offset) var(--blur-radius) var(--dark-shadow), inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--blur-radius) var(--light-shadow); }
|
||||
.neomorphInset.is-nxxsmall {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorphInset.is-nxxsmall-sm {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorphInset.is-nxxsmall-md {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorphInset.is-nxxsmall-lg {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorphInset.is-nxxsmall-xl {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
.neomorphInset.is-nxsmall {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorphInset.is-nxsmall-sm {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorphInset.is-nxsmall-md {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorphInset.is-nxsmall-lg {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorphInset.is-nxsmall-xl {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
.neomorphInset.is-nsmall {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorphInset.is-nsmall-sm {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorphInset.is-nsmall-md {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorphInset.is-nsmall-lg {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorphInset.is-nsmall-xl {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
.neomorph.is-nxxsmall {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorph.is-nxxsmall-sm {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorph.is-nxxsmall-md {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorph.is-nxxsmall-lg {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorph.is-nxxsmall-xl {
|
||||
--shadow-offset: 2px;
|
||||
--blur-radius: 4px; } }
|
||||
.neomorph.is-nxsmall {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorph.is-nxsmall-sm {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorph.is-nxsmall-md {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorph.is-nxsmall-lg {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorph.is-nxsmall-xl {
|
||||
--shadow-offset: 3px;
|
||||
--blur-radius: 6px; } }
|
||||
.neomorph.is-nsmall {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorph.is-nsmall-sm {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorph.is-nsmall-md {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorph.is-nsmall-lg {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorph.is-nsmall-xl {
|
||||
--shadow-offset: 6px;
|
||||
--blur-radius: 12px; } }
|
||||
.neomorph.is-nnormal {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px; }
|
||||
@media (min-width: 640px) {
|
||||
.neomorph.is-nnormal-sm {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px; } }
|
||||
@media (min-width: 768px) {
|
||||
.neomorph.is-nnormal-md {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px; } }
|
||||
@media (min-width: 1024px) {
|
||||
.neomorph.is-nnormal-lg {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px; } }
|
||||
@media (min-width: 1280px) {
|
||||
.neomorph.is-nnormal-xl {
|
||||
--shadow-offset: 8px;
|
||||
--blur-radius: 16px; } }
|
||||
|
||||
button.neoBtn, .neoBtn {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: -3px -3px 6px var(--light-shadow), 3px 3px 6px var(--dark-shadow);
|
||||
border: none;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden; }
|
||||
button.neoBtn:focus, .neoBtn:focus {
|
||||
background-image: linear-gradient(-45deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: -3px -3px 6px var(--light-shadow), 3px 3px 6px var(--dark-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmall, .neoBtnSmall {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: -2px -2px 4px var(--light-shadow), 2px 2px 4px var(--dark-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmall:focus, .neoBtnSmall:focus {
|
||||
background-image: linear-gradient(-45deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: -2px -2px 4px var(--light-shadow), 2px 2px 4px var(--dark-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmall:focus:not(:active), .neoBtnSmall:focus:not(:active) {
|
||||
background-image: linear-gradient(-45deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: -2px -2px 4px var(--light-shadow), 2px 2px 4px var(--dark-shadow); }
|
||||
button.neoBtnSmall:focus input[type=file], .neoBtnSmall:focus input[type=file] {
|
||||
background-image: linear-gradient(-45deg, var(--primary-gradiend-light), var(--primary-gradiend-dark)); }
|
||||
button.neoBtnSmallPlain, .neoBtnSmallPlain {
|
||||
box-shadow: -3px -3px 6px var(--light-shadow), 3px 3px 6px var(--dark-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmallPlain:focus, .neoBtnSmallPlain:focus {
|
||||
box-shadow: -3px -3px 6px var(--light-shadow), 3px 3px 6px var(--dark-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmallInsetPlain, .neoBtnSmallInsetPlain {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmallInsetPlain:focus, .neoBtnSmallInsetPlain:focus {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmallXInsetPlain, .neoBtnSmallXInsetPlain {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnSmallXInsetPlain:focus, .neoBtnSmallXInsetPlain:focus {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnInsetPlain, .neoBtnInsetPlain {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnInsetPlain:focus, .neoBtnInsetPlain:focus {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
border: none; }
|
||||
button.neoBtnInsetPlain:focus:not(:active), .neoBtnInsetPlain:focus:not(:active) {
|
||||
background-image: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow); }
|
||||
|
||||
button.neoFile, .neoFile {
|
||||
box-shadow: 0px 0px 0px var(--light-shadow), 0px 0px 0px var(--dark-shadow);
|
||||
transition: all .2s linear;
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden; }
|
||||
button.neoFile:hover, .neoFile:hover {
|
||||
box-shadow: -3px -3px 6px var(--light-shadow), 3px 3px 6px var(--dark-shadow); }
|
||||
button.neoFile:focus-visible, .neoFile:focus-visible {
|
||||
background: linear-gradient(-45deg, var(--primary-gradiend-light), var(--primary-gradiend-dark));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
outline: none; }
|
||||
button.neoFile.isSelected, .neoFile.isSelected {
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow); }
|
||||
button.neoFile.isSelected:focus-visible, .neoFile.isSelected:focus-visible {
|
||||
background: linear-gradient(-45deg, var(--primary-gradiend-lighter), var(--primary-gradiend-darker));
|
||||
outline: none; }
|
||||
button.neoFile.is-active, button.neoFile.active, .neoFile.is-active, .neoFile.active {
|
||||
box-shadow: inset 3px 3px 6px var(--dark-shadow), inset -3px -3px 6px var(--light-shadow);
|
||||
color: var(--black); }
|
||||
|
||||
button.neoInput, .neoInput {
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
border: none; }
|
||||
button.neoInput:focus, .neoInput:focus {
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
border: none; }
|
||||
|
||||
button.neoSelect > select, .neoSelect > select {
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light));
|
||||
border: none; }
|
||||
button.neoSelect > select:focus, .neoSelect > select:focus {
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter));
|
||||
border: none; }
|
||||
|
||||
.neoCheckbox {
|
||||
opacity: 0;
|
||||
width: 0; }
|
||||
.neoCheckbox:focus + label:before {
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-darker), var(--primary-gradiend-lighter)) !important; }
|
||||
.neoCheckboxContainer {
|
||||
position: relative; }
|
||||
.neoCheckbox + label {
|
||||
padding: .15rem .15rem .15rem 2rem;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5; }
|
||||
.neoCheckbox + label:before {
|
||||
animation-name: none;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
border-radius: 100px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0rem;
|
||||
content: '';
|
||||
border: none;
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light)) !important; }
|
||||
.neoCheckbox:checked.is-checked-bold + label {
|
||||
font-weight: bold; }
|
||||
.neoCheckbox:checked + label:after {
|
||||
display: inline-block;
|
||||
width: .375rem;
|
||||
height: .6rem;
|
||||
top: .35rem;
|
||||
left: .55rem;
|
||||
transform: translateY(0rem) rotate(45deg);
|
||||
border-width: .1rem;
|
||||
border-top-width: 0.1rem;
|
||||
border-left-width: 0.1rem;
|
||||
border-style: solid;
|
||||
border-top-style: solid;
|
||||
border-left-style: solid;
|
||||
border-color: var(--text-color);
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
position: absolute;
|
||||
content: ''; }
|
||||
|
||||
hr.neoSeparatorFlat {
|
||||
height: 10px;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
box-shadow: -2px -2px 4px var(--light-shadow), 2px 2px 4px var(--dark-shadow);
|
||||
background: var(--background); }
|
||||
|
||||
hr.neoSeparatorPressed {
|
||||
height: 10px;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-dark), var(--primary-gradiend-light)); }
|
||||
|
||||
input.neoRange[type=range] {
|
||||
height: 30px;
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
background: transparent; }
|
||||
input.neoRange[type=range]:focus {
|
||||
outline: none; }
|
||||
input.neoRange[type=range]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
animate: 0.2s;
|
||||
border-radius: 20px;
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(90deg, #fa9e9e, #faad9e, #fabd9e, #facc9e, #fadb9e, #faeb9e, #fafa9e, #ebfa9e, #dbfa9e, #ccfa9e, #bdfa9e, #adfa9e, #9efa9e, #9efaad, #9efabd, #9efacc, #9efadb, #9efaeb, #9efafa, #9eebfa, #9edbfa, #9eccfa, #9ebdfa, #9eadfa, #9e9efa, #ad9efa, #bd9efa, #cc9efa, #db9efa, #eb9efa, #fa9efa, #fa9eeb, #fa9edb, #fa9ecc, #fa9ebd, #fa9ead, #fa9ea0) !important; }
|
||||
input.neoRange[type=range]::-webkit-slider-thumb {
|
||||
border: none;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 2px 2px 4px var(--dark-shadow), -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-light), var(--primary-gradiend-dark)) !important;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
margin-top: -3px; }
|
||||
input.neoRange[type=range]:focus::-webkit-slider-runnable-track {
|
||||
background: linear-gradient(90deg, #fa9e9e, #faad9e, #fabd9e, #facc9e, #fadb9e, #faeb9e, #fafa9e, #ebfa9e, #dbfa9e, #ccfa9e, #bdfa9e, #adfa9e, #9efa9e, #9efaad, #9efabd, #9efacc, #9efadb, #9efaeb, #9efafa, #9eebfa, #9edbfa, #9eccfa, #9ebdfa, #9eadfa, #9e9efa, #ad9efa, #bd9efa, #cc9efa, #db9efa, #eb9efa, #fa9efa, #fa9eeb, #fa9edb, #fa9ecc, #fa9ebd, #fa9ead, #fa9ea0) !important; }
|
||||
input.neoRange[type=range]::-moz-range-track {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
border-radius: 20px;
|
||||
box-shadow: inset 2px 2px 4px var(--dark-shadow), inset -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(90deg, #fa9e9e, #faad9e, #fabd9e, #facc9e, #fadb9e, #faeb9e, #fafa9e, #ebfa9e, #dbfa9e, #ccfa9e, #bdfa9e, #adfa9e, #9efa9e, #9efaad, #9efabd, #9efacc, #9efadb, #9efaeb, #9efafa, #9eebfa, #9edbfa, #9eccfa, #9ebdfa, #9eadfa, #9e9efa, #ad9efa, #bd9efa, #cc9efa, #db9efa, #eb9efa, #fa9efa, #fa9eeb, #fa9edb, #fa9ecc, #fa9ebd, #fa9ead, #fa9ea0) !important;
|
||||
border: none; }
|
||||
input.neoRange[type=range]::-moz-range-thumb {
|
||||
border: none;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 2px 2px 4px var(--dark-shadow), -2px -2px 4px var(--light-shadow);
|
||||
background: linear-gradient(145deg, var(--primary-gradiend-light), var(--primary-gradiend-dark)) !important;
|
||||
cursor: pointer; }
|
||||
|
||||
body {
|
||||
color: var(--text-color);
|
||||
background-color: var(--background); }
|
||||
|
||||
.background {
|
||||
background-color: var(--background); }
|
||||
|
||||
details > summary::-webkit-details-marker {
|
||||
color: var(--text-color); }
|
||||
|
||||
:focus-visible {
|
||||
outline: none; }
|
||||
|
||||
*, ::after, ::before {
|
||||
scrollbar-color: inherit;
|
||||
scrollbar-width: inherit; }
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px; }
|
||||
|
||||
::-webkit-scrollbar-button {
|
||||
width: 8px;
|
||||
height: 5px; }
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
border: thin solid transparent;
|
||||
box-shadow: none;
|
||||
border-radius: 10px; }
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--primary-color-dark);
|
||||
border: thin solid transparent;
|
||||
border-radius: 10px; }
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--primary-color-dark); }
|
||||
|
||||
::-moz-selection {
|
||||
/* Code for Firefox */
|
||||
color: var(--primary-color);
|
||||
background: var(--primary-color-dark); }
|
||||
|
||||
::selection {
|
||||
color: var(--primary-color);
|
||||
background: var(--primary-color-dark); }
|
||||
|
||||
.flex.flex-col-reverse > div:first-child {
|
||||
margin-top: 1rem; }
|
||||
|
||||
.loadAnimation span {
|
||||
animation-name: blink;
|
||||
animation-duration: 1.4s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-fill-mode: both; }
|
||||
|
||||
.loadAnimation span:nth-child(1) {
|
||||
animation-delay: .4s; }
|
||||
|
||||
.loadAnimation span:nth-child(2) {
|
||||
animation-delay: .3s; }
|
||||
|
||||
.loadAnimation span:nth-child(3) {
|
||||
animation-delay: .2s; }
|
||||
|
||||
.loadAnimation span:nth-child(4) {
|
||||
animation-delay: .2s; }
|
||||
|
||||
.loadAnimation span:nth-child(5) {
|
||||
animation-delay: .3s; }
|
||||
|
||||
.loadAnimation span:nth-child(6) {
|
||||
animation-delay: .4s; }
|
||||
|
8844
wwwroot/css/style.min.css
vendored
8844
wwwroot/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
a.button{
|
||||
text-decoration: none;
|
||||
}
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 326 KiB After Width: | Height: | Size: 301 KiB |
Binary file not shown.
Binary file not shown.
@ -2,28 +2,32 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>decePubClient</title>
|
||||
<base href="/" />
|
||||
<link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="css/app.css" rel="stylesheet" />
|
||||
<link href="decePubClient.styles.css" rel="stylesheet" />
|
||||
<link href="manifest.json" rel="manifest" />
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
|
||||
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>Index</title>
|
||||
<base href="/" />
|
||||
<link href="_content/Blazored.Modal/blazored-modal.css" rel="stylesheet"/>
|
||||
<link href="css/style.min.css" rel="stylesheet" />
|
||||
<link href="manifest.json" rel="manifest" />
|
||||
<link rel="apple-touch-icon" sizes="512x512" href="imgs/icon-512.png" />
|
||||
<link rel="apple-touch-icon" sizes="192x192" href="imgs/icon-192.png" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">Loading...</div>
|
||||
<div id="app" class="block relative h-screen w-full">
|
||||
<div class="mx-auto my-auto">Loading...</div>
|
||||
</div>
|
||||
|
||||
<div id="blazor-error-ui">
|
||||
An unhandled error has occurred.
|
||||
<a href="" class="reload">Reload</a>
|
||||
<a class="dismiss">🗙</a>
|
||||
</div>
|
||||
<script src="_framework/blazor.webassembly.js"></script>
|
||||
<script>navigator.serviceWorker.register('service-worker.js');</script>
|
||||
<script src="_framework/blazor.webassembly.js"></script>
|
||||
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
|
||||
<script src="_content/Append.Blazor.Notifications/scripts.js" type="module"></script>
|
||||
<script src="_content/Blazored.Modal/blazored.modal.js"></script>
|
||||
<script src="rxjs.7.4.0.min.js"></script>
|
||||
<script src="_content/DnetIndexedDb/dnet-indexeddb.js"></script>
|
||||
<script src="_content/Toolbelt.Blazor.HeadElement.Services/script.min.js"></script>
|
||||
|
||||
<script>navigator.serviceWorker.register('service-worker.js');</script>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
164
wwwroot/main.js
164
wwwroot/main.js
@ -0,0 +1,164 @@
|
||||
window.cascadingStateInstanceReference = (dotNetReference) => {
|
||||
try {
|
||||
window.cascadingStateInstance = dotNetReference
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
window.logFromJs = (message, where) => {
|
||||
try {
|
||||
if (!window.cascadingStateInstance ||
|
||||
typeof window.cascadingStateInstance.invokeMethodAsync != "function")
|
||||
return
|
||||
window.cascadingStateInstance.invokeMethodAsync('LogFromJs', message, where)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
window.isServiceWorkerAvailable = () => {
|
||||
try {
|
||||
return navigator.serviceWorker.valueOf().controller != null
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "isServiceWorkerAvailable")
|
||||
}
|
||||
}
|
||||
window.getLanguage = () => {
|
||||
try {
|
||||
return navigator.language.substr(0, 2)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "getLanguage")
|
||||
}
|
||||
}
|
||||
window.setLanguage = (lang) => {
|
||||
try {
|
||||
navigator.language = lang
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "setLanguage")
|
||||
}
|
||||
}
|
||||
window.isOnline = async () => {
|
||||
try {
|
||||
const isOnline = navigator.onLine
|
||||
//const url = "https://contents.nuvola.xyz/api/assets/6d9f5e55-2034-456f-92e7-d9ec51066443"
|
||||
//let isOnlineStatusCode = true
|
||||
|
||||
//try {
|
||||
// const online = await fetch(url)
|
||||
// isOnlineStatusCode = online.status >= 200 && online.status < 399
|
||||
//} catch (_) {
|
||||
// isOnlineStatusCode = false
|
||||
//}
|
||||
|
||||
if (navigator.connection !== undefined &&
|
||||
navigator.connection.effectiveType !== undefined &&
|
||||
navigator.connection.type !== undefined) {
|
||||
if (!isOnline)
|
||||
return isOnline
|
||||
|
||||
return navigator.connection.type === "cellular" ?
|
||||
navigator.connection.effectiveType.indexOf("2g") === -1 /*&& isOnlineStatusCode*/ :
|
||||
true
|
||||
} else
|
||||
return isOnline //&& isOnlineStatusCode
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "isOnline")
|
||||
}
|
||||
}
|
||||
window.clearCache = async () => {
|
||||
try {
|
||||
const cachesNames = await caches.keys()
|
||||
for (let i = 0; i < cachesNames.length; i++)
|
||||
await caches.delete(cachesNames[i])
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "clearCache")
|
||||
}
|
||||
}
|
||||
window.clearLocalStorage = () => {
|
||||
try {
|
||||
localStorage.removeItem("PrivateCacheData")
|
||||
localStorage.removeItem("AuthData")
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "clearLocalStorage")
|
||||
}
|
||||
}
|
||||
window.reloadPage = () => {
|
||||
try {
|
||||
location.reload(true)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "reloadPage")
|
||||
}
|
||||
}
|
||||
window.getHeight = (classId) => {
|
||||
try {
|
||||
const elements = document.querySelectorAll(classId)
|
||||
let px = 0
|
||||
if (!elements) return 0
|
||||
elements.forEach(v => px += v.offsetHeight)
|
||||
return px
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "getHeight")
|
||||
}
|
||||
}
|
||||
window.setAppBadge = (counter) => {
|
||||
try {
|
||||
navigator.setAppBadge(counter)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "setAppBadge")
|
||||
}
|
||||
}
|
||||
window.clearAppBadge = () => {
|
||||
try {
|
||||
navigator.clearAppBadge()
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "clearAppBadge")
|
||||
}
|
||||
}
|
||||
window.isMobileMedia = () => {
|
||||
try {
|
||||
return ((window.innerWidth > 0) ? window.innerWidth : screen.width) <= 768
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "isMobileMedia")
|
||||
}
|
||||
}
|
||||
window.canShareStuff = () => {
|
||||
try {
|
||||
return navigator.share !== undefined
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "canShareStuff")
|
||||
}
|
||||
}
|
||||
window.shareTextUrl = (title, text, url) => {
|
||||
try {
|
||||
navigator.share({
|
||||
title: title,
|
||||
text: text,
|
||||
url: url
|
||||
})
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "shareTextUrl")
|
||||
}
|
||||
}
|
||||
window.shareText = (title, text) => {
|
||||
try {
|
||||
navigator.share({
|
||||
title: title,
|
||||
text: text
|
||||
})
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
window.logFromJs(e.message, "shareText")
|
||||
}
|
||||
}
|
@ -1,21 +1,42 @@
|
||||
{
|
||||
"name": "decePubClient",
|
||||
"short_name": "decePubClient",
|
||||
"description": "Dece this pub",
|
||||
"dir": "ltr",
|
||||
"start_url": "./",
|
||||
"scope": "/",
|
||||
"id": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#03173d",
|
||||
"background_color": "#FADCC7",
|
||||
"theme_color": "#FADCC7",
|
||||
"prefer_related_applications": false,
|
||||
"icons": [
|
||||
{
|
||||
"src": "icon-512.png",
|
||||
"src": "/imgs/icon-512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
},
|
||||
{
|
||||
"src": "icon-192.png",
|
||||
"src": "/imgs/icon-192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
}
|
||||
]
|
||||
],
|
||||
"categories": [
|
||||
"fediverse",
|
||||
"government",
|
||||
"social",
|
||||
"threads",
|
||||
"discussions",
|
||||
"communication"
|
||||
],
|
||||
"screenshots": [
|
||||
{
|
||||
"src": "/imgs/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"shortcuts": [],
|
||||
"version": "0.1"
|
||||
}
|
||||
|
@ -1,27 +0,0 @@
|
||||
[
|
||||
{
|
||||
"date": "2018-05-06",
|
||||
"temperatureC": 1,
|
||||
"summary": "Freezing"
|
||||
},
|
||||
{
|
||||
"date": "2018-05-07",
|
||||
"temperatureC": 14,
|
||||
"summary": "Bracing"
|
||||
},
|
||||
{
|
||||
"date": "2018-05-08",
|
||||
"temperatureC": -13,
|
||||
"summary": "Freezing"
|
||||
},
|
||||
{
|
||||
"date": "2018-05-09",
|
||||
"temperatureC": -16,
|
||||
"summary": "Balmy"
|
||||
},
|
||||
{
|
||||
"date": "2018-05-10",
|
||||
"temperatureC": -2,
|
||||
"summary": "Chilly"
|
||||
}
|
||||
]
|
8019
wwwroot/vendor/bulma.css
vendored
8019
wwwroot/vendor/bulma.css
vendored
File diff suppressed because it is too large
Load Diff
6
wwwroot/vendor/fontawesome.css
vendored
6
wwwroot/vendor/fontawesome.css
vendored
@ -1,7 +1,3 @@
|
||||
/*!
|
||||
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
.fa,
|
||||
.fas,
|
||||
.far,
|
||||
@ -187,8 +183,6 @@
|
||||
.fa-inverse {
|
||||
color: #fff; }
|
||||
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
.fa-500px:before {
|
||||
content: "\f26e"; }
|
||||
|
||||
|
3626
wwwroot/vendor/ionicons.css
vendored
3626
wwwroot/vendor/ionicons.css
vendored
File diff suppressed because one or more lines are too long
6
wwwroot/vendor/ionicons.min.css
vendored
6
wwwroot/vendor/ionicons.min.css
vendored
File diff suppressed because one or more lines are too long
6
wwwroot/vendor/solid.css
vendored
6
wwwroot/vendor/solid.css
vendored
@ -1,14 +1,10 @@
|
||||
/*!
|
||||
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: block;
|
||||
src: url("../webfonts/fa-solid-900.eot");
|
||||
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
|
||||
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
|
||||
|
||||
.fa,
|
||||
.fas {
|
||||
|
1039
wwwroot/vendor/tailwind.css
vendored
1039
wwwroot/vendor/tailwind.css
vendored
File diff suppressed because it is too large
Load Diff
80
wwwroot/vendor/toggle-dark-light-mode.css
vendored
80
wwwroot/vendor/toggle-dark-light-mode.css
vendored
@ -0,0 +1,80 @@
|
||||
.toggle-checkbox {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.toggle-slot {
|
||||
position: relative;
|
||||
height: 2em;
|
||||
width: 3em;
|
||||
border: none;
|
||||
border-radius: 10em;
|
||||
background-color: white;
|
||||
transition: background-color 250ms;
|
||||
}
|
||||
|
||||
.toggle-checkbox:checked ~ .toggle-slot {
|
||||
background-color: #374151;
|
||||
}
|
||||
|
||||
.toggle-button {
|
||||
transform: translate(1.6em, 0.5em);
|
||||
position: absolute;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
border-radius: 50%;
|
||||
background-color: #ffeccf;
|
||||
transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
|
||||
}
|
||||
|
||||
.toggle-checkbox:checked ~ .toggle-slot .toggle-button {
|
||||
background-color: #485367;
|
||||
transform: translate(0.5em, 0.5em);
|
||||
}
|
||||
|
||||
.sun-icon {
|
||||
position: absolute;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
color: #ffbb52;
|
||||
}
|
||||
|
||||
.sun-icon-wrapper {
|
||||
position: absolute;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
opacity: 1;
|
||||
transform: translate(0.55em, 0.25em) rotate(15deg);
|
||||
transform-origin: 50% 50%;
|
||||
transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
|
||||
}
|
||||
|
||||
.toggle-checkbox:checked ~ .toggle-slot .sun-icon-wrapper {
|
||||
opacity: 0;
|
||||
transform: translate(1.6em, 0.5em) rotate(0deg);
|
||||
}
|
||||
|
||||
.moon-icon {
|
||||
position: absolute;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.moon-icon-wrapper {
|
||||
position: absolute;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
opacity: 0;
|
||||
transform: translate(1.6em, .5em) rotate(0deg);
|
||||
transform-origin: 50% 50%;
|
||||
transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71);
|
||||
}
|
||||
|
||||
.toggle-checkbox:checked ~ .toggle-slot .moon-icon-wrapper {
|
||||
opacity: 1;
|
||||
transform: translate(1.85em, 0.15em) rotate(-15deg);
|
||||
}
|
Reference in New Issue
Block a user