1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 07:49:02 +01:00

Added transition when opening the left panel

This commit is contained in:
Giulio Cesare Solaroli 2015-04-03 16:57:18 +02:00
parent 0863e61631
commit fcfae5f4a4
7 changed files with 135 additions and 114 deletions

View File

@ -128,6 +128,7 @@ http://jonibologna.com/flexbox-cheatsheet/
-ms-transform: rotate(0deg) translate(0, 0);
-o-transform: rotate(0deg) translate(0, 0);
transform: rotate(0deg) translate(0, 0); }
100% {
-webkit-transform: rotate(359deg) translate(0, 0);
-moz-transform: rotate(359deg) translate(0, 0);
@ -141,6 +142,7 @@ http://jonibologna.com/flexbox-cheatsheet/
-ms-transform: rotate(0deg) translate(0, 0);
-o-transform: rotate(0deg) translate(0, 0);
transform: rotate(0deg) translate(0, 0); }
100% {
-webkit-transform: rotate(359deg) translate(0, 0);
-moz-transform: rotate(359deg) translate(0, 0);
@ -154,6 +156,7 @@ http://jonibologna.com/flexbox-cheatsheet/
-ms-transform: rotate(0deg) translate(0, 0);
-o-transform: rotate(0deg) translate(0, 0);
transform: rotate(0deg) translate(0, 0); }
100% {
-webkit-transform: rotate(359deg) translate(0, 0);
-moz-transform: rotate(359deg) translate(0, 0);
@ -167,6 +170,7 @@ http://jonibologna.com/flexbox-cheatsheet/
-ms-transform: rotate(0deg) translate(0, 0);
-o-transform: rotate(0deg) translate(0, 0);
transform: rotate(0deg) translate(0, 0); }
100% {
-webkit-transform: rotate(359deg) translate(0, 0);
-moz-transform: rotate(359deg) translate(0, 0);
@ -469,61 +473,73 @@ div.overlay {
@-webkit-keyframes overlay-spin {
from {
opacity: 1; }
to {
opacity: 0.25; } }
@-moz-keyframes overlay-spin {
from {
opacity: 1; }
to {
opacity: 0.25; } }
@-ms-keyframes overlay-spin {
from {
opacity: 1; }
to {
opacity: 0.25; } }
@keyframes overlay-spin {
from {
opacity: 1; }
to {
opacity: 0.25; } }
@-webkit-keyframes ios-overlay-show {
0% {
opacity: 0; }
100% {
opacity: 1; } }
@-moz-keyframes ios-overlay-show {
0% {
opacity: 0; }
100% {
opacity: 1; } }
@-ms-keyframes ios-overlay-show {
0% {
opacity: 0; }
100% {
opacity: 1; } }
@keyframes ios-overlay-show {
0% {
opacity: 0; }
100% {
opacity: 1; } }
@-webkit-keyframes ios-overlay-hide {
0% {
opacity: 1; }
100% {
opacity: 0; } }
@-moz-keyframes ios-overlay-hide {
0% {
opacity: 1; }
100% {
opacity: 0; } }
@-ms-keyframes ios-overlay-hide {
0% {
opacity: 1; }
100% {
opacity: 0; } }
@keyframes ios-overlay-hide {
0% {
opacity: 1; }
100% {
opacity: 0; } }
/*
@ -620,7 +636,8 @@ html {
width: 250px;
height: 100%;
top: 0;
left: -250px; }
left: -250px;
transition: left 0.3s ease-in-out; }
.mainPage > #selectionPanel.open {
left: 0px; }
@ -669,6 +686,8 @@ html {
flex: none;
cursor: pointer; }
#mainPanel {
left: 0px; }
#mainPanel.extra-wide {
width: 100%;
height: 100%;
@ -711,6 +730,8 @@ html {
visibility: hidden; }
#mainPanel.extra-wide div.addCardButton {
margin-left: 20%; }
#mainPanel.wide {
transition: left 0.3s ease-in-out; }
#mainPanel.wide .container {
width: 100%;
height: 100%;
@ -1492,11 +1513,11 @@ div.dialogBox {
flex: 1;
font-size: 8pt; }
#loginPage div.loginForm footer .applicationVersion span {
color: #999; }
color: #999999; }
#loginPage div.loginForm footer .applicationVersion span:after {
content: ":"; }
#loginPage div.loginForm footer .applicationVersion a {
color: #999;
color: #999999;
text-decoration: none;
padding-left: 5px;
font-weight: bold; }
@ -2011,9 +2032,9 @@ span.count {
display: inline-block;
padding: 10px 16px;
background-color: green;
color: white; }
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button:hover {
color: lightgrey; }
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button:hover {
color: white; }
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled {
background-color: #999; }
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled:hover {
@ -2021,13 +2042,13 @@ span.count {
#extraFeaturesPanel .extraFeatureIndex footer {
font-size: 8pt;
padding: 5px 5px 5px 5px;
border-top: 1px solid #999; }
border-top: 1px solid #999999; }
#extraFeaturesPanel .extraFeatureIndex footer span {
color: #999; }
color: #999999; }
#extraFeaturesPanel .extraFeatureIndex footer span:after {
content: ":"; }
#extraFeaturesPanel .extraFeatureIndex footer a {
color: #999;
color: #999999;
text-decoration: none;
padding-left: 5px;
font-weight: bold; }
@ -2121,7 +2142,7 @@ div.cardList ul {
padding-right: 0px;
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2); }
div.cardList ul li.archived {
background-color: #eee;
background-color: #eeeeee;
color: #999; }
div.cardList ul li .favicon {
width: 48px;
@ -2207,7 +2228,7 @@ div.cardList.narrow {
content: ""; }
#cardDetailPage .view.archived, .cardDetail .view.archived {
background-color: #eee; }
background-color: #eeeeee; }
#cardDetailPage .view .cardDetailToolbar, .cardDetail .view .cardDetailToolbar {
background-color: #1863a1;
color: white; }
@ -2401,7 +2422,7 @@ div.cardList.narrow {
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
background: repeating-linear-gradient(0deg, white, white 2px, #ddd 2px, #ddd 3px);
background: repeating-linear-gradient(0deg, white, white 2px, #dddddd 2px, #dddddd 3px);
width: 28px;
height: 20px;
margin-left: 6px;

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,7 @@ $transition-duration: 0.5s;
top: 0;
left: -$size;
// transition: left 0.3s ease-in-out;
transition: left 0.3s ease-in-out;
}
@mixin sliding-panel-right ($size) {

View File

@ -26,6 +26,7 @@ refer to http://www.clipperz.com.
//
// C l i p p e r z I c o n s
//
// openssl enc -base64 -in ./fonts/clipperz-icons.woff | awk 1 ORS='' | pbcopy
@font-face {
font-family: "clipperz-icons";

View File

@ -87,6 +87,7 @@ html {
#mainPanel {
// background-color: $yellow;
left: 0px;
&.extra-wide {
@include sliding-panel-container();
@ -123,7 +124,7 @@ html {
}
&.wide {
// transition: left 0.3s ease-in-out;
transition: left 0.3s ease-in-out;
.container {
@include sliding-panel-container();
}

View File

@ -46,7 +46,6 @@ This configuration is now located in the first script included in the index_temp
}
}
@media only screen and (min-width: 700px) {
html {
font-family: "wide";

View File

@ -44,7 +44,6 @@ refer to http://www.clipperz.com.
& > div {
border-top: 1px solid white;
& > ul > li {
// padding: 10px;
// padding-right: 0px;
@ -111,10 +110,10 @@ refer to http://www.clipperz.com.
display: inline-block;
padding: 10px 16px;
background-color: green;
color: white;
color: lightgrey;
&:hover {
color: lightgrey;
color: white;
};
&.disabled {