Commit bb872168 authored by Karl Hasselbring's avatar Karl Hasselbring

build ordner ignoriert

parent 29ca3d0d
......@@ -8,6 +8,7 @@ Homestead.yaml
.orig
.vscode
# The Files created by Gulp in the build process
/public/build
/public/js/lib.js
/public/js/quicktips.js
/public/js/scriptStartPage.js
......
{"version":3,"sources":["beitritt.less","beitritt.css"],"names":[],"mappings":"AAAA;EACI;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;IACI,yBAAA;IACA,0BAAA;GCCL;EDCC;IACI,yBAAA;GCCL;EDCC;;IACI,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,UAAA;GCEL;EACD,6DAA6D;EDA3D;IACI,sBAAA;IACA,2BAAA;IACA,0BAAA;IACA,8BAAA;IACA,yBAAA;IACA,uBAAA;IACA,wBAAA;IACA,2BAAA;IACA,4BAAA;GCEL;EDAC;ICEA,qBAAqB;IDAjB,8BAAA;GCEL;EDAC;ICEA,6BAA6B;IDAzB,8BAAA;GCEL;EDAC;ICEA,yBAAyB;IDArB,8BAAA;GCEL;EDAC;ICEA,2BAA2B;IDAvB,8BAAA;GCEL;EDAC;IACI,uBAAA;IACA,YAAA;IACA,aAAA;GCEL;EDAC;IACI,0BAAA;GCEL;EDAC;IACI,0BAAA;GCEL;EDAC;IACI,uBAAA;IACA,wBAAA;IACA,8BAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,iBAAA;GCEL;EDAC;IACI,0BAAA;GCEL;EDAC;IACI,yBAAA;GCEL;CACF","file":"beitritt.css","sourcesContent":["@media print {\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n hr {\n display: none !important;\n }\n input[type=text], input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n .pagebreak {\n page-break-before: always;\n }\n #spendenaufruf {\n display: none !important;\n }\n}","@media print {\n header {\n display: none !important;\n }\n footer {\n display: none !important;\n }\n h1 {\n margin-top: 0 !important;\n padding-top: 0 !important;\n }\n hr {\n display: none !important;\n }\n input[type=text],\n input[type=email] {\n margin: 0px !important;\n padding: 0px !important;\n height: initial !important;\n border: 0;\n }\n /* Skalierung für Firefox, absolut für die anderen Browser */\n input[type=radio] {\n transform: scale(0.5);\n -moz-transform: scale(0.5);\n -ms-transform: scale(0.5);\n -webkit-transform: scale(0.5);\n -o-transform: scale(0.5);\n width: 20px !important;\n height: 20px !important;\n margin-top: 0px !important;\n padding-top: 0px !important;\n }\n input::-webkit-input-placeholder {\n /* WebKit browsers */\n color: transparent !important;\n }\n input:-moz-placeholder {\n /* Mozilla Firefox 4 to 18 */\n color: transparent !important;\n }\n input::-moz-placeholder {\n /* Mozilla Firefox 19+ */\n color: transparent !important;\n }\n input:-ms-input-placeholder {\n /* Internet Explorer 10+ */\n color: transparent !important;\n }\n .container {\n width: auto !important;\n margin: 0px;\n padding: 0px;\n }\n .wrapper {\n padding-top: 0 !important;\n }\n * {\n font-size: 12px!important;\n }\n .beitritt-form-group {\n margin: 0px !important;\n padding: 0px !important;\n margin-bottom: 0px !important;\n }\n .sign {\n margin-top: 10px;\n }\n .donation-amount-input {\n padding-top: 5px;\n }\n .pagebreak {\n page-break-before: always;\n }\n #spendenaufruf {\n display: none !important;\n }\n}\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
$(document).ready(function () {
$('.hint').tooltip();
$('.language-text-area').each(function () {
auto_grow(this);
});
$('.language-text-area').keyup(function () {
auto_grow(this);
});
});
function auto_grow (element) {
element.style.height = '5px';
element.style.height = (element.scrollHeight + 10) + 'px';
}
$(document).ready(function () {
switch (getLanguage()) {
case 'de':
$('.encrypt-btn').html('Verschlüsseln und senden');
break;
case 'en':
$('.encrypt-btn').html('encrypt and send');
break;
case 'es':
// $(".encrypt-btn").html(""); TODO
break;
}
$('.contact').submit(function () {
return encrypt(this);
});
});
// based on https://github.com/encrypt-to/secure.contactform.php
/* The MIT License (MIT)
Copyright (c) 2013 Jan Wiegelmann
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*/
function encrypt () {
if (window.crypto && window.crypto.getRandomValues) {
var message = document.getElementById('message');
if (message.value.indexOf('-----BEGIN PGP MESSAGE-----') !== -1 && message.value.indexOf('-----END PGP MESSAGE-----') !== -1) {
// encryption done
} else {
var pub_key = openpgp.key.readArmored(document.getElementById('pubkey').innerHTML).keys[0];
var plaintext = message.value;
var ciphertext = openpgp.encryptMessage([pub_key], plaintext);
message.value = ciphertext;
return true;
}
} else {
switch (getLanguage()) {
case 'de':
alert('Fehler: Ihr Browser wird nicht unterstützt. Bitte installieren Sie einen aktuellen Browser wie z.B. Mozilla Firefox.');
break;
case 'en':
alert('Error: Your browser is not supported. Please install an up to date browser like Mozilla Firefox.');
break;
case 'es':
// alert(""); TODO
break;
}
return false;
}
}
function getLanguage () {
var metaData = document.getElementsByTagName('meta');
for (var m in metaData) {
if (metaData[m]['httpEquiv'] == 'language') {
return metaData[m]['content'];
}
}
}
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
$(document).ready(function () {
// Wenn LocalStorage verfügbar ist, geben wir die Möglichkeit die Einstellungen dort zu speichern
tickOptions();
if (localStorage) {
$('#save').removeClass('hidden');
$('#save').click(function () {
localStorage.setItem('pers', true);
$('input[type=checkbox]:checked, input[type=hidden]').each(function (el) {
localStorage.setItem($(this).attr('name'), $(this).val());
});
$('select').each(function (el) {
localStorage.setItem($(this).attr('name'), $(this).val());
});
document.location.href = $('#save').attr('data-href');
});
}
$('.checker').click(function () {
var selector = '.' + $(this).attr('data-type');
if ($(selector + ' input:checked').length) {
$(selector + ' input').prop('checked', false);
} else {
$(selector + ' input').prop('checked', true);
}
});
$('#unten').click(function () {
$('#settings-form').append('<input type="hidden" name="usage" value="once">');
switch (getLanguage()) {
case 'de':
alert('Auf der folgenden Startseite sind Ihre Einstellungen nun einmalig gespeichert. Nach Ihrer ersten Suche sind diese wieder verloren. Wenn Sie diese speichern möchten, können Sie sich allerdings ein Lesezeichen für die generierte Startseite einrichten.');
break;
case 'en':
alert('On the following startpage your settings are saved one-time. They will be lost after your first search. Though if you want to save them, you can create a bookmark for the generated startpage.');
break;
case 'es':
// alert(""); TODO
break;
}
});
$('#plugin').click(function () {
$('form').attr('action', $('#save').attr('data-href') + '#plugin-modal');
switch (getLanguage()) {
case 'de':
alert('Ihr Browserplugin mit den persönlichen Sucheinstellungen wurde generiert. Folgen Sie bitte der Anleitung auf der folgenden Seite um es zu installieren. Beachten Sie: Zuvor sollten Sie ein eventuell bereits installiertes MetaGer-Plugin entfernen.');
break;
case 'en':
alert('Your browser plugin with personal settings was generated. Please follow the instructions on the following page to install it. Notice that beforehand you might have to delete a former MetaGer plugin.');
break;
case 'es':
// alert(""); TODO
break;
}
});
$('#settings-focus').val('angepasst');
});
function tickOptions () {
if (localStorage && localStorage.getItem('pers')) {
for (var i = 0; i < localStorage.length; i++) {
var key = localStorage.key(i);
var value = localStorage.getItem(key);
if (key.startsWith('param_')) {
if ($('input[name=' + key + ']').length) {
$('input[name=' + key + ']').attr('checked', '');
} else {
$('select[name=' + key + '] > option[value=' + value + ']').attr('selected', true);
}
}
}
} else {
$('div.web input').attr('checked', true);
}
}
function getLanguage () {
var metaData = document.getElementsByTagName('meta');
for (var m in metaData) {
if (metaData[m]['httpEquiv'] == 'language') {
return metaData[m]['content'];
}
}
}
function copyCode () {
$('#codesnippet').select();
try {
var successful = document.execCommand('copy');
if (successful) {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-success');
} else {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-danger');
}
} catch (err) {
$('#copyButton').removeClass('btn-default');
$('#copyButton').addClass('btn-danger');
}
}
window.onload = function () {
$('#copyButton').bind('click', copyCode);
};
{
"js/editLanguage.js": "js/editLanguage-70b5475eac.js",
"js/kontakt.js": "js/kontakt-04d1236ae0.js",
"js/scriptResultPage.js": "js/scriptResultPage-5cc2a130cb.js",
"js/scriptStartPage.js": "js/scriptStartPage-5b1338bb2d.js",
"js/settings.js": "js/settings-079df50ae4.js",
"js/widgets.js": "js/widgets-783b8fadc2.js"
}
\ No newline at end of file
......@@ -6673,7 +6673,7 @@ button.close {
}
}
body {
background-color: rgba(2, 93, 140, 0.03);
background-color: black;
background-attachment: fixed;
}
body#resultBody {
......@@ -6755,7 +6755,7 @@ body > div {
padding-top: 70px;
}
body.quicktips {
background-color: white;
background-color: black;
}
footer {
margin: 30px 0px;
......@@ -6803,9 +6803,9 @@ ul.metager-dropdown-menu {
list-style: none;
font-size: 14px;
text-align: left;
background-color: white;
background-color: black;
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(255, 255, 255, 0.175);
background-clip: padding-box;
max-height: 0px;
overflow: hidden;
......@@ -6818,13 +6818,13 @@ ul.metager-dropdown-menu > li > a {
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #191919;
color: #e6e6e6;
white-space: nowrap;
}
ul.metager-dropdown-menu > li > a:hover {
text-decoration: none;
color: #404040;
background-color: #e6e6e6;
color: #bfbfbf;
background-color: #191919;
}
#mglogo {
width: 100%;
......@@ -6841,7 +6841,7 @@ ul.metager-dropdown-menu > li > a:hover {
}
#spruch .author {
font-size: 14px;
color: #404040;
color: #bfbfbf;
}
#navbar-static-pages {
z-index: 4;
......@@ -6862,15 +6862,15 @@ ul.metager-dropdown-menu:hover,
#gutscheine > a:first-child:hover + a + ul.metager-dropdown-menu {
max-height: 1000px;
padding: 5px 0;
border: 1px solid rgba(0, 0, 0, 0.15);
border: 1px solid rgba(255, 255, 255, 0.15);
}
.metager-navbar-toggle {
color: #808080;
background-color: white;
background-color: black;
padding: 5px 10px;
margin: 5px 8px 5px 0;
border-radius: 7px;
border: 1px solid #e6e6e6;
border: 1px solid #191919;
display: block;
width: 36px;
height: 30px;
......@@ -6879,10 +6879,10 @@ ul.metager-dropdown-menu:hover,
color: #808080;
}
.metager-navbar-toggle:hover {
background-color: #e6e6e6;
background-color: #191919;
}
#toggle-nav-hide .metager-navbar-toggle {
background-color: #e6e6e6;
background-color: #191919;
}
@media (max-width: 979px) {
#metager-static-nav-list {
......@@ -7023,14 +7023,14 @@ main div#foki {
text-align: center;
}
div#right {
background-color: #e6e6e6;
background-color: #191919;
border-radius: 5px;
padding: 20px;
padding-top: 0;
}
div#right p {
white-space: normal;
border-bottom: 1px solid black;
border-bottom: 1px solid white;
margin-bottom: 15px;
padding-bottom: 15px;
}
......@@ -7051,7 +7051,7 @@ textarea#message {
padding: 10px;
line-height: 1.2 !important;
font-family: Georgia, "Times New Roman", Palatino, Times, serif;
color: black;
color: white;
border-left: 3px solid #fb0;
font-size: 14px;
}
......@@ -7080,7 +7080,7 @@ textarea#message {
white-space: pre;
}
.navbar-default {
background-color: white;
background-color: black;
border-radius: 0;
}
.row {
......@@ -7093,7 +7093,7 @@ textarea#message {
margin-top: 20px;
padding: 10px 20px;
margin-bottom: 0;
background-color: white;
background-color: black;
box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
......@@ -7108,7 +7108,7 @@ textarea#message {
.form-group {
font-family: sans-serif;
font-size: 16px;
color: black;
color: white;
background-color: transparent;
text-align: center;
}
......@@ -7121,10 +7121,10 @@ textarea#message {
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857;
color: #404040;
background-color: white;
color: #bfbfbf;
background-color: black;
background-image: none;
border: 1px solid #e6e6e6;
border: 1px solid #191919;
border-right: 0px none;
border-radius: 4px;
border-top-right-radius: 0px;
......@@ -7139,9 +7139,9 @@ textarea#message {
border-bottom-right-radius: 4px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
color: #404040;
background-color: #e6e6e6;
border: 1px solid #e6e6e6;
color: #bfbfbf;
background-color: #191919;
border: 1px solid #191919;
padding: 6px 12px;
margin: 0px;
font-size: 14px;
......@@ -7183,7 +7183,7 @@ textarea#message {
}
.modal-content {
border-radius: 0;
box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
box-shadow: 1px 1px 3px 1px rgba(255, 255, 255, 0.3);
}
.bold {
font-weight: bold;
......@@ -7219,7 +7219,7 @@ i.fa {
background-color: transparent;
}
a.content.hidden-xs {
color: #191919;
color: #e6e6e6;
}
a.navbar-brand {
line-height: 100%!important;
......@@ -7254,8 +7254,8 @@ label.select-label {
}
section {
padding: 10px;
box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.55);
-moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.55);
box-shadow: 5px 5px 10px 0px rgba(255, 255, 255, 0.55);
-moz-box-shadow: 5px 5px 10px 0px rgba(255, 255, 255, 0.55);
}
address {
white-space: pre;
......@@ -7311,13 +7311,13 @@ main fieldset {
}
body {
background-image: inherit;
background-color: rgba(2, 93, 140, 0.03);
background-color: black;
}
footer {
text-align: center;
}
footer a {
color: black !important;
color: white !important;
}
#map,
#map div {
......@@ -7335,11 +7335,11 @@ footer a {
display: none;
position: relative;
margin-top: -14px;
background-color: #404040;
background-color: #bfbfbf;
}
.hostlabel a:link,
.hostlabel a:visited {
color: white;
color: black;
}
.img:hover .hostlabel {
display: block;
......@@ -7357,7 +7357,7 @@ footer a {
padding-left: 49px;
}
.navbar-resultpage {
background-color: white;
background-color: black;
position: absolute;
right: initial;
left: initial;
......@@ -7375,7 +7375,7 @@ footer a {
.navbar-resultpage > ul > li.active > a,
.navbar-resultpage > ul > li a.metager-dropdown-toggle:hover,
.navbar-resultpage > ul > li a.metager-dropdown-toggle:focus {
background-color: #e6e6e6;
background-color: #191919;
}
.navbar-resultpage > ul.list-inline {
margin-bottom: 0;
......@@ -7434,7 +7434,7 @@ nav .input-group {
width: 100%;
}
#research a {
color: black;
color: white;
}
@media (max-width: 767px) {
#research .visible-xs {
......@@ -7458,7 +7458,7 @@ nav .input-group {
.content-wrapper {
padding: 0px;
padding-top: 52px;
background-color: white;
background-color: black;
box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
}
#helpButton {
......@@ -7480,7 +7480,7 @@ a#donation:hover {
}
.resultpage-foki,
.foki {
background-color: white;
background-color: black;
}
.resultpage-foki li,
.foki li {
......@@ -7506,8 +7506,8 @@ a#donation:hover {
}
.resultpage-foki li.active a,
.foki li.active a {
color: black;
background-color: white;
color: white;
background-color: black;
}
#spenden {
white-space: nowrap;
......@@ -7518,7 +7518,7 @@ a#donation:hover {
font-size: 80%;
font-weight: normal;
font-style: italic;
color: #404040;
color: #bfbfbf;
}
#spruch > p {
margin-bottom: 0;
......@@ -7562,7 +7562,7 @@ a#donation:hover {
color: #777;
}
.result .title {
color: black;
color: white;
text-decoration: none;
font-size: 14px;
font-weight: bold;
......@@ -7586,11 +7586,11 @@ a#donation:hover {
margin: 0 5px;
}
.result .link .options {
color: #404040;
color: #bfbfbf;
float: left;
}
.result .link .options > a {
color: #404040;
color: #bfbfbf;
display: block;
padding-left: 8px;
padding-right: 5px;
......@@ -7608,7 +7608,7 @@ a#donation:hover {
}
.result .description {
margin-bottom: 3px;
color: black;
color: white;
font-size: 14px;
line-height: 1.3;
clear: both;
......@@ -7625,7 +7625,7 @@ a#donation:hover {
width: auto;
max-width: 120px;
max-height: 200px;
border: solid 1px #e6e6e6;
border: solid 1px #191919;
}
.result.ad .description {
max-width: 115ch;
......@@ -7641,7 +7641,7 @@ a#donation:hover {
white-space: nowrap;
}
.result .hoster a {
color: #404040;
color: #bfbfbf;
}
.result .proxy {
font-size: 13px;
......@@ -7668,10 +7668,10 @@ a#donation:hover {
margin: 0!important;
}
.options-list > li:hover {
background-color: #e6e6e6;
background-color: #191919;
}
.options-list > li > a {
color: #404040;
color: #bfbfbf;
white-space: nowrap;
display: block;
padding: 5px 14px;
......@@ -7701,7 +7701,7 @@ a#donation:hover {
margin: 5px;
}
.image-item .img {
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 10px 2px rgba(255, 255, 255, 0.3);
}
.image-container {
margin: 10px auto;
......@@ -7733,7 +7733,7 @@ a#donation:hover {
padding-top: 5px;
}
#searchplugin > a {
color: white;
color: black;
}
@media (min-width: 768px) {
#searchplugin {
......@@ -7742,13 +7742,13 @@ a#donation:hover {
}
.product {
text-align: center;
border: 1px dotted #e6e6e6;
border: 1px dotted #191919;
padding: 5px;
max-width: 150px;
height: 210px;
}
.product a {
color: #404040;
color: #bfbfbf;
}
.product img {
max-width: 100px;
......@@ -7756,8 +7756,8 @@ a#donation:hover {
.product .price {
position: relative;
top: 20px;
color: #404040;
background-color: rgba(255, 255, 255, 0.9);
color: #bfbfbf;
background-color: rgba(0, 0, 0, 0.9);
text-align: left;
width: 80px;
font-weight: bold;
......@@ -7793,7 +7793,7 @@ a#donation:hover {
}
.lSPrev > i,
.lSNext > i {
background-color: black;
background-color: white;
padding: 5px;
}
#mark {
......
This diff is collapsed.
// General
@color-white: white;
@color-white: black;
@color-almost-white: mix(@color-white, @color-black, 90%);
@color-light-grey: mix(@color-white, @color-black, 75%);
@color-grey: mix(@color-white, @color-black, 50%);
@color-strong-grey: mix(@color-white, @color-black, 25%);
@color-almost-black: mix(@color-white, @color-black, 10%);
@color-black: black;
@color-black: white;
//
@background-color: rgba(2, 93, 140, 3%);
@background-color: black;
// static-pages.less
@static-pages-color-white: @color-white;
@static-pages-color-almost-white: @color-almost-white;
......
Markdown is supported