diff options
30 files changed, 590 insertions, 20 deletions
diff --git a/viewer/public/index.html b/viewer/public/index.html index 1870ed0..bc9ba95 100644 --- a/viewer/public/index.html +++ b/viewer/public/index.html | |||
@@ -1,3 +1,22 @@ | |||
1 | <!-- ldgallery - A static generator which turns a collection of tagged | ||
2 | -- pictures into a searchable web gallery. | ||
3 | -- | ||
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | ||
5 | -- | ||
6 | -- This program is free software: you can redistribute it and/or modify | ||
7 | -- it under the terms of the GNU Affero General Public License as | ||
8 | -- published by the Free Software Foundation, either version 3 of the | ||
9 | -- License, or (at your option) any later version. | ||
10 | -- | ||
11 | -- This program is distributed in the hope that it will be useful, | ||
12 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | -- GNU Affero General Public License for more details. | ||
15 | -- | ||
16 | -- You should have received a copy of the GNU Affero General Public License | ||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
18 | --> | ||
19 | |||
1 | <!DOCTYPE html> | 20 | <!DOCTYPE html> |
2 | <html lang="en"> | 21 | <html lang="en"> |
3 | 22 | ||
diff --git a/viewer/src/@types/gallery/index.d.ts b/viewer/src/@types/gallery/index.d.ts index 97cc207..25407e8 100644 --- a/viewer/src/@types/gallery/index.d.ts +++ b/viewer/src/@types/gallery/index.d.ts | |||
@@ -1,3 +1,22 @@ | |||
1 | /* ldgallery - A static generator which turns a collection of tagged | ||
2 | -- pictures into a searchable web gallery. | ||
3 | -- | ||
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | ||
5 | -- | ||
6 | -- This program is free software: you can redistribute it and/or modify | ||
7 | -- it under the terms of the GNU Affero General Public License as | ||
8 | -- published by the Free Software Foundation, either version 3 of the | ||
9 | -- License, or (at your option) any later version. | ||
10 | -- | ||
11 | -- This program is distributed in the hope that it will be useful, | ||
12 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | -- GNU Affero General Public License for more details. | ||
15 | -- | ||
16 | -- You should have received a copy of the GNU Affero General Public License | ||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
1 | declare namespace Gallery { | 20 | declare namespace Gallery { |
2 | interface Picture extends Item { | 21 | interface Picture extends Item { |
3 | properties: PictureProperties, | 22 | properties: PictureProperties, |
diff --git a/viewer/src/@types/tag/Operation.ts b/viewer/src/@types/tag/Operation.ts index a0de92b..f1e7a41 100644 --- a/viewer/src/@types/tag/Operation.ts +++ b/viewer/src/@types/tag/Operation.ts | |||
@@ -1,3 +1,22 @@ | |||
1 | /* ldgallery - A static generator which turns a collection of tagged | ||
2 | -- pictures into a searchable web gallery. | ||
3 | -- | ||
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | ||
5 | -- | ||
6 | -- This program is free software: you can redistribute it and/or modify | ||
7 | -- it under the terms of the GNU Affero General Public License as | ||
8 | -- published by the Free Software Foundation, either version 3 of the | ||
9 | -- License, or (at your option) any later version. | ||
10 | -- | ||
11 | -- This program is distributed in the hope that it will be useful, | ||
12 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | -- GNU Affero General Public License for more details. | ||
15 | -- | ||
16 | -- You should have received a copy of the GNU Affero General Public License | ||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
1 | export enum Operation { | 20 | export enum Operation { |
2 | INTERSECTION = '', | 21 | INTERSECTION = '', |
3 | ADDITION = '+', | 22 | ADDITION = '+', |
diff --git a/viewer/src/@types/tag/index.d.ts b/viewer/src/@types/tag/index.d.ts index 181f47a..c77fc3b 100644 --- a/viewer/src/@types/tag/index.d.ts +++ b/viewer/src/@types/tag/index.d.ts | |||
@@ -1,3 +1,22 @@ | |||
1 | /* ldgallery - A static generator which turns a collection of tagged | ||
2 | -- pictures into a searchable web gallery. | ||
3 | -- | ||
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | ||
5 | -- | ||
6 | -- This program is free software: you can redistribute it and/or modify | ||
7 | -- it under the terms of the GNU Affero General Public License as | ||
8 | -- published by the Free Software Foundation, either version 3 of the | ||
9 | -- License, or (at your option) any later version. | ||
10 | -- | ||
11 | -- This program is distributed in the hope that it will be useful, | ||
12 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | -- GNU Affero General Public License for more details. | ||
15 | -- | ||
16 | -- You should have received a copy of the GNU Affero General Public License | ||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
1 | declare namespace Tag { | 20 | declare namespace Tag { |
2 | interface Node { | 21 | interface Node { |
3 | tag: Gallery.RawTag; | 22 | tag: Gallery.RawTag; |
diff --git a/viewer/src/assets/scss/_buefy_variables.scss b/viewer/src/assets/scss/_buefy_variables.scss index 716a1ec..e008269 100644 --- a/viewer/src/assets/scss/_buefy_variables.scss +++ b/viewer/src/assets/scss/_buefy_variables.scss | |||
@@ -1,34 +1,54 @@ | |||
1 | /* ldgallery - A static generator which turns a collection of tagged | ||
2 | -- pictures into a searchable web gallery. | ||
3 | -- | ||
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | ||
5 | -- | ||
6 | -- This program is free software: you can redistribute it and/or modify | ||
7 | -- it under the terms of the GNU Affero General Public License as | ||
8 | -- published by the Free Software Foundation, either version 3 of the | ||
9 | -- License, or (at your option) any later version. | ||
10 | -- | ||
11 | -- This program is distributed in the hope that it will be useful, | ||
12 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | -- GNU Affero General Public License for more details. | ||
15 | -- | ||
16 | -- You should have received a copy of the GNU Affero General Public License | ||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
18 | */ | ||
19 | |||
1 | // Included below are all the defined variables from Bulma | 20 | // Included below are all the defined variables from Bulma |
2 | // Modify as needed, removing the !default attribute. | 21 | // Modify as needed, removing the !default attribute. |
3 | 22 | ||
4 | // Colors | 23 | // Colors |
5 | 24 | ||
6 | $black: hsl(0, 0%, 4%) !default; | 25 | $black: hsl(0, 0%, 4%) !default; |
7 | $black-bis: hsl(0, 0%, 7%) !default; | 26 | $black-bis: hsl(0, 0%, 7%) !default; |
8 | $black-ter: hsl(0, 0%, 14%) !default; | 27 | $black-ter: hsl(0, 0%, 14%) !default; |
9 | 28 | ||
10 | $grey-darker: hsl(0, 0%, 21%) !default; | 29 | $grey-darker: hsl(0, 0%, 21%) !default; |
11 | $grey-dark: hsl(0, 0%, 29%) !default; | 30 | $grey-dark: hsl(0, 0%, 29%) !default; |
12 | $grey: hsl(0, 0%, 48%) !default; | 31 | $grey: hsl(0, 0%, 48%) !default; |
13 | $grey-light: hsl(0, 0%, 71%) !default; | 32 | $grey-light: hsl(0, 0%, 71%) !default; |
14 | $grey-lighter: hsl(0, 0%, 86%) !default; | 33 | $grey-lighter: hsl(0, 0%, 86%) !default; |
15 | 34 | ||
16 | $white-ter: hsl(0, 0%, 96%) !default; | 35 | $white-ter: hsl(0, 0%, 96%) !default; |
17 | $white-bis: hsl(0, 0%, 98%) !default; | 36 | $white-bis: hsl(0, 0%, 98%) !default; |
18 | $white: hsl(0, 0%, 100%) !default; | 37 | $white: hsl(0, 0%, 100%) !default; |
19 | 38 | ||
20 | $orange: hsl(14, 100%, 53%) !default; | 39 | $orange: hsl(14, 100%, 53%) !default; |
21 | $yellow: hsl(48, 100%, 67%) !default; | 40 | $yellow: hsl(48, 100%, 67%) !default; |
22 | $green: hsl(141, 71%, 48%) !default; | 41 | $green: hsl(141, 71%, 48%) !default; |
23 | $turquoise: hsl(171, 100%, 41%) !default; | 42 | $turquoise: hsl(171, 100%, 41%) !default; |
24 | $cyan: hsl(204, 86%, 53%) !default; | 43 | $cyan: hsl(204, 86%, 53%) !default; |
25 | $blue: hsl(217, 71%, 53%) !default; | 44 | $blue: hsl(217, 71%, 53%) !default; |
26 | $purple: hsl(271, 100%, 71%) !default; | 45 | $purple: hsl(271, 100%, 71%) !default; |
27 | $red: hsl(348, 100%, 61%) !default; | 46 | $red: hsl(348, 100%, 61%) !default; |
28 | 47 | ||
29 | // Typography | 48 | // Typography |
30 | 49 | ||
31 | $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default; | 50 | $family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", |
51 | "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default; | ||
32 | $family-monospace: monospace !default; | 52 | $family-monospace: monospace !default; |
33 | $render-mode: optimizeLegibility !default; | 53 | $render-mode: optimizeLegibility !default; |
34 | 54 | ||
@@ -72,7 +92,6 @@ $speed: 86ms !default; | |||
72 |