Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/style/battery_manager/battery_manager.css
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/style/battery_manager/battery_manager.css')
-rw-r--r--apps/system/style/battery_manager/battery_manager.css55
1 files changed, 55 insertions, 0 deletions
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);
+ }
+}