Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/style/attention_screen.css
blob: 126d52ed9dc651e6b786e1c28fab65d9dc315308 (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
56
57
#attention-screen {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;

  transition: transform 0.5s ease;
}

#attention-screen.displayed {
  display: block;
}

#screen.active-statusbar #attention-screen {
  transform: translateY(calc(-100% + 40px));
}

#screen.active-statusbar #attention-screen.status-mode {
  height: 40px;
  transform: translateY(0px);
  transition: none;
}

#attention-screen.status-mode > iframe {
  margin-top: 0;
  height: 100%;
}

#attention-screen > iframe {
  border: 0;
  width: 100%;
  /* we have the 20px status bar on top */
  height: calc(100% - 20px);
  margin-top: 20px;

  background-color: transparent;

  position: absolute;
  top: 0;
  left: 0;
}

#attention-screen > #attention-bar {
  position: absolute;
  bottom: 0px;
  width: 100%;
  /* Status bar height * 2 */
  height: 40px;
  z-index: 2;
  display: none;
}

#screen.active-statusbar #attention-screen > #attention-bar {
  display: block;
}