]> source.dussan.org Git - vaadin-framework.git/commit
Add valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)
authorMarc Englund <marc@vaadin.com>
Mon, 28 Sep 2015 11:11:07 +0000 (14:11 +0300)
committerVaadin Code Review <review@vaadin.com>
Wed, 19 Oct 2016 09:29:52 +0000 (09:29 +0000)
commitfd8130ed6e6f93ced6ee1c7576efde31b9f768c0
treeb651dd67e1683bf422263f08f6dbea3a6bedeeca
parent04650c56543a446008b8e379a56576472b8e093e
Add valo-menu-hover stylename to make responsive menu appear w/o adding code (#19019)

Adding the optional "valo-menu-hover" style to the "valo-menu" element
will make the menu appear on hover - i.e when mousing over on desktop,
when tapping on touch devices (which also triggers hover).

Backported from master branch (vaadin 8).

Change-Id: I8344234a20aa93216b0116608d81e30e86d8b309
server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
themes/src/main/themes/VAADIN/themes/valo/components/_valo-menu.scss
uitest/src/main/java/com/vaadin/tests/themes/valo/ResponsiveStyles.java
uitest/src/main/java/com/vaadin/tests/themes/valo/ResponsiveStylesDesign.java
uitest/src/main/resources/com/vaadin/tests/themes/valo/ResponsiveStylesDesign.html
uitest/src/test/java/com/vaadin/tests/themes/valo/ResponsiveStylesTest.java