bitwarden-estensione-browser/src/scss/pages.scss

119 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-01-31 22:51:59 +01:00
margin-top: 20px;
.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 {
color: $brand-primary;
text-decoration: none;
span {
visibility: visible;
}
}
}
}
}
#register-page {
.content {
width: 400px;
}
}