source: Dev/branches/rest-dojo-ui/client/rft/css/rftButtons.css @ 390

Last change on this file since 390 was 366, checked in by tjcschipper, 13 years ago
  • AdaptiveForm? really isn't anything yet, but it's supposed to become a way to encapsulate forms that add/remove inputs based on other input's (selected) values.
  • Created a skeleton for the question editor. It's almost an exact copy of SurveyAdvanced?.
File size: 8.6 KB
Line 
1/* And now for the RFT specific stuff! */
2/*LargeButton*/
3.claro .rftLargeButton,
4.claro .rftLargeButton * {
5    user-select: none;
6    -webkit-user-select: none;
7}
8.claro .rftLargeButton {
9    margin-right: 16px;
10    height: 30px;
11}
12.claro .rftLargeButton .dijitButtonNode {
13    border: none;
14    height: 24px;
15    background-image: none;
16    background: transparent;
17    color: #999999;
18    font-size: 20px;
19    box-shadow: none;
20    transition: color 0.3s;
21    -moz-transition: color 0.3s;
22    -webkit-transition: color 0.3s;
23    -o-transition: color 0.3s;
24}
25.claro .rftLargeButton .rftIcon {
26    width: 24px;
27    height: 24px;
28    background-image: url('images/icons/rftIcons24.png');
29}
30.claro .rftLargeButton.black .rftIcon {
31    background-image: url('images/icons/rftIcons24b.png');
32}
33.claro .rftLargeButton .dijitButtonText {
34    line-height: 24px;
35    margin-left: 6px;
36    padding: 0;
37}
38.claro .rftLargeButton.rftLargeButtonHover .dijitButtonNode {
39    transition: color 0.1s;
40    -moz-transition: color 0.1s;
41    -webkit-transition: color 0.1s;
42    -o-transition: color 0.1s;
43    color: #ffffff;
44}
45.claro .rftLargeButton.rftLargeButtonActive .dijitButtonNode {
46    color: #0794d1;
47    transition: color 0.1s;
48    -moz-transition: color 0.1s;
49    -webkit-transition: color 0.1s;
50    -o-transition: color 0.1s;
51}
52
53/*BlockButton*/
54.claro .rftBlockButton {
55    height: 24px;
56    margin: 0;
57    line-height: 20px;
58}
59.claro .rftBlockButton .dijitButtonNode {
60    height: 24px;
61    padding: 0 4px;
62    border: none;
63    background-image: none;
64    color: #ffffff;
65    font-size: 13px;
66    border-radius: 0;
67    -moz-border-radius: 0;
68    transition: background-color 0.3s;
69    -moz-transition: background-color 0.3s;
70    -webkit-transition: background-color 0.3s;
71    -o-transition: background-color 0.3s;
72}
73.claro .rftBlockButton .rftIcon {
74    height: 16px !important;
75    width: 16px !important;
76    background-image: url('images/icons/rftIcons16.png') !important;
77}
78.claro .rftBlockButton .rftIcon.black {
79    background-image: url('images/icons/rftIcons16b.png') !important;
80}
81.claro .rftBlockButton.rftBlockButtonHover .rftIcon {
82    background-image: url('images/icons/rftIcons16b.png') !important;
83}
84.claro .rftBlockButton.rftBlockButtonHover .dijitButtonNode {
85    /*background: #999999 !important;*/
86    /* Currently not used, only applicable when all the different colours of BlockButton need the same background colour on hover */
87    transition: background-color 0.1s;
88    -moz-transition: background-color 0.1s;
89    -webkit-transition: background-color 0.1s;
90    -o-transition: background-color 0.1s;
91}
92.claro .rftBlockButton.blue .dijitButtonNode {
93    background: #0794d1;
94}
95.claro .rftBlockButton.blue.rftBlockButtonHover .dijitButtonNode {
96    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
97    color: #0794d1;
98}
99.claro .rftBlockButton.red .dijitButtonNode {
100    background: #bd0013;
101}
102.claro .rftBlockButton.red.rftBlockButtonHover .dijitButtonNode {
103    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
104    color: #bd0013;
105}
106.claro .rftBlockButton.green .dijitButtonNode {
107    background: #79ca0a;
108}
109.claro .rftBlockButton.green.rftBlockButtonHover .dijitButtonNode {
110    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
111    color: #79ca0a;
112}
113.claro .rftBlockButton.orange .dijitButtonNode {
114    background: #ff9140;
115}
116.claro .rftBlockButton.orange.rftBlockButtonHover .dijitButtonNode {
117    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
118    color: #ff9140;
119}
120.claro .rftBlockButton.purple .dijitButtonNode {
121    background: #993dec;
122}
123.claro .rftBlockButton.purple.rftBlockButtonHover .dijitButtonNode {
124    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
125    color: #993dec;
126}
127.claro .rftBlockButton.trans .dijitButtonNode {
128    background: transparent;
129}
130.claro .rftBlockButton.trans.rftBlockButtonHover .dijitButtonNode {
131    background: #ffffff !important;
132    color: #000000;
133}
134
135/* InlineButton */
136.claro .rftInlineButton {
137    float: right;
138    height: 24px;
139    width: 24px;
140}
141.claro .rftInlineButton .dijitButtonNode {
142    width: 24px;
143    height: 24px;
144    margin: 0;
145    padding: 0;
146    background: transparent;
147    border: none;
148}
149.claro .rftInlineButton .rftIcon {
150    width: 16px;
151    height: 16px;
152    background-image: url('images/icons/rftIcons16.png');
153}
154.claro .rftInlineButton.white .rftIcon {
155    background-image: url('images/icons/rftIcons16.png');
156}
157.claro .rftInlineButton.black .rftIcon {
158    background-image: url('images/icons/rftIcons16b.png');
159}
160.claro .rftInlineButton .rftIcon.black {
161    background-image: url('images/icons/rftIcons16b.png');
162}
163.claro .rftInlineButton .rftIcon.white {
164    background-image: url('images/icons/rftIcons16.png');
165}
166.claro .rftInlineButton.rftInlineButtonHover .rftIcon {
167    /* We should use either the displacement or the background image change, not both! */
168    /*background-image: url('../../icons/images/rftIcons16c.png');*/
169    margin-top: 1px;
170}
171.claro .rftInlineButton.rftInlineButtonActive .rftIcon {
172    /* This "afterclick" is optional. Check to see if people like it or not! */
173    /* Good, the displacement on click does not come from these settings! */
174}
175
176/* MainMenuButton */
177.claro .dijitMenuBar .rftMainMenuButton {
178    border: none;
179    height: 30px;
180    width: auto;
181    background-image: none;
182    background: transparent;
183    text-align: center;
184    color: #999999;
185    font-size: 24px;
186    line-height: 30px;
187    padding: 0 4px;
188    margin: 0 5px;
189    box-shadow: none;
190    transition: all 0.3s;
191    -moz-transition: all 0.3s;
192    -webkit-transition: all 0.3s;
193    -o-transition: all 0.3s;
194}
195.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemHover {
196    color: #ffffff;
197    font-size: 26px;
198    transition: all 0.1s;
199    -moz-transition: all 0.1s;
200    -webkit-transition: all 0.1s;
201    -o-transition: all 0.1s;
202}
203.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemActive {
204    color: #0794d1 !important;
205    font-size: 26px;
206    transition: all 0.1s;
207    -moz-transition: all 0.1s;
208    -webkit-transition: all 0.1s;
209    -o-transition: all 0.1s;
210}
211.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemSelected {
212    color: #ffffff;
213    font-size: 26px;
214}
215
216/* IndexMenuButton */
217.claro .rftIndexMenuButton {
218    display: block;
219    margin: 0;
220    padding: 0;
221    line-height: 32px;
222    vertical-align: middle;
223    text-align: left;
224    transition: all 0.3s;
225    -moz-transition: all 0.3s;
226    -webkit-transition: all 0.3s;
227    -o-transition: all 0.3s;
228}
229.claro .rftIndexMenuButton .dijitButtonNode {
230    border: none;
231    color: #999999;
232    font-size: 24px;
233    font-weight: normal;
234}
235.claro .rftIndexMenuButton .dijitButtonText {
236    padding-bottom: 10px;
237    line-height: 20px;
238    transition: all 0.3s;
239    -moz-transition: all 0.3s;
240    -webkit-transition: all 0.3s;
241    -o-transition: all 0.3s;
242}
243.claro .rftIndexMenuButton .dijitButtonContents {
244    vertical-align: top;
245}
246.claro .rftIndexMenuButton .rftIcon {
247    height: 32px;
248    width: 32px;
249    margin: 0 8px;
250    padding: 0;
251    background-image: url('images/icons/rftIcons32.png');
252    vertical-align: top;
253}
254.claro .oneHeight {
255    height: 100px;
256}
257.claro .oneHeight .dijitButtonNode {
258    margin: 34px 0 0 0;
259}
260.claro .twoHeight {
261    height: 200px;
262}
263.claro .twoHeight .dijitButtonNode {
264    margin: 82px 0 0 0;
265}
266.claro .fourHeight {
267    height: 400px;
268}
269.claro .fourHeight .dijitButtonNode {
270    margin: 184px 0 0 0;
271}
272.claro .rftIndexMenuButton.rftIndexMenuButtonHover,
273.claro .rftIndexMenuButton.rftIndexMenuButtonHover .dijitButtonText {
274    color: #ffffff;
275    transition: all 0.1s;
276    -moz-transition: all 0.1s;
277    -webkit-transition: all 0.1s;
278    -o-transition: all 0.1s;
279}
280.claro .rftIndexMenuButton.rftIndexMenuButtonHover.blue {
281    background: #0072bc;
282}
283.claro .rftIndexMenuButton.rftIndexMenuButtonHover.green {
284    background: #3aa605;
285}
286.claro .rftIndexMenuButton.rftIndexMenuButtonHover.red {
287    background: #8c0310;
288}
289.claro .rftIndexMenuButton.rftIndexMenuButtonHover.purple {
290    background: #6529b7;
291}
292.claro .rftIndexMenuButton.rftIndexMenuButtonHover.orange {
293    background: #ff5b12;
294}
295.claro .rftIndexMenuButton.rftIndexMenuButtonActive {
296    color: #000000;
297    background: #ffffff;
298    transition: all 0.3s;
299    -moz-transition: all 0.3s;
300    -webkit-transition: all 0.3s;
301    -o-transition: all 0.3s;
302}
303.claro .rftIndexMenuButton.rftIndexMenuButtonActive .rftIcon {
304    background-image: url('images/icons/rftIcons32b.png');
305}
306
Note: See TracBrowser for help on using the repository browser.