Revert "Merge pull request #3427 from owenconti/bug/3414-validate-params-reworked"

Reopens #3414

This reverts commit 99d368673b, reversing
changes made to 8bf9037bbc.
This commit is contained in:
Kyle Shockey
2017-07-24 13:05:57 -07:00
parent e45edc56dc
commit 5c70134f53
8 changed files with 112 additions and 397 deletions

View File

@@ -14,11 +14,6 @@
@include text_headline();
&.btn-sm {
font-size: 12px;
padding: 4px 23px;
}
&[disabled]
{
cursor: not-allowed;
@@ -170,9 +165,6 @@
button
{
cursor: pointer;
outline: none;
&.invalid {
@include invalidFormElement();
}
outline: none;
}

View File

@@ -21,10 +21,6 @@ select
background: #f7f7f7;
}
&.invalid {
@include invalidFormElement();
}
}
.opblock-body select
@@ -57,8 +53,12 @@ input[type=file]
border-radius: 4px;
background: #fff;
&.invalid {
@include invalidFormElement();
&.invalid
{
animation: shake .4s 1;
border-color: $_color-delete;
background: lighten($_color-delete, 35%);
}
}

View File

@@ -166,9 +166,3 @@ $browser-context: 16;
@warn 'Breakpoint mixin supports: tablet, mobile, desktop';
}
}
@mixin invalidFormElement() {
animation: shake .4s 1;
border-color: $_color-delete;
background: lighten($_color-delete, 35%);
}

View File

@@ -97,10 +97,6 @@ table
width: 100%;
max-width: 340px;
}
select {
border-width: 1px;
}
}
.parameter__name