Skip to content

Commit 6324fd8

Browse files
committed
remove unused styles for ng-touched.ng-invalid
1 parent 7951bbf commit 6324fd8

3 files changed

Lines changed: 3 additions & 17 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `@angular-buch/styles`
22

3-
This repository contains the global stylesheet to be used within the example application "BookMonkey" used in the German [Angular Book](https://angular.buch.com).
3+
This repository contains the global stylesheet to be used within the example application "BookManager" used in the German [Angular Book](https://angular.buch.com).
44

55
> :warning: This CSS Stylesheet is not used in the BookMonkey Versions (2-5) from the "Angular Buch".
66

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@angular-buch/styles",
33
"version": "0.0.1",
4-
"description": "A global stylesheet to be used for the application \"BookMonkey\"",
4+
"description": "A global stylesheet to be used for the application \"BookManager\"",
55
"repository": {
66
"type": "git",
77
"url": "git+ssh://git@github.com/angular-buch/styles.git"
@@ -16,7 +16,7 @@
1616
"publish": "npm publish"
1717
},
1818
"keywords": [
19-
"BookMonkey",
19+
"BookManager",
2020
"Angular",
2121
"Buch",
2222
"Angular",

src/styles.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -262,20 +262,6 @@ fieldset {
262262
}
263263
}
264264

265-
input.ng-touched.ng-invalid,
266-
select.ng-touched.ng-invalid,
267-
textarea.ng-touched.ng-invalid {
268-
background-image: var(--pico-icon-invalid);
269-
--pico-border-color: var(--pico-form-element-invalid-border-color);
270-
padding-right: calc(var(--pico-form-element-spacing-horizontal) + 1.5rem) !important;
271-
padding-left: var(--pico-form-element-spacing-horizontal);
272-
padding-inline-start: var(--pico-form-element-spacing-horizontal) !important;
273-
padding-inline-end: calc(var(--pico-form-element-spacing-horizontal) + 1.5rem) !important;
274-
background-position: center right 0.75rem;
275-
background-size: 1rem auto;
276-
background-repeat: no-repeat;
277-
}
278-
279265
fieldset [role='group'] {
280266
flex-wrap: wrap;
281267
gap: 1em;

0 commit comments

Comments
 (0)