source: Dev/branches/rest-dojo-ui/client/rft/css/rftSelector.css @ 335

Last change on this file since 335 was 335, checked in by tjcschipper, 13 years ago
  • Removed rft/ui/*Button classes, since they are not actually needed. All buttons use standard dijit.form.Button again.

(baseClass: 'rft*Button', color: 'lowercase *, iconClass: 'rftIcon rftIcon*')

  • Changed CSS color classes to be shorter and more organized. No more highlightRed, now just red.
  • Moved extra .css files from client/dojotoolkit/dijit/themes/gamelab folder to client/rft/css folder, so they are actually included. Same for icons. Gamelab theme now contains only original Claro theme with renamed base class. Part of an effort to make the gamelab style work with standard inclusions of Dojo toolkit. (Override instead of change!)
  • Changed rft/ui/LineWithActionsWidgetThijs.js to use the new Button format.
  • Changed rft/ui/LineWithActionsWidgetThijs.js and rft/ui/SelectorThijs.js to use a new way to add Actions to the LineWithActions?. Instead of {"action": function(){}}, you now pass {"action": {callback: function(){}, properties: {props}}}.

The properties object is used as a mixin during creation of the Buttons, so you can directly set properties on the resulting buttons here. Most important one: action.properties.blockButton (boolean), that determines whether the Button should be a blockButton or inlineButton.

File size: 1.7 KB
Line 
1/* IT'S LIKE THAT, AND THAT'S THE WAY IT IS! HUH! */
2.gamelab .rftSelector {
3    margin: 4px;
4    font-size: 13px;
5    color: #ffffff;
6}
7.gamelab .rftLineWithButtons {
8    height: 24px;
9    line-height: 24px;
10    font-size: 13px;
11    margin: 0;
12    background-color: #ffffff;
13    color: #000000;
14    white-space: nowrap;
15}
16.gamelab .rftSelector .rftSelectorCategory {
17    height: 24px;
18}
19
20/* Colour scheme */
21.gamelab .blue.rftSelector .rftSelectorCategory {
22        background-color: #0072bc;
23}
24.gamelab .red.rftSelector .rftSelectorCategory {
25        background-color: #8c0310;
26}
27.gamelab .purple.rftSelector .rftSelectorCategory {
28        background-color: #6529b7;
29}
30.gamelab .green.rftSelector .rftSelectorCategory {
31        background-color: #3aa605;
32}
33.gamelab .orange.rftSelector .rftSelectorCategory {
34        background-color: #ff5b12;
35}
36.gamelab .rftLineWithButtons .rftLineWithButtonsButtons {
37    float: right;
38    height: 24px;
39    line-height: 24px;
40    margin: 0;
41}
42.gamelab .rftLineWithButtons .rftLineWithButtonsButtons .rftBlockButton {
43    float: right;
44    clear: none;
45}
46.gamelab .rftSelector .rftLineWithButtons .rftLineWithButtonsTitle {
47    float: left;
48    margin: 0 8px 0 8px;
49}
50.gamelab .rftSelectorSelected .rftSelectorColor {
51    width: 8px;
52    height: 24px;
53    background-color: #ff0000;
54    float: left;
55    margin: 0;
56}
57.gamelab .rftSelectorSelected rftSelectorColor.red {
58    /* NO. Don't do that! Change the background color property using JS instead! Event handler for changeContentStatus on the rftSelector!!! */
59}
60.gamelab .rftSelector .rftSelectorCategory .rftLineWithButtons {
61    display: inline-block;
62    color: #ffffff;
63    background-color: transparent;
64    width: 100% !important;
65}
Note: See TracBrowser for help on using the repository browser.