From 821413607a0718156f9d25d895e89b1c3d37aa8b Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Wed, 06 Feb 2013 13:49:14 +0000 Subject: Copy various bits from gaia --- (limited to 'apps/system/style/battery_manager/battery_manager.css') diff --git a/apps/system/style/battery_manager/battery_manager.css b/apps/system/style/battery_manager/battery_manager.css new file mode 100644 index 0000000..5a7a530 --- /dev/null +++ b/apps/system/style/battery_manager/battery_manager.css @@ -0,0 +1,55 @@ +#system-overlay.battery { + visibility: visible; +} + +#system-overlay.battery #battery { + display: block; +} + +#battery { + display: none; + background-image: url('images/header_bg.png'); + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 45px; + font-size: 1.5rem; + font-weight: 500; +} + +.icon-battery { + display: block; + float: left; + + width: 42px; + height: 18px; + margin: 0 1.3rem; + + background-image: url('images/battery_empty_small.png'); + background-position: center center; + background-repeat: no-repeat; +} + +#battery span { + vertical-align: middle; + height: 45px; + line-height: 45px; +} + +.battery-notification { + display: inline-block; +} + +#battery.disappearing { + animation: notification-disappear 1.5s; +} + +@keyframes notification-disappear { + to { + transform: translateX(100%); + } + from { + transform: translateX(0); + } +} -- cgit v0.9.1