summaryrefslogtreecommitdiff
path: root/res/client/css/by-view/login.scss
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-23 14:26:10 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-23 15:07:53 +0200
commit446f272819e3f610abd39b8625a93b387eb558d4 (patch)
treeec8974ce1dfe09cb2c80af65f99c6412de52bcfa /res/client/css/by-view/login.scss
parentdc3213fe3a5a107b6d7f3b4ef1b876db842c287d (diff)
style.scss: use 'by-view' file layout
Diffstat (limited to 'res/client/css/by-view/login.scss')
-rw-r--r--res/client/css/by-view/login.scss195
1 files changed, 195 insertions, 0 deletions
diff --git a/res/client/css/by-view/login.scss b/res/client/css/by-view/login.scss
new file mode 100644
index 00000000..55d75cd4
--- /dev/null
+++ b/res/client/css/by-view/login.scss
@@ -0,0 +1,195 @@
+@import '../modules/mixins'; // For box-sizing
+
+.welcome-box {
+ margin-left: auto;
+ margin-right: auto;
+ padding: $three-baselines;
+ margin-top: $three-baselines;
+ width: 420px;
+ background: white;
+}
+
+.login-view-section {
+ width: 100%;
+ margin-top: $two-baselines;
+ margin-bottom: $one-baseline;
+ text-align: center;
+}
+
+.login-rhizi-logo {
+ background: url('/static/img/logo-red.png');
+ background-repeat: no-repeat;
+ margin-left: auto;
+ margin-right: auto;
+ display: block;
+ width: 54px;
+ height: 30px;
+}
+
+.login-header {
+ margin-top: 35px;
+ margin-bottom: 35px;
+ text-align: center;
+ color: $magenta;
+}
+
+.login-text {
+ font-size: $h3-size;
+ line-height: 22px;
+ text-align: center;
+ margin-bottom: $one-baseline;
+
+ em {
+ font-family: $bold-font-family;
+ font-style:normal;
+ }
+}
+
+.clearfix {
+ *zoom: 1;
+
+ &:before,
+ &:after {
+ content: ' ';
+ display: table;
+ }
+
+ &:after {
+ clear: both;
+ }
+
+}
+
+.login-form {
+ width: 80%;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.login-input {
+ width: 75%;
+ border: none;
+ font-family: inherit;
+ font-size: inherit;
+ background-color: $light-grey;
+ border: 1px solid $mid-light-grey;
+ -webkit-appearance: none;
+ padding: $one-baseline $one-baseline $one-baseline 20%;
+ background-repeat: no-repeat;
+ background-position: 18px 14px;
+
+ &:focus {
+ outline: none;
+ background-color: $light-grey;
+ border: 1px solid $mid-light-grey;
+ @include rz-inset-box-shadow(0px, 0px, 6px, rgba(0,0,0,0.3) )
+ }
+
+ &[type="email"] {
+ background-image: url(../img/mail-icon.png);
+ }
+
+ &[type="password"] {
+ background-image: url(../img/password-icon.png);
+ background-position-x: 22px;
+ border-top: none;
+ }
+}
+
+.forgot-password {
+ color: $mid-grey;
+ text-decoration: none;
+ &:hover {
+ color: $dark-grey;
+ }
+}
+
+
+.section-divider {
+ color: $mid-grey;
+
+ &:before {
+ content: "";
+ width: 112px;
+ margin-top: $one-baseline;
+ position: absolute;
+ height: 0;
+ margin-left: -118px;
+ border-top: 1px solid $mid-grey;
+ }
+
+ &:after {
+ content: "";
+ width: 112px;
+ margin-top: $one-baseline;
+ position: absolute;
+ margin-left: 4px;
+ height: 0;
+ border-top: 1px solid $mid-grey;
+ }
+}
+
+.contact-us-icon {
+ text-align: center;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ background: url(../img/hr-email-icon.png) no-repeat;
+ margin-left: auto;
+ display: inline-block;
+ margin-right: auto;
+ height:25px;
+ width:25px;
+}
+
+.contact-us-text {
+ color: $magenta ;
+}
+
+.contact-us-link {
+ color: $magenta;
+ text-decoration: underline;
+}
+
+.magenta-divider {
+
+ &:before {
+ border-top: 1px solid $magenta;
+ }
+
+ &:after {
+ border-top: 1px solid $magenta;
+ }
+
+}
+
+.login-form_button {
+ cursor: pointer;
+ background-color: $magenta;
+ color: $white;
+ font-size: $h3-size;
+ margin-top: $two-baselines;
+ padding: $one-baseline;
+ width: 100%;
+
+ &:hover {
+ background-color: $dark-magenta;
+ }
+
+ &:focus {
+ background-color: $dark-magenta;
+ }
+}
+
+#login-page_forgot-password-button {
+ margin-top: $one-baseline;
+}
+
+#login-page_create-account-button {
+ color: $light-grey;
+ background-color: $mid-grey;
+ padding: $one-baseline 0;
+
+ &:hover {
+ background-color: $dark-grey;
+ }
+}