Skip to content

Instantly share code, notes, and snippets.

@diondree
Created August 26, 2020 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diondree/21c2dd0711df0527fc0c2beeaceb2a17 to your computer and use it in GitHub Desktop.
Save diondree/21c2dd0711df0527fc0c2beeaceb2a17 to your computer and use it in GitHub Desktop.
.main-content {
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
min-height: 650px;
}
.login-form {
background-color: white;
padding: 48px 16px;
border-radius: 8px;
width: 100%;
}
.login-form__header {
margin-bottom: 24px;
}
.login-form__header__small-text {
margin: 0px;
margin-bottom: 4px;
}
.login-form__header__large-text {
margin: 0px;
}
.login-form__controls smtt-input[label="Username"] {
margin-bottom: 16px;
}
.login-form__controls__label {
margin-bottom: 8px;
}
.form-group {
margin-bottom: 24px;
}
.login-form__login-btn {
display: block;
margin-bottom: 16px;
}
.smartmatic-logo {
margin-top: 71px;
position: relative;
}
.smartmatic-logo path {
fill: #2d2f3a;
}
.login-form__forgot-password {
text-decoration: underline;
font-size: var(--font-size-sm);
color: #365a63;
}
.login-form__forgot-password:hover {
background-color: #eef5f6;
color: #44727e;
}
.login-form__forgot-password:active {
background-color: #cddfe4;
color: #274249;
}
@media screen and (min-width: 567px) {
.login-backdrop {
background-blend-mode: multiply;
background-image: radial-gradient(circle at 50% 0, #265966, #002d38 105%),
url(./home-bg.jpg);
background-size: cover;
}
.main-content {
justify-content: center;
}
.smartmatic-logo path {
fill: white;
}
.login-form {
padding: 48px;
width: 415px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment