mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 15:40:00 +01:00
added hosting for own fonts (no google integration
This commit is contained in:
parent
5a3bb96c70
commit
1c18fe20a0
38 changed files with 205 additions and 263 deletions
|
@ -31,7 +31,6 @@ function userPopover(title, text){
|
||||||
$("#newuser").data("container", "body");
|
$("#newuser").data("container", "body");
|
||||||
$("#newuser").data("placement", "bottom");
|
$("#newuser").data("placement", "bottom");
|
||||||
$("#newuser").data("html", true);
|
$("#newuser").data("html", true);
|
||||||
// $("#newuser").data("trigger", "focus");
|
|
||||||
$("#newuser").attr("title", title);
|
$("#newuser").attr("title", title);
|
||||||
$("#newuser").data("content", text);
|
$("#newuser").data("content", text);
|
||||||
$("#newuser").popover('show');
|
$("#newuser").popover('show');
|
||||||
|
|
|
@ -1,80 +0,0 @@
|
||||||
function autocomplete(textelement, values) {
|
|
||||||
var currentFocus;
|
|
||||||
textelement.addEventListener("input", function(e){
|
|
||||||
var a, b, i, val = this.value;
|
|
||||||
closeAllLists();
|
|
||||||
if(!val){ return false;}
|
|
||||||
currentFocus = -1;
|
|
||||||
a = document.createElement("div");
|
|
||||||
a.setAttribute("id", this.id + "ingredientAutocomplete-list");
|
|
||||||
a.setAttribute("class", "ingredientAutocomplete-items");
|
|
||||||
this.parentNode.appendChild(a);
|
|
||||||
for (var i = 0; i < values.length; i++) {
|
|
||||||
if(values[i].substr(0, val.length).toUpperCase() == val.toUpperCase()){
|
|
||||||
b = document.createElement("div");
|
|
||||||
b.innerHTML = "<strong>" + values[i].substr(0, val.length) + "</strong>";
|
|
||||||
b.innerHTML += values[i].substr(val.length);
|
|
||||||
b.innerHTML += "<input type='hidden' value='" + values[i] + "'>";
|
|
||||||
b.addEventListener("click", function(e){
|
|
||||||
textelement.value = this.getElementsByTagName("input")[0].value;
|
|
||||||
closeAllLists();
|
|
||||||
});
|
|
||||||
a.appendChild(b);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
textelement.addEventListener("keydown", function(e){
|
|
||||||
var x = document.getElementById(this.id + "ingredientAutocomplete-list");
|
|
||||||
if (x) {x.getElementsByTagName("div");}
|
|
||||||
if (e.keyCode == 40) {
|
|
||||||
currentFocus++;
|
|
||||||
addActive(x);
|
|
||||||
}
|
|
||||||
else if (e.keyCode == 38) {
|
|
||||||
currentFocus--;
|
|
||||||
addActive(x);
|
|
||||||
}
|
|
||||||
else if (e.keyCode == 13) {
|
|
||||||
e.preventDefault();
|
|
||||||
if (currentFocus > -1) {
|
|
||||||
if (x) {
|
|
||||||
var y = $("#"+x.id).parent().find("input");
|
|
||||||
x.childNodes[currentFocus].click();
|
|
||||||
y.focus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
function addActive(x) {
|
|
||||||
if(!x) {return false;}
|
|
||||||
removeActive(x);
|
|
||||||
if(currentFocus>=x.childNodes.length){currentFocus=0;}
|
|
||||||
if(currentFocus<0){currentFocus = (x.childNodes.length-1);}
|
|
||||||
x.childNodes[currentFocus].classList.add("ingredientAutocomplete-active");
|
|
||||||
}
|
|
||||||
function removeActive(x) {
|
|
||||||
for (var i = 0; i < x.childNodes.length; i++) {
|
|
||||||
x.childNodes[i].classList.remove("ingredientAutocomplete-active");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function closeAllLists(elmnt){
|
|
||||||
var x = document.getElementsByClassName("ingredientAutocomplete-items");
|
|
||||||
for (var i = 0; i < x.length; i++) {
|
|
||||||
x[i].parentNode.removeChild(x[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
document.addEventListener("click", function(e){
|
|
||||||
closeAllLists(e.target);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
var values = [];
|
|
||||||
$(document).ready(function(){
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/api/recipes/auto",
|
|
||||||
data: {},
|
|
||||||
success: function(data){
|
|
||||||
values = data.split("||");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
16
bin/list.js
16
bin/list.js
|
@ -1,3 +1,11 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
$("input[type=checkbox]").change(checkItem);
|
||||||
|
$("#remove").click(deleteCheckeditems);
|
||||||
|
$("#nameField").focus();
|
||||||
|
$("#anzahl").on("focus", function () { $(this).select(); });
|
||||||
|
$("#nameField").on("focus", function () { $(this).select(); });
|
||||||
|
});
|
||||||
|
|
||||||
function deleteCheckeditems() {
|
function deleteCheckeditems() {
|
||||||
$.post({
|
$.post({
|
||||||
url: "api/list/del",
|
url: "api/list/del",
|
||||||
|
@ -46,11 +54,3 @@ function checkItem() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$("input[type=checkbox]").change(checkItem);
|
|
||||||
$("#remove").click(deleteCheckeditems);
|
|
||||||
$("#nameField").focus();
|
|
||||||
$("#anzahl").on("focus", function () { $(this).select(); });
|
|
||||||
$("#nameField").on("focus", function () { $(this).select(); });
|
|
||||||
});
|
|
|
@ -48,7 +48,7 @@
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" name='name' class="form-control" placeholder="Item" aria-label="Item" aria-describedby="button-addon2" autocomplete='off' required>
|
<input type="text" name='name' class="form-control" id="nameField" placeholder="Item" aria-label="Item" aria-describedby="button-addon2" autocomplete='off' required>
|
||||||
<div class="input-group-append">
|
<div class="input-group-append">
|
||||||
<button class="btn btn-outline-secondary" type="submit" id="button-addon2"><i class="fas fa-plus"></i></button>
|
<button class="btn btn-outline-secondary" type="submit" id="button-addon2"><i class="fas fa-plus"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
BIN
fonts/lato/Lato-Black.ttf
Normal file
BIN
fonts/lato/Lato-Black.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-BlackItalic.ttf
Normal file
BIN
fonts/lato/Lato-BlackItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-Bold.ttf
Normal file
BIN
fonts/lato/Lato-Bold.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-BoldItalic.ttf
Normal file
BIN
fonts/lato/Lato-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-Hairline.ttf
Normal file
BIN
fonts/lato/Lato-Hairline.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-HairlineItalic.ttf
Normal file
BIN
fonts/lato/Lato-HairlineItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-Italic.ttf
Normal file
BIN
fonts/lato/Lato-Italic.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-Light.ttf
Normal file
BIN
fonts/lato/Lato-Light.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-LightItalic.ttf
Normal file
BIN
fonts/lato/Lato-LightItalic.ttf
Normal file
Binary file not shown.
BIN
fonts/lato/Lato-Regular.ttf
Normal file
BIN
fonts/lato/Lato-Regular.ttf
Normal file
Binary file not shown.
93
fonts/lato/OFL.txt
Normal file
93
fonts/lato/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
BIN
fonts/newscycle/NewsCycle-Bold.ttf
Normal file
BIN
fonts/newscycle/NewsCycle-Bold.ttf
Normal file
Binary file not shown.
BIN
fonts/newscycle/NewsCycle-Regular.ttf
Normal file
BIN
fonts/newscycle/NewsCycle-Regular.ttf
Normal file
Binary file not shown.
93
fonts/newscycle/OFL.txt
Normal file
93
fonts/newscycle/OFL.txt
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
Copyright (c) 2010-2011, Nathan Willis (nwillis@glyphography.com), with Reserved Font Name "News Cycle."
|
||||||
|
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@ -28,16 +28,20 @@ $user->get_info($_COOKIE["token"]);
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="theme-color" content="#4CAF50" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="apple-touch-icon" href="/pic/fav.ico">
|
<link rel="apple-touch-icon" href="/pic/fav.ico">
|
||||||
<link rel="shortcut icon" type="image/png" href="/pic/fav.ico" />
|
<link rel="shortcut icon" type="image/png" href="/pic/fav.ico" />
|
||||||
<link rel="stylesheet" href="/style/fontawesome/css/all.css">
|
<link rel="stylesheet" href="/style/fontawesome/css/all.css">
|
||||||
<?php
|
<?php
|
||||||
if (file_exists($_SESSION["docroot"] . '/style/themes/' . $user->theme . ".css")) {
|
if (file_exists($_SESSION["docroot"] . '/style/themes/' . $user->theme . ".css")) {
|
||||||
|
$cssFileContents = file_get_contents($_SESSION["docroot"]."/style/themes/".$user->theme.".css");
|
||||||
|
preg_match_all('/\s+--primary:\s#(.{3,6})/m', $cssFileContents, $matches, PREG_SET_ORDER, 0);
|
||||||
|
$themecolor = $matches[0][1];
|
||||||
print_r('<link rel="stylesheet" href="/style/themes/' . $user->theme . '.css">');
|
print_r('<link rel="stylesheet" href="/style/themes/' . $user->theme . '.css">');
|
||||||
|
print_r('<meta name="theme-color" content="#'.$themecolor.'">');
|
||||||
} else {
|
} else {
|
||||||
print_r('<link rel="stylesheet" href="/style/main.css">');
|
print_r('<link rel="stylesheet" href="/style/main.css">');
|
||||||
|
print_r('<meta name="theme-color" content="#007bff">');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<link rel="stylesheet" href="/style/helper.css">
|
<link rel="stylesheet" href="/style/helper.css">
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
#nameField {
|
|
||||||
min-width: calc(100% - 67px);
|
|
||||||
}
|
|
||||||
#add {
|
|
||||||
width: 40px;
|
|
||||||
}
|
|
||||||
.toast {
|
.toast {
|
||||||
right: 0;
|
right: 0;
|
||||||
left: unset !important;
|
left: unset !important;
|
||||||
|
|
|
@ -1,100 +0,0 @@
|
||||||
.parsedown-section h1 {
|
|
||||||
font-size: 1.3em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #333;
|
|
||||||
text-transform: uppercase;
|
|
||||||
max-width: 75%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section h2 {
|
|
||||||
font-size: 1.2em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #333;
|
|
||||||
text-transform: uppercase;
|
|
||||||
max-width: 70%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section h3 {
|
|
||||||
font-size: 1.1em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #444;
|
|
||||||
text-transform: capitalize;
|
|
||||||
max-width: 60%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section h4 {
|
|
||||||
font-size: 1em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #444;
|
|
||||||
text-transform: capitalize;
|
|
||||||
max-width: 60%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section h5 {
|
|
||||||
font-size: .9em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #555;
|
|
||||||
text-transform: lowercase;
|
|
||||||
font-weight: normal;
|
|
||||||
max-width: 55%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section h6 {
|
|
||||||
font-size: .8em;
|
|
||||||
text-align: left;
|
|
||||||
border-bottom: 1px solid grey;
|
|
||||||
color: #555;
|
|
||||||
text-transform: lowercase;
|
|
||||||
font-weight: normal;
|
|
||||||
max-width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
border: 1px solid black;
|
|
||||||
margin: 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section th {
|
|
||||||
background-color: #4CAF50;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section td, th {
|
|
||||||
/* border: 1px solid black; */
|
|
||||||
padding: .2em .5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section tr:nth-child(even) {
|
|
||||||
background-color: #f2f2f2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section button {
|
|
||||||
display: block;
|
|
||||||
border: 1px solid #777777;
|
|
||||||
padding: .5em 1em;
|
|
||||||
margin: 1em .25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.parsedown-section pre {
|
|
||||||
max-height: calc(50vh - 9em);
|
|
||||||
background: #f4f4f4;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-left: 3px solid #a0c391;
|
|
||||||
color: #666;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 15px;
|
|
||||||
line-height: 1.6;
|
|
||||||
margin-bottom: 1.6em;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
padding: 1em 1.5em;
|
|
||||||
display: block;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
|
@ -1,61 +0,0 @@
|
||||||
.settings {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-start;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
.pane {
|
|
||||||
border: 1px solid grey;
|
|
||||||
border-radius: 5px;
|
|
||||||
background-color: #ddd;
|
|
||||||
margin: 1%;
|
|
||||||
width: auto;
|
|
||||||
min-width: max-content;
|
|
||||||
max-width: 45%;
|
|
||||||
height: max-content;
|
|
||||||
}
|
|
||||||
.userprofile-pane {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
.userprofile {
|
|
||||||
width: 22em;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
.userpassword-pane {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
.userpassword {
|
|
||||||
width: 22em;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
.userprofile span {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.userpassword span {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.attribute {
|
|
||||||
width: 6em;
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
.change-attribute-input {
|
|
||||||
text-indent: 1em;
|
|
||||||
color: grey;
|
|
||||||
}
|
|
||||||
.value {
|
|
||||||
padding: 1em;
|
|
||||||
}
|
|
||||||
#passwordSaveButton, #userSaveButton {
|
|
||||||
align-self: flex-end;
|
|
||||||
margin: 1em;
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");
|
@import url("/fonts/roboto/Roboto-Regular.ttf");
|
||||||
:root {
|
:root {
|
||||||
--blue: #2A9FD6;
|
--blue: #2A9FD6;
|
||||||
--indigo: #6610f2;
|
--indigo: #6610f2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic");
|
@import url("/fonts/lato/Lato-Regular.ttf");
|
||||||
:root {
|
:root {
|
||||||
--blue: #2C3E50;
|
--blue: #2C3E50;
|
||||||
--indigo: #6610f2;
|
--indigo: #6610f2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("https://fonts.googleapis.com/css?family=News+Cycle:400,700");
|
@import url("/fonts/newscycle/NewsCycle-Regular.ttf");
|
||||||
:root {
|
:root {
|
||||||
--blue: #EB6864;
|
--blue: #EB6864;
|
||||||
--indigo: #6610f2;
|
--indigo: #6610f2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");
|
@import url("/fonts/roboto/Roboto-Regular.ttf");
|
||||||
:root {
|
:root {
|
||||||
--blue: #325D88;
|
--blue: #325D88;
|
||||||
--indigo: #6610f2;
|
--indigo: #6610f2;
|
||||||
|
|
Loading…
Reference in a new issue