summaryrefslogtreecommitdiffstats
path: root/statechartz/style.css
blob: 0e19be1bb5b852776b975620807b61b1d7ee4d9c (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the SCXML module of the Qt Labs.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you are unsure which license is appropriate for your use, please
** contact the sales department at qt-sales@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/

body {
  background-image: -webkit-gradient(linear, left top, right bottom, from(#000000), to(#001133));
  width: 400px;
  height: 400px;
}
div.screen {
  position: absolute;        
  -webkit-border-radius: 8px;
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  border-width: 5px;
  border-style: groove;
  opacity: 0.1;
  -webkit-transition-duration: 1s;        
}

#screen_weather {
  border-color: #cccc66;
  left: -250px;
  top: -250px;
  position: absolute;
  -webkit-transform: rotate(90deg) scale(0.8);
}
.state_weather #screen_weather {
  left: 0px;
  top: 0px;
  -webkit-transform: rotate(0deg) scale(1);
  -webkit-transition-duration: 600ms;
  opacity: 1;        
}
#screen_shopping {
  border-color: #cccc66;
  left: 0px;
  top: -350px;
  position: absolute;
  -webkit-transform: rotate(90deg) scale(0.8);
  -webkit-transition-duration: 1s;        
}
.state_shopping #screen_shopping {
  left: 0px;
  top: 0px;
  -webkit-transform: rotate(0deg) scale(1);
  opacity: 1;        
}
.state_calc #screen_shopping {
  -webkit-transform: rotate(-360deg) scale(0.4);
}
#instructions {
  left: 20px;
  top: 400px;
  position: absolute;
}
#screen_calc {
  border-color: #cc66cc;
  left: -350px;
  top: 0px;
  -webkit-transform: rotate(270deg);
}
.state_calc #screen_calc {
  left: 0px;
  top: 0px;
  -webkit-transform: rotate(360deg) scale(1);
  opacity: 1;        
}
.state_shopping #screen_weather {
  -webkit-transform: rotate(90deg) scale(0.4);
}
.state_weather #screen_calc {
  -webkit-transform: rotate(640deg) scale(0.4);
}
.state_weather #screen_weather {
  left: 0px;
  top: 0px;
  -webkit-transform: rotate(360deg);
}
* {
  font-family: verdana,arial;
  font-weight: bold;
}
#screen_calc table {
  -webkit-border-radius: 3px;
  background-color: #999999;
  width: 200px;
  -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);				
}
#screen_calc .output {
  background-image: -webkit-gradient(linear, left top, right bottom, from(#66ccff), to(#bbbbee));
  color: black;
  text-align: right;
  padding: 2px;
  width: 170px;
  margin: 0px;
  text-overflow: ellipsis;
  overflow: hidden;
}
#screen_calc a {
  text-decoration: none;
  color: #EEDDFF;
  -webkit-text-stroke: 1px #ffffcc;
  display: block;
  width: 100%;
  height: 100%;
}
@-webkit-keyframes bounce {
 0% { 
   margin-top: 0px;
 }
 50% {
   margin-top: -30px;
 }
 100% {
   margin-top: 0px;
 }
}			

#screen_calc a:active {
  -webkit-animation-name: bounce;
  -webkit-animation-duration: 300ms;
  -webkit-animation-properties: top;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-easing-function: ease;
}
#screen_calc td {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#333), to(#005));
  padding: 4px;
  margin: 3px;
  text-align: center;
  width: 20%;
  -webkit-border-radius: 3px;
  border-color: #444466;
  border-width: 3px;
  border-style: solid;
}
#screen_popup {
  opacity: 0;
  -webkit-transition-duration: 400ms;
  position: absolute;
  left: 30px;
  top: 90px;
  -webkit-transform: scale(0.8);
  text-align: center;
  width: 200px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc66), to(#ffffcc));
  -webkit-border-radius: 4px;
  border-color: #993300;
  border-style: solid;
  padding: 4px;
  z-index: -1;
}
.state_popup #screen_popup {
  opacity: 1;
  z-index: 2;
  -webkit-transform: scale(1);
  top: 60px;
}