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

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