feature/build-on-drone-ci #2

Merged
manuel merged 10 commits from feature/build-on-drone-ci into develop 2019-05-04 00:25:59 +02:00
23 changed files with 12266 additions and 5673 deletions
Showing only changes of commit 5a3e672b9c - Show all commits

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,65 +1,63 @@
/*! uhr - v8.0.4-dev.0 - 2016-06-27 /*! uhr - v8.0.4-dev.0 - 2019-05-03
* http://bärneruhr.ch/ * http://bärneruhr.ch/
* Copyright (c) 2016 Manuel Friedli; Licensed GPL-3.0 */ * Copyright (c) 2019 Manuel Friedli; Licensed GPL-3.0 */
(function($) { (function($) {
'use strict'; 'use strict';
var es_ist = {1: [1, 2, 4, 5, 6]}; var es_isch = {1: [1, 2, 4, 5, 6, 7]};
var uhr = {10: [9, 10, 11]}; var genau = {3: [7, 8, 9, 10, 11]};
var nach = {4: [8, 9, 10, 11]}; var ab = {4: [4, 5]};
var vor = {4: [1, 2, 3]}; var vor = {4: [1, 2, 3]};
var halb = {5: [1, 2, 3, 4]}; var haubi = {4: [7, 8, 9, 10, 11]};
var fuenf = {1: [8, 9, 10, 11]}; var fuef = {1: [9, 10, 11]};
var zehn = {2: [1, 2, 3, 4]}; var zae = {2: [9, 10, 11]};
var viertel = {3: [5, 6, 7, 8, 9, 10, 11]}; var viertu = {2: [1, 2, 3, 4, 5, 6]};
var zwanzig = {2: [5, 6, 7, 8, 9, 10, 11]}; var zwaenzg = {3: [1, 2, 3, 4, 5, 6]};
var dreiviertel = {3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]};
var layout = { var layout = {
"version": 2, "version": 2,
"language": 'Deutsch', "language": 'Bärndütsch (genau)',
"letters": [ "letters": [
'ESKISTAFÜNF', 'ESKISCHAFÜF',
'ZEHNZWANZIG', 'VIERTUBFZÄÄ',
'DREIVIERTEL', 'ZWÄNZGGENAU',
'VORFUNKNACH', 'VORABOHAUBI',
'HALBAELFÜNF', 'EISZWÖISDRÜ',
'EINSXAMZWEI', 'VIERIFÜFIQT',
'DREIPMJVIER', 'SÄCHSISIBNI',
'SECHSNLACHT', 'ACHTINÜNIEL',
'SIEBENZWÖLF', 'ZÄNIERBEUFI',
'ZEHNEUNKUHR' 'ZWÖUFINAUHR'
], ],
"permanent": es_ist, "permanent": es_isch,
"minutes": { "minutes": {
"0,1,2,3,4": uhr, "0": genau,
"5,6,7,8,9": [fuenf, nach], "5,6,7,8,9": [fuef, ab],
"10,11,12,13,14": [zehn, nach], "10,11,12,13,14": [zae, ab],
"15,16,17,18,19": [viertel, nach], "15,16,17,18,19": [viertu, ab],
"20,21,22,23,24": [zwanzig, nach], "20,21,22,23,24": [zwaenzg, ab],
"25,26,27,28,29": [fuenf, vor, halb], "25,26,27,28,29": [fuef, vor, haubi],
"30,31,32,33,34": halb, "30,31,32,33,34": haubi,
"35,36,37,38,39": [fuenf, nach, halb], "35,36,37,38,39": [fuef, ab, haubi],
"40,41,42,43,44": [zwanzig, vor], "40,41,42,43,44": [zwaenzg, vor],
"45,46,47,48,49": dreiviertel, "45,46,47,48,49": [viertu, vor],
"50,51,52,53,54": [zehn, vor], "50,51,52,53,54": [zae, vor],
"55,56,57,58,59": [fuenf, vor] "55,56,57,58,59": [fuef, vor]
}, },
"hours": { "hours": {
"0,12": {9: [7, 8, 9, 10, 11]}, "0,12": {10: [1, 2, 3, 4, 5, 6]},
"1,13": {6: [1, 2, 3, 4]}, "1,13": {5: [1, 2, 3]},
"2,14": {6: [8, 9, 10, 11]}, "2,14": {5: [4, 5, 6, 7]},
"3,15": {7: [1, 2, 3, 4]}, "3,15": {5: [9, 10, 11]},
"4,16": {7: [8, 9, 10, 11]}, "4,16": {6: [1, 2, 3, 4, 5]},
"5,17": {5: [8, 9, 10, 11]}, "5,17": {6: [6, 7, 8, 9]},
"6,18": {8: [1, 2, 3, 4, 5]}, "6,18": {7: [1, 2, 3, 4, 5, 6]},
"7,19": {9: [1, 2, 3, 4, 5, 6]}, "7,19": {7: [7, 8, 9, 10, 11]},
"8,20": {8: [8, 9, 10, 11]}, "8,20": {8: [1, 2, 3, 4, 5]},
"9,21": {10: [4, 5, 6, 7]}, "9,21": {8: [6, 7, 8, 9]},
"10,22": {10: [1, 2, 3, 4]}, "10,22": {9: [1, 2, 3, 4]},
"11,23": {5: [6, 7, 8]} "11,23": {9: [8, 9, 10, 11]}
} }
}; };
$.fritteli.uhr.register('de', layout); $.fritteli.uhr.register('de_CH_genau', layout);
}(jQuery)); }(jQuery));
(function($) { (function($) {
'use strict'; 'use strict';
@ -146,61 +144,63 @@
}(jQuery)); }(jQuery));
(function($) { (function($) {
'use strict'; 'use strict';
var es_isch = {1: [1, 2, 4, 5, 6, 7]}; var es_ist = {1: [1, 2, 4, 5, 6]};
var genau = {3: [7, 8, 9, 10, 11]}; var uhr = {10: [9, 10, 11]};
var ab = {4: [4, 5]}; var nach = {4: [8, 9, 10, 11]};
var vor = {4: [1, 2, 3]}; var vor = {4: [1, 2, 3]};
var haubi = {4: [7, 8, 9, 10, 11]}; var halb = {5: [1, 2, 3, 4]};
var fuef = {1: [9, 10, 11]}; var fuenf = {1: [8, 9, 10, 11]};
var zae = {2: [9, 10, 11]}; var zehn = {2: [1, 2, 3, 4]};
var viertu = {2: [1, 2, 3, 4, 5, 6]}; var viertel = {3: [5, 6, 7, 8, 9, 10, 11]};
var zwaenzg = {3: [1, 2, 3, 4, 5, 6]}; var zwanzig = {2: [5, 6, 7, 8, 9, 10, 11]};
var dreiviertel = {3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]};
var layout = { var layout = {
"version": 2, "version": 2,
"language": 'Bärndütsch (genau)', "language": 'Deutsch',
"letters": [ "letters": [
'ESKISCHAFÜF', 'ESKISTAFÜNF',
'VIERTUBFZÄÄ', 'ZEHNZWANZIG',
'ZWÄNZGGENAU', 'DREIVIERTEL',
'VORABOHAUBI', 'VORFUNKNACH',
'EISZWÖISDRÜ', 'HALBAELFÜNF',
'VIERIFÜFIQT', 'EINSXAMZWEI',
'SÄCHSISIBNI', 'DREIPMJVIER',
'ACHTINÜNIEL', 'SECHSNLACHT',
'ZÄNIERBEUFI', 'SIEBENZWÖLF',
'ZWÖUFINAUHR' 'ZEHNEUNKUHR'
], ],
"permanent": es_isch, "permanent": es_ist,
"minutes": { "minutes": {
"0": genau, "0,1,2,3,4": uhr,
"5,6,7,8,9": [fuef, ab], "5,6,7,8,9": [fuenf, nach],
"10,11,12,13,14": [zae, ab], "10,11,12,13,14": [zehn, nach],
"15,16,17,18,19": [viertu, ab], "15,16,17,18,19": [viertel, nach],
"20,21,22,23,24": [zwaenzg, ab], "20,21,22,23,24": [zwanzig, nach],
"25,26,27,28,29": [fuef, vor, haubi], "25,26,27,28,29": [fuenf, vor, halb],
"30,31,32,33,34": haubi, "30,31,32,33,34": halb,
"35,36,37,38,39": [fuef, ab, haubi], "35,36,37,38,39": [fuenf, nach, halb],
"40,41,42,43,44": [zwaenzg, vor], "40,41,42,43,44": [zwanzig, vor],
"45,46,47,48,49": [viertu, vor], "45,46,47,48,49": dreiviertel,
"50,51,52,53,54": [zae, vor], "50,51,52,53,54": [zehn, vor],
"55,56,57,58,59": [fuef, vor] "55,56,57,58,59": [fuenf, vor]
}, },
"hours": { "hours": {
"0,12": {10: [1, 2, 3, 4, 5, 6]}, "0,12": {9: [7, 8, 9, 10, 11]},
"1,13": {5: [1, 2, 3]}, "1,13": {6: [1, 2, 3, 4]},
"2,14": {5: [4, 5, 6, 7]}, "2,14": {6: [8, 9, 10, 11]},
"3,15": {5: [9, 10, 11]}, "3,15": {7: [1, 2, 3, 4]},
"4,16": {6: [1, 2, 3, 4, 5]}, "4,16": {7: [8, 9, 10, 11]},
"5,17": {6: [6, 7, 8, 9]}, "5,17": {5: [8, 9, 10, 11]},
"6,18": {7: [1, 2, 3, 4, 5, 6]}, "6,18": {8: [1, 2, 3, 4, 5]},
"7,19": {7: [7, 8, 9, 10, 11]}, "7,19": {9: [1, 2, 3, 4, 5, 6]},
"8,20": {8: [1, 2, 3, 4, 5]}, "8,20": {8: [8, 9, 10, 11]},
"9,21": {8: [6, 7, 8, 9]}, "9,21": {10: [4, 5, 6, 7]},
"10,22": {9: [1, 2, 3, 4]}, "10,22": {10: [1, 2, 3, 4]},
"11,23": {9: [8, 9, 10, 11]} "11,23": {5: [6, 7, 8]}
} }
}; };
$.fritteli.uhr.register('de_CH_genau', layout); $.fritteli.uhr.register('de', layout);
}(jQuery)); }(jQuery));
/* /*
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,65 +1,63 @@
/*! uhr - v8.0.4-dev.0 - 2016-06-27 /*! uhr - v8.0.4-dev.0 - 2019-05-03
* http://bärneruhr.ch/ * http://bärneruhr.ch/
* Copyright (c) 2016 Manuel Friedli; Licensed GPL-3.0 */ * Copyright (c) 2019 Manuel Friedli; Licensed GPL-3.0 */
(function($) { (function($) {
'use strict'; 'use strict';
var es_ist = {1: [1, 2, 4, 5, 6]}; var es_isch = {1: [1, 2, 4, 5, 6, 7]};
var uhr = {10: [9, 10, 11]}; var genau = {3: [7, 8, 9, 10, 11]};
var nach = {4: [8, 9, 10, 11]}; var ab = {4: [4, 5]};
var vor = {4: [1, 2, 3]}; var vor = {4: [1, 2, 3]};
var halb = {5: [1, 2, 3, 4]}; var haubi = {4: [7, 8, 9, 10, 11]};
var fuenf = {1: [8, 9, 10, 11]}; var fuef = {1: [9, 10, 11]};
var zehn = {2: [1, 2, 3, 4]}; var zae = {2: [9, 10, 11]};
var viertel = {3: [5, 6, 7, 8, 9, 10, 11]}; var viertu = {2: [1, 2, 3, 4, 5, 6]};
var zwanzig = {2: [5, 6, 7, 8, 9, 10, 11]}; var zwaenzg = {3: [1, 2, 3, 4, 5, 6]};
var dreiviertel = {3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]};
var layout = { var layout = {
"version": 2, "version": 2,
"language": 'Deutsch', "language": 'Bärndütsch (genau)',
"letters": [ "letters": [
'ESKISTAFÜNF', 'ESKISCHAFÜF',
'ZEHNZWANZIG', 'VIERTUBFZÄÄ',
'DREIVIERTEL', 'ZWÄNZGGENAU',
'VORFUNKNACH', 'VORABOHAUBI',
'HALBAELFÜNF', 'EISZWÖISDRÜ',
'EINSXAMZWEI', 'VIERIFÜFIQT',
'DREIPMJVIER', 'SÄCHSISIBNI',
'SECHSNLACHT', 'ACHTINÜNIEL',
'SIEBENZWÖLF', 'ZÄNIERBEUFI',
'ZEHNEUNKUHR' 'ZWÖUFINAUHR'
], ],
"permanent": es_ist, "permanent": es_isch,
"minutes": { "minutes": {
"0,1,2,3,4": uhr, "0": genau,
"5,6,7,8,9": [fuenf, nach], "5,6,7,8,9": [fuef, ab],
"10,11,12,13,14": [zehn, nach], "10,11,12,13,14": [zae, ab],
"15,16,17,18,19": [viertel, nach], "15,16,17,18,19": [viertu, ab],
"20,21,22,23,24": [zwanzig, nach], "20,21,22,23,24": [zwaenzg, ab],
"25,26,27,28,29": [fuenf, vor, halb], "25,26,27,28,29": [fuef, vor, haubi],
"30,31,32,33,34": halb, "30,31,32,33,34": haubi,
"35,36,37,38,39": [fuenf, nach, halb], "35,36,37,38,39": [fuef, ab, haubi],
"40,41,42,43,44": [zwanzig, vor], "40,41,42,43,44": [zwaenzg, vor],
"45,46,47,48,49": dreiviertel, "45,46,47,48,49": [viertu, vor],
"50,51,52,53,54": [zehn, vor], "50,51,52,53,54": [zae, vor],
"55,56,57,58,59": [fuenf, vor] "55,56,57,58,59": [fuef, vor]
}, },
"hours": { "hours": {
"0,12": {9: [7, 8, 9, 10, 11]}, "0,12": {10: [1, 2, 3, 4, 5, 6]},
"1,13": {6: [1, 2, 3, 4]}, "1,13": {5: [1, 2, 3]},
"2,14": {6: [8, 9, 10, 11]}, "2,14": {5: [4, 5, 6, 7]},
"3,15": {7: [1, 2, 3, 4]}, "3,15": {5: [9, 10, 11]},
"4,16": {7: [8, 9, 10, 11]}, "4,16": {6: [1, 2, 3, 4, 5]},
"5,17": {5: [8, 9, 10, 11]}, "5,17": {6: [6, 7, 8, 9]},
"6,18": {8: [1, 2, 3, 4, 5]}, "6,18": {7: [1, 2, 3, 4, 5, 6]},
"7,19": {9: [1, 2, 3, 4, 5, 6]}, "7,19": {7: [7, 8, 9, 10, 11]},
"8,20": {8: [8, 9, 10, 11]}, "8,20": {8: [1, 2, 3, 4, 5]},
"9,21": {10: [4, 5, 6, 7]}, "9,21": {8: [6, 7, 8, 9]},
"10,22": {10: [1, 2, 3, 4]}, "10,22": {9: [1, 2, 3, 4]},
"11,23": {5: [6, 7, 8]} "11,23": {9: [8, 9, 10, 11]}
} }
}; };
$.fritteli.uhr.register('de', layout); $.fritteli.uhr.register('de_CH_genau', layout);
}(jQuery)); }(jQuery));
(function($) { (function($) {
'use strict'; 'use strict';
@ -146,61 +144,63 @@
}(jQuery)); }(jQuery));
(function($) { (function($) {
'use strict'; 'use strict';
var es_isch = {1: [1, 2, 4, 5, 6, 7]}; var es_ist = {1: [1, 2, 4, 5, 6]};
var genau = {3: [7, 8, 9, 10, 11]}; var uhr = {10: [9, 10, 11]};
var ab = {4: [4, 5]}; var nach = {4: [8, 9, 10, 11]};
var vor = {4: [1, 2, 3]}; var vor = {4: [1, 2, 3]};
var haubi = {4: [7, 8, 9, 10, 11]}; var halb = {5: [1, 2, 3, 4]};
var fuef = {1: [9, 10, 11]}; var fuenf = {1: [8, 9, 10, 11]};
var zae = {2: [9, 10, 11]}; var zehn = {2: [1, 2, 3, 4]};
var viertu = {2: [1, 2, 3, 4, 5, 6]}; var viertel = {3: [5, 6, 7, 8, 9, 10, 11]};
var zwaenzg = {3: [1, 2, 3, 4, 5, 6]}; var zwanzig = {2: [5, 6, 7, 8, 9, 10, 11]};
var dreiviertel = {3: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]};
var layout = { var layout = {
"version": 2, "version": 2,
"language": 'Bärndütsch (genau)', "language": 'Deutsch',
"letters": [ "letters": [
'ESKISCHAFÜF', 'ESKISTAFÜNF',
'VIERTUBFZÄÄ', 'ZEHNZWANZIG',
'ZWÄNZGGENAU', 'DREIVIERTEL',
'VORABOHAUBI', 'VORFUNKNACH',
'EISZWÖISDRÜ', 'HALBAELFÜNF',
'VIERIFÜFIQT', 'EINSXAMZWEI',
'SÄCHSISIBNI', 'DREIPMJVIER',
'ACHTINÜNIEL', 'SECHSNLACHT',
'ZÄNIERBEUFI', 'SIEBENZWÖLF',
'ZWÖUFINAUHR' 'ZEHNEUNKUHR'
], ],
"permanent": es_isch, "permanent": es_ist,
"minutes": { "minutes": {
"0": genau, "0,1,2,3,4": uhr,
"5,6,7,8,9": [fuef, ab], "5,6,7,8,9": [fuenf, nach],
"10,11,12,13,14": [zae, ab], "10,11,12,13,14": [zehn, nach],
"15,16,17,18,19": [viertu, ab], "15,16,17,18,19": [viertel, nach],
"20,21,22,23,24": [zwaenzg, ab], "20,21,22,23,24": [zwanzig, nach],
"25,26,27,28,29": [fuef, vor, haubi], "25,26,27,28,29": [fuenf, vor, halb],
"30,31,32,33,34": haubi, "30,31,32,33,34": halb,
"35,36,37,38,39": [fuef, ab, haubi], "35,36,37,38,39": [fuenf, nach, halb],
"40,41,42,43,44": [zwaenzg, vor], "40,41,42,43,44": [zwanzig, vor],
"45,46,47,48,49": [viertu, vor], "45,46,47,48,49": dreiviertel,
"50,51,52,53,54": [zae, vor], "50,51,52,53,54": [zehn, vor],
"55,56,57,58,59": [fuef, vor] "55,56,57,58,59": [fuenf, vor]
}, },
"hours": { "hours": {
"0,12": {10: [1, 2, 3, 4, 5, 6]}, "0,12": {9: [7, 8, 9, 10, 11]},
"1,13": {5: [1, 2, 3]}, "1,13": {6: [1, 2, 3, 4]},
"2,14": {5: [4, 5, 6, 7]}, "2,14": {6: [8, 9, 10, 11]},
"3,15": {5: [9, 10, 11]}, "3,15": {7: [1, 2, 3, 4]},
"4,16": {6: [1, 2, 3, 4, 5]}, "4,16": {7: [8, 9, 10, 11]},
"5,17": {6: [6, 7, 8, 9]}, "5,17": {5: [8, 9, 10, 11]},
"6,18": {7: [1, 2, 3, 4, 5, 6]}, "6,18": {8: [1, 2, 3, 4, 5]},
"7,19": {7: [7, 8, 9, 10, 11]}, "7,19": {9: [1, 2, 3, 4, 5, 6]},
"8,20": {8: [1, 2, 3, 4, 5]}, "8,20": {8: [8, 9, 10, 11]},
"9,21": {8: [6, 7, 8, 9]}, "9,21": {10: [4, 5, 6, 7]},
"10,22": {9: [1, 2, 3, 4]}, "10,22": {10: [1, 2, 3, 4]},
"11,23": {9: [8, 9, 10, 11]} "11,23": {5: [6, 7, 8]}
} }
}; };
$.fritteli.uhr.register('de_CH_genau', layout); $.fritteli.uhr.register('de', layout);
}(jQuery)); }(jQuery));
/* /*
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

8284
dist/libs.js vendored

File diff suppressed because it is too large Load diff

6
dist/libs.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
.black .onoffswitch-inner:before,.uhr.black{background-color:#111}.uhr.black .dot:not(.active){border-color:rgba(255,255,255,.1);box-shadow:0 0 .1em rgba(255,255,255,.1)}.uhr.black .letter:not(.active){color:rgba(255,255,255,.1);text-shadow:0 0 .1em rgba(255,255,255,.1)}

View file

@ -1 +0,0 @@
.blue .onoffswitch-inner:before,.uhr.blue{background-color:#00a}.uhr.blue .dot:not(.active){border-color:rgba(255,255,255,.1);box-shadow:0 0 .1em rgba(255,255,255,.1)}.uhr.blue .letter:not(.active){color:rgba(255,255,255,.1);text-shadow:0 0 .1em rgba(255,255,255,.1)}

View file

@ -1 +0,0 @@
.green .onoffswitch-inner:before,.uhr.green{background-color:#0c0}.uhr.green .dot:not(.active){border-color:rgba(0,0,0,.1);box-shadow:0 0 .1em rgba(0,0,0,.1)}.uhr.green .letter:not(.active){color:rgba(0,0,0,.1);text-shadow:0 0 .1em rgba(0,0,0,.1)}

View file

@ -1 +0,0 @@
.pink .onoffswitch-inner:before,.uhr.pink{background-color:#f0a}.uhr.pink .dot.active{border-color:#fff;box-shadow:0 0 .1em #fff}.uhr.pink .letter.active{color:#fff;text-shadow:0 0 .1em #fff}.uhr.pink .dot:not(.active){border-color:rgba(255,255,255,.1);box-shadow:0 0 .1em rgba(255,255,255,.1)}.uhr.pink .letter:not(.active){color:rgba(255,255,255,.1);text-shadow:0 0 .1em rgba(255,255,255,.1)}

View file

@ -1 +0,0 @@
.red .onoffswitch-inner:before,.uhr.red{background-color:#700}.uhr.red .dot:not(.active){border-color:rgba(255,255,255,.1);box-shadow:0 0 .1em rgba(255,255,255,.1)}.uhr.red .letter:not(.active){color:rgba(255,255,255,.1);text-shadow:0 0 .1em rgba(255,255,255,.1)}

View file

@ -1 +0,0 @@
.uhr.white,.white .onoffswitch-inner:before{background-color:#ccc}.uhr.white .dot.active{border-color:#fff;box-shadow:0 0 .1em #fff}.uhr.white .letter.active{color:#fff;text-shadow:0 0 .1em #fff}.uhr.white .dot:not(.active){border-color:rgba(0,0,0,.1);box-shadow:0 0 .1em rgba(0,0,0,.1)}.uhr.white .letter:not(.active){color:rgba(0,0,0,.1);text-shadow:0 0 .1em rgba(0,0,0,.1)}

View file

@ -1 +0,0 @@
.uhr.yellow,.yellow .onoffswitch-inner:before{background-color:#fd0}.uhr.yellow .dot.active{border-color:#fff;box-shadow:0 0 .1em #fff}.uhr.yellow .letter.active{color:#fff;text-shadow:0 0 .1em #fff}.uhr.yellow .dot:not(.active){border-color:rgba(0,0,0,.05);box-shadow:0 0 .1em rgba(0,0,0,.05)}.uhr.yellow .letter:not(.active){color:rgba(0,0,0,.05);text-shadow:0 0 .1em rgba(0,0,0,.05)}

1
dist/uhr.min.css vendored
View file

@ -1 +0,0 @@
@font-face{font-family:Uhrenfont;src:url(../resources/uhr.woff) format('woff')}body{font-family:Uhrenfont,sans-serif}.uhr{position:relative;margin:0;transition:background-color .5s}.dot,.uhr .letterarea,.uhr .reflection{position:absolute;display:block}.uhr .reflection{top:0;bottom:0;left:0;right:0;background:radial-gradient(225em 45em at 160% 0,rgba(255,255,255,.4) 0,rgba(255,255,255,.05) 40%,rgba(255,255,255,0) 40%) no-repeat;margin:.15em}.uhr .letterarea{top:12%;bottom:12%;left:12%;right:12%;overflow:hidden;font-size:200%}.dot1,.dot2{top:3.75%}.dot3,.dot4{bottom:3.75%}.dot2,.dot3{right:3.75%}.item{transition:box-shadow .5s,text-shadow .5s,border-color .5s,color .5s}.dot{height:0;width:0;border:.2em solid;border-radius:1em}.dot.active{border-color:#eee;box-shadow:0 0 .2em #eee}.dot1{left:3.75%}.dot4{left:3.75%}.letter{height:10%;width:9.0909%;padding:0;margin:0;display:inline-block;text-align:center;line-height:160%}.letter.active{color:#eee;text-shadow:0 0 .2em #eee}.onoffswitch{position:relative;width:86px;margin:1em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.onoffswitch-checkbox{display:none}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:2px solid #999;border-radius:50px}.modeswitch-inner,.onoffswitch-inner{width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.modeswitch-inner:after,.modeswitch-inner:before,.onoffswitch-inner:after,.onoffswitch-inner:before{float:left;width:50%;height:24px;padding:0;line-height:24px;font-size:18px;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner:before{content:"EIN";padding-left:12px;color:#eee;transition:background-color .5s}.onoffswitch-inner:after{content:"AUS";padding-right:12px;background-color:#eee;color:#999;text-align:right}.onoffswitch-switch{width:30px;margin:-3px;background:#fff;border:2px solid #999;border-radius:50px;position:absolute;top:0;bottom:0;right:58px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s}a.uhr-closecontrolpanel,a.uhr-configlink{cursor:pointer;display:inline-block;width:24px;height:24px}.onoffswitch-checkbox:checked+.onoffswitch-label .modeswitch-inner,.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:0}.modeswitch-inner:before{content:"MIN";padding-left:12px;background-color:#fff;color:#000}.modeswitch-inner:after{content:"SEC";padding-right:12px;background-color:#fff;color:#000;text-align:right}a.uhr-configlink{background:url(../resources/settings.png) no-repeat;margin:2px;vertical-align:top}.uhr-controlpanel{border-radius:.5em;box-shadow:0 0 1em #000;background-color:#fff;display:inline-block;padding:.5em;position:sticky;bottom:0;margin-left:1em}.uhr-controlpanel .content{position:relative}a.uhr-closecontrolpanel{position:absolute;right:0;top:-1em;background:url(../resources/close.png) no-repeat}#disclaimer{font-size:.5em}#disclaimer a{color:#444;text-decoration:underline}

5271
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -8,6 +8,13 @@ suite('Bärneruhr', function () {
elem = $('#u'); elem = $('#u');
}); });
function cleanupCookies(id) {
$.removeCookie('uhr-language' + id);
$.removeCookie('uhr-mode' + id);
$.removeCookie('uhr-status' + id);
$.removeCookie('uhr-theme' + id);
}
teardown(function () { teardown(function () {
var uhr = elem.uhr('instance'); var uhr = elem.uhr('instance');
if (uhr !== undefined) { if (uhr !== undefined) {
@ -21,13 +28,6 @@ suite('Bärneruhr', function () {
window.location.hash = ''; window.location.hash = '';
}); });
function cleanupCookies(id) {
$.removeCookie('uhr-language' + id);
$.removeCookie('uhr-mode' + id);
$.removeCookie('uhr-status' + id);
$.removeCookie('uhr-theme' + id);
}
test('create and destroy widget', function () { test('create and destroy widget', function () {
var uhr = elem.uhr('instance'); var uhr = elem.uhr('instance');
var id; var id;