Skip to content

Commit

Permalink
Merge pull request #211 from plone/fix-tabs-210
Browse files Browse the repository at this point in the history
fix #210 (distinguish active autotab)
  • Loading branch information
vincentfretin committed Aug 7, 2020
2 parents 026a215 + 26c071a commit b359291
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/210.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The active autotab is clearly visually distinguishable again.
6 changes: 6 additions & 0 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
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

version = '2.1.9.dev0'
version = '2.1.9.dev1'

long_description = (
read('README.rst') + '\n' +
Expand Down

0 comments on commit b359291

Please sign in to comment.