source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/css/coolstyle.css@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 3.8 KB
Line 
1html {
2 width: 100%;
3 height: 100%;
4 overflow: hidden;
5}
6
7body {
8 width: 100%;
9 height: 100%;
10 margin: 0;
11 /*overflow: hidden;*/
12 font-family: 'Segoe UI';
13}
14
15#pano{
16 width:100%;
17 height: 100%;
18 z-index: 0;
19}
20
21#WebGL{
22 position: absolute;
23 width: 100%;
24 height: 100%;
25 left: 0px;
26 top: 0px;
27 pointer-events:none;
28 z-index: 10;
29}
30
31/*#uiContainer {
32 position: relative;
33 margin: 0 auto;
34 width: 100vw;
35 height: 100%;
36}*/
37
38#logoImg {
39 position: absolute;
40 top: 18px;
41 left: 26px;
42 width: 100px;
43 height: 40px;
44}
45
46#sampleName {
47 position: relative;
48 display: block;
49 text-align: right;
50 font-size: 16pt;
51 color: gray;
52 top: 24px;
53 margin-right: 26px;
54}
55
56/*#backgroundContainer {
57 position: absolute;
58 top: 80px;
59 width: 100vw;
60 height: 56.25vw;
61 margin-bottom: 26px;
62}*/
63
64@media screen and (max-width: 960px) {
65 #uiContainer {
66 width: 960px;
67 }
68
69 #backgroundContainer {
70 width: 960px;
71 height: 540px;
72 }
73}
74
75@media screen and (min-width: 1600px) {
76 #uiContainer {
77 width: 1600px;
78 }
79
80 #backgroundContainer {
81 width: 1600px;
82 height: 900px;
83 }
84}
85
86#backgroundImg {
87 width: 100%;
88 height: 100%;
89}
90
91.streamImageCanvas {
92 position: absolute;
93 width: 75%;
94 height: 100%;
95 top: 0;
96 left: 12.5%;
97 opacity: 0.0;
98 pointer-events:none;
99 transition: opacity 1.0s;
100 z-index: 5;
101}
102
103.streamImageCanvas.showing {
104 opacity: 1.0;
105 transition: opacity 1.0s;
106}
107
108#buttonContainer {
109 position: absolute;
110 display: block;
111 width: 100%;
112 height: 160px;
113 bottom: 0;
114}
115
116#choosePanel {
117 position: absolute;
118 background-color: white;
119 width: 100%;
120 height: 100%;
121 top: 100%;
122 transition: top 0.4s;
123}
124
125#choosePanel.showing {
126 top: 0;
127 transition: top 0.4s;
128}
129
130.commandButtonContainer {
131 position: absolute;
132 width: 18%;
133 height: 100%;
134 top: 0;
135 left: 3%;
136}
137
138.imgButtonContainer {
139 position: absolute;
140 width: 18%;
141 height: 100%;
142 top: 0;
143}
144
145/*#togglePanelButton {
146/* Add an explicit background color to make sure mouse/touch events get routed
147to button even when hovering/pressing over transparent area around button edge.
148background-color: rgba(0,0,0,0.0);
149}*/
150
151.kinect-button.tile {
152 position: relative;
153 display: block;
154 width: 170px;
155 height: 100px;
156 margin: 30px auto;
157 padding: 0;
158}
159
160.kinect-button.tile .commandButtonContent {
161 position: absolute;
162 width: 100%;
163 height: 100%;
164 border-style: solid;
165 border-color: white;
166 border-width: 2px;
167 transition: border-width 0.15s;
168 left: -2px;
169 top: -2px;
170}
171
172.kinect-button.image {
173 position: relative;
174 display: block;
175 width: 170px;
176 height: 100px;
177 margin: 30px auto;
178 padding: 0;
179}
180
181.kinect-button img {
182 width: 100%;
183 height: 100%;
184}
185
186.kinect-button-text {
187 font-size: 14pt;
188 width: 100%;
189 height: 3em;
190 margin-top: -1.5em;
191}
192
193@media screen and (min-width: 1280px) and (max-width: 1600px) {
194 #buttonContainer {
195 height: 186px;
196 }
197
198 .kinect-button.tile {
199 width: 224px;
200 height: 126px;
201 }
202
203 .kinect-button.image {
204 width: 224px;
205 height: 126px;
206 }
207
208 .kinect-button-text {
209 font-size: 16pt;
210 }
211}
212
213@media screen and (min-width: 1600px) {
214 #buttonContainer {
215 height: 222px;
216 }
217
218 .kinect-button.tile {
219 width: 288px;
220 height: 162px;
221 }
222
223 .kinect-button.image {
224 width: 288px;
225 height: 162px;
226 }
227
228 .kinect-button-text {
229 font-size: 18pt;
230 }
231}
Note: See TracBrowser for help on using the repository browser.