-
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.
GH-101: Navigation Bar (Partially Complete)
- Remove now-moot taccsite_custom:frontera-cms search bar font sizes. - Support CSS custom selectors (known external bug). - Test CSS custom selectors (known external bug). - Remove outdated comment from `c-branding`. - Set `c-logo` image height in component stylesheet. - Add TODO for `html { font-size: 62.5%; }` - Add arrow "mixin" (note: using `%-arrow` syntax). - Redesign header (but not dropdowns and not portal nav). - Remove now-moot `s-portal-nav` styles. - Add & Update header env variables for themes. - Perform "GH-129: Do Not Support CMS Menu Nav Link & Dropdown".
- Loading branch information
1 parent
80ed3c0
commit b2cec49
Showing
12 changed files
with
235 additions
and
119 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
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 |
---|---|---|
|
@@ -23,5 +23,5 @@ Styleguide Components.Logo | |
/* Elements */ | ||
|
||
.c-logo__image { | ||
/* … */ | ||
height: 100%; | ||
} |
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
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
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
Oops, something went wrong.