Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/apps/system/style/popup_manager/popup_manager.css
blob: a33f9a183d4c97dd1b9c9199085f4458700e70e3 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#popup-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

#popup-container[data-trusty="true"] {
  width: 85%;
  left: 7%;
  top: 7%;
  height: 85%;
}

#screen.popup #popup-container {
  visibility: visible;
}

#popup-throbber {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1;
}

#screen.popup #popup-container.disappearing {
  pointer-events: none;
  transition: visibility ease .6s, opacity ease .6s;
  visibility: hidden;
  opacity: 0;
}

#popup-throbber.loading {
  height: 4px;
  background-image: url('../shared/progress.gif');
}

.popup #popup-container > #frame-container,
.popup #popup-container > .title-container {
  transform: translateY(0);
}

#popup-container[data-trusty="true"] > #frame-container,
#popup-container[data-trusty="true"] > .title-container {
  transition: none;
}

#popup-container > .title-container {
  transition: transform .6s ease;
  transform: translateY(-100%);
  height: 5rem;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

#popup-container > #frame-container {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  height: -moz-calc(100% - 5rem);

  background-color: #fff;
  transform: translateY(100%);
  transition: transform .6s ease;
}

#popup-container[data-trusty="true"] > #frame-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

#popup-error-dialog {
  -moz-box-sizing: border-box;
  height: 100%;
  width: 100%;
  z-index: 1024;
  display: none;
  background-color: black;
  background-image: url(../modal_dialog/images/error_bk.png);
}

#frame-container > iframe {
  z-index: 1;
}

#frame-container.error > #popup-error-dialog {
  display: block;
}

#popup-container[data-trusty="true"] > .title-container {
  visibility: hidden;
}

#frame-container > * {
  width: 100%;
  height: 100%;
  border: none;
}