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

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