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

Last change on this file since 342 was 342, checked in by tjcschipper, 13 years ago
  • Fixed callbacks/actions in LineWithActionsWidgetThijs?.js. Previously an onClick event would not fire the correct callback. They were also incorrectly bound to the context of the widget, so the this keyword referred to the properties object instead of the LineWithActions?.
  • Changed a bunch of stuff in CSS files, general layout.
  • Added another mockup page to show the Session selection page.
File size: 5.9 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}
Note: See TracBrowser for help on using the repository browser.