Skip to content

Commit 05967f6

Browse files
committed
Update form action icon color.
1 parent 48795ba commit 05967f6

8 files changed

Lines changed: 29 additions & 29 deletions

File tree

Gruntfile.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,19 @@ module.exports = function( grunt ) {
8585
]
8686
},
8787

88-
// Compass
89-
compass: {
90-
build: {
88+
// Sass
89+
sass: {
90+
dist: {
9191
options: {
92-
sassDir: 'scss',
93-
cssDir: 'css'
94-
}
92+
implementation: require('sass'),
93+
sourceMap: true
94+
},
95+
96+
processors: [
97+
require('autoprefixer')({ overrideBrowserslist: ['last 2 versions'] })
98+
],
99+
100+
files: { 'css/admin.css': 'scss/admin.scss' }
95101
}
96102
},
97103

@@ -104,7 +110,7 @@ module.exports = function( grunt ) {
104110
},
105111

106112
processors: [
107-
require( 'autoprefixer' )( { browsers: 'last 2 versions' } )
113+
require('autoprefixer')({ overrideBrowserslist: ['last 2 versions'] })
108114
]
109115
},
110116
dist: {
@@ -124,5 +130,5 @@ module.exports = function( grunt ) {
124130

125131
// Default task(s).
126132
grunt.registerTask( 'default', [ 'jshint', 'phplint', 'phpmd', 'phpcs', 'phpunit' ] );
127-
grunt.registerTask( 'assets', [ 'sasslint', 'jshint', 'uglify', 'compass', 'postcss', 'cssmin' ] );
133+
grunt.registerTask( 'assets', [ 'sasslint', 'jshint', 'uglify', 'sass', 'postcss', 'cssmin' ] );
128134
};

css/admin.css

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
1-
/* line 1, ../scss/admin.scss */
21
.pronamic-pay-formidable-icon {
32
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjU2IDBjMTQxLjM4NSAwIDI1NiAxMTQuNjE1IDI1NiAyNTZTMzk3LjM4NSA1MTIgMjU2IDUxMmMtNDguODUgMC05NC41MDQtMTMuNjgyLTEzMy4zNC0zNy40MjRMMTc0LjU1OCAzODRoOTIuOTg4YzcwLjY5MyAwIDEyOC01Ny4zMDggMTI4LTEyOCAwLTcwLjY5Mi01Ny4zMDctMTI4LTEyOC0xMjhoLTQ2LjY4MmMtMTUuMjQ4IDAtMjcuNjA4IDEyLjM2LTI3LjYwOCAyNy42MDggMCAxNS4yNDcgMTIuMzYgMjcuNjA4IDI3LjYwOCAyNy42MDhoNDYuNjgyYzQwLjE5OCAwIDcyLjc4NCAzMi41ODYgNzIuNzg0IDcyLjc4NCAwIDQwLjE5OC0zMi41ODYgNzIuNzg0LTcyLjc4NCA3Mi43ODRIMTY3LjE1M2MtMTIuODY5IDAtMjMuNjgxIDguODA1LTI2Ljc0MSAyMC43MmEyOCAyOCAwIDAwLS42MDYgMS45NjZsLTMwLjYyMiAxMTQuMjczQzQzLjE2MSA0MTkuNDQzIDAgMzQyLjc2MiAwIDI1NiAwIDExNC42MTUgMTE0LjYxNSAwIDI1NiAwem0xMS41NDUgMjIwLjg2M2gtNjUuNzU3Yy0xOS40MDYgMC0zNS4xMzcgMTUuNzMxLTM1LjEzNyAzNS4xMzdzMTUuNzMxIDM1LjEzNyAzNS4xMzcgMzUuMTM3aDY1Ljc1N2MxOS40MDYgMCAzNS4xMzctMTUuNzMxIDM1LjEzNy0zNS4xMzdzLTE1LjczMS0zNS4xMzctMzUuMTM3LTM1LjEzN3oiIGZpbGw9IiMxQTFCNDYiLz48L3N2Zz4=");
43
display: inline-block;
54
background-repeat: no-repeat;
65
vertical-align: middle;
76
}
87

9-
/* line 11, ../scss/admin.scss */
108
.frm_pronamic_pay_action span .frm-inner-circle.frm-inverse {
119
background-color: #ffb200;
1210
}
1311

14-
/* line 22, ../scss/admin.scss */
1512
.frm_email_settings .frm_single_pronamic_pay_settings .widget-title .frm_form_action_icon .pronamic-pay-formidable-icon {
1613
width: 24px;
1714
height: 24px;
18-
-webkit-filter: invert(100%) saturate(0%) contrast(85%);
19-
filter: invert(100%) saturate(0%) contrast(85%);
15+
-webkit-filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(95%);
16+
filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(95%);
2017
}
21-
/* line 32, ../scss/admin.scss */
2218
.frm_email_settings .frm_single_pronamic_pay_settings:hover .frm_form_action_icon .pronamic-pay-formidable-icon {
23-
-webkit-filter: invert(100%) saturate(0%) contrast(20%);
24-
filter: invert(100%) saturate(0%) contrast(20%);
19+
-webkit-filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(70%);
20+
filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(70%);
2521
}
2622

27-
/* line 42, ../scss/admin.scss */
28-
.edit_field_type_pronamic_payment_method_select input[type='pronamic_payment_method_select'] {
23+
.edit_field_type_pronamic_payment_method_select input[type=pronamic_payment_method_select] {
2924
display: none !important;
3025
}
31-
/* line 47, ../scss/admin.scss */
3226
.edit_field_type_pronamic_payment_method_select .pronamic-pay-formidable-eip-disable {
3327
color: #aaa;
3428
cursor: default;
35-
}
29+
}

css/admin.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/admin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/admin.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@
3434
"homepage": "http://www.wp-pay.org/extensions/formidable-forms/",
3535
"devDependencies": {
3636
"@wordpress/env": "^10.30.0",
37-
"autoprefixer": "^10.2.1",
38-
"grunt": "^1.3.0",
39-
"grunt-contrib-compass": "^1.1.1",
37+
"autoprefixer": "^9.8.8",
38+
"grunt": "^1.6.1",
4039
"grunt-contrib-cssmin": "^3.0.0",
4140
"grunt-contrib-jshint": "^3.0.0",
4241
"grunt-contrib-uglify": "^5.0.0",
@@ -45,6 +44,7 @@
4544
"grunt-phpmd": "^0.1.1",
4645
"grunt-phpunit": "^0.3.6",
4746
"grunt-postcss": "^0.9.0",
47+
"grunt-sass": "^4.0.0",
4848
"grunt-sass-lint": "^0.2.4",
4949
"load-grunt-tasks": "^5.1.0"
5050
},

scss/admin.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
.pronamic-pay-formidable-icon {
2323
width: 24px;
2424
height: 24px;
25-
filter: invert(100%) saturate(0%) contrast(85%);
25+
filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(95%);
2626
}
2727
}
2828
}
2929

3030
&:hover {
3131
.frm_form_action_icon {
3232
.pronamic-pay-formidable-icon {
33-
filter: invert(100%) saturate(0%) contrast(20%);
33+
filter: invert(100%) saturate(100%) contrast(40%) hue-rotate(150deg) brightness(70%);
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)