1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-29 10:27:35 +01:00

Fixed OTP rendering

This commit is contained in:
Giulio Cesare Solaroli
2015-09-23 13:40:20 +02:00
parent 4218ba33bb
commit 7bc16cc649
6 changed files with 338 additions and 202 deletions

View File

@@ -169,28 +169,11 @@ input[type=text] {
}
.mainPage.narrow {
#extraFeaturesPanel {
&.fullOpen {
.extraFeatureIndex {
width: 0px;
}
}
.extraFeatureContent {
.extraFeature {
// height: calc(100% - $mainCardToolbarHeight);
}
}
}
}
//=============================================================================
#extraFeaturesPanel {
@include sliding-panel(right, $settingsPanelWidth);
// transition: right 0.3s ease-in-out;
&.open {
@include sliding-panel-open(right, $settingsPanelWidth);
}
@@ -200,10 +183,11 @@ input[type=text] {
}
&.fullOpen {
// right: 0px;
width: 100%;
.extraFeatureContent {
display: block;
@include flexbox();
@include flex-direction(column);
}
}
@@ -224,10 +208,7 @@ input[type=text] {
& > div {
@include flex(auto);
@include overflow-auto();
// overflow: auto;
}
footer {
@@ -236,32 +217,62 @@ input[type=text] {
}
.extraFeatureContent {
// display: none;
@include flex(auto);
width: 100%;
height: 100%;
// background-color: rgba( 0, 0, 0, 0.95);
background-color: black;
header {
}
.extraFeature {
@include flex(auto);
@include overflow-auto();
@include flexbox();
@include flex-direction(column);
height: 100%;
.header {
@include flex(none);
padding: 20px;
}
.content {
@include flex(auto);
// height: 100%;
padding: 0px 20px 20px 20px;
@include overflow-auto();
}
}
// footer {
// @include flex(none);
// height: 48px;
// width: 100%;
// }
}
}
//.............................................................................
.mainPage.narrow {
#extraFeaturesPanel.fullOpen {
.extraFeatureIndex {
width: 0px;
}
.extraFeatureContent {
header {
@include flex(none);
display: block;
height: 48px;
}
.extraFeature {
}
}
}
}
//=============================================================================
.container {
height: 100%;
width: 100%;