1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-12 14:56:58 +01:00
bitwarden-browser/src/scss/pages.scss

81 lines
1.5 KiB
SCSS
Raw Normal View History

2018-01-30 23:24:02 +01:00
@import "variables.scss";
#login, #register {
display: flex;
justify-content: center;
align-items: center;
2018-01-30 23:34:58 +01:00
height: 100%;
2018-01-30 23:24:02 +01:00
2018-01-30 23:34:58 +01:00
@media (min-height: 500px) {
height: calc(100% + 50px);
margin-top: -50px;
}
@media (min-height: 800px) {
2018-01-30 23:24:02 +01:00
height: calc(100% + 300px);
margin-top: -300px;
}
.content {
max-width: 300px;
img {
margin: 0 auto 15px;
width: 282px;
display: block;
}
p {
font-size: $font-size-large;
text-align: center;
margin-bottom: 20px;
}
2018-01-31 20:19:21 +01:00
.box {
margin-bottom: 20px;
&.last {
margin-bottom: 15px;
}
}
2018-01-30 23:24:02 +01:00
.buttons {
display: flex;
2018-01-31 20:19:21 +01:00
margin-bottom: 20px;
2018-01-30 23:24:02 +01:00
button {
margin-right: 10px;
&:last-child {
margin-right: 0;
}
}
}
.sub-options {
text-align: center;
margin-bottom: 20px;
}
a.settings-icon {
color: #bbbbbb;
position: absolute;
top: 10px;
left: 10px;
span {
visibility: hidden;
}
&:hover, &:focus {
color: $brand-primary;
text-decoration: none;
span {
visibility: visible;
}
}
}
}
}