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

Last change on this file since 344 was 344, checked in by tjcschipper, 13 years ago
  • mSessions.html is more or less done
  • mMenu.html is nearly done, still needs non-hover overlays on the menu boxes/buttons
  • Fixed theme dependency, style overrides now work on a stock copy of Dojo claro theme!
  • Improved iconset alignment somewhat, still needs pixel tweaks to rftIcons24.png and rftIcons16.png (Icons are sometimes 1px too wide!)
  • Fixed MainMenu? template and applied styling classes. Replaced markup version with rft.ui.MainMenu? version in all mockups.
  • Fixed colour settings/context on LineWithButtons?
File size: 7.6 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 .rftIcon {
219    height: 32px;
220    width: 32px;
221    margin: 0 8px;
222    padding: 0;
223    background-image: url('images/icons/rftIcons32.png');
224}
225.claro .oneHeight {
226    height: 100px;
227}
228.claro .oneHeight .dijitButtonContents {
229    margin: 34px 0 0 0;
230}
231.claro .twoHeight {
232    height: 200px;
233}
234.claro .twoHeight .dijitButtonContents {
235    margin: 82px 0 0 0;
236}
237.claro .fourHeight {
238    height: 400px;
239}
240.claro .fourHeight .dijitButtonContents {
241    margin: 184px 0 0 0;
242}
243.claro .rftIndexMenuButton.rftIndexMenuButtonHover,
244.claro .rftIndexMenuButton.rftIndexMenuButtonHover .rftButtonText{
245    transition: all 0.1s;
246    -moz-transition: all 0.1s;
247    -webkit-transition: all 0.1s;
248    -o-transition: all 0.1s;
249}
250.claro .rftIndexMenuButton.rftIndexMenuButtonHover .dijitButtonText {
251    color: #ffffff;
252}
253.claro .rftIndexMenuButton.rftIndexMenuButtonHover.blue {
254    background: #0072bc;
255}
256.claro .rftIndexMenuButton.rftIndexMenuButtonHover.green {
257    background: #3aa605;
258}
259.claro .rftIndexMenuButton.rftIndexMenuButtonHover.red {
260    background: #8c0310;
261}
262.claro .rftIndexMenuButton.rftIndexMenuButtonHover.purple {
263    background: #6529b7;
264}
265.claro .rftIndexMenuButton.rftIndexMenuButtonHover.orange {
266    background: #ff5b12;
267}
Note: See TracBrowser for help on using the repository browser.