aboutsummaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-23 15:35:49 +0100
committerhellekin <hellekin@cepheide.org>2021-01-23 15:35:49 +0100
commit73b3fffdbe730c33480682c40e7e8271e75ddf59 (patch)
tree94c60464d43c6d39150802e8110cf51be2c326ee /app/assets
parentb54d7d8aa172f85d53f44b601e4e81660d148342 (diff)
downloadincommon-map-73b3fffdbe730c33480682c40e7e8271e75ddf59.tar.gz
Move CSS to Webpack
Using both the asset pipeline and webpack is confusing and leads to unpredictable results in production. This commit moves all (S)CSS to Webpack under `app/javascript/scss` so that we can test whether the development interface results in a consistent production deployment. In order to load the ForkAwesome fonts we used a long path: `$fa-font-path: "../../../node_modules/fork-awesome/fonts";` Not sure whether this works...
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/agents.scss9
-rw-r--r--app/assets/stylesheets/application.scss21
-rw-r--r--app/assets/stylesheets/application/_body.scss167
-rw-r--r--app/assets/stylesheets/application/_debug.scss18
-rw-r--r--app/assets/stylesheets/application/_flash.scss35
-rw-r--r--app/assets/stylesheets/application/_fonts.scss12
-rw-r--r--app/assets/stylesheets/application/_footer.scss20
-rw-r--r--app/assets/stylesheets/application/_header.scss34
-rw-r--r--app/assets/stylesheets/application/_map.scss19
-rw-r--r--app/assets/stylesheets/application/_user_info.scss70
-rw-r--r--app/assets/stylesheets/categories.scss9
-rw-r--r--app/assets/stylesheets/resources.scss9
-rw-r--r--app/assets/stylesheets/sections.scss3
-rw-r--r--app/assets/stylesheets/taxonomies.scss91
-rw-r--r--app/assets/stylesheets/taxonomies/filter.scss3
-rw-r--r--app/assets/stylesheets/users.scss9
-rw-r--r--app/assets/stylesheets/welcome.scss10
17 files changed, 0 insertions, 539 deletions
diff --git a/app/assets/stylesheets/agents.scss b/app/assets/stylesheets/agents.scss
deleted file mode 100644
index ec9285d..0000000
--- a/app/assets/stylesheets/agents.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-// Place all the styles related to the Agents controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss
deleted file mode 100644
index 94d00ec..0000000
--- a/app/assets/stylesheets/application.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * This is a manifest file that'll be compiled into application.css, which will include all the files
- * listed below.
- *
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
- * vendor/assets/stylesheets directory can be referenced here using a relative path.
- *
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
- * files in this directory. Styles in this file should be added after the last require_* statement.
- * It is generally better to create a new file per style scope.
- *
- *= require normalize.css/normalize.css
- *= require_self
- *= require leaflet
- *= require leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css
- *= require leaflet.markercluster/dist/MarkerCluster.css
- *= require leaflet.markercluster/dist/MarkerCluster.Default.css
- *= require_tree .
- *
- */
diff --git a/app/assets/stylesheets/application/_body.scss b/app/assets/stylesheets/application/_body.scss
deleted file mode 100644
index 72d90df..0000000
--- a/app/assets/stylesheets/application/_body.scss
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-html {
- color: var(--primary);
- font-family: var(--font-family);
- font-size: .938em;
- line-height: 1.4;
- background-color: var(--secondary);
- overflow-y: scroll;
- direction: ltr;
- display: block;
- height: 100%;
-}
-
-body {
- min-width: 0;
- min-height: 100%;
- margin: 0 auto;
- background-attachment: fixed;
- background-size: cover;
- display: block;
-
- &:before, &:after {
- content: "";
- display: table;
- }
- &:after {
- clear: both;
- }
-
- > main, > header, > footer {
- display: block;
- width: calc(100% - 16px);
- max-width: 1110px;
- margin-left: auto;
- margin-right: auto;
- padding-left: 8px;
- padding-right: 8px;
- }
-}
-
-img {
- max-width: 100%;
-}
-
-main {
- position: relative;
- padding-top: 5.8572em;
- &:before {
- content: "";
- display: table;
- }
-}
-
-main > article {
- background-color: rgba(255, 255, 255, 0.8);
- z-index: 990;
-}
-
-body>aside {
- position: fixed;
- z-index: 1000;
- background-color: var(--incommon-clear85);
- top: 5rem;
- bottom: 0;
- border-top-right-radius: 1rem;
-}
-
-
-:root {
- --font-family: Helvetica, Arial, sans-serif;
- --scheme-type: light;
- --primary: #222;
- --secondary: #fff;
- --tertiary: #08c;
- --quaternary: #e45735;
- --header-background: #fff;
- --header-primary: #333;
- --highlight: #ffff4d;
- --danger: #e45735;
- --success: #090;
- --love: #fa6c8d;
- --always-black-rgb: 0, 0, 0;
- --primary-rgb: 34,34,34;
- --primary-low-rgb: 232.9,232.9,232.9;
- --secondary-rgb: 255,255,255;
- --tertiary-rgb: 0,136,204;
- --primary-very-low: #f8f8f8;
- --primary-low: #e9e9e9;
- --primary-low-mid: #bdbdbd;
- --primary-medium: #919191;
- --primary-high: #646464;
- --primary-very-high: #434343;
- --header-primary-low: #ebebeb;
- --header-primary-low-mid: #c2c2c2;
- --header-primary-medium: #999;
- --header-primary-high: #707070;
- --header-primary-very-high: #525252;
- --secondary-low: #4d4d4d;
- --secondary-medium: gray;
- --secondary-high: #a6a6a6;
- --secondary-very-high: #ededed;
- --tertiary-low: #d1f0ff;
- --tertiary-medium: #6cf;
- --tertiary-high: #0aadff;
- --tertiary-hover: #069;
- --quaternary-low: #f7cdc2;
- --highlight-low: #ffffca;
- --highlight-medium: #ffffa6;
- --highlight-high: #a6a600;
- --danger-low: #fbe6e1;
- --danger-low-mid: rgba(242,171,154,0.7);
- --danger-medium: #ec8972;
- --danger-hover: #c63c1b;
- --success-low: #b8ffb8;
- --success-medium: #4dff4d;
- --success-hover: #007a00;
- --love-low: #fee9ee;
- --wiki: green;
- --blend-primary-secondary-5: #f9f9f9;
- --primary-med-or-secondary-med: #919191;
- --primary-med-or-secondary-high: #919191;
- --primary-high-or-secondary-low: #646464;
- --primary-low-mid-or-secondary-high: #bdbdbd;
- --primary-low-mid-or-secondary-low: #bdbdbd;
- --primary-or-primary-low-mid: #222;
- --highlight-low-or-medium: #ffffca;
- --tertiary-low-or-tertiary-high: #d1f0ff;
- --tertiary-med-or-tertiary: #6cf;
- --secondary-or-primary: #fff;
- --tertiary-or-white: #08c;
- --facebook-or-white: #4267b2;
- --twitter-or-white: #1da1f2;
- --hljs-comment: #998;
- --hljs-number: #099;
- --hljs-string: #d14;
- --hljs-literal: #458;
- --hljs-tag: #000080;
- --hljs-attribute: #008080;
- --hljs-symbol: #990073;
- --hljs-bg: #f8f8f8;
- --google: #fff;
- --google-hover: #f2f2f2;
- --instagram: #e1306c;
- --instagram-hover: #ac194b;
- --facebook: #4267b2;
- --facebook-hover: #2d477a;
- --cas: #70ba61;
- --twitter: #1da1f2;
- --twitter-hover: #0c85d0;
- --github: #100e0f;
- --github-hover: #463e42;
- --discord: #7289da;
- --discord-hover: #4a67cf;
- --gold: #e7c300;
- --silver: silver;
- --bronze: #cd7f32;
- --incommon-blue: #216778;
- --incommon-blue50: rgba(33, 103, 120, 0.5);
- --incommon-clear85: rgba(237, 238, 201, 0.85);
- --icon-menu-off: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vc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tMy4xMTExNjMsMC42NDI2NDYgLTEuNDcwNTI2LDAuNjIzNzQ1IC0yLjU0NzkwNCwxLjcwMTEyMiAtMS4wNzczNzcsMS4wNzczNzggLTEuNzIwMDIzLDIuNTYzMDI1IC0wLjYyMzc0NSwxLjQ2Njc0NSAtMC42MjM3NDUsMy4wOTIyNjIgMCwxLjYyNTUxNyAwLjYyMzc0NSwzLjExMTE2MyAwLjY0MjY0NiwxLjQ3MDUyNiAxLjcyMDAyMywyLjU0NzkwMyAxLjA3NzM3OCwxLjA3NzM3OCAyLjU0NzkwNCwxLjcyMDAyNCB6IgogICAgIHN0eWxlPSJmaWxsOiMwMDgwODA7ZmlsbC1vcGFjaXR5OjEiIC8+CiAgPGNpcmNsZQogICAgIHI9IjguMDE1MDAwMyIKICAgICBjeT0iMTguMTMyMDc4IgogICAgIGN4PSIyNC4xMjI3ODkiCiAgICAgaWQ9InBhdGg0ODk1IgogICAgIHN0eWxlPSJvcGFjaXR5OjE7ZmlsbDojZWRlZWM5O2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxOC42MzU4NjIzNTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLWRhc2hvZmZzZXQ6MDtzdHJva2Utb3BhY2l0eToxO3BhaW50LW9yZGVyOmZpbGwgbWFya2VycyBzdHJva2UiIC8+Cjwvc3ZnPgo=');
-}
diff --git a/app/assets/stylesheets/application/_debug.scss b/app/assets/stylesheets/application/_debug.scss
deleted file mode 100644
index 0e3aaa7..0000000
--- a/app/assets/stylesheets/application/_debug.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-/*
- DEBUG
-*/
-
-#debug {
- position: fixed;
- bottom: 0;
- left: 0;
- padding: 0.5rem;
- background-color: rgba(255,0,0,0.5);
- color: white;
-}
diff --git a/app/assets/stylesheets/application/_flash.scss b/app/assets/stylesheets/application/_flash.scss
deleted file mode 100644
index f168e68..0000000
--- a/app/assets/stylesheets/application/_flash.scss
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-/*
- FLASH
-*/
-
-#flashes {
- position: absolute;
- bottom: 2rem;
- right: 0;
- margin: 0 auto;
- width: 50%;
- min-width: 24rem;
- max-width: 64rem;
- max-height: 10rem;
- overflow: auto;
- padding: 0.25rem;
- z-index: 500;
-
- > span {
- display: block;
- padding: 0.5rem;
- }
-
- .alert {
- background-color: var(--danger-medium);
- }
- .notice {
- background-color: var(--highlight-low);
- }
-}
diff --git a/app/assets/stylesheets/application/_fonts.scss b/app/assets/stylesheets/application/_fonts.scss
deleted file mode 100644
index 5bb13f1..0000000
--- a/app/assets/stylesheets/application/_fonts.scss
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Override ForkAwesome font path to match Webpack's */
-$fa-font-path: '/packs/media/fonts';
-
-/* Align font icon with the marker's head */
-.extra-marker-svg i.fa {
- position: absolute;
- top: 9px;
- font-size: 16px;
- left: -2px;
- right: 0px;
- text-align: center;
-}
diff --git a/app/assets/stylesheets/application/_footer.scss b/app/assets/stylesheets/application/_footer.scss
deleted file mode 100644
index 4ab34a2..0000000
--- a/app/assets/stylesheets/application/_footer.scss
+++ /dev/null
@@ -1,20 +0,0 @@
-body>footer {
- position: absolute;
- z-index: 1004;
- margin: 0 auto;
- background-color: rgba(0,0,0,0.5);
- color: white;
- text-align: center;
- bottom: 0;
- left: 0;
- right: 0;
- width: 10rem;
- border-top-left-radius: 1rem;
- border-top-right-radius: 1rem;
-}
-
-.app-version a:link,
-.app-version a:visited {
- color: whitesmoke;
-}
-
diff --git a/app/assets/stylesheets/application/_header.scss b/app/assets/stylesheets/application/_header.scss
deleted file mode 100644
index 3c7d460..0000000
--- a/app/assets/stylesheets/application/_header.scss
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-/* -----------------------------------------------------------------------------
- HEADER
------------------------------------------------------------------------------ */
-
-body > header {
- position: fixed;
- backface-visibility: hidden;
- top: 0;
- left: 0;
- right: 0;
- width: 100%;
- margin: 0 auto;
- height: 4em;
- background-color: var(--header-background);
- box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
- margin-bottom: 15px;
- display: flex;
- align-items: center;
- z-index: 999;
-
- > h1 {
- display: flex;
- font-size: 1em;
- img {
- height: 2.667em;
- }
- }
-}
diff --git a/app/assets/stylesheets/application/_map.scss b/app/assets/stylesheets/application/_map.scss
deleted file mode 100644
index ba86dd4..0000000
--- a/app/assets/stylesheets/application/_map.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-/*
- MAP
-*/
-
-#map {
- position: fixed;
- height: 100%;
- width: 100%;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
-}
diff --git a/app/assets/stylesheets/application/_user_info.scss b/app/assets/stylesheets/application/_user_info.scss
deleted file mode 100644
index 765be0a..0000000
--- a/app/assets/stylesheets/application/_user_info.scss
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-/* -----------------------------------------------------------------------------
-User Info
------------------------------------------------------------------------------ */
-
-#user_info {
- position: absolute;
- right: 0.8rem;
-
- nav {
- top: 0;
- padding: 0.7rem;
-
- ul {
- display: none;
- position: absolute;
- right: 0;
- background-color: var(--header-background);
- box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
- margin: 0;
- list-style: none;
- padding-left: 0;
- z-index: 1000;
-
- li {
- padding: 0.25em 1em;
- width: 12rem;
- }
- }
-
- &:focus, &:hover {
- padding-left: 6rem;
- ul {
- display: block;
- margin-top: 0.4em;
- padding-top: 1em;
- }
- }
-
- > a {
- display: block;
- height: 100%;
- width: 2.2857em;
- height: 2.2857em;
- padding: 0.2143em;
- text-decoration: none;
- cursor: pointer;
- border-top: 1px solid transparent;
- border-left: 1px solid transparent;
- border-right: 1px solid transparent;
- transition: all linear 0.15s;
- outline: none;
-
- > img {
- border-radius: 50%;
- }
- }
- }
-
- &.authenticated {
-
- }
- &.anonymous {
- }
-}
diff --git a/app/assets/stylesheets/categories.scss b/app/assets/stylesheets/categories.scss
deleted file mode 100644
index 6e6299f..0000000
--- a/app/assets/stylesheets/categories.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-// Place all the styles related to the Categories controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/resources.scss b/app/assets/stylesheets/resources.scss
deleted file mode 100644
index eb7411b..0000000
--- a/app/assets/stylesheets/resources.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-// Place all the styles related to the Resources controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/sections.scss b/app/assets/stylesheets/sections.scss
deleted file mode 100644
index d540c09..0000000
--- a/app/assets/stylesheets/sections.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the sections controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/taxonomies.scss b/app/assets/stylesheets/taxonomies.scss
deleted file mode 100644
index 1f3d6ea..0000000
--- a/app/assets/stylesheets/taxonomies.scss
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-[data-controller="taxonomy"] {
- height: 100%;
- overflow: hidden auto;
- scrollbar-color: var(--incommon-clear85) var(--incommon-blue);
- scrollbar-width: thin;
-
- nav {
- position: relative;
- bottom: 0;
- margin: 0;
- padding: 0;
- height: calc(100% - 7.5rem);
- padding-top: 32px;
- max-width: 35rem;
- width: 89vw;
-
- display: none;
- }
- &.on {
- nav {
- display: block;
- }
- }
-}
-
-button[data-action="taxonomy#toggle"] {
- position: absolute;
- left: 0.7rem;
- display: block;
- cursor: pointer;
- padding: 16px;
- color: transparent;
- background: transparent var(--icon-menu-off) top left/32px no-repeat;
- border: none;
- text-align: center;
- z-index: 1002;
-
- &.on {
- background-image: var(--icon-menu-on);
- }
-}
-
-/* Dewey Taxonomy */
-#taxonomy-2519915f-d19c-4281-b758-f5ddb889d7fa {
- ol {
- list-style: none;
- margin: 0;
- padding: 0;
-
- li {
- padding: 0.5rem 1rem;
- font-weight: normal;
- text-align: left;
- z-index: 1001;
- }
-
- ol {
- display: none;
- }
- }
- .active {
- font-weight: bold;
- ol {
- display: block;
- z-index: 1002;
- }
- li.active {
- text-align: right;
- z-index: 1002;
- }
- }
-
- #category-1 { background-color: #BCBCBC; } /* #BCBCBC */
- #category-2 { background-color: #95a5a6; } /* #FF9200 */
- #category-3 { background-color: #848482; } /* #FFEB00 */
- #category-4 { background-color: #948279; } /* #7CFB80 */
- #category-5 { background-color: #59706a; } /* #16A085 */
- #category-6 { background-color: #16a085; } /* #97C000 */
- #category-7 { background-color: #27ae60; } /* #C6B117 */
- #category-8 { background-color: #2980b9; } /* #7E8AE0 */
- #category-9 { background-color: #34495e; } /* #677362 */
- #category-10 { background-color: #bd3525; }
- #category-11 { background-color: #d35400; } /* #948279 */
- #category-12 { background-color: #eead0e; } /* #EEAD0E */
-}
diff --git a/app/assets/stylesheets/taxonomies/filter.scss b/app/assets/stylesheets/taxonomies/filter.scss
deleted file mode 100644
index 7506632..0000000
--- a/app/assets/stylesheets/taxonomies/filter.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-// Place all the styles related to the taxonomies/filter controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/users.scss b/app/assets/stylesheets/users.scss
deleted file mode 100644
index 38fcd72..0000000
--- a/app/assets/stylesheets/users.scss
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-// Place all the styles related to the users controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
diff --git a/app/assets/stylesheets/welcome.scss b/app/assets/stylesheets/welcome.scss
deleted file mode 100644
index 5854dd0..0000000
--- a/app/assets/stylesheets/welcome.scss
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc
- *
- * SPDX-License-Identifier: LAL-1.3
- */
-
-// Place all the styles related to the welcome controller here.
-// They will automatically be included in application.css.
-// You can use Sass (SCSS) here: https://sass-lang.com/
-