Skip to content

Commit

Permalink
fix autotabs border color and move the fix to formtabbing.plone.less
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Aug 7, 2020
1 parent 14b50aa commit 26c071a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
9 changes: 6 additions & 3 deletions plonetheme/barceloneta/theme/less/barceloneta-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions plonetheme/barceloneta/theme/less/formtabbing.plone.less
Expand Up @@ -43,6 +43,16 @@
}
}

// "#content-core a" rule overrides the border-bottom defined above
// We need to have a more specific rule to override it again.
#content-core .autotabs .autotoc-nav a {
border: @plone-portlet-border;

&.active {
border-bottom: 1px solid @plone-portlet-content-bg;
}
}

//hide tabs with horizontal scrolling for small devices to avoid line break (remove media if you want to apply everywhere)
@media (max-width: @plone-screen-xs-max) {
.autotabs .autotoc-nav {
Expand Down
5 changes: 0 additions & 5 deletions plonetheme/barceloneta/theme/less/main.plone.less
Expand Up @@ -51,11 +51,6 @@
border-bottom: 1px solid @plone-gray-lighter;
}


#content-core .autotabs .autotoc-nav a.active {
border-bottom: 1px solid @plone-portlet-content-bg;
}

a.plone-toolbar-logo {
color: #fff;
}
Expand Down

0 comments on commit 26c071a

Please sign in to comment.