causeway-standard-theme
Version:
944 lines (872 loc) • 17.8 kB
text/less
.login-image {
background: url("../images/blurred-bgd.jpg") no-repeat scroll top center transparent;
}
.login-container {
width: 100%;
height: 100%;
-webkit-background-size: cover;
background-size: cover;
display: table;
> .row {
display: table-row;
> .col-md-6 {
display: table-cell;
vertical-align: middle;
text-align: left;
float: none;
&:first-child {
text-align: right;
}
}
}
}
.causeway-logo {
display: inline-block;
text-align: left;
margin-right: 170px;
margin-top: 0;
img {
width: 100%;
}
a {
text-decoration: none;
display: block;
width: 280px;
height: 50px;
&:hover {
text-decoration: none;
}
}
.causeway-product {
display: block;
color: @white;
font-family: "Roboto Light", "Roboto", Helvetica, Arial, sans-serif;
.font-size(30);
font-weight: normal;
margin-top: 10px;
}
}
.login-window {
text-align: left;
position: relative;
width: 356px;
background: rgba(255, 255, 255, .3);
display: inline-block;
color: @white;
padding: 30px 24px 28px 24px;
margin-left: 170px;
h2 {
.font-size(18);
font-weight: normal;
margin-top: 0;
margin-bottom: 47px;
font-family: Arial, Helvetica, sans-serif;
display: block;
color: white;
}
.copyright {
position: absolute;
bottom: -45px;
left: 0;
color: @white;
width: 100%;
text-align: center;
padding: 17px 0;
.font-size(12);
font-weight: normal;
}
}
.login-form {
p, div {
.font-size(12);
}
.form-inline,
.form-horizontal {
padding: 0;
.form-row {
margin-bottom: 26px;
&:last-child {
margin-bottom: 0;
}
}
.form-group {
width: 100%;
display: block;
margin-bottom: 0;
&.form-group-inline {
display: inline-block;
width: auto;
margin-right: 35px;
}
.control-input {
width: 100%;
margin-bottom: 0;
input {
margin-bottom: 0;
.box-shadow(none)
}
}
label {
color: @white;
font-weight: normal;
}
.btn {
color: @white;
font-style: normal;
margin-left: 0;
margin-bottom: 0;
margin-top: 37px;
}
}
}
input {
width: 100%;
margin-bottom: 7px;
}
form {
padding: 20px;
margin: 0;
&:after {
content: '';
display: block;
height: 0;
clear: both;
}
}
.control-input,
.control-label {
width: 100%;
}
.control-input {
input {
width: 100%;
}
}
}
.btn-italic {
font-style: italic;
margin-top: 3px;
}
//Classic login page
.login-container {
&.login-classic {
display: block;
min-width: 800px;
width: 821px;
height: 540px;
margin: -270px auto 0;
position: relative;
top: 50%;
&.login-image {
background: url("../images/login.jpg") no-repeat scroll top right @black005;
}
> .row {
display: block;
height: 100%;
> .col-md-6 {
display: block;
width: 524px;
height: 71%;
vertical-align: middle;
text-align: center;
float: none;
&:first-child {
text-align: center;
height: 29%;
}
&:last-child {
display: table;
padding-bottom: 43px;
table-layout: fixed;
}
}
}
.causeway-product {
color: @black060;
}
.causeway-logo {
margin-right: 0;
margin-top: 60px;
width: 270px;
img {
width: 190px;
height: auto;
content: url("../images/logo_dark.png");
}
}
.login-window {
//margin-top: 48px;
//width: 270px;
//padding: 0;
display: table-cell;
padding: 0 110px;
vertical-align: middle;
margin-left: 0;
color: @black070;
position: static;
background-color: transparent;
> h2 {
display: none;
}
}
.login-form {
.form-inline,
.form-horizontal {
.form-row {
margin-bottom: 10px;
}
padding: 0;
.form-group {
&.form-group-inline {
margin-right: 15px;
}
label {
color: inherit;
}
.btn-text {
color: inherit;
font-style: italic;
margin-right: 60px;
padding-left: 0;
}
.btn {
margin-top: 80px;
}
}
}
}
//.form-control {
// border: 1px solid @black030;
//}
.copyright {
bottom: 0;
left: 0;
color: inherit;
background-color: @black030;
width: 100%;
.font-size(11);
padding: 14px 9px;
}
.form-control::-webkit-input-placeholder {
color: @black030;
}
.form-control:-moz-placeholder { /* Firefox 18- */
color: @black030;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
color: @black030;
}
.form-control:-ms-input-placeholder {
color: @black030;
}
}
//Deprecated
&.login-dep {
position: absolute;
width: 950px;
height: 500px;
margin: -250px auto auto -475px;
top: 50%;
left: 50%;
overflow: hidden;
&.login-image {
background: url("../images/login_dep.jpg") no-repeat scroll center center transparent;
}
.copyright {
position: absolute;
bottom: 20px;
left: 25px;
color: #58595b;
}
.login-window {
position: absolute;
width: 330px;
border: 1px solid #5f5f5f;
background: #5f5f5f;
top: 95px;
right: 25px;
.box-shadow(0);
padding: 0;
}
.login-window h2 {
margin: 8px 0 8px 16px;
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
display: block;
font-weight: bold;
color: white;
}
.login-form {
background-color: white;
color: #787878;
.form-inline, .form-horizontal {
.form-row {
margin-bottom: 0;
}
.form-group {
width: 100%;
display: block;
margin-bottom: 0;
&.form-group-inline {
display: inline-block;
width: auto;
margin-right: 10px;
}
.control-input {
width: 100%;
input {
margin-bottom: 7px;
}
}
.btn {
margin-bottom: 10px;
margin-top: 0;
&.btn-text {
color: inherit;
font-style: italic;
margin-top: 4px;
}
}
label {
color: inherit;
font-weight: bold;
}
}
}
form {
padding: 20px;
margin: 0;
&:after {
content: '';
display: block;
height: 0;
clear: both;
}
}
.control-input, .control-label {
width: 100%;
}
}
}
}
//Responsive
.login-responsive {
&.login-image {
background-image: url('../images/login_resp..jpg');
}
.causeway-logo {
margin-right: 20%;
}
.login-window {
padding: 40px 30px 0 30px;
width: 344px;
margin-left: 20%;
.causeway-product {
font-family: "Roboto Light";
color: @black080;
.font-size(30);
text-align: center;
margin-bottom: 40px;
}
.copyright {
font-size: 95%;
color: @black020;
}
}
.login-form {
.form-inline,
.form-horizontal {
.form-row {
margin-bottom: 20px;
&.social-signon {
margin-bottom: 0;
}
}
.form-group {
.control-input {
input {
height: @secondary-tap-height;
font-size: 120%;
}
&.left-inner-addon {
position: relative;
input {
padding-left: 30px;
}
.fa {
position: absolute;
left: 15px;
color: @black040;
top: 50%;
margin-top: -6px;
font-size: 120%;
}
}
}
label {
margin-top: 10px;
}
.btn {
margin-top: 0;
height: @secondary-tap-height;
padding: 0 20px;
&.btn-text {
height: auto;
margin: 0;
padding: 0;
color: @black080;
min-height: 0;
}
}
}
}
}
.social-signon {
margin: 0 -30px;
border-top: 1px solid @black060;
> .form-group {
padding: 10px 30px;
border-top: 1px solid @black030;
}
.fa {
width: 28px;
height: 28px;
.border-radius(100%);
color: @white;
font-weight: normal;
text-align: center;
line-height: 28px;
text-decoration: none;
margin-left: 10px;
&.fa-facebook {
background-color: #3f58a0;
}
&.fa-linkedin {
background-color: #0280ba;
}
&.fa-twitter {
background-color: #00abea;
}
}
}
}
//----------------------------------------------------------------------------------------------------------------------
// New Responsive Login Screen
//----------------------------------------------------------------------------------------------------------------------
.ctd-login {
height: 100%;
> .row {
height: 100%;
}
.ctd-left-nav {
background-color: #fafafa;
}
.ctd-right-content {
background: #0870cf url("../images/login-bg.jpg") no-repeat top center;
background-size: cover;
color: #fff;
text-align: center;
}
//Forms
form {
margin: 0;
.form-group {
max-width: none;
margin: 0 -15px 15px -15px;
// Form Links
&.ctd-form-links {
margin-top: 35px;
margin-bottom: 45px;
text-align: center;
a {
font: normal 12px Roboto, sans-serif;
color: #6391e4;
}
span {
color: #de7627;
padding: 0 10px;
}
}
}
}
.form-control {
border-radius: 0;
border: 1px solid #d7dbdd;
font-family: Roboto, sans-serif;
font-size: 13px;
color: #999999;
height: 34px;
padding: 6px 12px;
font-style: normal;
}
// Buttons
.btn {
&.btn-primary,
&.btn-default {
font: normal 14px/20px "Roboto Medium", sans-serif;
text-transform: uppercase;
background-color: #fff;
color: #fff;
border: 1px solid #de7627;
border-radius: 2px;
padding: 7px 12px;
&:focus {
outline: none;
}
}
&.btn-primary {
background-color: #e67e22;
&:focus, &:active, &:hover {
background-color: darken(#e67e22, 10%);
border: 1px solid darken(#e67e22, 10%);
box-shadow: none;
}
}
&.btn-default {
background-color: #6391e4;
border: 1px solid #6391e4;
padding: 8px 18px;
&:focus, &:active, &:hover {
background-color: darken(#6391e4, 10%);
border: 1px solid darken(#6391e4, 10%);
box-shadow: none;
}
&:disabled, &.disabled {
background-color: #ebebeb;
border: 1px solid #ebebeb;
&:focus, &:active, &:hover {
background-color: #ebebeb;
border: 1px solid #ebebeb;
}
}
}
}
// Checkboxes
.checkbox {
> label {
color: #666;
font-family: Roboto, sans-serif;
font-size: 12px;
}
}
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
background-color: #fff;
-webkit-box-shadow: 0 0 0 1000px white inset;
&:focus {
-webkit-box-shadow: 0 0 0 1000px white inset;
}
}
.ctd-social-signins {
color: #666666;
text-align: center;
margin-top: 35px;
> .fa {
width: 24px;
height: 24px;
background-color: #ccd1d1;
border-radius: 100%;
display: inline-block;
vertical-align: middle;
margin-left: 10px;
position: relative;
&:before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
}
&:hover {
background-color: #7f8c8d;
}
}
}
.ctd-caption, .ctd-title {
font-family: "Roboto Light", sans-serif;
font-size: 28px;
}
.ctd-title {
font-size: 30px;
color: #F07D00;
text-align: center;
padding: 140px 0 60px 0;
margin: 0;
}
.ctd-logo {
text-align: center;
img {
width: 32.50%;
}
}
.ctd-left-nav {
width: 320px;
float: left;
height: 100%;
position: relative;
padding: 0 30px;
background-color: #fafafa;
.ctd-login & {
.btn-primary,
.btn-primary-outline {
width: 100%;
}
}
.ctd-logo {
position: absolute;
bottom: 80px;
width: 100%;
left: 50%;
transform: translateX(-50%);
}
}
.ctd-right-content {
position: relative;
height: 100%;
margin-left: 26.60%;
.ctd-caption {
margin: 0;
position: absolute;
top: 50%;
text-align: left;
left: 8%;
padding-right: 20px;
transform: translateY(-50%);
}
}
@media @desktop {
.login-responsive {
.causeway-logo {
margin-right: 15%;
}
.login-window {
margin-left: 15%;
}
}
}
@media @tablet {
.login-responsive {
.checkbox {
>label {
.checkbox-icon {
top: 2px;
}
}
}
.login-form {
p, div, .btn {
.font-size(17);
}
.form-inline,
.form-horizontal {
.form-group {
.control-input {
&.left-inner-addon {
input {
padding-left: 36px;
font-size: 100%;
}
.fa {
margin-top: -11px;
font-size: 100%;
}
}
}
label {
margin-top: 7px;
}
}
}
button {
&.btn {
font-weight: normal;
}
}
}
.causeway-logo {
margin-right: 0;
margin-bottom: 70px;
a {
width: 218px;
height: 39px;
}
}
.login-window {
margin-left: 0;
.causeway-product {
.font-size(24);
}
.copyright {
font-size: 100%;
}
}
}
.login-container {
display: block;
position: relative;
> .row {
display: block;
position: relative;
top: 50%;
margin-top: -270px;
>.col-md-6 {
display: block;
text-align: center;
&:first-child {
text-align: center;
}
}
}
}
}
@media only screen and (max-width: 320px) {
.login-responsive {
&.container {
padding-left: 0;
padding-right: 0;
}
.row {
margin-right: 0;
margin-left: 0;
}
.col-md-6 {
padding-left: 0;
padding-right: 0;
}
.login-window {
width: 100%;
padding: 20px 10px 0 10px;
.copyright {
bottom: -55px;
}
.causeway-product {
margin-bottom: 20px;
.font-size(30);
}
}
.login-form {
.pull-right {
float: none ;
}
button {
&.btn {
width: 100%;
}
}
.form-inline,.form-horizontal {
.form-row {
margin-bottom: 10px;
}
}
}
.causeway-logo {
margin-bottom: 10px;
}
.social-signon {
margin: 0 -10px;
> .form-group {
padding: 10px;
}
}
}
.login-container {
>.row {
margin-top: -230px;
}
}
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Safari only override */
::i-block-chrome,.login-responsive .causeway-logo img {
display: none;
}
::i-block-chrome,.login-responsive .causeway-logo a {
background: url('../images/logo.png') no-repeat;
background-size: 100% auto;
display: block;
}
}
@media screen and (max-width: 680px) {
//utility classes
.ctd-mobile-visible {
display: block;
}
.ctd-desktop-visible {
display: none;
}
.ctd-mobile-hidden {
display: none;
}
.ctd-desktop-hidden {
display: block;
}
.ctd-title {
display: none;
}
.ctd-left-nav {
width: 100%;
padding: 0;
float: none;
height: 43px;
background-color: #0870cf;
position: fixed;
overflow: auto;
top: 0;
left: 0;
z-index: 1001;
.ctd-nav-list {
margin: 0;
}
}
.ctd-right-content {
width: 100%;
float: none;
margin: 0;
}
//login Screen
.ctd-login {
.ctd-title {
display: block;
}
.ctd-right-content {
display: none;
}
.ctd-left-nav {
width: 100%;
padding: 0 30px;
height: 100%;
}
.ctd-logo {
display: block;
}
}
}
@media screen and (max-height: 572px) {
.ctd-left-nav {
.ctd-title {
padding: 60px 0 20px;
}
.ctd-logo {
bottom: 15px;
}
}
.ctd-social-signins {
margin-top: 20px;
}
.ctd-form-links {
margin-top: 15px;
margin-bottom: 20px;
}
}
@media screen and (min-height: 573px) and (max-height: 730px) {
.ctd-left-nav {
.ctd-title {
padding: 80px 0 20px;
}
.ctd-logo {
bottom: 40px;
}
}
}