Support login with javascript disabled
Change-Id: I023acc73c9713df917d4fb3cfeac7e920f0d65e4
diff --git a/dev/scss/kalamar.scss b/dev/scss/kalamar.scss
index d8a9272..4c4407f 100644
--- a/dev/scss/kalamar.scss
+++ b/dev/scss/kalamar.scss
@@ -11,4 +11,5 @@
@import "header/header"; // Top frame styles
@import "footer/footer"; // Bottom frame styles
@import "sidebar/sidebar"; // Left frame styles
+@import "no-js"; // Script disabled
@import "media"; // Media queries
diff --git a/dev/scss/no-js.scss b/dev/scss/no-js.scss
new file mode 100644
index 0000000..8e3478e
--- /dev/null
+++ b/dev/scss/no-js.scss
@@ -0,0 +1,37 @@
+// Aside in noscript mode
+body.no-js aside {
+ > * {
+ opacity: 1 !important;
+ transition: none;
+ }
+ transition: none;
+ position: relative;
+ margin-left: 0 !important;
+ display: block;
+ padding-top:0;
+ width: 100%;
+ top: 0;
+ form.login {
+ > input, > div {
+ width: auto;
+ margin-top: 0;
+ &:first-of-type {
+ float: left;
+ margin-right: 1em;
+ }
+ }
+ button {
+ height: 100%
+ }
+ }
+ &::after {
+ display: none;
+ }
+ p {
+ display: none;
+ }
+}
+
+body.no-js main div.intro {
+ margin-left: $base-padding !important;
+}
\ No newline at end of file
diff --git a/dev/scss/sidebar/sidebar.scss b/dev/scss/sidebar/sidebar.scss
index bb5df9f..8e6491b 100644
--- a/dev/scss/sidebar/sidebar.scss
+++ b/dev/scss/sidebar/sidebar.scss
@@ -202,6 +202,7 @@
display:none;
}
+
/*
#sidebar {
text-shadow: none;