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

Last change on this file since 339 was 339, checked in by tjcschipper, 13 years ago
  • Switched away from using custom themes, this allows us to use the default Claro theme off of a CDN, then override the needed properties using our own, much smaller stylesheets. Retains graceful degradation of dijit style.
  • Made rftLineWithActions also work outside of the context of an rftSelector.css
  • Fixed some general layout issues
  • Redid the tabs styling
File size: 5.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;
66    width: 16px;
67    background-image: url('images/icons/rftIcons16.png');
68}
69.claro .rftBlockButton.rftBlockButtonHover .rftIcon {
70    background-image: url('images/icons/rftIcons16black.png');
71}
72.claro .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.claro .rftBlockButton.blue .dijitButtonNode {
81    background: #0794d1;
82}
83.claro .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.claro .rftBlockButton.red .dijitButtonNode {
88    background: #bd0013;
89}
90.claro .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.claro .rftBlockButton.green .dijitButtonNode {
95    background: #79ca0a;
96}
97.claro .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.claro .rftBlockButton.orange .dijitButtonNode {
102    background: #ff9140;
103}
104.claro .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.claro .rftBlockButton.purple .dijitButtonNode {
109    background: #993dec;
110}
111.claro .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.claro .rftInlineButton {
119    float: right;
120    height: 24px;
121    width: 24px;
122}
123.claro .rftInlineButton .dijitButtonNode {
124    width: 24px;
125    height: 24px;
126    margin: 0;
127    padding: 0;
128    background: transparent;
129    border: none;
130}
131.claro .rftInlineButton .rftIcon {
132    width: 16px;
133    height: 16px;
134    background-image: url('images/icons/rftIcons16.png');
135}
136.claro .rftInlineButton.white .rftIcon {
137    background-image: url('images/icons/rftIcons16.png');
138}
139.claro .rftInlineButton.black .rftIcon {
140    background-image: url('images/icons/rftIcons16black.png');
141}
142.claro .rftInlineButton.rftInlineButtonHover .rftIcon {
143    /* We should use either the displacement or the background image change, not both! */
144    /*background-image: url('../../icons/images/rftIcons16c.png');*/
145    margin-top: 1px;
146}
147.claro .rftInlineButton.rftInlineButtonActive .rftIcon {
148    /* This "afterclick" is optional. Check to see if people like it or not! */
149    /* Good, the displacement on click does not come from these settings! */
150}
151
152/* MainMenuButton */
153.claro .dijitMenuBar .rftMainMenuButton {
154    border: none;
155    height: 30px;
156    width: auto;
157    background-image: none;
158    background: transparent;
159    text-align: center;
160    color: #999999;
161    font-size: 24px;
162    line-height: 30px;
163    padding: 0 4px;
164    margin: 0 5px;
165    box-shadow: none;
166    transition: all 0.3s;
167    -moz-transition: all 0.3s;
168    -webkit-transition: all 0.3s;
169    -o-transition: all 0.3s;
170}
171.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemHover {
172    color: #ffffff;
173    font-size: 26px;
174    transition: all 0.1s;
175    -moz-transition: all 0.1s;
176    -webkit-transition: all 0.1s;
177    -o-transition: all 0.1s;
178}
179.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemActive {
180    color: #0794d1 !important;
181    font-size: 26px;
182    transition: all 0.1s;
183    -moz-transition: all 0.1s;
184    -webkit-transition: all 0.1s;
185    -o-transition: all 0.1s;
186}
187.claro .dijitMenuBar .rftMainMenuButton.dijitMenuItemSelected {
188    color: #ffffff;
189    font-size: 26px;
190}
Note: See TracBrowser for help on using the repository browser.