backdrop-contrib / gin

Admin theme with a strong focus on improving the Editorial Experience.
https://backdropcms.org/project/gin
GNU General Public License v2.0
5 stars 2 forks source link

Style for overridden status in Views headings doesn't apply #130

Closed olafgrabienski closed 1 week ago

olafgrabienski commented 2 months ago

Like the Seven admin theme, Gin provides a style for the h3 heading of overridden Views configuration sections (Format, Fields, Filter criteria, etc.):

.views-ui-display-tab-bucket.overridden > h3 {
  font-style: italic;
}

The style doesn't apply in Gin, because the child selector doesn't work, as there is an additional wrapper element around the h3:

<div class="views-ui-display-tab-bucket fields overridden views-ui-display-tab-bucket" title="Overridden">
  <div class="views-ui-display-tab-bucket__header">
    <h3 class="views-ui-display-tab-bucket__title">Fields</h3>
  </div>
...
laryn commented 2 months ago

@olafgrabienski Can you provide a screenshot?

olafgrabienski commented 2 months ago

Sure, below two screenshots, the first is from Gin, the second from Seven (where the h3 is in italics).


laryn commented 1 week ago

Thanks @olafgrabienski -- I hadn't ever noticed that before!