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

Last change on this file since 337 was 337, checked in by tjcschipper, 13 years ago
File size: 5.8 KB
Line 
1/* And now for the RFT specific stuff! */
2/*LargeButton*/
3.gamelab .rftLargeButton {
4    margin-right: 16px;
5}
6.gamelab .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.gamelab .rftLargeButton .rftIcon {
20    width: 24px;
21    height: 24px;
22    background-image: url('images/icons/rftIcons24.png');
23}
24.gamelab .rftLargeButton .dijitButtonText {
25    line-height: 24px;
26    margin-left: 6px;
27    padding: 0;
28}
29.gamelab .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.gamelab .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.gamelab .rftBlockButton {
46    height: 24px;
47    margin: 0;
48    line-height: 20px;
49}
50.gamelab .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.gamelab .rftBlockButton .rftIcon {
65    height: 16px;
66    width: 16px;
67    background-image: url('images/icons/rftIcons16.png');
68}
69.gamelab .rftBlockButton.rftBlockButtonHover .rftIcon {
70    background-image: url('images/icons/rftIcons16black.png');
71}
72.gamelab .rftBlockButton.rftBlockButtonHover .dijitButtonNode {
73    /*background: #999999 !important;*/
74    /* Currently not used, only applicable when all the different colours of BlockButton need the same background colour on hover */
75    transition: background-color 0.1s;
76    -moz-transition: background-color 0.1s;
77    -webkit-transition: background-color 0.1s;
78    -o-transition: background-color 0.1s;
79}
80.gamelab .rftBlockButton.blue .dijitButtonNode {
81    background: #0794d1;
82}
83.gamelab .rftBlockButton.blue.rftBlockButtonHover .dijitButtonNode {
84    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
85    color: #0794d1;
86}
87.gamelab .rftBlockButton.red .dijitButtonNode {
88    background: #bd0013;
89}
90.gamelab .rftBlockButton.red.rftBlockButtonHover .dijitButtonNode {
91    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
92    color: #bd0013;
93}
94.gamelab .rftBlockButton.green .dijitButtonNode {
95    background: #79ca0a;
96}
97.gamelab .rftBlockButton.green.rftBlockButtonHover .dijitButtonNode {
98    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
99    color: #79ca0a;
100}
101.gamelab .rftBlockButton.orange .dijitButtonNode {
102    background: #ff9140;
103}
104.gamelab .rftBlockButton.orange.rftBlockButtonHover .dijitButtonNode {
105    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
106    color: #ff9140;
107}
108.gamelab .rftBlockButton.purple .dijitButtonNode {
109    background: #993dec;
110}
111.gamelab .rftBlockButton.purple.rftBlockButtonHover .dijitButtonNode {
112    background: #ffffff !important; /* This should be changed to an appropriate color once it is defined in the colour scheme! */
113    color: #993dec;
114}
115
116
117/* InlineButton */
118.gamelab .rftInlineButton {
119    height: 24px;
120    margin: 0 -6px 0 -2px;
121}
122.gamelab .rftInlineButton .dijitButtonNode {
123    width: 24px;
124    height: 24px;
125    margin: 0;
126    padding: 0;
127    background: transparent;
128    border: none;
129}
130.gamelab .rftInlineButton .rftIcon {
131    width: 16px;
132    height: 16px;
133    margin: 0 4px 0 4px;
134    background-image: url('images/icons/rftIcons16.png');
135}
136.gamelab .rftInlineButton.white .rftIcon {
137    background-image: url('images/icons/rftIcons16.png');
138}
139.gamelab .rftInlineButton.black .rftIcon {
140    background-image: url('images/icons/rftIcons16black.png');
141}
142.gamelab .rftInlineButton.rftInlineButtonHover .dijitButtonNode {
143    /* No changes so far */
144    /*background-color: #ff00ff;*/
145}
146.gamelab .rftInlineButton.rftInlineButtonHover .rftIcon {
147    /* We should use either the displacement or the background image change, not both! */
148    /*background-image: url('../../icons/images/rftIcons16c.png');*/
149    margin: 1px 4px -1px 4px;
150}
151.gamelab .rftInlineButton.rftInlineButtonActive .rftIcon {
152    /* This "afterclick" is optional. Check to see if people like it or not! */
153    margin: 2px 4px -2px 4px;
154}
155
156/* MainMenuButton */
157.gamelab .dijitMenuBar .rftMainMenuButton {
158    border: none;
159    height: 30px;
160    width: auto;
161    background-image: none;
162    background: transparent;
163    text-align: center;
164    color: #999999;
165    font-size: 24px;
166    line-height: 30px;
167    padding: 0 4px;
168    margin: 0 5px;
169    box-shadow: none;
170    transition: all 0.3s;
171    -moz-transition: all 0.3s;
172    -webkit-transition: all 0.3s;
173    -o-transition: all 0.3s;
174}
175.gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemHover {
176    color: #ffffff;
177    font-size: 26px;
178    transition: all 0.1s;
179    -moz-transition: all 0.1s;
180    -webkit-transition: all 0.1s;
181    -o-transition: all 0.1s;
182}
183.gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemActive {
184    color: #0794d1 !important;
185    font-size: 26px;
186    transition: all 0.1s;
187    -moz-transition: all 0.1s;
188    -webkit-transition: all 0.1s;
189    -o-transition: all 0.1s;
190}
191.gamelab .dijitMenuBar .rftMainMenuButton.dijitMenuItemSelected {
192    color: #ffffff;
193    font-size: 26px;
194}
Note: See TracBrowser for help on using the repository browser.