diff options
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; + } +} |