aboutsummaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/application/_header.scss
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-06 04:26:25 +0200
committerhellekin <hellekin@cepheide.org>2020-10-06 04:26:25 +0200
commit56a16be5fb51d8f6a8b04e9e7094aa7c57fb8547 (patch)
tree83280700beda03eaa0786cdd8c94c93a1533f18b /app/assets/stylesheets/application/_header.scss
parent09ac92747bfbda80a54e44b22576d29d9dfc63c3 (diff)
downloadincommon-map-56a16be5fb51d8f6a8b04e9e7094aa7c57fb8547.tar.gz
First pass at something visible
This is a first version of the application, to go beyond simple authentication.
Diffstat (limited to 'app/assets/stylesheets/application/_header.scss')
-rw-r--r--app/assets/stylesheets/application/_header.scss28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/assets/stylesheets/application/_header.scss b/app/assets/stylesheets/application/_header.scss
new file mode 100644
index 0000000..d0fd5b8
--- /dev/null
+++ b/app/assets/stylesheets/application/_header.scss
@@ -0,0 +1,28 @@
+/* -----------------------------------------------------------------------------
+ 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;
+ }
+ }
+}