1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-04 13:44:00 +01:00
bitwarden-browser/src/scss/pages.scss

122 lines
2.2 KiB
SCSS
Raw Normal View History

2018-01-30 23:24:02 +01:00
@import "variables.scss";
2018-02-10 04:47:53 +01:00
#login-page, #lock-page {
2018-01-30 23:24:02 +01:00
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;
}
2018-01-31 23:06:14 +01:00
img {
margin: 0 auto 15px;
width: 282px;
display: block;
}
2018-01-31 22:51:59 +01:00
}
2018-02-02 04:59:04 +01:00
#register-page, #hint-page, #two-factor-page {
2018-02-25 05:32:23 +01:00
padding-top: 20px;
2018-01-31 22:51:59 +01:00
.content {
margin: 0 auto;
}
2018-02-02 04:59:04 +01:00
img {
margin-bottom: 10px;
max-width: 100%;
height: auto;
display: block;
border-radius: $border-radius;
}
2018-01-31 22:51:59 +01:00
}
2018-01-30 23:24:02 +01:00
2018-02-10 04:47:53 +01:00
#login-page, #register-page, #hint-page, #two-factor-page, #lock-page {
2018-01-30 23:24:02 +01:00
.content {
2018-02-10 04:47:53 +01:00
width: 300px;
p {
text-align: center
}
2018-01-30 23:24:02 +01:00
2018-02-02 04:59:04 +01:00
p.lead, h1 {
2018-01-30 23:24:02 +01:00
font-size: $font-size-large;
text-align: center;
margin-bottom: 20px;
2018-01-31 23:06:14 +01:00
font-weight: normal;
2018-01-30 23:24:02 +01:00
}
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 {
display: block;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
2018-01-30 23:24:02 +01:00
}
a.settings-icon {
color: #bbbbbb;
position: absolute;
top: 10px;
left: 10px;
span {
visibility: hidden;
}
&:hover, &:focus {
text-decoration: none;
2018-05-30 21:21:41 +02:00
@include themify($themes) {
color: themed('primaryColor');
}
2018-01-30 23:24:02 +01:00
span {
visibility: visible;
}
}
}
}
}
#register-page {
.content {
width: 400px;
}
}