Changeset 412
- Timestamp:
- 10/12/12 16:47:49 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft
- Files:
-
- 1 added
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/css/LESS/main.less
r411 r412 19 19 @import "rftObjectBox.less"; 20 20 @import "sessionEditor.less"; 21 @import "sessions.less"; 21 22 22 23 23 // Page specific stylesheets! 24 24 @import "pages/questions.less"; 25 @import "pages/sessions.less"; -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/mixins.less
r411 r412 83 83 .dijitButtonNode { 84 84 background-color: @text; 85 color: @darkest; 85 86 } 86 87 } … … 89 90 @colorName: "@{color}_light"; 90 91 background-color: @@colorName; 92 color: @text; 91 93 } 92 94 } -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftButtons.less
r411 r412 75 75 .noMargin; 76 76 height: @button_block_height; 77 line-height: @button_block_height;78 77 vertical-align: top; 78 79 .dijitButtonContents { 80 height: 24px; 81 } 79 82 80 83 .dijitButtonNode { … … 88 91 color: @text; 89 92 font-size: @button_block_font_size; 93 94 .dijitButtonText { 95 line-height: @button_block_height; 96 } 90 97 91 98 .rftIcon { … … 150 157 } 151 158 152 &.rftInlineButtonHover.white { 153 .setIcon(16px, black); 154 } 155 &.rftInlineButtonHover.black { 156 .setIcon(16px, black); 159 &.dijitHover { 160 .rftIcon { 161 // outline: @headers solid thin; 162 } 157 163 } 158 164 } -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftIcons.less
r411 r412 8 8 background-color: transparent; 9 9 background-repeat: no-repeat; 10 11 //Probably not needed anymore! Commenting out to see if code breaks12 // &.rftMainIcon {13 // .setIcon(@icon_mainSize);14 // }15 // &.rftMidIcon {16 // .setIcon(@icon_midSize);17 // }18 // &.rftSmallIcon {19 // .setIcon(@icon_smallSize);20 // }21 22 10 } 23 11 } -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftLineWithActions.less
r411 r412 11 11 margin: @std_offset 0; 12 12 color: @text; 13 .bgColor("blue"); 13 14 14 15 &.dojoDndItem { … … 38 39 white-space: nowrap; 39 40 word-wrap: break-word; 41 line-height: 24px; 40 42 } 41 43 -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftObjectBox.less
r411 r412 5 5 margin: @std_offset_big 0; 6 6 7 .rftIcon { 8 .setIcon (32px); 9 float: left; 10 margin: 20px @std_offset_big; 7 .typeIcon { 8 // .setIcon (32px); 9 // margin: 20px @std_offset_big; 11 10 } 12 11 -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/rftSelector.less
r411 r412 44 44 } 45 45 } 46 47 .rftSelectorOptions { 48 .rftLineWithActions { 49 .rftInlineButton { 50 .rftIcon { 51 .setIcon (16px, black); 52 } 53 } 54 } 55 } 46 56 } 47 57 } -
Dev/branches/rest-dojo-ui/client/rft/css/LESS/variables.less
r411 r412 10 10 @blue: #0072bc; 11 11 @blue_light: #0794d1; 12 @green: #3aa605; 13 @green_light: #79ca0a; 12 // @green: #3aa605; For now use the newer colours. Almost negligible difference, but looks better on non-calibrated monitors 13 // @green_light: #79ca0a; 14 @green: #25a000; 15 @green_light: #63c400; 16 14 17 @orange: #ff5b12; 15 18 @orange_light: #ff9140; -
Dev/branches/rest-dojo-ui/client/rft/css/main.css
r411 r412 78 78 } 79 79 #rft.claro .green.textColor { 80 color: # 3aa605;80 color: #25a000; 81 81 } 82 82 #rft.claro .green.textColor.doesHover:hover { 83 color: # 79ca0a;83 color: #63c400; 84 84 } 85 85 #rft.claro .green.bgColor { 86 background-color: # 3aa605;86 background-color: #25a000; 87 87 color: #ffffff; 88 88 } 89 89 #rft.claro .green.bgColor.doesHover:hover { 90 background-color: # 79ca0a;90 background-color: #63c400; 91 91 color: #111111; 92 92 } 93 93 #rft.claro .green.hoverTextColor:hover { 94 color: # 3aa605;94 color: #25a000; 95 95 } 96 96 #rft.claro .green.hoverBgColor:hover { 97 background-color: # 3aa605;97 background-color: #25a000; 98 98 } 99 99 #rft.claro .purple.textColor { … … 425 425 #rft.claro .green .dijitTabChecked, 426 426 #rft.claro div.green.dijitTabChecked { 427 background-color: # 3aa605;427 background-color: #25a000; 428 428 } 429 429 #rft.claro.red .dijitTabChecked, … … 664 664 background-color: #ffffff; 665 665 color: #111111; 666 } 667 #rft.claro .rftSelector .rftSelectorOptions .rftLineWithActions .rftInlineButton .rftIcon { 668 width: 16px; 669 height: 16px; 670 margin: 4px 0; 671 padding: 0 0 0 0; 672 background-image: url('images/icons/rftIcons16b.png'); 666 673 } 667 674 #rft.claro .rftLineWithActions { … … 676 683 margin: 4px 0; 677 684 color: #ffffff; 685 background-color: #0072bc; 678 686 } 679 687 #rft.claro .rftLineWithActions.dojoDndItem { … … 705 713 white-space: nowrap; 706 714 word-wrap: break-word; 715 line-height: 24px; 707 716 } 708 717 #rft.claro .rftLineWithActions .rftLineWithActionsButtons { … … 833 842 } 834 843 #rft.claro .rftIndexMenuButton.rftIndexMenuButtonHover.green { 835 background-color: # 3aa605;844 background-color: #25a000; 836 845 } 837 846 #rft.claro .rftIndexMenuButton.rftIndexMenuButtonHover.orange { … … 894 903 #rft.claro .dijitMenuPopup .dijitMenu .dijitMenuItem.dijitMenuItemActive.green, 895 904 #rft.claro .dijitMenuPopup .dijitMenu .dijitMenuItem.dijitMenuItemSelected.green { 896 background-color: # 3aa605;905 background-color: #25a000; 897 906 } 898 907 #rft.claro .dijitMenuPopup .dijitMenu .dijitMenuItem.dijitMenuItemHover.orange, … … 1070 1079 #rft.claro span.green.rftLargeButton.rftLargeButtonActive .dijitButtonNode, 1071 1080 #rft.claro .green .rftLargeButton.rftLargeButtonActive .dijitButtonNode { 1072 color: # 79ca0a;1081 color: #63c400; 1073 1082 } 1074 1083 #rft.claro span.red.rftLargeButton.rftLargeButtonActive .dijitButtonNode, … … 1088 1097 margin: 0 0 0 0; 1089 1098 height: 24px; 1090 line-height: 24px;1091 1099 vertical-align: top; 1100 } 1101 #rft.claro .rftBlockButton .dijitButtonContents { 1102 height: 24px; 1092 1103 } 1093 1104 #rft.claro .rftBlockButton .dijitButtonNode { … … 1110 1121 font-size: 13px; 1111 1122 } 1123 #rft.claro .rftBlockButton .dijitButtonNode .dijitButtonText { 1124 line-height: 24px; 1125 } 1112 1126 #rft.claro .rftBlockButton .dijitButtonNode .rftIcon { 1113 1127 width: 16px; … … 1172 1186 background-image: url('images/icons/rftIcons16b.png'); 1173 1187 } 1174 #rft.claro .rftInlineButton.rftInlineButtonHover.white {1175 width: 16px;1176 height: 16px;1177 margin: 4px 0;1178 padding: 0 0 0 0;1179 background-image: url('images/icons/rftIcons16b.png');1180 }1181 #rft.claro .rftInlineButton.rftInlineButtonHover.black {1182 width: 16px;1183 height: 16px;1184 margin: 4px 0;1185 padding: 0 0 0 0;1186 background-image: url('images/icons/rftIcons16b.png');1187 }1188 1188 #rft.claro .rftObjectBox { 1189 1189 margin: 8px 0; 1190 }1191 #rft.claro .rftObjectBox .rftIcon {1192 width: 32px;1193 height: 32px;1194 margin: 0;1195 padding: 0 0 0 0;1196 background-image: url('images/icons/rftIcons32.png');1197 float: left;1198 margin: 20px 8px;1199 1190 } 1200 1191 #rft.claro .rftObjectBox .rftLineWithActions { … … 1236 1227 } 1237 1228 #rft.claro .rftSessionObject.green { 1238 background-color: # 3aa605;1229 background-color: #25a000; 1239 1230 } 1240 1231 #rft.claro .rftSessionObject.green.selected { 1241 background-color: # 79ca0a;1232 background-color: #63c400; 1242 1233 } 1243 1234 #rft.claro .rftSessionObject.red { … … 1247 1238 background-color: #bd0013; 1248 1239 } 1249 #rft.claro .rftObjectBox { 1250 padding: 0 0 0 0; 1251 color: #ffffff; 1252 } 1253 #rft.claro .rftObjectBox .typeIcon.rftIcon { 1240 #rft.claro .page_questions .rftSelector .rftSelectorCategory .rftLineWithActions { 1241 background-color: #ff5b12; 1242 } 1243 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftLineWithActions { 1244 background-color: #ffffff; 1245 color: #111111; 1246 } 1247 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton { 1248 background-color: #ff00ff; 1249 } 1250 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton .dijitButtonNode { 1251 background-color: #ff5b12; 1252 } 1253 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton.dijitHover .dijitButtonNode { 1254 background-color: #ffffff; 1255 color: #111111; 1256 } 1257 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton.dijitActive .dijitButtonNode { 1258 background-color: #ff9140; 1259 color: #ffffff; 1260 } 1261 #rft.claro .page_sessions .rftObjectBox { 1262 padding: 0 0 0 0; 1263 color: #ffffff; 1264 } 1265 #rft.claro .page_sessions .rftObjectBox .typeIcon.rftIcon { 1254 1266 width: 32px; 1255 1267 height: 32px; … … 1258 1270 background-image: url('images/icons/rftIcons32.png'); 1259 1271 } 1260 #rft.claro . rftObjectBox .rftLineWithActions {1261 background-color: # 3aa605;1262 } 1263 #rft.claro .page_ questions .rftSelector .rftSelectorCategory .rftLineWithActions{1264 background-color: # ff5b12;1265 } 1266 #rft.claro .page_ questions .rftSelector .rftSelectorSelected .rftLineWithActions{1272 #rft.claro .page_sessions .rftObjectBox .rftLineWithActions { 1273 background-color: #25a000; 1274 } 1275 #rft.claro .page_sessions .rftObjectBox .rftLineWithActions .rftBlockButton .dijitButtonNode { 1276 background-color: #25a000; 1277 } 1278 #rft.claro .page_sessions .rftObjectBox .rftLineWithActions .rftBlockButton.dijitHover .dijitButtonNode { 1267 1279 background-color: #ffffff; 1268 1280 color: #111111; 1269 1281 } 1270 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton { 1271 background-color: #ff00ff; 1272 } 1273 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton .dijitButtonNode { 1274 background-color: #ff5b12; 1275 } 1276 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton.dijitHover .dijitButtonNode { 1277 background-color: #ffffff; 1278 } 1279 #rft.claro .page_questions .rftSelector .rftSelectorSelected .rftBlockButton.dijitActive .dijitButtonNode { 1280 background-color: #ff9140; 1281 } 1282 #rft.claro .page_sessions .rftObjectBox .rftLineWithActions .rftBlockButton.dijitActive .dijitButtonNode { 1283 background-color: #63c400; 1284 color: #ffffff; 1285 } -
Dev/branches/rest-dojo-ui/client/rft/pages/sessions.html
r407 r412 1 <div >1 <div class="page_sessions"> 2 2 <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'"> 3 3 <h2> -
Dev/branches/rest-dojo-ui/client/rft/ui/ObjectBox.js
r407 r412 28 28 }).placeAt(this.line1Node); 29 29 this.line2 = new LineWithActionsWidget({ 30 }).placeAt(this.line 1Node);30 }).placeAt(this.line2Node); 31 31 var line3Actions = this._createLine3Actions(); 32 32 this.line3 = new LineWithActionsWidget({ 33 33 actions: line3Actions 34 }).placeAt(this.line 1Node);34 }).placeAt(this.line3Node); 35 35 this.line1.startup(); 36 36 this.line2.startup();
Note: See TracChangeset
for help on using the changeset viewer.