From 7ae68f079ddfb74c9a1b17c4f30dfe4c258d4a9f Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 20 Dec 2019 17:47:04 +0100 Subject: Viewer project foundations --- viewer/src/assets/scss/buefy.scss | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 viewer/src/assets/scss/buefy.scss (limited to 'viewer/src/assets/scss/buefy.scss') diff --git a/viewer/src/assets/scss/buefy.scss b/viewer/src/assets/scss/buefy.scss new file mode 100644 index 0000000..5249899 --- /dev/null +++ b/viewer/src/assets/scss/buefy.scss @@ -0,0 +1,37 @@ +@import "~bulma/sass/utilities/initial-variables"; +@import "~bulma/sass/utilities/functions"; +// 1. Set your own initial variables and derived +// variables in _variables.scss +@import "buefy_variables"; + +// 2. Setup your Custom Colors +$linkedin: #0077b5; +$linkedin-invert: findColorInvert($linkedin); +$twitter: #55acee; +$twitter-invert: findColorInvert($twitter); +$github: #333; +$github-invert: findColorInvert($github); + +@import "~bulma/sass/utilities/derived-variables"; + +// 3. Add new color variables to the color map. +$addColors: ( + "twitter": ( + $twitter, + $twitter-invert + ), + "linkedin": ( + $linkedin, + $linkedin-invert + ), + "github": ( + $github, + $github-invert + ) +); +$colors: map-merge($colors, $addColors); + +@import "~bulma"; +@import "~buefy/src/scss/buefy"; + +// 4. Provide custom buefy overrides and site styles here -- cgit v1.2.3 From dc251fffc2998f1cf4f8e9631928c4b92ac0d90e Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sun, 22 Dec 2019 07:40:55 +0100 Subject: viewer: Implemented the search by tags. Pushed the special urls to ENV. --- viewer/src/assets/scss/buefy.scss | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'viewer/src/assets/scss/buefy.scss') diff --git a/viewer/src/assets/scss/buefy.scss b/viewer/src/assets/scss/buefy.scss index 5249899..b018fd3 100644 --- a/viewer/src/assets/scss/buefy.scss +++ b/viewer/src/assets/scss/buefy.scss @@ -5,28 +5,20 @@ @import "buefy_variables"; // 2. Setup your Custom Colors -$linkedin: #0077b5; -$linkedin-invert: findColorInvert($linkedin); -$twitter: #55acee; -$twitter-invert: findColorInvert($twitter); -$github: #333; -$github-invert: findColorInvert($github); +// $linkedin: #0077b5; +// $linkedin-invert: findColorInvert($linkedin); @import "~bulma/sass/utilities/derived-variables"; // 3. Add new color variables to the color map. $addColors: ( - "twitter": ( - $twitter, - $twitter-invert + "green": ( + $green, + $green-invert ), - "linkedin": ( - $linkedin, - $linkedin-invert - ), - "github": ( - $github, - $github-invert + "purple": ( + $purple, + $purple-invert ) ); $colors: map-merge($colors, $addColors); -- cgit v1.2.3 From 27b51018525dbb7a6edb3073819d82245387ddd3 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 10 Jan 2020 22:22:22 +0100 Subject: viewer: license headers --- viewer/src/assets/scss/buefy.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'viewer/src/assets/scss/buefy.scss') diff --git a/viewer/src/assets/scss/buefy.scss b/viewer/src/assets/scss/buefy.scss index b018fd3..7fdb883 100644 --- a/viewer/src/assets/scss/buefy.scss +++ b/viewer/src/assets/scss/buefy.scss @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2019-2020 Guillaume FOUET +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + @import "~bulma/sass/utilities/initial-variables"; @import "~bulma/sass/utilities/functions"; // 1. Set your own initial variables and derived -- cgit v1.2.3