Problem/Motivation
In issue #2408511: Rewrite vertical-tabs component inline with our CSS standards the Seven vertical tabs were updated with this code:
+++ b/core/themes/seven/css/components/vertical-tabs.css
@@ -50,60 +49,59 @@
-.vertical-tab-button.selected a,
-.vertical-tab-button a:hover,
-.vertical-tab-button a:focus {
+.vertical-tabs__menu-item.is-selected a,
+.vertical-tabs__menu-item a:hover,
+.vertical-tabs__menu-item a:focus {
background: #fcfcfa;
text-shadow: none;
- text-decoration: none;
}
This change is unintended and introduced a regression where vertical tabs text is underlined in the hover/focus/selected state. Seven styleguide for reference:

Proposed resolution
Undo the change to text-decoration.
Remaining tasks
- Write a patch
- Review
User interface changes
Seven vertical tabs text is no longer underlined in the hover/focus/selected state.
API changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2459607-1.patch | 698 bytes | idebr |
| #2 | 2459607-1-after.gif | 60.05 KB | idebr |
| #2 | 2459607-1-before.gif | 58.52 KB | idebr |
| #1 | 15b.vertical-tabs.png | 20.81 KB | idebr |
Comments
Comment #1
idebr commentedComment #2
idebr commentedThis line was added in #1989488: Vertical tabs style update but it did not show text-decoration as reflected in the screenshots in the issue, so I removed it to bring the vertical tabs in line with the Seven Style guide.
Screencap before:
Screencap after:
Comment #3
rpayanmLooks good for me.
Comment #4
lewisnymanLooks good, in some situations the implementation differs from the original photoshop for accessibility reasons. For this compoenent the text underline is not required, because the background colour change is enough of an indicator.
Comment #5
alexpottCSS is not frozen in beta. Committed 0a9f467 and pushed to 8.0.x. Thanks!