open-consul/ui/packages/consul-ui/app
John Cowen cf63afaddb
ui: Re-organize our %h* placeholders (#9584)
We've always had this idea of being able to markup up information
semantically without thinking about what it should look like, then
applying our %h* placeholder styles to control what the information
should look like.

Back when we originally made our set of %h* placeholders, we tried to
follow Structure as much as possible, which defined the largest header
(which we thought would have been the h1 style) as a super large 3.5rem.

Therefore we made our set of %h* placeholders the same as Structure
beginning at a huge 3.5 size. We then re-overwrote those sizes only in
Consul specific CSS files thinking that this was due to us existing
before Structure did.

Lately we saw an extra clue in Structure - the extra large 3.5 header was
called 'h0'.

This commit moves all our headers to use a zero based scale, and
additionally uses our 3 digit scale as opposed to 1 digit (h1 vs h100),
similar to our color scales (note we don't use a hypen, which we can
alter later if need be), which means we can insert additional h150 etc
if need be.

Additional we stop styling our headers globally (h1 { @extend %h100; }
). This means there is no reason not to use headers for marking up
content depending on what it is rather than what it should look like,
and as a consequence means we can be more purposeful in ordering h*
tags.

Lastly, we use the new scale over the entire codebase and update a
couple of places where we were using using header tags due to what the
styleing for them looked like rather than what the meaning/order was.
2021-01-26 17:53:45 +00:00
..
adapters ui: [BUGFIX] Request intention listing with ns parameter (#9432) 2021-01-04 17:22:10 +00:00
components ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
controllers ui: Misc changes for Catalog area (#9414) 2020-12-17 16:35:01 +00:00
filter/predicates ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
forms ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
helpers ui: Improves the 'you must provide ... to generate' error from href-to (#9514) 2021-01-19 15:25:37 +00:00
initializers ui: Remove unnecessay reopens from sort and form services (#9146) 2020-11-10 14:36:27 +00:00
instance-initializers ui: document-attrs helper (#9336) 2020-12-09 09:22:01 +00:00
mixins ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
models ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
modifiers ui: New overlays (#9305) 2020-12-02 09:43:34 +00:00
routes ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
routing ui: Add 'Search Across' for finer grained searching (#9282) 2020-12-01 15:45:09 +00:00
search/predicates ui: Fuzzy and Regex searching (#9424) 2020-12-18 10:38:15 +00:00
serializers ui: Rename a model attribute to not be overwritten by ember-data (#9524) 2021-01-12 09:53:21 -05:00
services ui: Sidebar navigation / redesign (#9553) 2021-01-26 17:40:33 +00:00
sort/comparators ui: HealthCheck Search/Sort/Filtering (#9314) 2020-12-07 09:14:30 +00:00
styles ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
templates ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
utils ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
validations ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
app.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
env.js ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
formats.js ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
index.html ui: Move to Workspaced Structure (#8994) 2020-10-21 15:23:16 +01:00
router.js ui: Delete Proxy Info tab (#9141) 2020-11-10 11:31:47 -05:00