-
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.
Merge branch 'main' into task/GH-73-tacc-blockquote-plugin
- Loading branch information
Showing
62 changed files
with
342 additions
and
294 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,8 @@ | ||
# Why Does `__init.py__ Exist Here? | ||
|
||
Locally, this file is unnecessary. But when deployed to a remote server, it prevents an error. | ||
|
||
## Reference | ||
|
||
- https://github.com/TACC/Core-Portal-Deployments/commit/f2ea0d094da19b9942288fb5660fe00fb0e6778b | ||
- https://github.com/TACC/Core-Portal-Deployments/commit/62f9d225c5049f29daedc95af2da546b83c9a474 |
Empty file.
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,15 @@ | ||
# TACC CMS Per-Site Resources - Shared - Stylesheets | ||
|
||
See [Core CMS Stylesheets `README.md`][core-css-readme]. | ||
|
||
## Naming Format | ||
|
||
| Format | Description | | ||
| :- | :- | | ||
| [...][core-css-readme-naming] | [...][core-css-readme-naming] | ||
| `migrate.*.css` | styles that apply to websites that have been migrated[^1] | ||
|
||
[^1]: When sensible, use the migration folder name, i.e. `migrate.v1_v2.css`. | ||
|
||
[core-css-readme]: https://github.com/TACC/Core-CMS/blob/main/taccsite_cms/static/site_cms/css/src/README.md | ||
[core-css-readme-naming]: https://github.com/TACC/Core-CMS/blob/main/taccsite_cms/static/site_cms/css/src/README.md#naming-format |
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,38 @@ | ||
# TACC CMS - Stylesheets - Migrations | ||
|
||
ORGANIZE STYLES HERE! | ||
|
||
These folders' styles are only to be imported by other stylesheets. | ||
|
||
CMS websites that were migrated from earlier instances may need these styles. | ||
|
||
## Rules | ||
|
||
1. Folders __must__ include any top-of-file comments from source file. | ||
1. Folders __must__ be [named with appropriate format](#Naming%20Format). | ||
1. Files __should__ [comment on purpose and means of acquisition](#Documentation%20Format). | ||
1. Files __must__ include a top-of-file comments (from source file or by TACC). | ||
1. Files (except this document) __must__ be in a folder. | ||
|
||
## Documentation Format | ||
|
||
```css | ||
/* | ||
Pre-2020 Django CMS Bootstrap 3.3.7 | ||
HOW: https://dev.help.com/some-tool | ||
HOW: Included code that ... | ||
HOW: Included code that ... (because ...) e.g.: | ||
- ... | ||
HOW: Did NOT incude code that ... | ||
SRC: https://bitbucket.org/taccaci/frontera/src/master/client/css/bootstrap.min.css | ||
*/ | ||
``` | ||
|
||
## Naming Format | ||
|
||
| Format | Description | | ||
| :- | :- | | ||
| `A_B/` | from old "A" to new "B"[^1] | ||
| `v1_v2/` | from Core__V1__ CMS (pre-2020) to Core__V2__ CMS (2020+) | ||
|
||
[^1]: Where "A" and "B" represent a version, or historical state, of the CMS. |
12 changes: 6 additions & 6 deletions
12
...ms/css/archive/angular-material.1.1.8.css → ...grations/v1_v2/angular-material.1.1.8.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
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,29 @@ | ||
/* | ||
CoreV1 Portal Stylesheet `portal.css` | ||
HOW: Manually find and retain code that is still used | ||
SRC: https://bitbucket.org/taccaci/frontera/src/master/client/css/portal.css | ||
*/ | ||
|
||
/*! | ||
* CoreV1 Portal Stylesheet `portal.css` | ||
* https://bitbucket.org/taccaci/frontera/src/master/client/css/portal.css | ||
* 59e345f | ||
*/ | ||
|
||
/* … */ | ||
|
||
body { | ||
font-family: 'Roboto', sans-serif; | ||
|
||
/* TACC: Disabled */ | ||
/* FAQ: Wesley forgot why; this and more may be deleted anyway */ | ||
/* min-height: 100%; */ | ||
/* position: relative; */ | ||
} | ||
|
||
/* … */ | ||
|
||
footer { | ||
/* … */ | ||
margin-top: 1em; | ||
} |
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,5 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
@import url("_migrations/v1_v2/bootstrap.3.3.7.css"); | ||
@import url("_migrations/v1_v2/angular-material.1.1.8.css"); | ||
@import url("_migrations/v1_v2/main.portal.css"); |
1 change: 1 addition & 0 deletions
1
a2cps-cms/snippets/gh-245-markup-single-paragraph-whitespace.html
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 @@ | ||
<p> <!-- To mimic 2020 site whitespace in Cards with reusable tracable code --></p> |
114 changes: 114 additions & 0 deletions
114
a2cps-cms/static/a2cps-cms/css/src/_migrations/v1_v2/a2cps.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 |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/* | ||
A2CPS Migration Styles | ||
HOW: Manually find discrepencies in UI that seem specific to A2CPS | ||
*/ | ||
|
||
/*! | ||
* A2CPS Migration Styles | ||
*/ | ||
|
||
|
||
|
||
|
||
|
||
/* ELEMENTS */ | ||
|
||
/* Table Content */ | ||
|
||
table, | ||
td, | ||
th { | ||
/* To mimic 2020 site by restoring browser default */ | ||
border-color: inherit; /* override `site.css` */ | ||
} | ||
|
||
/* To mimic unscoped styles from Angular component that v1 CMS assumes exist */ | ||
/* SEE: https://bitbucket.org/taccaci/frontera/src/8167403/client/src/angular/data_depot/projects/components/project-meta/project-meta.css?#project-meta.css-34 */ | ||
td { | ||
padding-right: 2.25em; | ||
padding-bottom: 0.5em; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
/* COMPONENTS */ | ||
|
||
|
||
|
||
/* COMPONENTS: TACC */ | ||
|
||
/* Footer */ | ||
|
||
.c-footer { | ||
/* To mimic 2020 site `#footer` styles */ | ||
margin: 0; | ||
} | ||
|
||
|
||
|
||
/* COMPONENTS: Bootstrap */ | ||
|
||
/* Cards */ | ||
|
||
/* To mimic 2020 site faux cards via Bootstrap cards */ | ||
/* SEE: https://a2cps.org/patients/.../ */ | ||
/* SEE: https://a2cps.org/researchers/ */ | ||
/* FAQ: A faux cards was a <div> (card) with two <p>'s (header, body) */ | ||
.card { | ||
/* To clear `.card` styles */ | ||
border-radius: 0; | ||
|
||
/* To mimic header <p> (from inline styles) */ | ||
margin-top: 20px; | ||
|
||
/* To mimic body <img> (from inline styles) */ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.card-header { | ||
/* To mimic header <p> (from inline styles) */ | ||
padding: 15px; | ||
|
||
/* To mimic header <p>'s typography (from inline styles) */ | ||
text-align: center; | ||
font-weight: bold; | ||
font-size: 16px; | ||
} | ||
.card-header:first-child { | ||
/* To clear `.card` styles */ | ||
border-radius: 0; | ||
} | ||
|
||
.card-body { | ||
/* SEE: https://a2cps.org/connect/ */ | ||
padding: 15px; | ||
} | ||
|
||
/* To mimic faux card inline styles */ | ||
.card.bg-light .card-header, | ||
.card.bg-transparent .card-header { | ||
background-color: #DFDFDF; | ||
border-bottom-color: #DFDFDF; | ||
} | ||
.card.bg-light .card-body, | ||
.card.bg-transparent .card-body { | ||
/* SEE: https://a2cps.org/connect/ */ | ||
border-color: #DFDFDF; | ||
} | ||
|
||
/* Cards: "For ..." Pages */ | ||
.s-page-cards .card, | ||
.s-page-cards .card-header { | ||
/* To clear `.card` styles */ | ||
border: none; | ||
} | ||
.s-page-cards .card-header p { | ||
/* To prevent <p> (forced by Text plugin WYSIWIG) from breaking layout */ | ||
margin: 0; | ||
} | ||
.s-page-cards .card-body { | ||
/* To clear `.card` styles */ | ||
padding: 0; | ||
} |
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,4 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
@import url("../../../../../_shared/static/css/src/migrate.v1_v2.css"); | ||
@import url("./_migrations/v1_v2/a2cps.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
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 @@ | ||
See [Core `templates/snippets/README.md`](/taccsite_cms/templates/snippets/README.md). |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
@import url("../../../../../_shared/static/css/src/migrate.v1_v2.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
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 @@ | ||
See [Core `templates/snippets/README.md`](/taccsite_cms/templates/snippets/README.md). |
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
Oops, something went wrong.