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

Updated edit UI for keeping save/cancel buttons on the bottom of the screen

This commit is contained in:
Giulio Cesare Solaroli
2015-10-01 16:40:05 +02:00
parent 02d4fa0e93
commit 73165361d4
5 changed files with 82 additions and 6 deletions

View File

@@ -512,15 +512,38 @@ div.cardContent {
line-height: $mainCardToolbarHeight;
&.edit {
@include order(1);
@include chromeFix();
li.save {
cursor: default;
background-color: #55aa55;
}
li.cancel {
background-color: #666666;
&:hover {
background-color: #444444;
};
}
&.hasPendingChanges {
li.save {
cursor: pointer;
background-color: #22aa22;
&:hover {
background-color: #1a801a;
};
}
li.cancel {
background-color: #aa2222;
&:hover {
background-color: #dd1111;
};
}
}
}