diff options
author | Teemu Pòˆntelin <teemu@vaadin.com> | 2014-06-03 21:00:48 +0300 |
---|---|---|
committer | Jouni Koivuviita <jouni@vaadin.com> | 2014-06-12 07:15:26 +0000 |
commit | 0d0f2d10a7f0f3aa5cdc55420512feb5ad8429e6 (patch) | |
tree | 47a1819317e8ed3f3a5a3bd4e29913c0d91a75de /WebContent/VAADIN | |
parent | 49bc3b9ffba204c32885e9ed97da2df2eb0dad68 (diff) | |
download | vaadin-framework-0d0f2d10a7f0f3aa5cdc55420512feb5ad8429e6.tar.gz vaadin-framework-0d0f2d10a7f0f3aa5cdc55420512feb5ad8429e6.zip |
Fix for handling selectors with both width and height ranges (#13587)
This fix splits the used regular expressions into a more manageable
parts while fixing the handling of a case where both width-range and
height-range are defined. Also refactored some duplicate code into
a helper function.
Change-Id: I98295b8b0772b33a9985c0630e065eea2281d11d
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r-- | WebContent/VAADIN/themes/tests-responsive/styles.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/tests-responsive/styles.css b/WebContent/VAADIN/themes/tests-responsive/styles.css index 4bfc6dd768..db92a2a2fc 100644 --- a/WebContent/VAADIN/themes/tests-responsive/styles.css +++ b/WebContent/VAADIN/themes/tests-responsive/styles.css @@ -90,3 +90,12 @@ .description[width-range="701px-"] { font-size: 30px; } + +/* Styles for ResponsiveWidthAndHeight test. */ +.v-csslayout-width-and-height[width-range~="0-599px"][height-range~="0-499px"] { + background: blue; + color: #fff; +} +.v-csslayout-width-and-height[height-range~="500px-"][width-range~="600px-"] { + background: red; +}
\ No newline at end of file |