You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
<p>To style the panel, and attach it to the right edge, the following CSS is used:</p>
57
+
<p>To style the panel, and attach it to the right edge, the following CSS is used. Note that <code>#popupPanel-popup</code> is the ID of the container div generated by the framework.</p>
64
58
<pre><code>
65
59
#popupPanel-popup {
66
-
width: 90%;
67
-
max-width: 200px !important;
68
60
right: 0 !important;
69
61
left: auto !important;
70
62
}
71
63
#popupPanel {
72
-
border-left: 1px solid #444;
73
-
margin-left: -1px;
74
-
background: rgba(0,0,0,.6);
75
-
position: relative;
76
-
width: 100%;
77
-
height: 100%;
78
-
}
79
-
#popupPanel .inner {
80
-
position: absolute;
81
-
top: 0;
82
-
left: 0;
83
-
right: 0;
84
-
padding: 45px 15px 15px;
64
+
width: 200px;
65
+
border: 1px solid #000;
66
+
border-right: none;
67
+
background: rgba(0,0,0,.5);
68
+
margin: -1px 0;
85
69
}
86
-
#popupPanel .inner .ui-btn {
87
-
margin: 0 0 1em 0;
70
+
#popupPanel .ui-btn {
71
+
margin: 2em 15px;
88
72
}
89
73
</code></pre>
90
74
75
+
<p>Because the popup container is positioned absolute, you can't make the panel full height with <code>height:100%;</code>. This small script sets the height of the popup to the actual screen height.
0 commit comments