Fixed Password Generator rendering issue

This commit is contained in:
Giulio Cesare Solaroli 2015-08-13 11:44:38 +02:00
parent 431ef1096b
commit a0202493e3
No known key found for this signature in database
GPG Key ID: 22E34C908F02CBA2
3 changed files with 29 additions and 3 deletions

View File

@ -3435,7 +3435,7 @@ div.cardList.narrow {
z-index: 101; } z-index: 101; }
.passwordGenerator .passwordGeneratorBaloon form { .passwordGenerator .passwordGeneratorBaloon form {
position: absolute; position: absolute;
bottom: calc(100% + 4px); bottom: 4px;
left: 0; left: 0;
min-width: 220px; min-width: 220px;
width: 80%; width: 80%;
@ -3447,6 +3447,17 @@ div.cardList.narrow {
border-radius: 6px; border-radius: 6px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
font-size: 9pt; } font-size: 9pt; }
.passwordGenerator .passwordGeneratorBaloon form:after {
content: '';
position: absolute;
top: 100%;
left: 10%;
margin-left: 0px;
width: 0;
height: 0;
border-top: 5px solid #333333;
border-left: 5px solid transparent;
border-right: 5px solid transparent; }
.passwordGenerator .passwordGeneratorBaloon form span { .passwordGenerator .passwordGeneratorBaloon form span {
font-size: 8pt; font-size: 8pt;
color: #ccc; } color: #ccc; }

File diff suppressed because one or more lines are too long

View File

@ -674,7 +674,8 @@ $cardViewBasePadding: 10px;
form { form {
position: absolute; position: absolute;
bottom: calc(100% + 4px); // bottom: calc(100% + 4px);
bottom: 4px;
left: 0; left: 0;
min-width: 220px; min-width: 220px;
width: 80%; width: 80%;
@ -686,6 +687,20 @@ $cardViewBasePadding: 10px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2); box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
font-size: 9pt; font-size: 9pt;
$arrowSize: 5px;
&:after {
content:'';
position:absolute;
top:100%;
left:10%;
margin-left: 0px;
width:0;
height:0;
border-top:$arrowSize solid $passwordBaloonColor;
border-left:$arrowSize solid transparent;
border-right:$arrowSize solid transparent;
}
span { span {
font-size: 8pt; font-size: 8pt;
color: #ccc; color: #ccc;