diff options
| author | makitso <makitso@gmail.com> | 2015-05-29 09:40:29 -0500 |
|---|---|---|
| committer | makitso <makitso@gmail.com> | 2015-05-29 09:40:35 -0500 |
| commit | a30f58150a0d9cc147f5bb4a2269791f61fa75b5 (patch) | |
| tree | d2ba90d39064859dffd5a35c5ce18dc78c824888 /themes | |
| parent | 202f95af9c1d2dc7a749a8bfa619ca631fcf1f77 (diff) | |
| download | webtrees-a30f58150a0d9cc147f5bb4a2269791f61fa75b5.tar.gz webtrees-a30f58150a0d9cc147f5bb4a2269791f61fa75b5.tar.bz2 webtrees-a30f58150a0d9cc147f5bb4a2269791f61fa75b5.zip | |
Moile device changes for FAB theme
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/clouds/css-1.7.0/style.css | 10 | ||||
| -rw-r--r-- | themes/fab/css-1.7.0/style.css | 27 |
2 files changed, 34 insertions, 3 deletions
diff --git a/themes/clouds/css-1.7.0/style.css b/themes/clouds/css-1.7.0/style.css index ac9e36943a..f1d28fe1fa 100644 --- a/themes/clouds/css-1.7.0/style.css +++ b/themes/clouds/css-1.7.0/style.css @@ -5385,10 +5385,14 @@ footer .error { } /* Mobile low and high resolution viewports */ @media (max-width: 480px) { -header { - height: 83px; + header { + height: 83px; } .secondary-menu { - top: 50px; + top: 50px; + margin-top: 10px; + } + .primary-menu > li > a { + height: 20px; } } diff --git a/themes/fab/css-1.7.0/style.css b/themes/fab/css-1.7.0/style.css index 5df5b823b3..9a7f3f1707 100644 --- a/themes/fab/css-1.7.0/style.css +++ b/themes/fab/css-1.7.0/style.css @@ -4537,3 +4537,30 @@ footer { margin-bottom: 10px; } } + +/* Mobile low resolution viewports */ +@media (max-width: 400px) { + header { + text-align: left; + height: 150px; + } + [dir=rtl] header { + text-align: right; + } + [dir=rtl] .secondary-menu { + float: right; + } + .header-search { + display: block; + float: left; + } + [dir=rtl] .header-search { + float: right; + } + .primary-menu li, .secondary-menu li { + float:left; + } + .secondary-menu li:last-child:before { + content: " "; + } +} |
