diff --git a/config/prod.env.js b/config/prod.env.js index 15a0fa36..132ef011 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -2,5 +2,7 @@ process = require('process'); module.exports = { NODE_ENV: '"production"', - API_URL: JSON.stringify(process.env.API_URL) + API_URL: JSON.stringify(process.env.API_URL), + OAUTH_CLIENT_ID: JSON.stringify(process.env.OAUTH_CLIENT_ID), + OAUTH_CLIENT_SECRET: JSON.stringify(process.env.OAUTH_CLIENT_SECRET), }; diff --git a/src/App.vue b/src/App.vue index 7870828b..f0a0c566 100644 --- a/src/App.vue +++ b/src/App.vue @@ -169,7 +169,7 @@ a:hover { .toolbar { display: flex; color: #333; - padding: 0 20px; + padding-left: 20px; min-height: 45px; /* Normal height, but line wrap can grow this */ align-items: flex-start; /* We want multiple lines to align to the top */ line-height: 1.2; @@ -187,8 +187,8 @@ a:hover { justify-content: center; cursor: pointer; width: 45px; - padding-top: 9px; /* To adjust baseline to a good position */ - padding-bottom: 6px; /* For visual symmetry */ + height: 45px; + align-items: center; } .toolbar-item-a { @@ -717,6 +717,19 @@ i.wikiglyph { -webkit-column-break-inside: avoid; } +.upload-button { + padding: 10px 15px; + background-color: var(--main-red); + color: white; + font-weight: 600; + border-radius: 3px; + white-space: nowrap; +} + +a:hover .upload-button { + background-color: var(--main-orange); +} + .data-select { display: block; background: var(--main-red); @@ -729,6 +742,16 @@ i.wikiglyph { /* transition: background 80ms ease-in, color 80ms ease-in; */ } +.data-select a { + color:white; + font-size: 0.7em; +} + +.data-select a:hover { + box-shadow: none; + text-decoration: underline; +} + .data-button { display: inline-block; position: absolute; diff --git a/src/components/ImageGrid.vue b/src/components/ImageGrid.vue index 93bfde5d..102b9e0e 100644 --- a/src/components/ImageGrid.vue +++ b/src/components/ImageGrid.vue @@ -18,9 +18,9 @@