diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 13:49:14 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 13:49:14 (GMT) |
commit | 821413607a0718156f9d25d895e89b1c3d37aa8b (patch) | |
tree | 01c285af734ed5bba64b73b489e1e0226a94a262 /apps/system/style/list_menu/list_menu.css | |
parent | c110fb485b3af0066c6df7aeac8c055e9d767efa (diff) |
Copy various bits from gaia
Diffstat (limited to 'apps/system/style/list_menu/list_menu.css')
-rw-r--r-- | apps/system/style/list_menu/list_menu.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/apps/system/style/list_menu/list_menu.css b/apps/system/style/list_menu/list_menu.css new file mode 100644 index 0000000..63a2ced --- /dev/null +++ b/apps/system/style/list_menu/list_menu.css @@ -0,0 +1,35 @@ +#listmenu { + visibility: hidden; +} + +#listmenu.visible { + visibility: visible; +} + +#listmenu menu, +#listmenu.visible menu.slidedown { + transition: transform 0.3s ease; + transform: translateY(100%); +} + +#listmenu.visible menu { + transform: translateY(0); +} + +#listmenu menu button.icon, +#listmenu menu a[role="button"].icon { + background-repeat: no-repeat; + background-position: 10px center; + padding-left: 45px; + background-size: 30px 30px; +} + +/* 320x480 phones */ +@media (orientation: portrait) and (width: 320px), + (orientation: landscape) and (width: 480px) { + #listmenu menu button.icon, + #listmenu menu a[role="button"].icon { + background-position: 5px center; + padding-left: 40px; + } +} |