Added transition when opening the left panel
This commit is contained in:
parent
0863e61631
commit
fcfae5f4a4
@ -128,6 +128,7 @@ http://jonibologna.com/flexbox-cheatsheet/
|
|||||||
-ms-transform: rotate(0deg) translate(0, 0);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-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);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-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);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-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);
|
-ms-transform: rotate(0deg) translate(0, 0);
|
||||||
-o-transform: rotate(0deg) translate(0, 0);
|
-o-transform: rotate(0deg) translate(0, 0);
|
||||||
transform: rotate(0deg) translate(0, 0); }
|
transform: rotate(0deg) translate(0, 0); }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
-webkit-transform: rotate(359deg) translate(0, 0);
|
-webkit-transform: rotate(359deg) translate(0, 0);
|
||||||
-moz-transform: rotate(359deg) translate(0, 0);
|
-moz-transform: rotate(359deg) translate(0, 0);
|
||||||
@ -469,61 +473,73 @@ div.overlay {
|
|||||||
@-webkit-keyframes overlay-spin {
|
@-webkit-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-moz-keyframes overlay-spin {
|
@-moz-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-ms-keyframes overlay-spin {
|
@-ms-keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@keyframes overlay-spin {
|
@keyframes overlay-spin {
|
||||||
from {
|
from {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
to {
|
to {
|
||||||
opacity: 0.25; } }
|
opacity: 0.25; } }
|
||||||
@-webkit-keyframes ios-overlay-show {
|
@-webkit-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-moz-keyframes ios-overlay-show {
|
@-moz-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-ms-keyframes ios-overlay-show {
|
@-ms-keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@keyframes ios-overlay-show {
|
@keyframes ios-overlay-show {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0; }
|
opacity: 0; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1; } }
|
opacity: 1; } }
|
||||||
@-webkit-keyframes ios-overlay-hide {
|
@-webkit-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@-moz-keyframes ios-overlay-hide {
|
@-moz-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@-ms-keyframes ios-overlay-hide {
|
@-ms-keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
@keyframes ios-overlay-hide {
|
@keyframes ios-overlay-hide {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1; }
|
opacity: 1; }
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 0; } }
|
opacity: 0; } }
|
||||||
/*
|
/*
|
||||||
@ -620,7 +636,8 @@ html {
|
|||||||
width: 250px;
|
width: 250px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -250px; }
|
left: -250px;
|
||||||
|
transition: left 0.3s ease-in-out; }
|
||||||
.mainPage > #selectionPanel.open {
|
.mainPage > #selectionPanel.open {
|
||||||
left: 0px; }
|
left: 0px; }
|
||||||
|
|
||||||
@ -669,7 +686,9 @@ html {
|
|||||||
flex: none;
|
flex: none;
|
||||||
cursor: pointer; }
|
cursor: pointer; }
|
||||||
|
|
||||||
#mainPanel.extra-wide {
|
#mainPanel {
|
||||||
|
left: 0px; }
|
||||||
|
#mainPanel.extra-wide {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto; }
|
margin: 0 auto; }
|
||||||
@ -711,15 +730,17 @@ html {
|
|||||||
visibility: hidden; }
|
visibility: hidden; }
|
||||||
#mainPanel.extra-wide div.addCardButton {
|
#mainPanel.extra-wide div.addCardButton {
|
||||||
margin-left: 20%; }
|
margin-left: 20%; }
|
||||||
#mainPanel.wide .container {
|
#mainPanel.wide {
|
||||||
|
transition: left 0.3s ease-in-out; }
|
||||||
|
#mainPanel.wide .container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto; }
|
margin: 0 auto; }
|
||||||
#mainPanel.narrow .container {
|
#mainPanel.narrow .container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto; }
|
margin: 0 auto; }
|
||||||
#mainPanel.narrow .column {
|
#mainPanel.narrow .column {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@ -741,9 +762,9 @@ html {
|
|||||||
#mainPanel.narrow .column.right.transition {
|
#mainPanel.narrow .column.right.transition {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
display: block; }
|
display: block; }
|
||||||
#mainPanel.narrow div.addCardButton {
|
#mainPanel.narrow div.addCardButton {
|
||||||
margin-left: 75%; }
|
margin-left: 75%; }
|
||||||
#mainPanel.open.left {
|
#mainPanel.open.left {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -758,7 +779,7 @@ html {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
background-color: rgba(0, 0, 0, 0.5); }
|
background-color: rgba(0, 0, 0, 0.5); }
|
||||||
#mainPanel.open.right .mask {
|
#mainPanel.open.right .mask {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@ -1492,11 +1513,11 @@ div.dialogBox {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 8pt; }
|
font-size: 8pt; }
|
||||||
#loginPage div.loginForm footer .applicationVersion span {
|
#loginPage div.loginForm footer .applicationVersion span {
|
||||||
color: #999; }
|
color: #999999; }
|
||||||
#loginPage div.loginForm footer .applicationVersion span:after {
|
#loginPage div.loginForm footer .applicationVersion span:after {
|
||||||
content: ":"; }
|
content: ":"; }
|
||||||
#loginPage div.loginForm footer .applicationVersion a {
|
#loginPage div.loginForm footer .applicationVersion a {
|
||||||
color: #999;
|
color: #999999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
@ -2011,9 +2032,9 @@ span.count {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
background-color: green;
|
background-color: green;
|
||||||
color: white; }
|
|
||||||
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button:hover {
|
|
||||||
color: lightgrey; }
|
color: lightgrey; }
|
||||||
|
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button:hover {
|
||||||
|
color: white; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled {
|
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled {
|
||||||
background-color: #999; }
|
background-color: #999; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled:hover {
|
#extraFeaturesPanel .extraFeatureIndex > div ul li a.button.disabled:hover {
|
||||||
@ -2021,13 +2042,13 @@ span.count {
|
|||||||
#extraFeaturesPanel .extraFeatureIndex footer {
|
#extraFeaturesPanel .extraFeatureIndex footer {
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
padding: 5px 5px 5px 5px;
|
padding: 5px 5px 5px 5px;
|
||||||
border-top: 1px solid #999; }
|
border-top: 1px solid #999999; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer span {
|
#extraFeaturesPanel .extraFeatureIndex footer span {
|
||||||
color: #999; }
|
color: #999999; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer span:after {
|
#extraFeaturesPanel .extraFeatureIndex footer span:after {
|
||||||
content: ":"; }
|
content: ":"; }
|
||||||
#extraFeaturesPanel .extraFeatureIndex footer a {
|
#extraFeaturesPanel .extraFeatureIndex footer a {
|
||||||
color: #999;
|
color: #999999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
font-weight: bold; }
|
font-weight: bold; }
|
||||||
@ -2121,7 +2142,7 @@ div.cardList ul {
|
|||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2); }
|
box-shadow: -4px 0px 3px -1px rgba(0, 0, 0, 0.2); }
|
||||||
div.cardList ul li.archived {
|
div.cardList ul li.archived {
|
||||||
background-color: #eee;
|
background-color: #eeeeee;
|
||||||
color: #999; }
|
color: #999; }
|
||||||
div.cardList ul li .favicon {
|
div.cardList ul li .favicon {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
@ -2207,7 +2228,7 @@ div.cardList.narrow {
|
|||||||
content: ""; }
|
content: ""; }
|
||||||
|
|
||||||
#cardDetailPage .view.archived, .cardDetail .view.archived {
|
#cardDetailPage .view.archived, .cardDetail .view.archived {
|
||||||
background-color: #eee; }
|
background-color: #eeeeee; }
|
||||||
#cardDetailPage .view .cardDetailToolbar, .cardDetail .view .cardDetailToolbar {
|
#cardDetailPage .view .cardDetailToolbar, .cardDetail .view .cardDetailToolbar {
|
||||||
background-color: #1863a1;
|
background-color: #1863a1;
|
||||||
color: white; }
|
color: white; }
|
||||||
@ -2401,7 +2422,7 @@ div.cardList.narrow {
|
|||||||
cursor: grab;
|
cursor: grab;
|
||||||
cursor: -moz-grab;
|
cursor: -moz-grab;
|
||||||
cursor: -webkit-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;
|
width: 28px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -64,7 +64,7 @@ $transition-duration: 0.5s;
|
|||||||
|
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -$size;
|
left: -$size;
|
||||||
// transition: left 0.3s ease-in-out;
|
transition: left 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin sliding-panel-right ($size) {
|
@mixin sliding-panel-right ($size) {
|
||||||
|
@ -26,6 +26,7 @@ refer to http://www.clipperz.com.
|
|||||||
//
|
//
|
||||||
// C l i p p e r z I c o n s
|
// 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-face {
|
||||||
font-family: "clipperz-icons";
|
font-family: "clipperz-icons";
|
||||||
|
@ -87,6 +87,7 @@ html {
|
|||||||
|
|
||||||
#mainPanel {
|
#mainPanel {
|
||||||
// background-color: $yellow;
|
// background-color: $yellow;
|
||||||
|
left: 0px;
|
||||||
|
|
||||||
&.extra-wide {
|
&.extra-wide {
|
||||||
@include sliding-panel-container();
|
@include sliding-panel-container();
|
||||||
@ -123,7 +124,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.wide {
|
&.wide {
|
||||||
// transition: left 0.3s ease-in-out;
|
transition: left 0.3s ease-in-out;
|
||||||
.container {
|
.container {
|
||||||
@include sliding-panel-container();
|
@include sliding-panel-container();
|
||||||
}
|
}
|
||||||
|
@ -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) {
|
@media only screen and (min-width: 700px) {
|
||||||
html {
|
html {
|
||||||
font-family: "wide";
|
font-family: "wide";
|
||||||
|
@ -44,7 +44,6 @@ refer to http://www.clipperz.com.
|
|||||||
& > div {
|
& > div {
|
||||||
border-top: 1px solid white;
|
border-top: 1px solid white;
|
||||||
|
|
||||||
|
|
||||||
& > ul > li {
|
& > ul > li {
|
||||||
// padding: 10px;
|
// padding: 10px;
|
||||||
// padding-right: 0px;
|
// padding-right: 0px;
|
||||||
@ -111,10 +110,10 @@ refer to http://www.clipperz.com.
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
background-color: green;
|
background-color: green;
|
||||||
color: white;
|
color: lightgrey;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: lightgrey;
|
color: white;
|
||||||
};
|
};
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
@ -166,7 +165,7 @@ refer to http://www.clipperz.com.
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user