-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update core-styles from v2.11 to v2.22 - misc bugs (#753)
* fix: cms button styles not applied to form buttons * fix: limit most button styles to main content * fix: core-styles v2.22.0 to v2.22.1 * fix: core-styles django cms form button class name * chore: core-styles v2.22.1 to v2.22.2
- Loading branch information
1 parent
71bdb4c
commit f1a608c
Showing
3 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"dependencies": { | ||
"@frctl/fractal": "^1.5.14", | ||
"@frctl/mandelbrot": "^1.10.1", | ||
"@tacc/core-styles": "github:TACC/Core-Styles#9315ebbd", | ||
"@tacc/core-styles": "^2.22.2", | ||
"minimist": "^1.2.6" | ||
}, | ||
"repository": "[email protected]:TACC/Core-CMS.git", | ||
|
24 changes: 14 additions & 10 deletions
24
taccsite_cms/static/site_cms/css/src/_imports/components/c-button.css
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 |
---|---|---|
@@ -1,16 +1,20 @@ | ||
@import url("@tacc/core-styles/src/lib/_imports/components/c-button.selectors.css"); | ||
@import url("@tacc/core-styles/src/lib/_imports/tools/selectors.form.css"); | ||
|
||
:--c-button--primary, | ||
:--c-button--secondary, | ||
:--c-button--tertiary, | ||
:--c-button--is-active { | ||
padding: 10px 20px; | ||
|
||
font-size: var(--global-font-size--small); | ||
text-transform: uppercase; | ||
:--main-content { | ||
& :--c-button, | ||
& :--form__button { | ||
padding: 10px 20px; | ||
|
||
font-size: var(--global-font-size--small); | ||
|
||
font-weight: var(--bold); | ||
letter-spacing: 0.05em; | ||
} | ||
} | ||
|
||
:--c-button { | ||
font-weight: var(--bold); | ||
letter-spacing: 0.05em; | ||
:--c-button, | ||
:--form__button { | ||
text-transform: uppercase; | ||
} |