stable
Clone or download
We can now have vertical tabs in TLP. Go to TLP documentation ยป structure & navigation ยป tabs to see an example of usage. Bonus: every links in the examples didn't work anymore due to sanitization introduced earlier. href="javascript:;" was used to provide valid link, but sanitize() consider this to be harmful, leading to a <a> tag without any href attribute. This is problematic because some navigators don't consider it anymore as a hyperlink tag, and behavior can change (like no pointer cursor on hover). Now example links are using href="#", but to not force the browser to follow the dummy anchor (typically scroll back to the top of the document), we disable the click on the link. Part of story #14552 User preferences goes Burning Parrot Change-Id: I9311e4c1b39ae827e26e3a72a78e7d507a1b471a
Modified Files
Name | ||||
---|---|---|---|---|
M | src/www/themes/common/tlp/doc/js/editors.js | +8 | โ0 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/buttons/btn/disabled/example.html | +1 | โ1 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/flyover/dropdowns/example.html | +21 | โ21 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/flyover/popovers/example.html | +5 | โ5 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/flyover/tooltips/tooltips-tags/example.html | +1 | โ1 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/forms/properties/example.html | +1 | โ1 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/cards/panes/example.html | +13 | โ13 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/cards/selectable/example.html | +1 | โ1 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/layout/complex/example.html | +2 | โ2 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/pagination/example.html | +4 | โ4 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/panes/simple/example.html | +3 | โ3 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/structure/tabs/example.html | +40 | โ19 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/tables/empty/example.html | +1 | โ1 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/tables/filter/example.html | +17 | โ17 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/tables/tables/example.html | +30 | โ30 | Go to diff View file |
M | src/www/themes/common/tlp/doc/resources/visual-assets/typo/paragraphs/example.html | +2 | โ2 | Go to diff View file |
M | src/www/themes/common/tlp/src/scss/components/_tabs.scss | +81 | โ6 | Go to diff View file |