Added initial css and html framework
Change-Id: I82fafe83852a45f8af7d959e496c6246a8865ec5
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
diff --git a/src/scss/components/_alerts.scss b/src/scss/components/_alerts.scss
new file mode 100644
index 0000000..a6d66b0
--- /dev/null
+++ b/src/scss/components/_alerts.scss
@@ -0,0 +1,46 @@
+//Fixed alerts
+
+.alert__error,
+.alert__warning,
+.alert__message {
+ color: $darkbg__primary;
+ padding: 1em;
+ margin: .5em 0;
+ position: relative;
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+ .close {
+ color: $lightbg__primary;
+ position: absolute;
+ right: 0%;
+ top: 50%;
+ transform: translateY(-50%);
+ font-size: 1.5em;
+ padding: 1em;
+ box-sizing: border-box;
+ line-height: 0;
+ display: flex;
+ justify-content: center;
+ flex-direction: column;
+ background: transparent;
+ border: 0px;
+ margin: 0;
+ &:hover {
+ color: $lightbg__accent;
+ }
+ }
+}
+
+.alert__error {
+ background: $alert__error;
+
+}
+
+.alert__warning {
+ background: $alert__warning;
+
+}
+.alert__message {
+ background: $alert__message;
+}
\ No newline at end of file
diff --git a/src/scss/components/_all.scss b/src/scss/components/_all.scss
new file mode 100644
index 0000000..98ede4a
--- /dev/null
+++ b/src/scss/components/_all.scss
@@ -0,0 +1,3 @@
+@import "systemUser";
+@import "login";
+@import "alerts";
\ No newline at end of file
diff --git a/src/scss/components/_login.scss b/src/scss/components/_login.scss
new file mode 100644
index 0000000..ed2626c
--- /dev/null
+++ b/src/scss/components/_login.scss
@@ -0,0 +1,76 @@
+.login__wrapper {
+ position: relative;
+ padding-top: 1em;
+ color: $black;
+ .row {max-width: 1040px;}
+ @include mediaQuery(small){
+ left: 50%;
+ top: 50%;
+ transform: translateY(-50%);
+ margin-left: -50%;
+ }
+ @include mediaQuery(medium){
+ left: 0;
+ margin-left: 0;
+ }
+ .login__logo {
+ max-width: 200px;
+ display: block;
+ margin-bottom: 2em;
+ @include mediaQuery(small) {
+ margin-bottom: 4em;
+ }
+ }
+ @include fastTransition-all;
+}
+
+#login__form {
+ color: $black;
+ background: $white;
+ padding: 1em 0;
+ display: block;
+ overflow: hidden;
+ @include mediaQuery(small){
+ max-width: 50%;
+ }
+ @include mediaQuery(medium){
+ padding: 0 0 0 5em;
+ border-left: 1px solid $lightbg__grey;
+ max-width:100%;
+ }
+ @include fastTransition-all;
+}
+
+
+
+.login__desc {
+ text-align: left;
+ h1 {
+ font-size: 2em;
+ margin-bottom: 0em;
+ }
+}
+
+.login__server-info {
+ margin-top: 2em;
+ p {margin-bottom: 0;}
+ h3 {margin-bottom: .3rem;}
+}
+
+.login__status {
+ color: $status-ok;
+ &.error {color: $error;}
+}
+
+.login__error-msg {
+ background: $alert__error;
+ padding: 1em;
+ text-align: center;
+ font-size: .95em;
+ border: 1px solid $error;
+
+
+ @include mediaQuery(medium){
+ max-width:100%;
+ }
+}
\ No newline at end of file
diff --git a/src/scss/components/_systemUser.scss b/src/scss/components/_systemUser.scss
new file mode 100644
index 0000000..8ab1535
--- /dev/null
+++ b/src/scss/components/_systemUser.scss
@@ -0,0 +1,23 @@
+#app-user {
+ position: absolute;
+ top: 50%;
+ right: .8em;
+ transform: translateY(-50%);
+ .app-user__name {
+ display: inline-block;
+ position: relative;
+
+ }
+ &::before {
+ content: "";
+ display: inline-block;
+ background: $white;
+ height:20px;
+ width: 20px;
+ border-radius: 10px;
+ vertical-align: middle;
+ //position: relative;
+ //top: 50%;
+ //transform: translateY(-50%);
+ }
+}