feat(app): get rid of transitions

This commit is contained in:
Dmitry Nehaychik 2017-09-21 11:30:26 +03:00
parent 5a16cc3793
commit f01f16768a
5 changed files with 4 additions and 7 deletions

View file

@ -27,14 +27,12 @@
stroke: #bdc4cd; stroke: #bdc4cd;
stroke-miterlimit: 10; stroke-miterlimit: 10;
fill: none; fill: none;
transition: stroke 0.4s ease-out;
} }
.room-bg { .room-bg {
fill: nb-theme(card-bg); fill: nb-theme(card-bg);
stroke: transparent; stroke: transparent;
cursor: pointer; cursor: pointer;
transition: fill 0.4s ease-out;
stroke-width: 4px; stroke-width: 4px;
} }

View file

@ -62,7 +62,6 @@
transform: translateX(-50%); transform: translateX(-50%);
font-size: 3rem; font-size: 3rem;
color: nb-theme(color-fg); color: nb-theme(color-fg);
transition: display 0.3s ease;
&:focus { &:focus {
outline: none; outline: none;

View file

@ -99,7 +99,6 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
opacity: 1; opacity: 1;
transition: 0.2s;
} }
&:hover::before { &:hover::before {

View file

@ -11,7 +11,6 @@
$bevel: btn-hero-bevel(nb-theme(card-bg)); $bevel: btn-hero-bevel(nb-theme(card-bg));
$shadow: nb-theme(btn-hero-shadow); $shadow: nb-theme(btn-hero-shadow);
box-shadow: $bevel, $shadow; box-shadow: $bevel, $shadow;
transition: all 0.1s ease-out;
.icon-container { .icon-container {
height: 100%; height: 100%;
@ -26,7 +25,10 @@
height: 4.75rem; height: 4.75rem;
font-size: 3.75rem; font-size: 3.75rem;
border-radius: nb-theme(card-border-radius); border-radius: nb-theme(card-border-radius);
transition: all 0.1s ease-out, color 0s; transition: width 0.4s ease;
transform: translate3d(0, 0, 0);
-webkit-transform-style: preserve-3d;
-webkit-backface-visibility: hidden;
color: nb-theme(color-white); color: nb-theme(color-white);
&.primary { &.primary {

View file

@ -62,7 +62,6 @@
cursor: pointer; cursor: pointer;
font-size: 3rem; font-size: 3rem;
color: nb-theme(color-fg-heading); color: nb-theme(color-fg-heading);
transition: all 0.1s ease-out;
border: 2px solid nb-theme(separator); border: 2px solid nb-theme(separator);
&:hover { &:hover {