shorter transitions

This commit is contained in:
Aurélien Delobelle 2017-05-19 14:01:13 +02:00
parent ae27065626
commit 51dca32d05
3 changed files with 10 additions and 3 deletions

View file

@ -71,7 +71,8 @@ textarea {
} }
.btn { .btn {
transition: background-color 0.3s, color 0.3s; transition: background-color, color;
transition-duration: 0.15s;
} }
.btn, .btn-lg, .btn-group-lg>.btn { .btn, .btn-lg, .btn-group-lg>.btn {

View file

@ -237,6 +237,10 @@ input[type=number]::-webkit-outer-spin-button {
font-size:18px; font-size:18px;
font-weight:bold; font-weight:bold;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
} }
#special_operations button:focus, #special_operations button:hover { #special_operations button:focus, #special_operations button:hover {

View file

@ -34,7 +34,8 @@
} }
.navbar-nav a { .navbar-nav a {
transition: background-color 0.3s, color 0.3s; transition: background-color, box-shadow, color;
transition-duration: 0.15s;
} }
.navbar-nav > li > a { .navbar-nav > li > a {
@ -47,6 +48,7 @@
.nav .open > a:focus { .nav .open > a:focus {
background-color: #C8102E; background-color: #C8102E;
color: #FFF; color: #FFF;
box-shadow: inset 0 5px 5px -5px #000;
} }
.navbar-nav .dropdown .dropdown-menu { .navbar-nav .dropdown .dropdown-menu {
@ -70,7 +72,7 @@
display: block; display: block;
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
transition: visibility 0s, opacity 0.3s; transition: opacity 0.15s;
} }
.nav .dropdown:hover .dropdown-menu { .nav .dropdown:hover .dropdown-menu {