Unverified Commit a385691a authored by Ken Hawkins's avatar Ken Hawkins Committed by GitHub
Browse files

Accessibility: vf-summary date format (#1741)

Closes #1673
parent 761de3fb
Pipeline #220961 failed with stages
in 3 minutes and 6 seconds
### 1.1.2
* Minor update to example content.
### 1.1.1 ### 1.1.1
* changes any `set-` style functions to cleaner version * changes any `set-` style functions to cleaner version
......
title: Article Meta Information title: Article Meta Information
label: Article Meta Information label: Article Meta Information
status: beta status: beta
context: context:
component-type: block component-type: block
author__name: First-Name Surname
author__name: First-Name Surame
author__avatar: https://avatars3.githubusercontent.com/u/925197?s=88&v=4 author__avatar: https://avatars3.githubusercontent.com/u/925197?s=88&v=4
meta__topics: meta__topics:
- cancer - cancer
- history - history
meta__date: 14th February 2019 meta__date: 14 February 2019
meta__comment_count: 61 meta__comment_count: 61
meta__links_title: On this page meta__links_title: On this page
meta__links: meta__links:
......
### 1.6.1
* vf-summary--event now uses a lowercase date format.
* Removes ordinals from recommended date format (4th September 2021).
* https://github.com/visual-framework/vf-core/issues/1673
### 1.6.0 ### 1.6.0
* Removes support for styling of `vf-summary` inside of `vf-box`. (this is no longer encouraged) * Removes support for styling of `vf-summary` inside of `vf-box`. (this is no longer encouraged)
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
transition-property: box-shadow; transition-property: box-shadow;
transition-timing-function: ease-in-out; transition-timing-function: ease-in-out;
.vf-summary__icon { .vf-summary__icon {
bottom: 16px; bottom: 16px;
fill: var(--vf-summary-theme-color--background, map-get($vf-ui-colors-map, vf-ui-color--black)); fill: var(--vf-summary-theme-color--background, map-get($vf-ui-colors-map, vf-ui-color--black));
...@@ -41,7 +40,6 @@ ...@@ -41,7 +40,6 @@
@include set-type(text-body--4, $custom-margin-bottom: 0); @include set-type(text-body--4, $custom-margin-bottom: 0);
color: map-get($vf-ui-colors-map, vf-ui-color--black); color: map-get($vf-ui-colors-map, vf-ui-color--black);
text-transform: uppercase;
} }
.vf-summary__text { .vf-summary__text {
......
...@@ -15,12 +15,12 @@ variants: ...@@ -15,12 +15,12 @@ variants:
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: EMBL's top social media posts of 2017 and what we learned from them summary__title: EMBL's top social media posts of 2017 and what we learned from them
summary__text: I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product. summary__text: I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product.
summary__date: 06th February 2018 summary__date: 6 February 2018
summary__author: Laura Howes summary__author: Laura Howes
summary__author_href: 'JavaScript:Void(0);' summary__author_href: 'JavaScript:Void(0);'
- name: event - name: event
context: context:
summary__date: 04th September 2019 summary__date: 4 September 2019
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: Executive Masters in Management of Research Infrastructures summary__title: Executive Masters in Management of Research Infrastructures
summary__text: This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases. summary__text: This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases.
...@@ -39,12 +39,12 @@ variants: ...@@ -39,12 +39,12 @@ variants:
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: Group Leader - Cell and Biophysics summary__title: Group Leader - Cell and Biophysics
summary__text: We are seeking to recruit outstanding group leaders who wish to carry out cutting-edge molecular cell biology research and/or technology development. summary__text: We are seeking to recruit outstanding group leaders who wish to carry out cutting-edge molecular cell biology research and/or technology development.
summary__date: 11th August 2018 summary__date: 11 August 2018
summary__date_meta: Closes in 8 days. summary__date_meta: Closes in 8 days.
- name: news - name: news
context: context:
summary__category: General summary__category: General
summary__date: 04th September 2019 summary__date: 4 September 2019
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: news article summary summary__title: news article summary
summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device. summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
...@@ -52,7 +52,7 @@ variants: ...@@ -52,7 +52,7 @@ variants:
context: context:
summary__image: ../../assets/vf-summary/assets/vf-summary--news-has-image.jpg summary__image: ../../assets/vf-summary/assets/vf-summary--news-has-image.jpg
summary__image_alt: News image alt summary__image_alt: News image alt
summary__date: 04th September 2019 summary__date: 4 September 2019
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: news article summary summary__title: news article summary
summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device. summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
...@@ -60,7 +60,7 @@ variants: ...@@ -60,7 +60,7 @@ variants:
context: context:
summary__image: ../../assets/vf-summary/assets/vf-summary--news-has-image.jpg summary__image: ../../assets/vf-summary/assets/vf-summary--news-has-image.jpg
summary__image_alt: decorative summary__image_alt: decorative
summary__date: 04th September 2019 summary__date: 4 September 2019
summary__href: 'JavaScript:Void(0);' summary__href: 'JavaScript:Void(0);'
summary__title: news article summary summary__title: news article summary
summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device. summary__text: Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
......
...@@ -68,7 +68,7 @@ layout: layouts/boilerplate.njk ...@@ -68,7 +68,7 @@ layout: layouts/boilerplate.njk
"cancer", "cancer",
"history" "history"
], ],
"meta__date": "14th February 2019", "meta__date": "14 February 2019",
"meta__comment_count": 61, "meta__comment_count": 61,
"meta__links_title": "On this page", "meta__links_title": "On this page",
"meta__links": [ "meta__links": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment