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

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

GUI front-end to server base plus web page content

File size: 2.8 KB
Line 
1/***************************************************************************
2 * <copyright file="Kinect-1.8.0.css" company="Microsoft"> *
3 * Copyright (c) Microsoft Corporation. All rights reserved. *
4 * </copyright> *
5 ***************************************************************************/
6
7.kinect-button {
8 margin: 10px;
9 display: inline-block;
10 padding: 25px;
11 height: 200px;
12 width: 200px;
13 position: relative;
14 font-family: 'Segoe UI';
15 font-size: 16pt;
16 font-weight: 600;
17}
18
19.kinect-button.small {
20 height: 120px;
21 width: 120px;
22 font-size: 12pt;
23 font-weight: 500;
24}
25
26.kinect-button.medium {
27 height: 200px;
28 width: 200px;
29 font-size: 16pt;
30 font-weight: 600;
31}
32
33.kinect-button.large {
34 height: 300px;
35 width: 300px;
36 font-size: 20pt;
37 font-weight: 600;
38}
39
40.kinect-button-surface {
41 position: relative;
42 left: 3%;
43 top: 3%;
44 width: 94%;
45 height: 94%;
46 transition: left 0.16s, top 0.16s, width 0.16s, height 0.16s;
47}
48
49.kinect-button-text {
50 position: absolute;
51 left: 0px;
52 top: 50%;
53 height: 20pt;
54 width: 100%;
55 margin-top: -10pt;
56 text-align: center;
57 user-select: none;
58 -webkit-user-select: none;
59}
60
61.button-hover .kinect-button-surface {
62 left: 0%;
63 top: 0%;
64 width: 100%;
65 height: 100%;
66 transition: left 0.16s, top 0.16s, width 0.16s, height 0.16s;
67}
68
69.button-pressed .kinect-button-surface {
70 left: 7.5%;
71 top: 7.5%;
72 width: 85%;
73 height: 85%;
74 transition: left 0.10s, top 0.10s, width 0.10s, height 0.10s;
75}
76
77.kinect-button.tile .kinect-button-surface {
78 border: none;
79 background: linear-gradient(to bottom, #511c74, #311040);
80 color: white;
81}
82
83#kinect-cursor {
84 position: absolute;
85 display: none;
86 width: 120px;
87 height: 120px;
88}
89
90/* normal cursor state */
91#kinect-cursor-glow {
92 stroke-opacity: 0.0;
93}
94
95#kinect-cursor-normal {
96 stroke-opacity: 1.0;
97 fill-opacity: 1.0;
98}
99
100#cursor-progress {
101 stroke-opacity: 0.0;
102 fill-opacity: 0.0;
103}
104
105#kinect-cursor-extended {
106 stroke-opacity: 0.0;
107 fill-opacity: 0.0;
108}
109
110/* hover cursor state */
111.cursor-hover #kinect-cursor-glow {
112 stroke-opacity: 1.0;
113}
114
115.cursor-hover #kinect-cursor-progress {
116 stroke-opacity: 1.0;
117 fill-opacity: 1.0;
118}
119
120/* pressed cursor state */
121.cursor-pressed #kinect-cursor-normal {
122 stroke-opacity: 0.0;
123 fill-opacity: 0.0;
124}
125
126.cursor-pressed #kinect-cursor-progress {
127 stroke-opacity: 0.0;
128 fill-opacity: 0.0;
129}
130
131.cursor-pressed #kinect-cursor-extended {
132 stroke-opacity: 1.0;
133 fill-opacity: 1.0;
134}
Note: See TracBrowser for help on using the repository browser.