aboutsummaryrefslogtreecommitdiff
path: root/src/site/assets/styles/style.scss
diff options
context:
space:
mode:
authorPitu <[email protected]>2018-09-19 04:45:50 -0300
committerPitu <[email protected]>2018-09-19 04:45:50 -0300
commit430af8306b1ab17e59a6dabf8f65ab816d28695d (patch)
tree975814e80919cc7b8c5d820080a30def32a371ea /src/site/assets/styles/style.scss
parentSome adjustements to public album view (diff)
downloadhost.fuwn.me-430af8306b1ab17e59a6dabf8f65ab816d28695d.tar.xz
host.fuwn.me-430af8306b1ab17e59a6dabf8f65ab816d28695d.zip
Switch to Nuxt.js
Diffstat (limited to 'src/site/assets/styles/style.scss')
-rw-r--r--src/site/assets/styles/style.scss181
1 files changed, 181 insertions, 0 deletions
diff --git a/src/site/assets/styles/style.scss b/src/site/assets/styles/style.scss
new file mode 100644
index 0000000..8394ec6
--- /dev/null
+++ b/src/site/assets/styles/style.scss
@@ -0,0 +1,181 @@
+// Let's first take care of having the customized colors ready.
+@import "./_colors.scss";
+
+// Loading screen is the first thing that shows up, let's put it at the top.
+div#loading {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 100;
+ height: 100%;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ div.background {
+ position: absolute;
+ z-index: -1;
+ height: 100%;
+ width: 100%;
+ top: 0px;
+ left: 0px;
+ background: $background;
+ }
+}
+
+// Bulma/Buefy customization
+@import "../../../node_modules/bulma/sass/utilities/_all.sass";
+
+$body-size: 14px !default;
+$family-primary: 'Nunito', BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
+$size-normal: 0.75rem;
+
+@import "../../../node_modules/bulma/bulma.sass";
+@import "../../../node_modules/buefy/src/scss/buefy.scss";
+
+/*
+.material-icons {
+ font-family: 'Material Icons';
+ font-weight: normal;
+ font-style: normal;
+ font-size: 24px;
+ line-height: 1;
+ letter-spacing: normal;
+ text-transform: none;
+ display: inline-block;
+ white-space: nowrap;
+ word-wrap: normal;
+ direction: ltr;
+ font-feature-settings: "liga";
+ -webkit-font-feature-settings: 'liga';
+ -webkit-font-smoothing: antialiased;
+}
+*/
+
+/*
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+ text-rendering: optimizeLegibility;
+}
+*/
+html {
+ // font-size: 100%;
+ font-size: 14px;
+ background-color: $background;
+}
+
+h4 {
+ font-size: 2em;
+ font-weight: 700;
+ line-height: 1.25em;
+}
+
+div.spacer {
+ &.mt1 { margin-top: 1em; }
+ &.mt2 { margin-top: 2em; }
+ &.mt3 { margin-top: 3em; }
+ &.mt4 { margin-top: 4em; }
+ &.mt5 { margin-top: 5em; }
+ &.mt6 { margin-top: 6em; }
+ &.mt7 { margin-top: 7em; }
+}
+
+// Bulma color changes.
+.tooltip.is-top.is-primary:before { border-top: 5px solid #20222b; }
+.tooltip.is-primary:after { background: #20222b; }
+
+div#drag-overlay {
+ position: fixed;
+ top: 0px;
+ left: 0px;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+ z-index: 100;
+ div.background {
+ background: rgba(0, 0, 0, 0.9);
+ position: absolute;
+ top: 3%;
+ left: 3%;
+ width: 94%;
+ height: 94%;
+ border: 2px dashed #fff;
+ border-radius: 10px;
+ box-shadow: 0 0 0 4px #ffffff00, 2px 1px 6px 4px rgba(10, 10, 0, 0.5);
+ }
+
+ div.drop {
+ width: 100%;
+ color: white;
+ position: absolute;
+ height: 100%;
+ align-items: center;
+ display: flex;
+ justify-content: center;
+ font-size: 2em;
+ }
+}
+
+section input, section a.button {
+ font-size: 14px !important;
+}
+section input, section p.control a.button {
+ border-left: 0px !important;
+ border-top: 0px !important;
+ border-right: 0px !important;
+ border-radius: 0px !important;
+ box-shadow: 0 0 0 !important;
+}
+
+section p.control a.button { margin-left: 10px !important; }
+section p.control button {
+ height: 100%;
+ font-size: 12px;
+}
+
+.switch input[type=checkbox] + .check:before {
+ background: #fbfbfb;
+}
+
+/*
+ Register and Login forms
+*/
+
+section#login,
+section#register { background-color: $backgroundLight1 !important; }
+section#login input,
+section#register input,
+section#login a.button,
+section#register a.button {
+ font-size: 14px !important;
+}
+section#login input,
+section#register input,
+section#login p.control a.button,
+section#register p.control a.button {
+ border-left: 0px !important;
+ border-top: 0px !important;
+ border-right: 0px !important;
+ border-radius: 0px !important;
+ box-shadow: 0 0 0 !important;
+}
+
+section#login p.control a.button,
+section#register p.control a.button { margin-left: 10px !important; }
+section#login p.control a#loginBtn,
+section#register p.control a#loginBtn { border-right: 0px !important; }
+section#login p.control a#registerBtn,
+section#register p.control a#registerBtn { border-left: 0px !important; }
+
+section#login a.is-text,
+section#register a.is-text {
+ font-size: 1.25em;
+ line-height: 2.5em;
+}
+
+.modal-card-head, .modal-card-foot {
+ background: $backgroundLight1;
+}