jshint no longer checks *.min.js, pre master merge

This commit is contained in:
shockwork 2014-10-05 11:26:50 +02:00
parent 47b9330b30
commit 7d56a5a462
12 changed files with 228 additions and 56 deletions

View File

@ -128,7 +128,8 @@ module.exports = function(grunt) {
all: [ all: [
"Gruntfile.js", "Gruntfile.js",
"scripts/**/*.js", "scripts/**/*.js",
"template/**/*.js" "template/**/*.js",
"!template/**/*.min.js"
], ],
test: { test: {
options: { options: {

View File

@ -1493,6 +1493,20 @@
.icon-material-web22:before { .icon-material-web22:before {
content: "\e7e9"; content: "\e7e9";
} }
@-webkit-keyframes input-highlight {
0% {
left: 20%;
width: 20%;
}
99% {
width: 0;
left: 0;
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes input-highlight { @keyframes input-highlight {
0% { 0% {
left: 20%; left: 20%;
@ -1880,6 +1894,7 @@ body .jumbotron-material-lightgrey,
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;
color: rgba(255, 255, 255, 0.84); 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; outline: none !important;
} }
@ -1978,6 +1993,7 @@ body .jumbotron-material-lightgrey,
} }
.btn-raised { .btn-raised {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); 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) { .btn-raised:active:not(.btn-link) {
@ -2065,6 +2081,7 @@ body .jumbotron-material-lightgrey,
border-radius: 4px; border-radius: 4px;
margin: 10px 1px; margin: 10px 1px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); 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:active:not(.btn-link),
@ -2078,6 +2095,7 @@ body .jumbotron-material-lightgrey,
.btn-group.btn-group-raised, .btn-group.btn-group-raised,
.btn-group-vertical.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); 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.btn-group-raised:active:not(.btn-link),
@ -2215,6 +2233,8 @@ body .jumbotron-material-lightgrey,
padding-top: 15px; padding-top: 15px;
} }
.checkbox { .checkbox {
-webkit-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
} }
.checkbox label { .checkbox label {
@ -2226,6 +2246,7 @@ body .jumbotron-material-lightgrey,
display: block; display: block;
position: absolute; position: absolute;
left: 0px; left: 0px;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s; transition-duration: 0.2s;
} }
.checkbox label .check:after { .checkbox label .check:after {
@ -2248,6 +2269,7 @@ body .jumbotron-material-lightgrey,
border: 2px solid rgba(0, 0, 0, 0.84); border: 2px solid rgba(0, 0, 0, 0.84);
height: 20px; height: 20px;
width: 20px; width: 20px;
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s; transition-delay: 0.2s;
} }
.checkbox .check, .checkbox .check,
@ -2331,22 +2353,27 @@ body .jumbotron-material-lightgrey,
height: 18px; height: 18px;
border: solid 2px; border: solid 2px;
border-color: #5a5a5a; border-color: #5a5a5a;
-webkit-animation: uncheck 300ms ease-out forwards;
animation: uncheck 300ms ease-out forwards; animation: uncheck 300ms ease-out forwards;
} }
.checkbox input[type=checkbox]:focus ~ .check:after { .checkbox input[type=checkbox]:focus ~ .check:after {
opacity: 0.2; opacity: 0.2;
} }
.checkbox input[type=checkbox]:checked ~ .check:before { .checkbox input[type=checkbox]:checked ~ .check:before {
-webkit-animation: check 300ms ease-out forwards;
animation: check 300ms ease-out forwards; animation: check 300ms ease-out forwards;
} }
.checkbox input[type=checkbox]:not(:checked) ~ .check:after { .checkbox input[type=checkbox]:not(:checked) ~ .check:after {
-webkit-animation: rippleOff 500ms linear forwards;
animation: rippleOff 500ms linear forwards; animation: rippleOff 500ms linear forwards;
} }
.checkbox input[type=checkbox]:checked ~ .check:after { .checkbox input[type=checkbox]:checked ~ .check:after {
-webkit-animation: rippleOn 500ms linear forwards;
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:before,
.checkbox:not(:hover) input[type=checkbox] ~ .check:after { .checkbox:not(:hover) input[type=checkbox] ~ .check:after {
-webkit-animation-duration: 1ms;
animation-duration: 1ms; animation-duration: 1ms;
} }
.checkbox input[type=checkbox][disabled]:not(:checked) ~ .check:before { .checkbox input[type=checkbox][disabled]:not(:checked) ~ .check:before {
@ -2354,6 +2381,8 @@ body .jumbotron-material-lightgrey,
} }
.checkbox input[type=checkbox][disabled] ~ .check:after { .checkbox input[type=checkbox][disabled] ~ .check:after {
background-color: rgba(0, 0, 0, 0.84); background-color: rgba(0, 0, 0, 0.84);
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg); transform: rotate(-45deg);
} }
.checkbox input[type=checkbox]:checked ~ .check:after, .checkbox input[type=checkbox]:checked ~ .check:after,
@ -2426,7 +2455,7 @@ body .jumbotron-material-lightgrey,
.checkbox-material-lightgrey input[type=checkbox]:checked ~ .check:after { .checkbox-material-lightgrey input[type=checkbox]:checked ~ .check:after {
background-color: #ececec; background-color: #ececec;
} }
@keyframes uncheck { @-webkit-keyframes uncheck {
0% { 0% {
top: -3px; top: -3px;
left: 17px; left: 17px;
@ -2435,6 +2464,7 @@ body .jumbotron-material-lightgrey,
border-color: #0f9d58; border-color: #0f9d58;
border-left-color: transparent; border-left-color: transparent;
border-top-color: transparent; border-top-color: transparent;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
} }
50% { 50% {
@ -2442,6 +2472,7 @@ body .jumbotron-material-lightgrey,
left: 17px; left: 17px;
width: 4px; width: 4px;
height: 4px; height: 4px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
border-color: #0f9d58; border-color: #0f9d58;
border-left-color: transparent; border-left-color: transparent;
@ -2457,18 +2488,60 @@ body .jumbotron-material-lightgrey,
left: 12px; left: 12px;
width: 18px; width: 18px;
height: 18px; height: 18px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
border-color: #5a5a5a; border-color: #5a5a5a;
border-left-color: #5a5a5a; border-left-color: #5a5a5a;
border-top-color: #5a5a5a; border-top-color: #5a5a5a;
} }
} }
@keyframes check { @keyframes uncheck {
0% {
top: -3px;
left: 17px;
width: 10px;
height: 21px;
border-color: #0f9d58;
border-left-color: transparent;
border-top-color: transparent;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
50% {
top: 14px;
left: 17px;
width: 4px;
height: 4px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
border-color: #0f9d58;
border-left-color: transparent;
border-top-color: transparent;
}
51% {
border-color: #5a5a5a;
border-left-color: #5a5a5a;
border-top-color: #5a5a5a;
}
100% {
top: 1px;
left: 12px;
width: 18px;
height: 18px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
border-color: #5a5a5a;
border-left-color: #5a5a5a;
border-top-color: #5a5a5a;
}
}
@-webkit-keyframes check {
100% { 100% {
top: -3px; top: -3px;
left: 17px; left: 17px;
width: 10px; width: 10px;
height: 21px; height: 21px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
border-color: #0f9d58; border-color: #0f9d58;
border-left-color: transparent; border-left-color: transparent;
@ -2483,6 +2556,7 @@ body .jumbotron-material-lightgrey,
left: 17px; left: 17px;
width: 4px; width: 4px;
height: 4px; height: 4px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
border-color: #5a5a5a; border-color: #5a5a5a;
border-left-color: #5a5a5a; border-left-color: #5a5a5a;
@ -2493,12 +2567,63 @@ body .jumbotron-material-lightgrey,
left: 12px; left: 12px;
width: 18px; width: 18px;
height: 18px; height: 18px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
border-color: #5a5a5a; border-color: #5a5a5a;
border-left-color: #5a5a5a; border-left-color: #5a5a5a;
border-top-color: #5a5a5a; border-top-color: #5a5a5a;
} }
} }
@keyframes check {
100% {
top: -3px;
left: 17px;
width: 10px;
height: 21px;
-webkit-transform: rotate(45deg);
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;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
border-color: #5a5a5a;
border-left-color: #5a5a5a;
border-top-color: #5a5a5a;
}
0% {
top: 1px;
left: 12px;
width: 18px;
height: 18px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
border-color: #5a5a5a;
border-left-color: #5a5a5a;
border-top-color: #5a5a5a;
}
}
@-webkit-keyframes rippleOn {
0% {
opacity: 0;
}
50% {
opacity: 0.2;
}
100% {
opacity: 0;
}
}
@keyframes rippleOn { @keyframes rippleOn {
0% { 0% {
opacity: 0; opacity: 0;
@ -2510,6 +2635,17 @@ body .jumbotron-material-lightgrey,
opacity: 0; opacity: 0;
} }
} }
@-webkit-keyframes rippleOff {
0% {
opacity: 0;
}
50% {
opacity: 0.2;
}
100% {
opacity: 0;
}
}
@keyframes rippleOff { @keyframes rippleOff {
0% { 0% {
opacity: 0; opacity: 0;
@ -2534,6 +2670,7 @@ body .jumbotron-material-lightgrey,
position: absolute; position: absolute;
left: 10px; left: 10px;
top: 2px; top: 2px;
-webkit-transition-duration: 0.2s;
transition-duration: 0.2s; transition-duration: 0.2s;
} }
.radio label .circle { .radio label .circle {
@ -2547,6 +2684,8 @@ body .jumbotron-material-lightgrey,
width: 15px; width: 15px;
border-radius: 100%; border-radius: 100%;
background-color: rgba(0, 0, 0, 0.84); background-color: rgba(0, 0, 0, 0.84);
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0); transform: scale(0);
} }
.radio label .check:after { .radio label .check:after {
@ -2562,12 +2701,16 @@ body .jumbotron-material-lightgrey,
z-index: 1; z-index: 1;
opacity: 0; opacity: 0;
margin: 0; margin: 0;
-webkit-transform: scale(1.5);
-ms-transform: scale(1.5);
transform: scale(1.5); transform: scale(1.5);
} }
.radio label input[type=radio]:not(:checked) ~ .check:after { .radio label input[type=radio]:not(:checked) ~ .check:after {
-webkit-animation: rippleOff 500ms;
animation: rippleOff 500ms; animation: rippleOff 500ms;
} }
.radio label input[type=radio]:checked ~ .check:after { .radio label input[type=radio]:checked ~ .check:after {
-webkit-animation: rippleOn 500ms;
animation: rippleOn 500ms; animation: rippleOn 500ms;
} }
.radio input[type=radio]:checked ~ .check, .radio input[type=radio]:checked ~ .check,
@ -2718,6 +2861,8 @@ body .jumbotron-material-lightgrey,
display: none; display: none;
} }
.radio input[type=radio]:checked ~ .check { .radio input[type=radio]:checked ~ .check {
-webkit-transform: scale(0.55);
-ms-transform: scale(0.55);
transform: scale(0.55); transform: scale(0.55);
} }
.radio input[type=radio][disabled] ~ .circle { .radio input[type=radio][disabled] ~ .circle {
@ -2810,6 +2955,7 @@ select[multiple].form-control.focus {
pointer-events: none; pointer-events: none;
left: 0px; left: 0px;
top: 5px; top: 5px;
-webkit-transition: 0.2s ease all;
transition: 0.2s ease all; transition: 0.2s ease all;
opacity: 0; opacity: 0;
} }
@ -2843,12 +2989,18 @@ select[multiple].form-control.focus {
height: 2px; height: 2px;
background-color: #5264ae; background-color: #5264ae;
bottom: -1px; bottom: -1px;
-webkit-transform: scaleX(0);
-ms-transform: scaleX(0);
transform: scaleX(0); transform: scaleX(0);
-webkit-transition: -webkit-transform 0s;
transition: transform 0s; transition: transform 0s;
} }
.form-control-wrapper .form-control:focus ~ .material-input:before, .form-control-wrapper .form-control:focus ~ .material-input:before,
.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); transform: scaleX(1);
-webkit-transition: -webkit-transform 0.2s ease-out;
transition: transform 0.2s ease-out; transition: transform 0.2s ease-out;
} }
.form-control-wrapper .material-input:after { .form-control-wrapper .material-input:after {
@ -2861,6 +3013,8 @@ select[multiple].form-control.focus {
left: 0; left: 0;
pointer-events: none; pointer-events: none;
opacity: 0.9; opacity: 0.9;
-webkit-transform-origin: left;
-ms-transform-origin: left;
transform-origin: left; transform-origin: left;
} }
.form-control-wrapper .input-lg ~ .material-input:after { .form-control-wrapper .input-lg ~ .material-input:after {
@ -2874,7 +3028,9 @@ select[multiple].form-control.focus {
} }
.form-control-wrapper .form-control:focus ~ .material-input:after, .form-control-wrapper .form-control:focus ~ .material-input:after,
.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; animation: input-highlight 0.3s ease;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards; animation-fill-mode: forwards;
opacity: 0; opacity: 0;
} }
@ -3295,9 +3451,11 @@ select.form-control.focus {
@keyframes input-highlight { @keyframes input-highlight {
0% { 0% {
left: 20%; left: 20%;
-webkit-transform: scaleX(20%);
transform: scaleX(20%); transform: scaleX(20%);
} }
99% { 99% {
-webkit-transform: scaleX(0);
transform: scaleX(0); transform: scaleX(0);
left: 0; left: 0;
opacity: 1; opacity: 1;
@ -4019,14 +4177,20 @@ fieldset[disabled] .navbar .btn-link:focus {
border-radius: 2px; border-radius: 2px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
height: 0; 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; 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%); transform: translateY(200%);
} }
.snackbar.snackbar-opened { .snackbar.snackbar-opened {
padding: 14px 15px; padding: 14px 15px;
margin-bottom: 20px; margin-bottom: 20px;
height: auto; 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; 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; transform: none;
} }
.snackbar.toast { .snackbar.toast {
@ -4036,6 +4200,9 @@ fieldset[disabled] .navbar .btn-link:focus {
.noUi-target * { .noUi-target * {
-webkit-touch-callout: none; -webkit-touch-callout: none;
-ms-touch-action: none; -ms-touch-action: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; user-select: none;
box-sizing: border-box; box-sizing: border-box;
} }
@ -4063,6 +4230,7 @@ fieldset[disabled] .navbar .btn-link:focus {
*z-index: -1; *z-index: -1;
} }
.noUi-state-tap .noUi-origin { .noUi-state-tap .noUi-origin {
-webkit-transition: left 0.3s, top 0.3s;
transition: left 0.3s, top 0.3s; transition: left 0.3s, top 0.3s;
} }
.noUi-state-drag * { .noUi-state-drag * {
@ -4107,6 +4275,7 @@ fieldset[disabled] .navbar .btn-link:focus {
.noUi-handle { .noUi-handle {
border-radius: 100%; border-radius: 100%;
cursor: default; cursor: default;
-webkit-transition: all 0.2s ease-out;
transition: all 0.2s ease-out; transition: all 0.2s ease-out;
border: 1px solid; border: 1px solid;
} }
@ -4115,6 +4284,8 @@ fieldset[disabled] .navbar .btn-link:focus {
margin: 15px 0; margin: 15px 0;
} }
.noUi-horizontal .noUi-handle.noUi-active { .noUi-horizontal .noUi-handle.noUi-active {
-webkit-transform: scale(2.5);
-ms-transform: scale(2.5);
transform: scale(2.5); transform: scale(2.5);
} }
[disabled].noUi-slider { [disabled].noUi-slider {