Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/style/battery_manager/battery_manager.css
blob: 5a7a53057fd9e5b29d39a07be08016b919bccb47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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);
  }
}