added some focus effect on some buttons

This commit is contained in:
FezVrasta 2014-10-06 16:09:25 +02:00
parent a54e9ca7e6
commit 53ff7c3073
9 changed files with 289 additions and 307 deletions

View File

@ -1914,10 +1914,12 @@ body .jumbotron-material-lightgrey,
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
outline: none !important;
}
.btn:hover {
.btn:hover,
.btn:focus {
color: rgba(255, 255, 255, 0.84);
}
.btn:hover:not(.btn-link) {
.btn:hover:not(.btn-link),
.btn:focus:not(.btn-link) {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.28);
}
.btn:active:not(.btn-link) {
@ -2000,11 +2002,16 @@ body .jumbotron-material-lightgrey,
}
.btn-link:hover,
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn-link:focus,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
color: rgba(0, 0, 0, 0.84);
}
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
background-color: rgba(255, 255, 255, 0.5);
}
.btn-raised {
@ -2088,7 +2095,8 @@ body .jumbotron-material-lightgrey,
.btn-flat {
box-shadow: none !important;
}
.btn-flat.btn-default:hover {
.btn-flat.btn-default:hover,
.btn-flat.btn-default:focus {
background: none;
}
.btn-group,
@ -2143,96 +2151,120 @@ body .jumbotron-material-lightgrey,
}
.btn-fab,
.btn-fab:hover,
.btn-fab:focus,
.btn-fab-default,
.btn-fab:hover-default {
.btn-fab:hover-default,
.btn-fab:focus-default {
background-color: transparent;
}
.btn-fab-primary,
.btn-fab:hover-primary {
.btn-fab:hover-primary,
.btn-fab:focus-primary {
background-color: #4285f4;
}
.btn-fab-success,
.btn-fab:hover-success {
.btn-fab:hover-success,
.btn-fab:focus-success {
background-color: #0f9d58;
}
.btn-fab-info,
.btn-fab:hover-info {
.btn-fab:hover-info,
.btn-fab:focus-info {
background-color: #03a9f4;
}
.btn-fab-warning,
.btn-fab:hover-warning {
.btn-fab:hover-warning,
.btn-fab:focus-warning {
background-color: #ff5722;
}
.btn-fab-danger,
.btn-fab:hover-danger {
.btn-fab:hover-danger,
.btn-fab:focus-danger {
background-color: #f44336;
}
.btn-fab-material-red,
.btn-fab:hover-material-red {
.btn-fab:hover-material-red,
.btn-fab:focus-material-red {
background-color: #f44336;
}
.btn-fab-material-pink,
.btn-fab:hover-material-pink {
.btn-fab:hover-material-pink,
.btn-fab:focus-material-pink {
background-color: #e91e63;
}
.btn-fab-material-purple,
.btn-fab:hover-material-purple {
.btn-fab:hover-material-purple,
.btn-fab:focus-material-purple {
background-color: #9c27b0;
}
.btn-fab-material-deeppurple,
.btn-fab:hover-material-deeppurple {
.btn-fab:hover-material-deeppurple,
.btn-fab:focus-material-deeppurple {
background-color: #673ab7;
}
.btn-fab-material-indigo,
.btn-fab:hover-material-indigo {
.btn-fab:hover-material-indigo,
.btn-fab:focus-material-indigo {
background-color: #3f51b5;
}
.btn-fab-material-lightblue,
.btn-fab:hover-material-lightblue {
.btn-fab:hover-material-lightblue,
.btn-fab:focus-material-lightblue {
background-color: #03a9f4;
}
.btn-fab-material-cyan,
.btn-fab:hover-material-cyan {
.btn-fab:hover-material-cyan,
.btn-fab:focus-material-cyan {
background-color: #00bcd4;
}
.btn-fab-material-teal,
.btn-fab:hover-material-teal {
.btn-fab:hover-material-teal,
.btn-fab:focus-material-teal {
background-color: #009688;
}
.btn-fab-material-lightgreen,
.btn-fab:hover-material-lightgreen {
.btn-fab:hover-material-lightgreen,
.btn-fab:focus-material-lightgreen {
background-color: #8bc34a;
}
.btn-fab-material-lime,
.btn-fab:hover-material-lime {
.btn-fab:hover-material-lime,
.btn-fab:focus-material-lime {
background-color: #cddc39;
}
.btn-fab-material-lightyellow,
.btn-fab:hover-material-lightyellow {
.btn-fab:hover-material-lightyellow,
.btn-fab:focus-material-lightyellow {
background-color: #ffeb3b;
}
.btn-fab-material-orange,
.btn-fab:hover-material-orange {
.btn-fab:hover-material-orange,
.btn-fab:focus-material-orange {
background-color: #ff9800;
}
.btn-fab-material-deeporange,
.btn-fab:hover-material-deeporange {
.btn-fab:hover-material-deeporange,
.btn-fab:focus-material-deeporange {
background-color: #ff5722;
}
.btn-fab-material-grey,
.btn-fab:hover-material-grey {
.btn-fab:hover-material-grey,
.btn-fab:focus-material-grey {
background-color: #9e9e9e;
}
.btn-fab-material-bluegrey,
.btn-fab:hover-material-bluegrey {
.btn-fab:hover-material-bluegrey,
.btn-fab:focus-material-bluegrey {
background-color: #607d8b;
}
.btn-fab-material-brown,
.btn-fab:hover-material-brown {
.btn-fab:hover-material-brown,
.btn-fab:focus-material-brown {
background-color: #795548;
}
.btn-fab-material-lightgrey,
.btn-fab:hover-material-lightgrey {
.btn-fab:hover-material-lightgrey,
.btn-fab:focus-material-lightgrey {
background-color: #ececec;
}
.btn-fab,

File diff suppressed because one or more lines are too long

234
dist/css/material.css vendored
View File

@ -1492,20 +1492,6 @@
.icon-material-web22:before {
content: "\e7e9";
}
@-webkit-keyframes input-highlight {
0% {
left: 20%;
width: 20%;
}
99% {
width: 0;
left: 0;
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes input-highlight {
0% {
left: 20%;
@ -1909,14 +1895,15 @@ body .jumbotron-material-lightgrey,
text-transform: uppercase;
text-decoration: none;
color: rgba(255, 255, 255, 0.84);
-webkit-transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
outline: none !important;
}
.btn:hover {
.btn:hover,
.btn:focus {
color: rgba(255, 255, 255, 0.84);
}
.btn:hover:not(.btn-link) {
.btn:hover:not(.btn-link),
.btn:focus:not(.btn-link) {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.28);
}
.btn:active:not(.btn-link) {
@ -1999,16 +1986,20 @@ body .jumbotron-material-lightgrey,
}
.btn-link:hover,
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn-link:focus,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
color: rgba(0, 0, 0, 0.84);
}
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
background-color: rgba(255, 255, 255, 0.5);
}
.btn-raised {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
-webkit-transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-raised:active:not(.btn-link) {
@ -2087,7 +2078,8 @@ body .jumbotron-material-lightgrey,
.btn-flat {
box-shadow: none !important;
}
.btn-flat.btn-default:hover {
.btn-flat.btn-default:hover,
.btn-flat.btn-default:focus {
background: none;
}
.btn-group,
@ -2096,7 +2088,6 @@ body .jumbotron-material-lightgrey,
border-radius: 4px;
margin: 10px 1px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
-webkit-transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-group:active:not(.btn-link),
@ -2110,7 +2101,6 @@ body .jumbotron-material-lightgrey,
.btn-group.btn-group-raised,
.btn-group-vertical.btn-group-raised {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
-webkit-transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-group.btn-group-raised:active:not(.btn-link),
@ -2142,96 +2132,120 @@ body .jumbotron-material-lightgrey,
}
.btn-fab,
.btn-fab:hover,
.btn-fab:focus,
.btn-fab-default,
.btn-fab:hover-default {
.btn-fab:hover-default,
.btn-fab:focus-default {
background-color: transparent;
}
.btn-fab-primary,
.btn-fab:hover-primary {
.btn-fab:hover-primary,
.btn-fab:focus-primary {
background-color: #4285f4;
}
.btn-fab-success,
.btn-fab:hover-success {
.btn-fab:hover-success,
.btn-fab:focus-success {
background-color: #0f9d58;
}
.btn-fab-info,
.btn-fab:hover-info {
.btn-fab:hover-info,
.btn-fab:focus-info {
background-color: #03a9f4;
}
.btn-fab-warning,
.btn-fab:hover-warning {
.btn-fab:hover-warning,
.btn-fab:focus-warning {
background-color: #ff5722;
}
.btn-fab-danger,
.btn-fab:hover-danger {
.btn-fab:hover-danger,
.btn-fab:focus-danger {
background-color: #f44336;
}
.btn-fab-material-red,
.btn-fab:hover-material-red {
.btn-fab:hover-material-red,
.btn-fab:focus-material-red {
background-color: #f44336;
}
.btn-fab-material-pink,
.btn-fab:hover-material-pink {
.btn-fab:hover-material-pink,
.btn-fab:focus-material-pink {
background-color: #e91e63;
}
.btn-fab-material-purple,
.btn-fab:hover-material-purple {
.btn-fab:hover-material-purple,
.btn-fab:focus-material-purple {
background-color: #9c27b0;
}
.btn-fab-material-deeppurple,
.btn-fab:hover-material-deeppurple {
.btn-fab:hover-material-deeppurple,
.btn-fab:focus-material-deeppurple {
background-color: #673ab7;
}
.btn-fab-material-indigo,
.btn-fab:hover-material-indigo {
.btn-fab:hover-material-indigo,
.btn-fab:focus-material-indigo {
background-color: #3f51b5;
}
.btn-fab-material-lightblue,
.btn-fab:hover-material-lightblue {
.btn-fab:hover-material-lightblue,
.btn-fab:focus-material-lightblue {
background-color: #03a9f4;
}
.btn-fab-material-cyan,
.btn-fab:hover-material-cyan {
.btn-fab:hover-material-cyan,
.btn-fab:focus-material-cyan {
background-color: #00bcd4;
}
.btn-fab-material-teal,
.btn-fab:hover-material-teal {
.btn-fab:hover-material-teal,
.btn-fab:focus-material-teal {
background-color: #009688;
}
.btn-fab-material-lightgreen,
.btn-fab:hover-material-lightgreen {
.btn-fab:hover-material-lightgreen,
.btn-fab:focus-material-lightgreen {
background-color: #8bc34a;
}
.btn-fab-material-lime,
.btn-fab:hover-material-lime {
.btn-fab:hover-material-lime,
.btn-fab:focus-material-lime {
background-color: #cddc39;
}
.btn-fab-material-lightyellow,
.btn-fab:hover-material-lightyellow {
.btn-fab:hover-material-lightyellow,
.btn-fab:focus-material-lightyellow {
background-color: #ffeb3b;
}
.btn-fab-material-orange,
.btn-fab:hover-material-orange {
.btn-fab:hover-material-orange,
.btn-fab:focus-material-orange {
background-color: #ff9800;
}
.btn-fab-material-deeporange,
.btn-fab:hover-material-deeporange {
.btn-fab:hover-material-deeporange,
.btn-fab:focus-material-deeporange {
background-color: #ff5722;
}
.btn-fab-material-grey,
.btn-fab:hover-material-grey {
.btn-fab:hover-material-grey,
.btn-fab:focus-material-grey {
background-color: #9e9e9e;
}
.btn-fab-material-bluegrey,
.btn-fab:hover-material-bluegrey {
.btn-fab:hover-material-bluegrey,
.btn-fab:focus-material-bluegrey {
background-color: #607d8b;
}
.btn-fab-material-brown,
.btn-fab:hover-material-brown {
.btn-fab:hover-material-brown,
.btn-fab:focus-material-brown {
background-color: #795548;
}
.btn-fab-material-lightgrey,
.btn-fab:hover-material-lightgrey {
.btn-fab:hover-material-lightgrey,
.btn-fab:focus-material-lightgrey {
background-color: #ececec;
}
.btn-fab,
@ -2256,7 +2270,6 @@ body .jumbotron-material-lightgrey,
display: block;
position: absolute;
left: 0px;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
}
.checkbox label .check {
@ -2287,8 +2300,6 @@ body .jumbotron-material-lightgrey,
.checkbox label .check:before {
position: absolute;
content: "";
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
display: block;
margin-top: -4px;
@ -2302,7 +2313,6 @@ body .jumbotron-material-lightgrey,
0 0 0 0,
0 0 0 0,
0px 0px 0 0px inset;
-webkit-animation: checkbox-off 0.3s linear forwards;
animation: checkbox-off 0.3s linear forwards;
}
.checkbox input[type=checkbox] {
@ -2313,20 +2323,16 @@ body .jumbotron-material-lightgrey,
}
.checkbox input[type=checkbox]:checked ~ .check:before {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
-webkit-animation: checkbox-on 0.3s linear forwards;
animation: checkbox-on 0.3s linear forwards;
}
.checkbox input[type=checkbox]:not(:checked) ~ .check:after {
-webkit-animation: rippleOff 500ms linear forwards;
animation: rippleOff 500ms linear forwards;
}
.checkbox input[type=checkbox]:checked ~ .check:after {
-webkit-animation: rippleOn 500ms linear forwards;
animation: rippleOn 500ms linear forwards;
}
.checkbox:not(:hover) input[type=checkbox] ~ .check:before,
.checkbox:not(:hover) input[type=checkbox] ~ .check:after {
-webkit-animation-duration: 1ms;
animation-duration: 1ms;
}
.checkbox input[type=checkbox][disabled]:not(:checked) ~ .check:before {
@ -2334,8 +2340,6 @@ body .jumbotron-material-lightgrey,
}
.checkbox input[type=checkbox][disabled] ~ .check:after {
background-color: rgba(0, 0, 0, 0.84);
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.checkbox input[type=checkbox]:checked ~ .check:after,
@ -2548,17 +2552,6 @@ body .jumbotron-material-lightgrey,
.checkbox-material-lightgrey input[type=checkbox]:checked ~ .check {
color: #ececec;
}
@-webkit-keyframes checkbox-on {
0% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px;
}
50% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px;
}
100% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
}
}
@keyframes checkbox-on {
0% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px;
@ -2570,53 +2563,6 @@ body .jumbotron-material-lightgrey,
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
}
}
@-webkit-keyframes checkbox-off {
0% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
}
25% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
}
50% {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin-top: -4px;
margin-left: 6px;
width: 0px;
height: 0px;
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset;
}
51% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
margin-top: -2px;
margin-left: -2px;
width: 20px;
height: 20px;
box-shadow: 0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0px 0px 0 10px inset;
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
margin-top: -2px;
margin-left: -2px;
width: 20px;
height: 20px;
box-shadow: 0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0 0 0 0,
0px 0px 0 0px inset;
}
}
@keyframes checkbox-off {
0% {
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
@ -2625,7 +2571,6 @@ body .jumbotron-material-lightgrey,
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
}
50% {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
margin-top: -4px;
margin-left: 6px;
@ -2634,7 +2579,6 @@ body .jumbotron-material-lightgrey,
box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset;
}
51% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
margin-top: -2px;
margin-left: -2px;
@ -2649,7 +2593,6 @@ body .jumbotron-material-lightgrey,
0px 0px 0 10px inset;
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
margin-top: -2px;
margin-left: -2px;
@ -2677,7 +2620,6 @@ body .jumbotron-material-lightgrey,
position: absolute;
left: 10px;
top: 2px;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s;
}
.radio label .circle {
@ -2691,8 +2633,6 @@ body .jumbotron-material-lightgrey,
width: 15px;
border-radius: 100%;
background-color: rgba(0, 0, 0, 0.84);
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0);
}
.radio label .check:after {
@ -2708,16 +2648,12 @@ body .jumbotron-material-lightgrey,
z-index: 1;
opacity: 0;
margin: 0;
-webkit-transform: scale(1.5);
-ms-transform: scale(1.5);
transform: scale(1.5);
}
.radio label input[type=radio]:not(:checked) ~ .check:after {
-webkit-animation: rippleOff 500ms;
animation: rippleOff 500ms;
}
.radio label input[type=radio]:checked ~ .check:after {
-webkit-animation: rippleOn 500ms;
animation: rippleOn 500ms;
}
.radio input[type=radio]:checked ~ .check,
@ -2868,8 +2804,6 @@ body .jumbotron-material-lightgrey,
display: none;
}
.radio input[type=radio]:checked ~ .check {
-webkit-transform: scale(0.55);
-ms-transform: scale(0.55);
transform: scale(0.55);
}
.radio input[type=radio][disabled] ~ .circle {
@ -2878,17 +2812,6 @@ body .jumbotron-material-lightgrey,
.radio input[type=radio][disabled] ~ .check {
background-color: rgba(0, 0, 0, 0.84);
}
@-webkit-keyframes rippleOn {
0% {
opacity: 0;
}
50% {
opacity: 0.2;
}
100% {
opacity: 0;
}
}
@keyframes rippleOn {
0% {
opacity: 0;
@ -2900,17 +2823,6 @@ body .jumbotron-material-lightgrey,
opacity: 0;
}
}
@-webkit-keyframes rippleOff {
0% {
opacity: 0;
}
50% {
opacity: 0.2;
}
100% {
opacity: 0;
}
}
@keyframes rippleOff {
0% {
opacity: 0;
@ -2984,7 +2896,6 @@ select[multiple].form-control.focus {
pointer-events: none;
left: 0px;
top: 5px;
-webkit-transition: 0.2s ease all;
transition: 0.2s ease all;
opacity: 0;
}
@ -3018,18 +2929,12 @@ select[multiple].form-control.focus {
height: 2px;
background-color: #5264ae;
bottom: -1px;
-webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0);
-webkit-transition: -webkit-transform 0s;
transition: transform 0s;
}
.form-control-wrapper .form-control:focus ~ .material-input:before,
.form-control-wrapper .form-control.focus ~ .material-input:before {
-webkit-transform: scaleX(1);
-ms-transform: scaleX(1);
transform: scaleX(1);
-webkit-transition: -webkit-transform 0.2s ease-out;
transition: transform 0.2s ease-out;
}
.form-control-wrapper .material-input:after {
@ -3042,8 +2947,6 @@ select[multiple].form-control.focus {
left: 0;
pointer-events: none;
opacity: 0.9;
-webkit-transform-origin: left;
-ms-transform-origin: left;
transform-origin: left;
}
.form-control-wrapper .input-lg ~ .material-input:after {
@ -3057,9 +2960,7 @@ select[multiple].form-control.focus {
}
.form-control-wrapper .form-control:focus ~ .material-input:after,
.form-control-wrapper .form-control.focus ~ .material-input:after {
-webkit-animation: input-highlight 0.3s ease;
animation: input-highlight 0.3s ease;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
opacity: 0;
}
@ -3480,11 +3381,9 @@ select.form-control.focus {
@keyframes input-highlight {
0% {
left: 20%;
-webkit-transform: scaleX(20%);
transform: scaleX(20%);
}
99% {
-webkit-transform: scaleX(0);
transform: scaleX(0);
left: 0;
opacity: 1;
@ -4206,20 +4105,14 @@ fieldset[disabled] .navbar .btn-link:focus {
border-radius: 2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
height: 0;
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, padding 0 linear 0.2s, height 0 linear 0.2s;
-webkit-transform: translateY(200%);
-ms-transform: translateY(200%);
transform: translateY(200%);
}
.snackbar.snackbar-opened {
padding: 14px 15px;
margin-bottom: 20px;
height: auto;
-webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s, height 0 linear 0.2s;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
.snackbar.toast {
@ -4229,9 +4122,6 @@ fieldset[disabled] .navbar .btn-link:focus {
.noUi-target * {
-webkit-touch-callout: none;
-ms-touch-action: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: border-box;
}
@ -4259,7 +4149,6 @@ fieldset[disabled] .navbar .btn-link:focus {
*z-index: -1;
}
.noUi-state-tap .noUi-origin {
-webkit-transition: left 0.3s, top 0.3s;
transition: left 0.3s, top 0.3s;
}
.noUi-state-drag * {
@ -4304,7 +4193,6 @@ fieldset[disabled] .navbar .btn-link:focus {
.noUi-handle {
border-radius: 100%;
cursor: default;
-webkit-transition: all 0.2s ease-out;
transition: all 0.2s ease-out;
border: 1px solid;
}
@ -4313,8 +4201,6 @@ fieldset[disabled] .navbar .btn-link:focus {
margin: 15px 0;
}
.noUi-horizontal .noUi-handle.noUi-active {
-webkit-transform: scale(2.5);
-ms-transform: scale(2.5);
transform: scale(2.5);
}
[disabled].noUi-slider {

File diff suppressed because one or more lines are too long

View File

@ -20,10 +20,10 @@
text-decoration: none;
color: @darkbg-text;
&:hover {
&:hover, &:focus {
color: @darkbg-text;
}
&:hover:not(.btn-link) {
&:hover:not(.btn-link), &:focus:not(.btn-link) {
.shadow-z-2-hover();
}
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
@ -38,12 +38,12 @@
// This is needed to style buttons which has not a variation suffix (they must stiled as btn-default)
.btn-link, .btn:not([class^="btn btn-"]), .btn-default {
color: @lightbg-text;
&:hover {
&:hover, &:focus {
color: @lightbg-text;
}
}
.btn:not([class^="btn btn-"]), .btn-default {
&:hover {
&:hover, &:focus {
background-color: rgba(255,255,255,0.5);
}
}
@ -57,7 +57,7 @@
}
.btn-flat {
box-shadow: none !important;
&.btn-default:hover {
&.btn-default:hover, &.btn-default:focus {
background: none;
}
}
@ -92,7 +92,7 @@
font-size: 26px;
width: 56px;
height: 56px;
&, &:hover {
&, &:hover, &:focus {
.variations(~"", background-color, transparent);
}
&, .ripple-wrapper {

View File

@ -1914,10 +1914,12 @@ body .jumbotron-material-lightgrey,
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
outline: none !important;
}
.btn:hover {
.btn:hover,
.btn:focus {
color: rgba(255, 255, 255, 0.84);
}
.btn:hover:not(.btn-link) {
.btn:hover:not(.btn-link),
.btn:focus:not(.btn-link) {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.28);
}
.btn:active:not(.btn-link) {
@ -2000,11 +2002,16 @@ body .jumbotron-material-lightgrey,
}
.btn-link:hover,
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn-link:focus,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
color: rgba(0, 0, 0, 0.84);
}
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
background-color: rgba(255, 255, 255, 0.5);
}
.btn-raised {
@ -2088,7 +2095,8 @@ body .jumbotron-material-lightgrey,
.btn-flat {
box-shadow: none !important;
}
.btn-flat.btn-default:hover {
.btn-flat.btn-default:hover,
.btn-flat.btn-default:focus {
background: none;
}
.btn-group,
@ -2143,96 +2151,120 @@ body .jumbotron-material-lightgrey,
}
.btn-fab,
.btn-fab:hover,
.btn-fab:focus,
.btn-fab-default,
.btn-fab:hover-default {
.btn-fab:hover-default,
.btn-fab:focus-default {
background-color: transparent;
}
.btn-fab-primary,
.btn-fab:hover-primary {
.btn-fab:hover-primary,
.btn-fab:focus-primary {
background-color: #4285f4;
}
.btn-fab-success,
.btn-fab:hover-success {
.btn-fab:hover-success,
.btn-fab:focus-success {
background-color: #0f9d58;
}
.btn-fab-info,
.btn-fab:hover-info {
.btn-fab:hover-info,
.btn-fab:focus-info {
background-color: #03a9f4;
}
.btn-fab-warning,
.btn-fab:hover-warning {
.btn-fab:hover-warning,
.btn-fab:focus-warning {
background-color: #ff5722;
}
.btn-fab-danger,
.btn-fab:hover-danger {
.btn-fab:hover-danger,
.btn-fab:focus-danger {
background-color: #f44336;
}
.btn-fab-material-red,
.btn-fab:hover-material-red {
.btn-fab:hover-material-red,
.btn-fab:focus-material-red {
background-color: #f44336;
}
.btn-fab-material-pink,
.btn-fab:hover-material-pink {
.btn-fab:hover-material-pink,
.btn-fab:focus-material-pink {
background-color: #e91e63;
}
.btn-fab-material-purple,
.btn-fab:hover-material-purple {
.btn-fab:hover-material-purple,
.btn-fab:focus-material-purple {
background-color: #9c27b0;
}
.btn-fab-material-deeppurple,
.btn-fab:hover-material-deeppurple {
.btn-fab:hover-material-deeppurple,
.btn-fab:focus-material-deeppurple {
background-color: #673ab7;
}
.btn-fab-material-indigo,
.btn-fab:hover-material-indigo {
.btn-fab:hover-material-indigo,
.btn-fab:focus-material-indigo {
background-color: #3f51b5;
}
.btn-fab-material-lightblue,
.btn-fab:hover-material-lightblue {
.btn-fab:hover-material-lightblue,
.btn-fab:focus-material-lightblue {
background-color: #03a9f4;
}
.btn-fab-material-cyan,
.btn-fab:hover-material-cyan {
.btn-fab:hover-material-cyan,
.btn-fab:focus-material-cyan {
background-color: #00bcd4;
}
.btn-fab-material-teal,
.btn-fab:hover-material-teal {
.btn-fab:hover-material-teal,
.btn-fab:focus-material-teal {
background-color: #009688;
}
.btn-fab-material-lightgreen,
.btn-fab:hover-material-lightgreen {
.btn-fab:hover-material-lightgreen,
.btn-fab:focus-material-lightgreen {
background-color: #8bc34a;
}
.btn-fab-material-lime,
.btn-fab:hover-material-lime {
.btn-fab:hover-material-lime,
.btn-fab:focus-material-lime {
background-color: #cddc39;
}
.btn-fab-material-lightyellow,
.btn-fab:hover-material-lightyellow {
.btn-fab:hover-material-lightyellow,
.btn-fab:focus-material-lightyellow {
background-color: #ffeb3b;
}
.btn-fab-material-orange,
.btn-fab:hover-material-orange {
.btn-fab:hover-material-orange,
.btn-fab:focus-material-orange {
background-color: #ff9800;
}
.btn-fab-material-deeporange,
.btn-fab:hover-material-deeporange {
.btn-fab:hover-material-deeporange,
.btn-fab:focus-material-deeporange {
background-color: #ff5722;
}
.btn-fab-material-grey,
.btn-fab:hover-material-grey {
.btn-fab:hover-material-grey,
.btn-fab:focus-material-grey {
background-color: #9e9e9e;
}
.btn-fab-material-bluegrey,
.btn-fab:hover-material-bluegrey {
.btn-fab:hover-material-bluegrey,
.btn-fab:focus-material-bluegrey {
background-color: #607d8b;
}
.btn-fab-material-brown,
.btn-fab:hover-material-brown {
.btn-fab:hover-material-brown,
.btn-fab:focus-material-brown {
background-color: #795548;
}
.btn-fab-material-lightgrey,
.btn-fab:hover-material-lightgrey {
.btn-fab:hover-material-lightgrey,
.btn-fab:focus-material-lightgrey {
background-color: #ececec;
}
.btn-fab,

File diff suppressed because one or more lines are too long

View File

@ -1913,10 +1913,12 @@ body .jumbotron-material-lightgrey,
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
outline: none !important;
}
.btn:hover {
.btn:hover,
.btn:focus {
color: rgba(255, 255, 255, 0.84);
}
.btn:hover:not(.btn-link) {
.btn:hover:not(.btn-link),
.btn:focus:not(.btn-link) {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.28);
}
.btn:active:not(.btn-link) {
@ -1999,11 +2001,16 @@ body .jumbotron-material-lightgrey,
}
.btn-link:hover,
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn-link:focus,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
color: rgba(0, 0, 0, 0.84);
}
.btn:not([class^="btn btn-"]):hover,
.btn-default:hover {
.btn-default:hover,
.btn:not([class^="btn btn-"]):focus,
.btn-default:focus {
background-color: rgba(255, 255, 255, 0.5);
}
.btn-raised {
@ -2087,7 +2094,8 @@ body .jumbotron-material-lightgrey,
.btn-flat {
box-shadow: none !important;
}
.btn-flat.btn-default:hover {
.btn-flat.btn-default:hover,
.btn-flat.btn-default:focus {
background: none;
}
.btn-group,
@ -2142,96 +2150,120 @@ body .jumbotron-material-lightgrey,
}
.btn-fab,
.btn-fab:hover,
.btn-fab:focus,
.btn-fab-default,
.btn-fab:hover-default {
.btn-fab:hover-default,
.btn-fab:focus-default {
background-color: transparent;
}
.btn-fab-primary,
.btn-fab:hover-primary {
.btn-fab:hover-primary,
.btn-fab:focus-primary {
background-color: #4285f4;
}
.btn-fab-success,
.btn-fab:hover-success {
.btn-fab:hover-success,
.btn-fab:focus-success {
background-color: #0f9d58;
}
.btn-fab-info,
.btn-fab:hover-info {
.btn-fab:hover-info,
.btn-fab:focus-info {
background-color: #03a9f4;
}
.btn-fab-warning,
.btn-fab:hover-warning {
.btn-fab:hover-warning,
.btn-fab:focus-warning {
background-color: #ff5722;
}
.btn-fab-danger,
.btn-fab:hover-danger {
.btn-fab:hover-danger,
.btn-fab:focus-danger {
background-color: #f44336;
}
.btn-fab-material-red,
.btn-fab:hover-material-red {
.btn-fab:hover-material-red,
.btn-fab:focus-material-red {
background-color: #f44336;
}
.btn-fab-material-pink,
.btn-fab:hover-material-pink {
.btn-fab:hover-material-pink,
.btn-fab:focus-material-pink {
background-color: #e91e63;
}
.btn-fab-material-purple,
.btn-fab:hover-material-purple {
.btn-fab:hover-material-purple,
.btn-fab:focus-material-purple {
background-color: #9c27b0;
}
.btn-fab-material-deeppurple,
.btn-fab:hover-material-deeppurple {
.btn-fab:hover-material-deeppurple,
.btn-fab:focus-material-deeppurple {
background-color: #673ab7;
}
.btn-fab-material-indigo,
.btn-fab:hover-material-indigo {
.btn-fab:hover-material-indigo,
.btn-fab:focus-material-indigo {
background-color: #3f51b5;
}
.btn-fab-material-lightblue,
.btn-fab:hover-material-lightblue {
.btn-fab:hover-material-lightblue,
.btn-fab:focus-material-lightblue {
background-color: #03a9f4;
}
.btn-fab-material-cyan,
.btn-fab:hover-material-cyan {
.btn-fab:hover-material-cyan,
.btn-fab:focus-material-cyan {
background-color: #00bcd4;
}
.btn-fab-material-teal,
.btn-fab:hover-material-teal {
.btn-fab:hover-material-teal,
.btn-fab:focus-material-teal {
background-color: #009688;
}
.btn-fab-material-lightgreen,
.btn-fab:hover-material-lightgreen {
.btn-fab:hover-material-lightgreen,
.btn-fab:focus-material-lightgreen {
background-color: #8bc34a;
}
.btn-fab-material-lime,
.btn-fab:hover-material-lime {
.btn-fab:hover-material-lime,
.btn-fab:focus-material-lime {
background-color: #cddc39;
}
.btn-fab-material-lightyellow,
.btn-fab:hover-material-lightyellow {
.btn-fab:hover-material-lightyellow,
.btn-fab:focus-material-lightyellow {
background-color: #ffeb3b;
}
.btn-fab-material-orange,
.btn-fab:hover-material-orange {
.btn-fab:hover-material-orange,
.btn-fab:focus-material-orange {
background-color: #ff9800;
}
.btn-fab-material-deeporange,
.btn-fab:hover-material-deeporange {
.btn-fab:hover-material-deeporange,
.btn-fab:focus-material-deeporange {
background-color: #ff5722;
}
.btn-fab-material-grey,
.btn-fab:hover-material-grey {
.btn-fab:hover-material-grey,
.btn-fab:focus-material-grey {
background-color: #9e9e9e;
}
.btn-fab-material-bluegrey,
.btn-fab:hover-material-bluegrey {
.btn-fab:hover-material-bluegrey,
.btn-fab:focus-material-bluegrey {
background-color: #607d8b;
}
.btn-fab-material-brown,
.btn-fab:hover-material-brown {
.btn-fab:hover-material-brown,
.btn-fab:focus-material-brown {
background-color: #795548;
}
.btn-fab-material-lightgrey,
.btn-fab:hover-material-lightgrey {
.btn-fab:hover-material-lightgrey,
.btn-fab:focus-material-lightgrey {
background-color: #ececec;
}
.btn-fab,

File diff suppressed because one or more lines are too long