1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-30 12:54:31 +01:00

styling updates

This commit is contained in:
Kyle Spearrin 2018-01-31 16:51:59 -05:00
parent ae955e6650
commit 44bfeffcdd
4 changed files with 17 additions and 13 deletions

View File

@ -2,35 +2,29 @@
* { * {
box-sizing: border-box; box-sizing: border-box;
padding: 0;
margin: 0;
} }
html, body { html, body {
margin: 0;
padding: 0;
height: 100%; height: 100%;
background-color: $background-color-alt2; background-color: $background-color-alt2;
overflow: hidden;
font-family: $font-family-sans-serif; font-family: $font-family-sans-serif;
font-size: $font-size-base; font-size: $font-size-base;
color: $text-color; color: $text-color;
line-height: 1.42857143; line-height: $line-height-base;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif; font-family: $font-family-sans-serif;
color: $text-color; color: $text-color;
margin: 0;
padding: 0;
} }
p { p {
margin: 0 0 10px 0; margin-bottom: 10px;
padding: 0;
} }
img { img {
margin: 0;
padding: 0;
border: none; border: none;
} }
@ -45,7 +39,6 @@ input, select, textarea, button {
} }
button { button {
padding: 0;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -1,6 +1,6 @@
@import "variables.scss"; @import "variables.scss";
#login, #register { #login {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -15,7 +15,17 @@
height: calc(100% + 300px); height: calc(100% + 300px);
margin-top: -300px; margin-top: -300px;
} }
}
#register {
margin-top: 20px;
.content {
margin: 0 auto;
}
}
#login, #register {
.content { .content {
max-width: 300px; max-width: 300px;

View File

@ -10,6 +10,7 @@ $border-color-dark: #ddd;
$list-item-hover: #fbfbfb; $list-item-hover: #fbfbfb;
$list-icon-color: #c7c7cd; $list-icon-color: #c7c7cd;
$border-radius: 3px; $border-radius: 3px;
$line-height-base: 1.42857143;
$gray: #555; $gray: #555;
$gray-light: #777; $gray-light: #777;

View File

@ -1,7 +1,7 @@
@import "variables.scss"; @import "variables.scss";
#vault { #vault {
height: 100vh; height: 100%;
display: flex; display: flex;
#groupings { #groupings {