forked from woocommerce/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
1,080 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.* | ||
.*/ | ||
*.lock | ||
*.md | ||
*.zip | ||
babel.config.js | ||
bin/ | ||
build/ | ||
CHANGELOG.txt | ||
composer.* | ||
docker-compose.yaml | ||
Dockerfile | ||
Gruntfile.js | ||
node_modules/ | ||
none | ||
package-lock.json | ||
package.json | ||
packages/woocommerce-admin/docs | ||
phpcs.xml | ||
phpunit.xml | ||
phpunit.xml.dist | ||
README.md | ||
renovate.json | ||
tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build release asset | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
name: Build release asset | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build | ||
id: build | ||
uses: woocommerce/action-build@master | ||
with: | ||
generate-zip: true | ||
- name: Upload release asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: ${{ steps.build.outputs.zip_path }} | ||
asset_name: woocommerce.zip | ||
asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* privacy.scss | ||
* Styles applied to the Privacy Policy Guide to support WooCommerce content. | ||
* Adds support for styling ul/ol elements. | ||
*/ | ||
|
||
/** | ||
* Styling begins | ||
*/ | ||
|
||
// Support for indented bullet-lists. | ||
.policy-text ul { | ||
list-style: disc; | ||
} | ||
|
||
.policy-text ol { | ||
list-style: decimal; | ||
} | ||
|
||
.policy-text ul li, | ||
.policy-text ol li { | ||
margin-left: 2em; | ||
} | ||
|
||
// Pre-5.4 support for italics. | ||
.branch-5-2 .policy-text ul, | ||
.branch-5-2 .policy-text ol, | ||
.branch-5-3 .policy-text ul, | ||
.branch-5-3 .policy-text ol { | ||
font-style: italic; | ||
} | ||
|
||
// 5.4 support for white background and padding. | ||
.branch-5-4 .policy-text ul:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.branch-5-4 .policy-text ol:not(.privacy-policy-tutorial):not(.wp-policy-help) { | ||
background-color: #fff; | ||
margin: 0; | ||
padding: 1em; | ||
} | ||
|
||
.branch-5-4 .hide-privacy-policy-tutorial ul:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.branch-5-4 .hide-privacy-policy-tutorial ol:not(.privacy-policy-tutorial):not(.wp-policy-help) { | ||
margin: 1em 0; | ||
padding: 0; | ||
} | ||
|
||
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + ul:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text p:not(.privacy-policy-tutorial):not(.wp-policy-help) + ol:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ul:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ul:not(.privacy-policy-tutorial):not(.wp-policy-help) + ul:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ul:not(.privacy-policy-tutorial):not(.wp-policy-help) + ol:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ol:not(.privacy-policy-tutorial):not(.wp-policy-help) + p:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ol:not(.privacy-policy-tutorial):not(.wp-policy-help) + ul:not(.privacy-policy-tutorial):not(.wp-policy-help), | ||
.policy-text ol:not(.privacy-policy-tutorial):not(.wp-policy-help) + ol:not(.privacy-policy-tutorial):not(.wp-policy-help) { | ||
padding-top: 0; | ||
} |
Oops, something went wrong.