-
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.
Browse files
Browse the repository at this point in the history
…tion-bar
- Loading branch information
Showing
27 changed files
with
562 additions
and
156 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
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
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
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
19 changes: 19 additions & 0 deletions
19
taccsite_cms/static/site_cms/css/src/_imports/tools/selectors.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,19 @@ | ||
/* DO NOT ADD STYLES HERE; ADD CUSTOM SELECTORS TO USE IN OTHER STYLESHEETS */ | ||
|
||
/* | ||
For Other Sites | ||
These are global selectors to target known subsites. | ||
Usage: `:--for-subsite .some-class { … }` | ||
Notice: These must be Tools (imported as needed) until native browser support, at which time they can become Settings (imported globally). | ||
Reference: | ||
- https://drafts.csswg.org/css-extensions/#custom-selectors | ||
Styleguide Tools.CustomSelectors.ForOtherSites | ||
*/ | ||
@custom-selector :--for-cms body > .o-site__body; | ||
@custom-selector :--for-portal body > .content; | ||
@custom-selector :--for-docs .wy-body-for-nav; |
35 changes: 35 additions & 0 deletions
35
taccsite_cms/static/site_cms/css/src/_imports/tools/x-arrow.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,35 @@ | ||
/* | ||
Arrow | ||
An arrow generator. Set variables for specific use cases. | ||
.x-arrow--right - Rightward (>) | ||
.x-arrow--left - Leftward (<) | ||
.x-arrow--up - Upward (^) | ||
.x-arrow--down - Downward (v) | ||
Styleguide Components.Branding | ||
*/ | ||
|
||
/* SEE: https://www.w3schools.com/howto/howto_css_arrows.asp */ | ||
%x-arrow { | ||
--size: 5px; | ||
--line: 2px; | ||
--color: black; | ||
|
||
display: inline-block; | ||
vertical-align: middle; | ||
|
||
/* arrow size */ | ||
padding: var(--size); | ||
|
||
/* line width */ | ||
border-width: 0 var(--line) var(--line) 0; | ||
border-style: solid; | ||
border-color: var(--color); | ||
} | ||
|
||
%x-arrow--right { transform: rotate(-45deg); } | ||
%x-arrow--left { transform: rotate(135deg); } | ||
%x-arrow--up { transform: rotate(-135deg); } | ||
%x-arrow--down { transform: rotate(45deg); } |
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
46 changes: 46 additions & 0 deletions
46
taccsite_cms/static/site_cms/css/src/_imports/trumps/for-docs.header.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,46 @@ | ||
/* | ||
Docs | ||
The [Core Docs](https://github.com/TACC/Core-Docs). | ||
Styleguide Trumps.ForOtherSites.Docs | ||
*/ | ||
@import url("_imports/tools/selectors.css"); | ||
|
||
|
||
|
||
/* Initialize Sidebar Position (for Dependency on Header Height) */ | ||
|
||
/* To position Docs' sidebar nav at expected initial vertical location ASAP */ | ||
:--for-docs nav.stickynav { | ||
/* To override `top: 0` (in `theme.css`) */ | ||
/* FAQ: This is an initial value that is re-calculated by a Docs script */ | ||
/* SEE: https://bitbucket.org/taccaci/frontera-tech-docs/src/429f05f/frontera_theme/base.html#lines-69 */ | ||
top: calc(env(--header-brandbar-height) + env(--header-navbar-height)); | ||
} | ||
|
||
|
||
|
||
/* Overwrite Bootstrap (for Search Form in Header) */ | ||
|
||
/* To compensate for Docs not having `.form-inline` in _its_ Bootstrap 4.3.1 */ | ||
:--for-docs .form-inline { | ||
/* The search bar expects these styles to be available */ | ||
/* SEE: CMS //maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap… */ | ||
/* SEE: Portal //stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap… */ | ||
/* SEE: Docs /src/5b223a5/docs/css/cms.bootstrap.4.3.1.css */ | ||
display: flex; | ||
/* NOTE: These are perceptibly ineffectual but consistent with Portal & CMS */ | ||
flex-flow: row wrap; | ||
align-items: center; | ||
} | ||
|
||
|
||
|
||
/* Overwrite ReadTheDocs (for Images in Header) */ | ||
|
||
/* To overwrite `img { max-width: 100% }` */ | ||
:--for-docs .s-header img, | ||
:--for-docs .c-branding img { | ||
max-width: unset; | ||
} |
Oops, something went wrong.