Skip to content

Commit b5e19e4

Browse files
authored
Merge pull request #214 from lightspeedwp/logout-block
Fix: Ensure login form inputs are contained within the form container
2 parents 2af2db4 + f5b1736 commit b5e19e4

File tree

12 files changed

+3309
-35
lines changed

12 files changed

+3309
-35
lines changed

.gitignore

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
node_modules
2-
.sass-cache
3-
.idea
4-
*.sublime-workspace
5-
package-lock.json
62
vendor
7-
wp-content
8-
package.json
9-
.DS_Store
10-
templates/.DS_Store
11-
.DS_Store
12-
assets/.DS_Store
13-
.DS_Store
14-
.DS_Store
15-
.DS_Store
16-
assets/css/.DS_Store
3+
*.DS_Store
4+
.vscode

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

.phpcs.xml.dist

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
<?xml version="1.0"?>
22
<ruleset
3-
name="WordPress-LSX"
3+
name="WordPress-LSX-Design"
44
namespace="WordPressCS\WordPress"
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd"
77
>
8-
<description>Coding standards</description>
8+
<description>WordPress Coding Standards for HTML and PHP files in the project.</description>
9+
10+
<rule ref="WordPress"/>
11+
<rule ref="WordPress-Core"/>
12+
<rule ref="WordPress-Docs"/>
13+
<rule ref="WordPress-Extra"/>
914

15+
<!-- Paths to exclude from the scan -->
16+
<exclude-pattern>vendor/*</exclude-pattern>
17+
<exclude-pattern>node_modules/*</exclude-pattern>
18+
<exclude-pattern>assets/*</exclude-pattern>
19+
<exclude-pattern>styles/*</exclude-pattern>
20+
21+
<!-- Paths to scan -->
1022
<file>.</file>
11-
<exclude-pattern>/tests/</exclude-pattern>
12-
<exclude-pattern>/vendor/</exclude-pattern>
13-
<exclude-pattern>/wordpress/</exclude-pattern>
14-
<exclude-pattern>/wp-content/</exclude-pattern>
15-
<exclude-pattern>/dependencies/</exclude-pattern>
23+
1624

1725
<arg name="extensions" value="php" />
1826
<arg name="basepath" value="./" />

.stylelintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "stylelint-config-recommended"
3+
}

assets/css/blocks/loginout.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ form#loginform input{
77
line-height: 1.33333;
88
border-radius: 6px;
99
display:block;
10+
box-sizing: border-box;
1011
}
1112
form#loginform input#rememberme{
1213
display: inline-flex;

composer.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
2-
"name": "lightspeeddevelopment/lsx",
2+
"name": "lightspeedwp/lsx-design",
33
"description": "is a minimalistic WordPress theme that allows users to create fast, efficient and attractive websites that are feature-rich. The theme displays perfectly on all desktop and portable devices.",
44
"type": "wordpress-theme",
5+
"keywords": [
6+
"WordPress",
7+
"Themes"
8+
],
59
"require": {
610
"php": ">=8.0",
711
"composer/installers": "^2.0.0"
@@ -29,5 +33,18 @@
2933
"dealerdirect/phpcodesniffer-composer-installer": true,
3034
"johnpbloch/wordpress-core-installer": true
3135
}
32-
}
33-
}
36+
},
37+
"config": {
38+
"allow-plugins": {
39+
"dealerdirect/phpcodesniffer-composer-installer": true
40+
}
41+
},
42+
"require-dev": {
43+
"squizlabs/php_codesniffer": "^3.10",
44+
"wp-coding-standards/wpcs": "^3.1"
45+
},
46+
"scripts": {
47+
"format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source",
48+
"lint": "phpcs --standard=phpcs.xml.dist"
49+
}
50+
}

lsx-design.code-workspace

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "../../.."
5+
}
6+
],
7+
"settings": {}
8+
}

0 commit comments

Comments
 (0)