visual-framework / vf-core

A (primarily CSS) framework that targets needs of life science websites and services
https://stable.visual-framework.dev/
Apache License 2.0
22 stars 10 forks source link

ebi-vf1-integration component additions #615

Closed dbushell closed 4 years ago

dbushell commented 5 years ago

In the vf-wp WordPress theme I'm seeing CSS specificity issues with ebi-global.css overriding the friendlier vf-core styles.

Logging those as I notice them in this issue below.

auto-comment[bot] commented 5 years ago

Thank you for raising an issue. We will try and get back to you as soon as possible. Please make sure you have given us as much context as possible.

dbushell commented 5 years ago

Blockquotes

/* ebi-global */
blockquote, blockquote p {
  color: #8a8a8a;
}

.vf-blockquote is getting re-colored.

dbushell commented 5 years ago

Selects

.vf-form__select is getting various conflicts with a raw select style - primarily a defined height is the biggest visual effect. Visible in vf-wp /blog/ sidebar widgets.

khawkins98 commented 5 years ago

I made a quick codepen to see how some of these conflict with ebi-global and Bootstrap 3, 4, and Foundation 6: https://codepen.io/khawkins98/pen/eYYWJNO

In short, it's mostly Foundation (and therefore also EBI 1.x) that makes issues.

I think that means that over time some fixes are going to be:

dbushell commented 5 years ago

Textarea

.vf-form__textarea border on :focus get changes, unlike text inputs.

dbushell commented 5 years ago

Dividers

.vf-divider is affected by:

hr {
  clear: both;
  max-width: 80rem;
}
sturobson commented 5 years ago

Screenshot 2019-10-30 at 14 36 09

vf1.x has a :visited state that makes links override vf2.x

khawkins98 commented 4 years ago

This still active? Or can we close an tackle new things as they come?

khawkins98 commented 4 years ago

Going to close this one until someone shouts

closing