diff --git a/css-compiled/material-wfont.css b/css-compiled/material-wfont.css index 40be9612..3f870c67 100644 --- a/css-compiled/material-wfont.css +++ b/css-compiled/material-wfont.css @@ -14,6 +14,20 @@ opacity: 0; } } +@-moz-keyframes input-highlight { + 0% { + left: 20%; + width: 20%; + } + 99% { + width: 0; + left: 0; + opacity: 1; + } + 100% { + opacity: 0; + } +} @keyframes input-highlight { 0% { left: 20%; @@ -401,8 +415,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); outline: none !important; } .btn:hover { @@ -500,8 +513,7 @@ body .jumbotron-material-lightgrey, } .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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-raised:active:not(.btn-link) { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); @@ -588,8 +600,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-group:active:not(.btn-link), .btn-group-vertical:active:not(.btn-link) { @@ -602,8 +613,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-group.btn-group-raised:active:not(.btn-link), .btn-group-vertical.btn-group-raised:active:not(.btn-link) { @@ -740,8 +750,7 @@ body .jumbotron-material-lightgrey, padding-top: 15px; } .checkbox { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); } .checkbox label { cursor: pointer; @@ -752,8 +761,7 @@ body .jumbotron-material-lightgrey, display: block; position: absolute; left: 0px; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; + transition-duration: 0.2s; } .checkbox label .check:after { display: block; @@ -776,6 +784,9 @@ body .jumbotron-material-lightgrey, height: 20px; width: 20px; -webkit-transition-delay: 0.2s; + -moz-transition-delay: 0.2s; + -o-transition-delay: 0.2s; + -ms-transition-delay: 0.2s; transition-delay: 0.2s; } .checkbox .check, @@ -860,7 +871,9 @@ body .jumbotron-material-lightgrey, border: solid 2px; border-color: #5a5a5a; -webkit-animation: uncheck 300ms ease-out forwards; + -moz-animation: uncheck 300ms ease-out forwards; -ms-animation: uncheck 300ms ease-out forwards; + -o-animation: uncheck 300ms ease-out forwards; animation: uncheck 300ms ease-out forwards; } .checkbox input[type=checkbox]:focus ~ .check:after { @@ -868,17 +881,23 @@ body .jumbotron-material-lightgrey, } .checkbox input[type=checkbox]:checked ~ .check:before { -webkit-animation: check 300ms ease-out forwards; + -moz-animation: check 300ms ease-out forwards; -ms-animation: check 300ms ease-out forwards; + -o-animation: check 300ms ease-out forwards; animation: check 300ms ease-out forwards; } .checkbox input[type=checkbox]:not(:checked) ~ .check:after { -webkit-animation: rippleOff 500ms; + -moz-animation: rippleOff 500ms; -ms-animation: rippleOff 500ms; + -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .checkbox input[type=checkbox]:checked ~ .check:after { -webkit-animation: rippleOn 500ms; + -moz-animation: rippleOn 500ms; -ms-animation: rippleOn 500ms; + -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .checkbox input[type=checkbox][disabled]:not(:checked) ~ .check:before { @@ -886,8 +905,7 @@ body .jumbotron-material-lightgrey, } .checkbox input[type=checkbox][disabled] ~ .check:after { background-color: rgba(0, 0, 0, 0.84); - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); + transform: rotate(-45deg); } .checkbox input[type=checkbox]:checked ~ .check:after, .checkbox-default input[type=checkbox]:checked ~ .check:after { @@ -968,16 +986,14 @@ body .jumbotron-material-lightgrey, border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); } 50% { top: 14px; left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -992,8 +1008,7 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1005,8 +1020,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 10px; height: 21px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -1020,8 +1034,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1031,8 +1044,43 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } +} +@-moz-keyframes check { + 100% { + top: -3px; + left: 17px; + width: 10px; + height: 21px; + transform: rotate(45deg); + border-color: #0f9d58; + border-left-color: transparent; + border-top-color: transparent; + } + 51% { + border-left: transparent; + border-top-color: transparent; + } + 50% { + top: 14px; + left: 17px; + width: 4px; + height: 4px; + transform: rotate(45deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } + 0% { + top: 1px; + left: 12px; + width: 18px; + height: 18px; + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1074,14 +1122,13 @@ body .jumbotron-material-lightgrey, border-top-color: #5a5a5a; } } -@keyframes check { +@-o-keyframes check { 100% { top: -3px; left: 17px; width: 10px; height: 21px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -1095,8 +1142,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1106,8 +1152,43 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } +} +@keyframes check { + 100% { + top: -3px; + left: 17px; + width: 10px; + height: 21px; + transform: rotate(45deg); + border-color: #0f9d58; + border-left-color: transparent; + border-top-color: transparent; + } + 51% { + border-left: transparent; + border-top-color: transparent; + } + 50% { + top: 14px; + left: 17px; + width: 4px; + height: 4px; + transform: rotate(45deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } + 0% { + top: 1px; + left: 12px; + width: 18px; + height: 18px; + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1133,6 +1214,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1153,6 +1254,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOn { 0% { opacity: 0; @@ -1193,6 +1314,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1213,6 +1354,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOff { 0% { opacity: 0; @@ -1246,8 +1407,7 @@ body .jumbotron-material-lightgrey, position: absolute; left: 10px; top: 2px; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; + transition-duration: 0.2s; } .radio label .circle { border: 2px solid rgba(0, 0, 0, 0.84); @@ -1260,8 +1420,7 @@ body .jumbotron-material-lightgrey, width: 15px; border-radius: 100%; background-color: rgba(0, 0, 0, 0.84); - -webkit-transform: scale(0); - transform: scale(0); + transform: scale(0); } .radio label .check:after { display: block; @@ -1276,17 +1435,20 @@ body .jumbotron-material-lightgrey, z-index: 1; opacity: 0; margin: 0; - -webkit-transform: scale(1.5); - transform: scale(1.5); + transform: scale(1.5); } .radio label input[type=radio]:not(:checked) ~ .check:after { -webkit-animation: rippleOff 500ms; + -moz-animation: rippleOff 500ms; -ms-animation: rippleOff 500ms; + -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .radio label input[type=radio]:checked ~ .check:after { -webkit-animation: rippleOn 500ms; + -moz-animation: rippleOn 500ms; -ms-animation: rippleOn 500ms; + -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .radio input[type=radio]:checked ~ .check, @@ -1437,8 +1599,7 @@ body .jumbotron-material-lightgrey, display: none; } .radio input[type=radio]:checked ~ .check { - -webkit-transform: scale(0.55); - transform: scale(0.55); + transform: scale(0.55); } .radio input[type=radio][disabled] ~ .circle { border-color: rgba(0, 0, 0, 0.84); @@ -1466,6 +1627,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1486,6 +1667,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOn { 0% { opacity: 0; @@ -1526,6 +1727,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1546,6 +1767,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOff { 0% { opacity: 0; @@ -1628,8 +1869,7 @@ select[multiple].form-control.focus { pointer-events: none; left: 0px; top: 5px; - -webkit-transition: 0.2s ease all; - transition: 0.2s ease all; + transition: 0.2s ease all; opacity: 0; } .form-control-wrapper .form-control:not(.empty) ~ .floating-label { @@ -1662,17 +1902,13 @@ select[multiple].form-control.focus { height: 2px; background-color: #5264ae; bottom: -1px; - -webkit-transform: scaleX(0); - transform: scaleX(0); - -webkit-transition: -webkit-transform 0s; - transition: transform 0s; + transform: scaleX(0); + 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); - transform: scaleX(1); - -webkit-transition: -webkit-transform 0.2s ease-out; - transition: transform 0.2s ease-out; + transform: scaleX(1); + transition: transform 0.2s ease-out; } .form-control-wrapper .material-input:after { content: ""; @@ -1684,8 +1920,7 @@ select[multiple].form-control.focus { left: 0; pointer-events: none; opacity: 0.9; - -webkit-transform-origin: left; - transform-origin: left; + transform-origin: left; } .form-control-wrapper .input-lg ~ .material-input:after { height: 26px; @@ -2121,12 +2356,10 @@ select.form-control.focus { @keyframes input-highlight { 0% { left: 20%; - -webkit-transform: scaleX(20%); - transform: scaleX(20%); + transform: scaleX(20%); } 99% { - -webkit-transform: scaleX(0); - transform: scaleX(0); + transform: scaleX(0); left: 0; opacity: 1; } @@ -2273,6 +2506,8 @@ legend { } .navbar .navbar-text { color: rgba(255, 255, 255, 0.84); + margin-top: 20px; + margin-bottom: 20px; } .navbar .navbar-nav > li > a { color: rgba(255, 255, 255, 0.84); @@ -2827,8 +3062,10 @@ 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; + -moz-transition: -moz-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-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; + -moz-transform: translateY(200%); -webkit-transform: translateY(200%); transform: translateY(200%); } @@ -2836,8 +3073,10 @@ fieldset[disabled] .navbar .btn-link:focus { padding: 14px 15px; margin-bottom: 20px; height: auto; + -moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s; -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, 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; + -moz-transform: none; -webkit-transform: none; transform: none; } @@ -2869,8 +3108,7 @@ fieldset[disabled] .navbar .btn-link:focus { .noUi-handle { position: relative; z-index: 1; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; -webkit-box-sizing: border-box; } .noUi-stacking .noUi-handle { @@ -2890,8 +3128,7 @@ fieldset[disabled] .navbar .btn-link:focus { height: 10px; } .noUi-horizontal .noUi-handle { - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; width: 12px; height: 12px; left: -10px; @@ -2917,7 +3154,7 @@ fieldset[disabled] .navbar .btn-link:focus { background-color: #fff; border: 2px solid #c8c8c8; } -.noUi-origin[style^="left: 0"] .noUi-handle:active { +.noUi-origin[style^="left: 0"] .noUi-handle.noUi-active { border-width: 1px; } .noUi-target { @@ -2926,17 +3163,15 @@ 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; + transition: all 0.2s ease-out; border: 1px solid; } .noUi-horizontal { height: 2px; margin: 15px 0; } -.noUi-horizontal .noUi-handle:active { - -webkit-transform: scale(2.5); - transform: scale(2.5); +.noUi-horizontal .noUi-handle.noUi-active { + transform: scale(2.5); } [disabled].noUi-slider { opacity: 0.5; diff --git a/css-compiled/material.css b/css-compiled/material.css index b381ee24..ac0bd97f 100644 --- a/css-compiled/material.css +++ b/css-compiled/material.css @@ -13,6 +13,20 @@ opacity: 0; } } +@-moz-keyframes input-highlight { + 0% { + left: 20%; + width: 20%; + } + 99% { + width: 0; + left: 0; + opacity: 1; + } + 100% { + opacity: 0; + } +} @keyframes input-highlight { 0% { left: 20%; @@ -400,8 +414,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); outline: none !important; } .btn:hover { @@ -499,8 +512,7 @@ body .jumbotron-material-lightgrey, } .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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-raised:active:not(.btn-link) { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); @@ -587,8 +599,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-group:active:not(.btn-link), .btn-group-vertical:active:not(.btn-link) { @@ -601,8 +612,7 @@ 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); + transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); } .btn-group.btn-group-raised:active:not(.btn-link), .btn-group-vertical.btn-group-raised:active:not(.btn-link) { @@ -739,8 +749,7 @@ body .jumbotron-material-lightgrey, padding-top: 15px; } .checkbox { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); } .checkbox label { cursor: pointer; @@ -751,8 +760,7 @@ body .jumbotron-material-lightgrey, display: block; position: absolute; left: 0px; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; + transition-duration: 0.2s; } .checkbox label .check:after { display: block; @@ -775,6 +783,9 @@ body .jumbotron-material-lightgrey, height: 20px; width: 20px; -webkit-transition-delay: 0.2s; + -moz-transition-delay: 0.2s; + -o-transition-delay: 0.2s; + -ms-transition-delay: 0.2s; transition-delay: 0.2s; } .checkbox .check, @@ -859,7 +870,9 @@ body .jumbotron-material-lightgrey, border: solid 2px; border-color: #5a5a5a; -webkit-animation: uncheck 300ms ease-out forwards; + -moz-animation: uncheck 300ms ease-out forwards; -ms-animation: uncheck 300ms ease-out forwards; + -o-animation: uncheck 300ms ease-out forwards; animation: uncheck 300ms ease-out forwards; } .checkbox input[type=checkbox]:focus ~ .check:after { @@ -867,17 +880,23 @@ body .jumbotron-material-lightgrey, } .checkbox input[type=checkbox]:checked ~ .check:before { -webkit-animation: check 300ms ease-out forwards; + -moz-animation: check 300ms ease-out forwards; -ms-animation: check 300ms ease-out forwards; + -o-animation: check 300ms ease-out forwards; animation: check 300ms ease-out forwards; } .checkbox input[type=checkbox]:not(:checked) ~ .check:after { -webkit-animation: rippleOff 500ms; + -moz-animation: rippleOff 500ms; -ms-animation: rippleOff 500ms; + -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .checkbox input[type=checkbox]:checked ~ .check:after { -webkit-animation: rippleOn 500ms; + -moz-animation: rippleOn 500ms; -ms-animation: rippleOn 500ms; + -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .checkbox input[type=checkbox][disabled]:not(:checked) ~ .check:before { @@ -885,8 +904,7 @@ body .jumbotron-material-lightgrey, } .checkbox input[type=checkbox][disabled] ~ .check:after { background-color: rgba(0, 0, 0, 0.84); - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); + transform: rotate(-45deg); } .checkbox input[type=checkbox]:checked ~ .check:after, .checkbox-default input[type=checkbox]:checked ~ .check:after { @@ -967,16 +985,14 @@ body .jumbotron-material-lightgrey, border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); } 50% { top: 14px; left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -991,8 +1007,7 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1004,8 +1019,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 10px; height: 21px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -1019,8 +1033,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1030,8 +1043,43 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } +} +@-moz-keyframes check { + 100% { + top: -3px; + left: 17px; + width: 10px; + height: 21px; + transform: rotate(45deg); + border-color: #0f9d58; + border-left-color: transparent; + border-top-color: transparent; + } + 51% { + border-left: transparent; + border-top-color: transparent; + } + 50% { + top: 14px; + left: 17px; + width: 4px; + height: 4px; + transform: rotate(45deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } + 0% { + top: 1px; + left: 12px; + width: 18px; + height: 18px; + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1073,14 +1121,13 @@ body .jumbotron-material-lightgrey, border-top-color: #5a5a5a; } } -@keyframes check { +@-o-keyframes check { 100% { top: -3px; left: 17px; width: 10px; height: 21px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #0f9d58; border-left-color: transparent; border-top-color: transparent; @@ -1094,8 +1141,7 @@ body .jumbotron-material-lightgrey, left: 17px; width: 4px; height: 4px; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); + transform: rotate(45deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1105,8 +1151,43 @@ body .jumbotron-material-lightgrey, left: 12px; width: 18px; height: 18px; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); + transform: rotate(0deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } +} +@keyframes check { + 100% { + top: -3px; + left: 17px; + width: 10px; + height: 21px; + transform: rotate(45deg); + border-color: #0f9d58; + border-left-color: transparent; + border-top-color: transparent; + } + 51% { + border-left: transparent; + border-top-color: transparent; + } + 50% { + top: 14px; + left: 17px; + width: 4px; + height: 4px; + transform: rotate(45deg); + border-color: #5a5a5a; + border-left-color: #5a5a5a; + border-top-color: #5a5a5a; + } + 0% { + top: 1px; + left: 12px; + width: 18px; + height: 18px; + transform: rotate(0deg); border-color: #5a5a5a; border-left-color: #5a5a5a; border-top-color: #5a5a5a; @@ -1132,6 +1213,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1152,6 +1253,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOn { 0% { opacity: 0; @@ -1192,6 +1313,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1212,6 +1353,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOff { 0% { opacity: 0; @@ -1245,8 +1406,7 @@ body .jumbotron-material-lightgrey, position: absolute; left: 10px; top: 2px; - -webkit-transition-duration: 0.2s; - transition-duration: 0.2s; + transition-duration: 0.2s; } .radio label .circle { border: 2px solid rgba(0, 0, 0, 0.84); @@ -1259,8 +1419,7 @@ body .jumbotron-material-lightgrey, width: 15px; border-radius: 100%; background-color: rgba(0, 0, 0, 0.84); - -webkit-transform: scale(0); - transform: scale(0); + transform: scale(0); } .radio label .check:after { display: block; @@ -1275,17 +1434,20 @@ body .jumbotron-material-lightgrey, z-index: 1; opacity: 0; margin: 0; - -webkit-transform: scale(1.5); - transform: scale(1.5); + transform: scale(1.5); } .radio label input[type=radio]:not(:checked) ~ .check:after { -webkit-animation: rippleOff 500ms; + -moz-animation: rippleOff 500ms; -ms-animation: rippleOff 500ms; + -o-animation: rippleOff 500ms; animation: rippleOff 500ms; } .radio label input[type=radio]:checked ~ .check:after { -webkit-animation: rippleOn 500ms; + -moz-animation: rippleOn 500ms; -ms-animation: rippleOn 500ms; + -o-animation: rippleOn 500ms; animation: rippleOn 500ms; } .radio input[type=radio]:checked ~ .check, @@ -1436,8 +1598,7 @@ body .jumbotron-material-lightgrey, display: none; } .radio input[type=radio]:checked ~ .check { - -webkit-transform: scale(0.55); - transform: scale(0.55); + transform: scale(0.55); } .radio input[type=radio][disabled] ~ .circle { border-color: rgba(0, 0, 0, 0.84); @@ -1465,6 +1626,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1485,6 +1666,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOn { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOn { 0% { opacity: 0; @@ -1525,6 +1726,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-moz-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @-ms-keyframes rippleOn { 0% { opacity: 0; @@ -1545,6 +1766,26 @@ body .jumbotron-material-lightgrey, opacity: 0; } } +@-o-keyframes rippleOff { + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } + 0% { + opacity: 0; + } + 50% { + opacity: 0.2; + } + 100% { + opacity: 0; + } +} @keyframes rippleOff { 0% { opacity: 0; @@ -1627,8 +1868,7 @@ select[multiple].form-control.focus { pointer-events: none; left: 0px; top: 5px; - -webkit-transition: 0.2s ease all; - transition: 0.2s ease all; + transition: 0.2s ease all; opacity: 0; } .form-control-wrapper .form-control:not(.empty) ~ .floating-label { @@ -1661,17 +1901,13 @@ select[multiple].form-control.focus { height: 2px; background-color: #5264ae; bottom: -1px; - -webkit-transform: scaleX(0); - transform: scaleX(0); - -webkit-transition: -webkit-transform 0s; - transition: transform 0s; + transform: scaleX(0); + 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); - transform: scaleX(1); - -webkit-transition: -webkit-transform 0.2s ease-out; - transition: transform 0.2s ease-out; + transform: scaleX(1); + transition: transform 0.2s ease-out; } .form-control-wrapper .material-input:after { content: ""; @@ -1683,8 +1919,7 @@ select[multiple].form-control.focus { left: 0; pointer-events: none; opacity: 0.9; - -webkit-transform-origin: left; - transform-origin: left; + transform-origin: left; } .form-control-wrapper .input-lg ~ .material-input:after { height: 26px; @@ -2120,12 +2355,10 @@ select.form-control.focus { @keyframes input-highlight { 0% { left: 20%; - -webkit-transform: scaleX(20%); - transform: scaleX(20%); + transform: scaleX(20%); } 99% { - -webkit-transform: scaleX(0); - transform: scaleX(0); + transform: scaleX(0); left: 0; opacity: 1; } @@ -2272,6 +2505,8 @@ legend { } .navbar .navbar-text { color: rgba(255, 255, 255, 0.84); + margin-top: 20px; + margin-bottom: 20px; } .navbar .navbar-nav > li > a { color: rgba(255, 255, 255, 0.84); @@ -2826,8 +3061,10 @@ 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; + -moz-transition: -moz-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-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; + -moz-transform: translateY(200%); -webkit-transform: translateY(200%); transform: translateY(200%); } @@ -2835,8 +3072,10 @@ fieldset[disabled] .navbar .btn-link:focus { padding: 14px 15px; margin-bottom: 20px; height: auto; + -moz-transition: -moz-transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0 linear 0.2s; -webkit-transition: -webkit-transform 0.2s ease-in-out, opacity 0.2s ease-in, 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; + -moz-transform: none; -webkit-transform: none; transform: none; } @@ -2868,8 +3107,7 @@ fieldset[disabled] .navbar .btn-link:focus { .noUi-handle { position: relative; z-index: 1; - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; -webkit-box-sizing: border-box; } .noUi-stacking .noUi-handle { @@ -2889,8 +3127,7 @@ fieldset[disabled] .navbar .btn-link:focus { height: 10px; } .noUi-horizontal .noUi-handle { - -moz-box-sizing: border-box; - box-sizing: border-box; + box-sizing: border-box; width: 12px; height: 12px; left: -10px; @@ -2916,7 +3153,7 @@ fieldset[disabled] .navbar .btn-link:focus { background-color: #fff; border: 2px solid #c8c8c8; } -.noUi-origin[style^="left: 0"] .noUi-handle:active { +.noUi-origin[style^="left: 0"] .noUi-handle.noUi-active { border-width: 1px; } .noUi-target { @@ -2925,17 +3162,15 @@ 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; + transition: all 0.2s ease-out; border: 1px solid; } .noUi-horizontal { height: 2px; margin: 15px 0; } -.noUi-horizontal .noUi-handle:active { - -webkit-transform: scale(2.5); - transform: scale(2.5); +.noUi-horizontal .noUi-handle.noUi-active { + transform: scale(2.5); } [disabled].noUi-slider { opacity: 0.5; diff --git a/less/plugin-nouislider.less b/less/plugin-nouislider.less index 2736fcfb..30cc75bc 100644 --- a/less/plugin-nouislider.less +++ b/less/plugin-nouislider.less @@ -68,7 +68,7 @@ &[style^="left: 0"] .noUi-handle { background-color: #fff; border: 2px solid #c8c8c8; - &:active { + &.noUi-active { border-width: 1px; } } @@ -86,7 +86,7 @@ height: 2px; margin: 15px 0; } -.noUi-horizontal .noUi-handle:active { +.noUi-horizontal .noUi-handle.noUi-active { transform: scale(2.5); } [disabled].noUi-slider{