|
Lines 7-12
Link Here
|
| 7 |
* License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html). |
7 |
* License v1.0 (http://www.eclipse.org/org/documents/edl-v10.html). |
| 8 |
* |
8 |
* |
| 9 |
* Contributors: Anton McConville - IBM Corporation - initial API and implementation |
9 |
* Contributors: Anton McConville - IBM Corporation - initial API and implementation |
|
|
10 |
* Casey Flynn - Google Inc. |
| 10 |
******************************************************************************/ |
11 |
******************************************************************************/ |
| 11 |
/*eslint-env browser, amd*/ |
12 |
/*eslint-env browser, amd*/ |
| 12 |
|
13 |
|
|
Lines 25-209
define([
Link Here
|
| 25 |
// |
26 |
// |
| 26 |
// ******************************************************************************* |
27 |
// ******************************************************************************* |
| 27 |
|
28 |
|
| 28 |
function StyleSet(){ |
29 |
|
| 29 |
// |
30 |
// function StyleSet(){ |
| 30 |
} |
31 |
// // |
| 31 |
|
32 |
// } |
| 32 |
function multiply(a,b){ |
33 |
// |
| 33 |
var resultString = 'Result:'; |
34 |
// // TODO: what are these for? They just get overridden by ThemeData constructor |
| 34 |
var result = a*b; |
35 |
// StyleSet.prototype.name = 'Orion'; |
| 35 |
return resultString + result; |
36 |
// StyleSet.prototype.navbar = '#404648'; |
| 36 |
} |
37 |
// StyleSet.prototype.button = '#EFEFEF'; |
| 37 |
|
38 |
// StyleSet.prototype.location = '#333'; |
| 38 |
// TODO: what are these for? They just get overridden by ThemeData constructor |
39 |
// StyleSet.prototype.breadcrumb = '#3087B3'; |
| 39 |
StyleSet.prototype.name = 'Orion'; |
40 |
// StyleSet.prototype.separator = '#333'; |
| 40 |
StyleSet.prototype.navbar = '#404648'; |
41 |
// StyleSet.prototype.selection = 'FEC'; |
| 41 |
StyleSet.prototype.button = '#EFEFEF'; |
42 |
// StyleSet.prototype.sidepanel = '#FBFBFB'; |
| 42 |
StyleSet.prototype.location = '#333'; |
43 |
// StyleSet.prototype.mainpanel = 'white'; |
| 43 |
StyleSet.prototype.breadcrumb = '#3087B3'; |
44 |
// StyleSet.prototype.toolpanel = 'white'; |
| 44 |
StyleSet.prototype.separator = '#333'; |
45 |
// StyleSet.prototype.navtext = '#bfbfbf'; |
| 45 |
StyleSet.prototype.selection = 'FEC'; |
46 |
// StyleSet.prototype.content = '#3087B3'; |
| 46 |
StyleSet.prototype.sidepanel = '#FBFBFB'; |
47 |
// StyleSet.prototype.search = '#444'; |
| 47 |
StyleSet.prototype.mainpanel = 'white'; |
48 |
// StyleSet.prototype.bannerProgress = "white"; |
| 48 |
StyleSet.prototype.toolpanel = 'white'; |
|
|
| 49 |
StyleSet.prototype.navtext = '#bfbfbf'; |
| 50 |
StyleSet.prototype.content = '#3087B3'; |
| 51 |
StyleSet.prototype.search = '#444'; |
| 52 |
StyleSet.prototype.bannerProgress = "white"; |
| 53 |
|
49 |
|
| 54 |
function ThemeData(){ |
50 |
function ThemeData(){ |
| 55 |
|
51 |
|
| 56 |
this.styles = []; |
52 |
this.styles = []; |
| 57 |
|
|
|
| 58 |
var orion = new StyleSet(); |
| 59 |
orion.name = 'Orion'; |
| 60 |
orion.navbar = 'white'; // #404648 for dark banner |
| 61 |
orion.button = '#EFEFEF'; |
| 62 |
orion.location = '#efefef'; |
| 63 |
orion.selection = 'FEC'; |
| 64 |
orion.sidepanel = '#FBFBFB'; |
| 65 |
orion.mainpanel = 'white'; |
| 66 |
orion.toolpanel = 'white'; |
| 67 |
orion.navtext = '#bfbfbf'; |
| 68 |
orion.content = '#3087B3'; |
| 69 |
orion.search = '#444'; |
| 70 |
orion.breadcrumb = '#3087B3'; |
| 71 |
orion.separator = '#333'; |
| 72 |
orion.bannerProgress = "whitesmoke"; |
| 73 |
|
53 |
|
| 74 |
this.styles.push( orion ); |
54 |
var orionPage = { |
|
|
55 |
"className": "lightPage", |
| 56 |
"name": "lightPage", |
| 57 |
"styles": { |
| 58 |
"#configSection": { |
| 59 |
"background": "white !important", |
| 60 |
"color": "black !important" |
| 61 |
}, |
| 62 |
"#log": { |
| 63 |
"margin": "5px", |
| 64 |
"width": "calc(100% - 17px)" |
| 65 |
}, |
| 66 |
"auxpane": { |
| 67 |
"background": "#c4c5c8 !important" |
| 68 |
}, |
| 69 |
".checkedRow": { |
| 70 |
"background-color": "rgb(61, 114, 179) !important", |
| 71 |
"color": "white !important", |
| 72 |
".commandButton": { |
| 73 |
"border-color": "white", |
| 74 |
"color": "white" |
| 75 |
}, |
| 76 |
".commandButton:not(.primaryButton):focus": { |
| 77 |
"background": "rgba(255, 255, 255, 0.50)", |
| 78 |
"box-shadow": "0 1px 2px 0 rgb(61, 114, 179)", |
| 79 |
"color": "black" |
| 80 |
}, |
| 81 |
".commandButton:not(.primaryButton):hover": { |
| 82 |
"background": "rgba(255, 255, 255, 0.50)", |
| 83 |
"box-shadow": "0 1px 2px 0 rgb(61, 114, 179)", |
| 84 |
"color": "black" |
| 85 |
}, |
| 86 |
".gitStatusIcon": { |
| 87 |
"color": "white !important" |
| 88 |
}, |
| 89 |
".gitStatusTitle": { |
| 90 |
"color": "white !important" |
| 91 |
} |
| 92 |
}, |
| 93 |
".commandButton": { |
| 94 |
"background-color": "rgba(0, 0, 0, 0)", |
| 95 |
"border": "1px solid rgb(61, 114, 179)", |
| 96 |
"color": "rgb(61, 114, 179)" |
| 97 |
}, |
| 98 |
".commandButton.disabled": { |
| 99 |
"color": "#cdcdcd" |
| 100 |
}, |
| 101 |
".commandButton.orionButton.dropdownTrigger:hover": { |
| 102 |
"border-color": "#ccc" |
| 103 |
}, |
| 104 |
".commandButton:not(.primaryButton):focus": { |
| 105 |
"background-color": "rgba(61, 114, 179, 0.25)", |
| 106 |
"box-shadow": "0 1px 2px 0 rgb(61, 114, 179)", |
| 107 |
"color": "black" |
| 108 |
}, |
| 109 |
".commandButton:not(.primaryButton):hover": { |
| 110 |
"background-color": "rgba(61, 114, 179, 0.25)", |
| 111 |
"box-shadow": "0 1px 2px 0 rgb(61, 114, 179)", |
| 112 |
"color": "black" |
| 113 |
}, |
| 114 |
".content-fixedHeight": { |
| 115 |
"background": "#c4c5c8 !important" |
| 116 |
}, |
| 117 |
".core-sprite-error": { |
| 118 |
"color": "red" |
| 119 |
}, |
| 120 |
".dialogTitle": { |
| 121 |
"background-color": "rgb(61, 114, 179) !important", |
| 122 |
"color": "white !important" |
| 123 |
}, |
| 124 |
".dropdownButtonWithIcon": { |
| 125 |
"color": "rgb(21, 41, 53) !important" |
| 126 |
}, |
| 127 |
".dropdownMenu": { |
| 128 |
".dropdownMenuItemSelected": { |
| 129 |
"background": "rgba(61, 114, 179, 0.25)", |
| 130 |
"border-left-color": "rgb(61, 114, 179)" |
| 131 |
} |
| 132 |
}, |
| 133 |
".dropdownTrigger:not(.dropdownDefaultButton)": { |
| 134 |
"color": "rgb(21, 41, 53) !important" |
| 135 |
}, |
| 136 |
".editorViewerHeader": { |
| 137 |
"background": "#f5f7fa !important", |
| 138 |
"border-bottom": "1px solid #f5f7fa", |
| 139 |
"color": "black" |
| 140 |
}, |
| 141 |
".filesystemName": { |
| 142 |
"color": "rgb(21, 41, 53) !important" |
| 143 |
}, |
| 144 |
".fixedToolbarHolder": { |
| 145 |
"background": "white" |
| 146 |
}, |
| 147 |
".gitCommitMessage": { |
| 148 |
"gitCommitMessageTopRow": { |
| 149 |
"border": "1px solid rgb(61, 114, 179)" |
| 150 |
} |
| 151 |
}, |
| 152 |
".gitCommitMessageSection": { |
| 153 |
"background-color": "rgba(61, 114, 179, 0.25)" |
| 154 |
}, |
| 155 |
".gitCommitMore": { |
| 156 |
"color": "rgb(61, 114, 179) !important" |
| 157 |
}, |
| 158 |
".gitStatusIcon": { |
| 159 |
"color": "rgb(61, 114, 179) !important" |
| 160 |
}, |
| 161 |
".gitStatusSection": { |
| 162 |
"background-color": "rgba(61, 114, 179, 0.25)" |
| 163 |
}, |
| 164 |
".gitStatusTitle": { |
| 165 |
"color": "rgb(61, 114, 179) !important" |
| 166 |
}, |
| 167 |
".label.parameterInput": { |
| 168 |
"color": "white !important" |
| 169 |
}, |
| 170 |
".launchConfigurationMenuItem.dropdownMenuItemActive": { |
| 171 |
"background": "#f5f7fa" |
| 172 |
}, |
| 173 |
".launchConfigurationsButton": { |
| 174 |
".commandButton.orionButton.dropdownTrigger": { |
| 175 |
"color": "white !important" |
| 176 |
} |
| 177 |
}, |
| 178 |
".launchConfigurationsWrapper>.launchConfigurationsButton.dropdownTrigger": { |
| 179 |
"background-color": "rgb(61, 114, 179) !important", |
| 180 |
"color": "white !important" |
| 181 |
}, |
| 182 |
".launchConfsDropdown": { |
| 183 |
".dropdownDefaultButton": { |
| 184 |
"background-color": "rgb(61, 114, 179) !important", |
| 185 |
"color": "white !important" |
| 186 |
} |
| 187 |
}, |
| 188 |
".launchConfsLabel": { |
| 189 |
"background-color": "rgb(61, 114, 179) !important", |
| 190 |
"color": "white !important" |
| 191 |
}, |
| 192 |
".liveUpdateLabel": { |
| 193 |
"color": "rgb(61, 114, 179) !important" |
| 194 |
}, |
| 195 |
".mainToolbar": { |
| 196 |
"background-color": "white", |
| 197 |
"color": "rgb(21, 41, 53) !important", |
| 198 |
".commandButton.orionButton.dropdownTrigger": { |
| 199 |
"border-color": "white !important", |
| 200 |
"color": "black !important", |
| 201 |
".dropdownTriggerButtonLabel": { |
| 202 |
"color": "white" |
| 203 |
} |
| 204 |
}, |
| 205 |
".commandButton.orionButton.dropdownTrigger.launchConfigurationsButton": { |
| 206 |
"dropdownArrowDown": { |
| 207 |
"color": "white" |
| 208 |
} |
| 209 |
}, |
| 210 |
".commandImage.dropdownTrigger": { |
| 211 |
"color": "rgb(21, 41, 53) !important" |
| 212 |
}, |
| 213 |
".gitSectionLabel": { |
| 214 |
"background-color": "rgb(61, 114, 179) !important", |
| 215 |
"color": "white !important" |
| 216 |
}, |
| 217 |
".sectionWrapper": { |
| 218 |
"background-color": "rgb(61, 114, 179) !important", |
| 219 |
"color": "white !important" |
| 220 |
} |
| 221 |
}, |
| 222 |
".mainpane": { |
| 223 |
"background": "#c4c5c8 !important" |
| 224 |
}, |
| 225 |
".navbar-item-selected": { |
| 226 |
"background-color": "rgb(61, 114, 179) !important", |
| 227 |
"color": "white !important" |
| 228 |
}, |
| 229 |
".orionSwitchLabel": { |
| 230 |
"background-color": "rgb(61, 114, 179) !important", |
| 231 |
"color": "white !important" |
| 232 |
}, |
| 233 |
".outlineExplorer": { |
| 234 |
".treeIterationCursorRow_Dotted": { |
| 235 |
"background-color": "rgb(61, 114, 179) !important", |
| 236 |
"color": "white !important" |
| 237 |
} |
| 238 |
}, |
| 239 |
".primaryButton": { |
| 240 |
"background-color": "rgb(61, 114, 179) !important", |
| 241 |
"border": "1px solid rgb(61, 114, 179) !important", |
| 242 |
"border-radius": "0 !important", |
| 243 |
"color": "white !important" |
| 244 |
}, |
| 245 |
".primaryButton:hover,": { |
| 246 |
".primaryButton:focus": { |
| 247 |
"background": "rgb(61, 114, 179)", |
| 248 |
"border-color": "rgb(61, 114, 179)" |
| 249 |
} |
| 250 |
}, |
| 251 |
".projectNavColumn": { |
| 252 |
"color": "black" |
| 253 |
}, |
| 254 |
".searchResultsWrapperDiv": { |
| 255 |
".selectableNavRow:hover": { |
| 256 |
"background": "rgba(61, 114, 179, 0.25)", |
| 257 |
"border-left-color": "rgb(61, 114, 179)" |
| 258 |
} |
| 259 |
}, |
| 260 |
".sectionTable": { |
| 261 |
"background-color": "white" |
| 262 |
}, |
| 263 |
".sideMenu": { |
| 264 |
"background-color": "white" |
| 265 |
}, |
| 266 |
".sideMenuItem": { |
| 267 |
"color": "rgb(21, 41, 53) !important" |
| 268 |
}, |
| 269 |
".sideMenuItem>.submenu-trigger:hover": { |
| 270 |
"color": "rgb(61, 114, 179) !important" |
| 271 |
}, |
| 272 |
".sideMenuItemActive": { |
| 273 |
"background-color": "rgb(61, 114, 179) !important", |
| 274 |
"color": "white !important" |
| 275 |
}, |
| 276 |
".sideMenuItemActive:hover": { |
| 277 |
"background": "rgba(61, 114, 179, 0.25) !important", |
| 278 |
"color": "white" |
| 279 |
}, |
| 280 |
".sidebarWrapper": { |
| 281 |
"background": "#f5f7fa !important", |
| 282 |
"color": "black" |
| 283 |
}, |
| 284 |
".slideParameters": { |
| 285 |
"background-color": "rgb(61, 114, 179) !important", |
| 286 |
"color": "white !important" |
| 287 |
}, |
| 288 |
".splash": { |
| 289 |
"background": "#f5f7fa !important", |
| 290 |
"box-shadow": "none" |
| 291 |
}, |
| 292 |
".splashAbout": { |
| 293 |
"color": "rgb(61, 114, 179) !important" |
| 294 |
}, |
| 295 |
".splashDetailedMessage": { |
| 296 |
"color": "black" |
| 297 |
}, |
| 298 |
".splashLoader": { |
| 299 |
"background": "#f5f7fa !important", |
| 300 |
"box-shadow": "none" |
| 301 |
}, |
| 302 |
".splashLoadingImage": { |
| 303 |
"-webkit-animation": "rotateThis .5s infinite linear", |
| 304 |
"animation": "rotateThis .5s infinite linear", |
| 305 |
"background": "none", |
| 306 |
"border": "2px solid #00b299", |
| 307 |
"border-radius": "50%", |
| 308 |
"border-right-color": "transparent", |
| 309 |
"display": "inline-block", |
| 310 |
"height": "20px", |
| 311 |
"margin": "0", |
| 312 |
"opacity": ".4", |
| 313 |
"width": "20px" |
| 314 |
}, |
| 315 |
".splashLoadingImage.initial": { |
| 316 |
"border-width": "4px", |
| 317 |
"height": "40px", |
| 318 |
"width": "40px" |
| 319 |
}, |
| 320 |
".splashMessage": { |
| 321 |
"color": "black" |
| 322 |
}, |
| 323 |
".splashVerbal": { |
| 324 |
"color": "rgb(61, 114, 179) !important" |
| 325 |
}, |
| 326 |
".split": { |
| 327 |
"background": "#c4c5c8", |
| 328 |
"width": "4px" |
| 329 |
}, |
| 330 |
".splitThumb": { |
| 331 |
"background": "#c4c5c8" |
| 332 |
}, |
| 333 |
".status": { |
| 334 |
"color": "black" |
| 335 |
}, |
| 336 |
".statusContainer": { |
| 337 |
"background": "#f5f7fa", |
| 338 |
"color": "black" |
| 339 |
}, |
| 340 |
".statusLight": { |
| 341 |
"background": "lightgray" |
| 342 |
}, |
| 343 |
".statusLight.statusLightAmber": { |
| 344 |
"background": "#FFE141" |
| 345 |
}, |
| 346 |
".statusLight.statusLightGreen": { |
| 347 |
"background": "#13dd6d" |
| 348 |
}, |
| 349 |
".statusLight.statusLightProgress": { |
| 350 |
"background": "transparent", |
| 351 |
"border-color": "lightgray", |
| 352 |
"border-top-color": "transparent" |
| 353 |
}, |
| 354 |
".statusLight.statusLightRed": { |
| 355 |
"background": "#C1272D" |
| 356 |
}, |
| 357 |
".textviewTooltip": { |
| 358 |
".commandButton": { |
| 359 |
"background-color": "inherit", |
| 360 |
"border": "1px solid #325C80", |
| 361 |
"border-color": "white", |
| 362 |
"color": "white", |
| 363 |
"margin-bottom": "2px" |
| 364 |
} |
| 365 |
}, |
| 366 |
".titleActionContainer": { |
| 367 |
"background": "#f5f7fa !important", |
| 368 |
"color": "black" |
| 369 |
}, |
| 370 |
".tooltip": { |
| 371 |
"background-color": "rgb(61, 114, 179) !important", |
| 372 |
"border": "1px solid rgb(61, 114, 170)", |
| 373 |
"color": "white !important", |
| 374 |
"h2": { |
| 375 |
"color": "white !important" |
| 376 |
}, |
| 377 |
".navlinkonpage": { |
| 378 |
"background-color": "rgb(61, 114, 179) !important", |
| 379 |
"color": "white !important" |
| 380 |
}, |
| 381 |
".operationError": { |
| 382 |
"color": "white !important" |
| 383 |
} |
| 384 |
}, |
| 385 |
".tooltipTailFromabove:after": { |
| 386 |
"border-top-color": "rgb(61, 114, 179)" |
| 387 |
}, |
| 388 |
".tooltipTailFromabove:before": { |
| 389 |
"border-top-color": "rgb(61, 114, 179)" |
| 390 |
}, |
| 391 |
".tooltipTailFrombelow:after": { |
| 392 |
"border-bottom-color": "rgb(61, 114, 179)" |
| 393 |
}, |
| 394 |
".tooltipTailFrombelow:before": { |
| 395 |
"border-bottom-color": "rgb(61, 114, 179)" |
| 396 |
}, |
| 397 |
".tooltipTailFromleft:after": { |
| 398 |
"border-left-color": "rgb(61, 114, 179)" |
| 399 |
}, |
| 400 |
".tooltipTailFromleft:before": { |
| 401 |
"border-left-color": "rgb(61, 114, 179)" |
| 402 |
}, |
| 403 |
".tooltipTailFromright:after": { |
| 404 |
"border-right-color": "rgb(61, 114, 179)" |
| 405 |
}, |
| 406 |
".tooltipTailFromright:before": { |
| 407 |
"border-right-color": "rgb(61, 114, 179)" |
| 408 |
}, |
| 409 |
".treeIterationCursorRow": { |
| 410 |
"background-color": "rgba(61, 114, 179, 0.25)" |
| 411 |
}, |
| 412 |
".treeIterationCursorRow_Dotted": { |
| 413 |
"background-color": "rgba(61, 114, 179, 0.25)" |
| 414 |
}, |
| 415 |
".workingTarget": { |
| 416 |
"background-color": "white" |
| 417 |
} |
| 418 |
} |
| 419 |
}; |
| 420 |
this.styles.push(orionPage); |
| 75 |
|
421 |
|
| 76 |
var orion2014 = new StyleSet(); |
422 |
// var test = new StyleSet(); |
| 77 |
orion2014.name = 'Orion2014'; |
423 |
// test.name = "Green Test", |
| 78 |
orion2014.navbar = 'white'; |
424 |
// test.primaryBackgroundColor = 'darkgreen'; |
| 79 |
orion2014.button = '#EFEFEF'; |
425 |
// test.primaryTextColor = 'white'; |
| 80 |
orion2014.location = '#EFEFEF'; |
426 |
// test.secondaryBackgroundColor = 'seagreen'; |
| 81 |
orion2014.selection = 'FEC'; |
427 |
// test.secondaryTextColor = 'grey'; |
| 82 |
orion2014.sidepanel = '#EEEEEE'; |
428 |
// test.tertiaryBackgroundColor = 'pink'; |
| 83 |
orion2014.mainpanel = '#EEEEEE'; |
429 |
// test.tertiaryTextColor = 'white'; |
| 84 |
orion2014.toolpanel = '#EEEEEE'; |
430 |
// test.flavorColor = 'orange'; |
| 85 |
orion2014.navtext = '#BFBFBF'; |
431 |
// this.styles.push(test); |
| 86 |
orion2014.content = '#333333'; |
432 |
|
| 87 |
orion2014.search = '#444444'; |
433 |
// var orion = new StyleSet(); |
| 88 |
orion2014.breadcrumb = '#333333'; |
434 |
// orion.name = 'Orion'; |
| 89 |
orion2014.separator = '#333333'; |
435 |
// orion.navbar = 'white'; // #404648 for dark banner |
| 90 |
orion2014.bannerProgress = "orange"; |
436 |
// orion.button = '#EFEFEF'; |
|
|
437 |
// orion.location = '#efefef'; |
| 438 |
// orion.selection = 'FEC'; |
| 439 |
// orion.sidepanel = '#FBFBFB'; |
| 440 |
// orion.mainpanel = 'white'; |
| 441 |
// orion.toolpanel = 'white'; |
| 442 |
// orion.navtext = '#bfbfbf'; |
| 443 |
// orion.content = '#3087B3'; |
| 444 |
// orion.search = '#444'; |
| 445 |
// orion.breadcrumb = '#3087B3'; |
| 446 |
// orion.separator = '#333'; |
| 447 |
// orion.bannerProgress = "whitesmoke"; |
| 448 |
// |
| 449 |
// this.styles.push( orion ); |
| 450 |
// |
| 451 |
// var orion2014 = new StyleSet(); |
| 452 |
// orion2014.name = 'Orion2014'; |
| 453 |
// orion2014.navbar = 'white'; |
| 454 |
// orion2014.button = '#EFEFEF'; |
| 455 |
// orion2014.location = '#EFEFEF'; |
| 456 |
// orion2014.selection = 'FEC'; |
| 457 |
// orion2014.sidepanel = '#EEEEEE'; |
| 458 |
// orion2014.mainpanel = '#EEEEEE'; |
| 459 |
// orion2014.toolpanel = '#EEEEEE'; |
| 460 |
// orion2014.navtext = '#BFBFBF'; |
| 461 |
// orion2014.content = '#333333'; |
| 462 |
// orion2014.search = '#444444'; |
| 463 |
// orion2014.breadcrumb = '#333333'; |
| 464 |
// orion2014.separator = '#333333'; |
| 465 |
// orion2014.bannerProgress = "orange"; |
| 466 |
// |
| 467 |
// this.styles.push( orion2014 ); |
| 91 |
|
468 |
|
| 92 |
this.styles.push( orion2014 ); |
|
|
| 93 |
|
469 |
|
| 94 |
var eire = new StyleSet(); |
|
|
| 95 |
|
| 96 |
eire.name = 'Green Zone'; |
| 97 |
eire.navbar = 'seagreen'; |
| 98 |
eire.button = 'lavender'; |
| 99 |
eire.location = 'darkseagreen'; |
| 100 |
eire.selection = 'moccasin'; |
| 101 |
eire.sidepanel = 'aliceblue'; |
| 102 |
eire.mainpanel = 'white'; |
| 103 |
eire.toolpanel = 'white'; |
| 104 |
eire.navtext = '#FBFBFB'; |
| 105 |
eire.content = 'darkgreen'; |
| 106 |
eire.search = 'darkgreen'; |
| 107 |
eire.breadcrumb = '#3087B3'; |
| 108 |
eire.separator = 'seagreen'; |
| 109 |
eire.bannerProgress = "#F2F2F2"; |
| 110 |
|
| 111 |
this.styles.push( eire ); |
| 112 |
|
| 113 |
var avril = new StyleSet(); |
| 114 |
|
| 115 |
avril.name = 'Pretty In Pink'; |
| 116 |
avril.navbar = 'plum'; |
| 117 |
avril.button = 'lavender'; |
| 118 |
avril.location = 'pink'; |
| 119 |
avril.selection = 'lavender'; |
| 120 |
avril.sidepanel = 'seashell'; |
| 121 |
avril.mainpanel = 'white'; |
| 122 |
avril.toolpanel = 'white'; |
| 123 |
avril.navtext = '#FBFBFB'; |
| 124 |
avril.content = 'mediumorchid'; |
| 125 |
avril.search = 'violet'; |
| 126 |
avril.breadcrumb = '#3087B3'; |
| 127 |
avril.separator = 'plum'; |
| 128 |
avril.bannerProgress = "#F2F2F2"; |
| 129 |
|
| 130 |
this.styles.push( avril ); |
| 131 |
|
470 |
|
| 132 |
var blue = new StyleSet(); |
|
|
| 133 |
|
471 |
|
| 134 |
blue.name = 'Blue Monday'; |
|
|
| 135 |
blue.navbar = 'cornflowerblue'; |
| 136 |
blue.button = 'lavender'; |
| 137 |
blue.location = 'skyblue'; |
| 138 |
blue.selection = 'lavender'; |
| 139 |
blue.sidepanel = 'aliceblue'; |
| 140 |
blue.mainpanel = 'white'; |
| 141 |
blue.toolpanel = 'white'; |
| 142 |
blue.navtext = '#FBFBFB'; |
| 143 |
blue.content = 'royalblue'; |
| 144 |
blue.search = 'royalblue'; |
| 145 |
blue.breadcrumb = '#3087B3'; |
| 146 |
blue.separator = 'cornflowerblue'; |
| 147 |
blue.bannerProgress = "#F2F2F2"; |
| 148 |
|
472 |
|
| 149 |
this.styles.push( blue ); |
|
|
| 150 |
|
473 |
|
| 151 |
var vanilla = new StyleSet(); |
|
|
| 152 |
|
474 |
|
| 153 |
vanilla.name = 'Vanilla Skies'; |
|
|
| 154 |
vanilla.navbar = 'sandybrown'; |
| 155 |
vanilla.button = 'lemmonchiffon'; |
| 156 |
vanilla.location = 'cornsilk'; |
| 157 |
vanilla.selection = 'lemonchiffon'; |
| 158 |
vanilla.sidepanel = 'white'; |
| 159 |
vanilla.mainpanel = 'white'; |
| 160 |
vanilla.toolpanel = 'white'; |
| 161 |
vanilla.navtext = 'lemonchiffon'; |
| 162 |
vanilla.content = 'chocolate'; |
| 163 |
vanilla.search = 'moccasin'; |
| 164 |
vanilla.breadcrumb = '#3087B3'; |
| 165 |
vanilla.separator = 'sandybrown'; |
| 166 |
vanilla.bannerProgress = "#F2F2F2"; |
| 167 |
|
475 |
|
| 168 |
this.styles.push( vanilla ); |
476 |
// var eire = new StyleSet(); |
| 169 |
|
477 |
// |
| 170 |
var beetlejuice = new StyleSet(); |
478 |
// eire.name = 'Green Zone'; |
| 171 |
|
479 |
// eire.navbar = 'seagreen'; |
| 172 |
beetlejuice.name = 'Beetlejuice'; |
480 |
// eire.button = 'lavender'; |
| 173 |
beetlejuice.navbar = 'indigo'; |
481 |
// eire.location = 'darkseagreen'; |
| 174 |
beetlejuice.button = 'slateblue'; |
482 |
// eire.selection = 'moccasin'; |
| 175 |
beetlejuice.location = 'darkslateblue'; |
483 |
// eire.sidepanel = 'aliceblue'; |
| 176 |
beetlejuice.selection = 'silver'; |
484 |
// eire.mainpanel = 'white'; |
| 177 |
beetlejuice.sidepanel = 'lavender'; |
485 |
// eire.toolpanel = 'white'; |
| 178 |
beetlejuice.mainpanel = 'white'; |
486 |
// eire.navtext = '#FBFBFB'; |
| 179 |
beetlejuice.toolpanel = 'white'; |
487 |
// eire.content = 'darkgreen'; |
| 180 |
beetlejuice.navtext = '#FBFBFB'; |
488 |
// eire.search = 'darkgreen'; |
| 181 |
beetlejuice.content = 'mediumslateblue'; |
489 |
// eire.breadcrumb = '#3087B3'; |
| 182 |
beetlejuice.search = '#444'; |
490 |
// eire.separator = 'seagreen'; |
| 183 |
beetlejuice.breadcrumb = '#3087B3'; |
491 |
// eire.bannerProgress = "#F2F2F2"; |
| 184 |
beetlejuice.separator = 'indigo'; |
492 |
// |
| 185 |
beetlejuice.bannerProgress = "#F2F2F2"; |
493 |
// this.styles.push( eire ); |
| 186 |
|
494 |
// |
| 187 |
this.styles.push( beetlejuice ); |
495 |
// var avril = new StyleSet(); |
| 188 |
|
496 |
// |
| 189 |
var red = new StyleSet(); |
497 |
// avril.name = 'Pretty In Pink'; |
| 190 |
|
498 |
// avril.navbar = 'plum'; |
| 191 |
red.name = 'Red'; |
499 |
// avril.button = 'lavender'; |
| 192 |
red.navbar = '#CD2127'; |
500 |
// avril.location = 'pink'; |
| 193 |
red.button = '#777777'; |
501 |
// avril.selection = 'lavender'; |
| 194 |
red.location = '#D85F56'; |
502 |
// avril.sidepanel = 'seashell'; |
| 195 |
red.selection = 'lightcoral'; |
503 |
// avril.mainpanel = 'white'; |
| 196 |
red.sidepanel = '#EFDAB2'; |
504 |
// avril.toolpanel = 'white'; |
| 197 |
red.mainpanel = '#FDFADD'; |
505 |
// avril.navtext = '#FBFBFB'; |
| 198 |
red.toolpanel = '#FDFADD'; |
506 |
// avril.content = 'mediumorchid'; |
| 199 |
red.navtext = '#FBFBFB'; |
507 |
// avril.search = 'violet'; |
| 200 |
red.content = 'darkred'; |
508 |
// avril.breadcrumb = '#3087B3'; |
| 201 |
red.search = '#D85F56'; |
509 |
// avril.separator = 'plum'; |
| 202 |
red.breadcrumb = 'darkred'; |
510 |
// avril.bannerProgress = "#F2F2F2"; |
| 203 |
red.separator = '#CD2127'; |
511 |
// |
| 204 |
red.bannerProgress = "#F2F2F2"; |
512 |
// this.styles.push( avril ); |
| 205 |
|
513 |
// |
| 206 |
this.styles.push( red ); |
514 |
// var blue = new StyleSet(); |
|
|
515 |
// |
| 516 |
// blue.name = 'Blue Monday'; |
| 517 |
// blue.navbar = 'cornflowerblue'; |
| 518 |
// blue.button = 'lavender'; |
| 519 |
// blue.location = 'skyblue'; |
| 520 |
// blue.selection = 'lavender'; |
| 521 |
// blue.sidepanel = 'aliceblue'; |
| 522 |
// blue.mainpanel = 'white'; |
| 523 |
// blue.toolpanel = 'white'; |
| 524 |
// blue.navtext = '#FBFBFB'; |
| 525 |
// blue.content = 'royalblue'; |
| 526 |
// blue.search = 'royalblue'; |
| 527 |
// blue.breadcrumb = '#3087B3'; |
| 528 |
// blue.separator = 'cornflowerblue'; |
| 529 |
// blue.bannerProgress = "#F2F2F2"; |
| 530 |
// |
| 531 |
// this.styles.push( blue ); |
| 532 |
// |
| 533 |
// var vanilla = new StyleSet(); |
| 534 |
// |
| 535 |
// vanilla.name = 'Vanilla Skies'; |
| 536 |
// vanilla.navbar = 'sandybrown'; |
| 537 |
// vanilla.button = 'lemmonchiffon'; |
| 538 |
// vanilla.location = 'cornsilk'; |
| 539 |
// vanilla.selection = 'lemonchiffon'; |
| 540 |
// vanilla.sidepanel = 'white'; |
| 541 |
// vanilla.mainpanel = 'white'; |
| 542 |
// vanilla.toolpanel = 'white'; |
| 543 |
// vanilla.navtext = 'lemonchiffon'; |
| 544 |
// vanilla.content = 'chocolate'; |
| 545 |
// vanilla.search = 'moccasin'; |
| 546 |
// vanilla.breadcrumb = '#3087B3'; |
| 547 |
// vanilla.separator = 'sandybrown'; |
| 548 |
// vanilla.bannerProgress = "#F2F2F2"; |
| 549 |
// |
| 550 |
// this.styles.push( vanilla ); |
| 551 |
// |
| 552 |
// var beetlejuice = new StyleSet(); |
| 553 |
// |
| 554 |
// beetlejuice.name = 'Beetlejuice'; |
| 555 |
// beetlejuice.navbar = 'indigo'; |
| 556 |
// beetlejuice.button = 'slateblue'; |
| 557 |
// beetlejuice.location = 'darkslateblue'; |
| 558 |
// beetlejuice.selection = 'silver'; |
| 559 |
// beetlejuice.sidepanel = 'lavender'; |
| 560 |
// beetlejuice.mainpanel = 'white'; |
| 561 |
// beetlejuice.toolpanel = 'white'; |
| 562 |
// beetlejuice.navtext = '#FBFBFB'; |
| 563 |
// beetlejuice.content = 'mediumslateblue'; |
| 564 |
// beetlejuice.search = '#444'; |
| 565 |
// beetlejuice.breadcrumb = '#3087B3'; |
| 566 |
// beetlejuice.separator = 'indigo'; |
| 567 |
// beetlejuice.bannerProgress = "#F2F2F2"; |
| 568 |
// |
| 569 |
// this.styles.push( beetlejuice ); |
| 570 |
// |
| 571 |
// var red = new StyleSet(); |
| 572 |
// |
| 573 |
// red.name = 'Red'; |
| 574 |
// red.navbar = '#CD2127'; |
| 575 |
// red.button = '#777777'; |
| 576 |
// red.location = '#D85F56'; |
| 577 |
// red.selection = 'lightcoral'; |
| 578 |
// red.sidepanel = '#EFDAB2'; |
| 579 |
// red.mainpanel = '#FDFADD'; |
| 580 |
// red.toolpanel = '#FDFADD'; |
| 581 |
// red.navtext = '#FBFBFB'; |
| 582 |
// red.content = 'darkred'; |
| 583 |
// red.search = '#D85F56'; |
| 584 |
// red.breadcrumb = 'darkred'; |
| 585 |
// red.separator = '#CD2127'; |
| 586 |
// red.bannerProgress = "#F2F2F2"; |
| 587 |
// |
| 588 |
// this.styles.push( red ); |
| 207 |
} |
589 |
} |
| 208 |
|
590 |
|
| 209 |
function getStyles(){ |
591 |
function getStyles(){ |
|
Lines 217-228
define([
Link Here
|
| 217 |
function getThemeStorageInfo(){ |
599 |
function getThemeStorageInfo(){ |
| 218 |
return { |
600 |
return { |
| 219 |
storage:'/themes', |
601 |
storage:'/themes', |
| 220 |
styleset:'styles', |
602 |
styleset:'containerStyles', |
| 221 |
defaultTheme:'Orion2014', |
603 |
//styleset: 'styles', |
| 222 |
selectedKey: 'selected', |
604 |
defaultTheme:'lightPage', |
|
|
605 |
selectedKey: 'containerSelected', |
| 606 |
//selectedKey: 'containerSelected', |
| 223 |
version: THEMES_VERSION |
607 |
version: THEMES_VERSION |
| 224 |
}; |
608 |
}; |
| 225 |
} |
609 |
} |
|
|
610 |
|
| 611 |
/* |
| 612 |
* function getThemeStorageInfo(){ |
| 613 |
return { |
| 614 |
storage:'/themes', |
| 615 |
styleset:'editorstyles', |
| 616 |
defaultTheme:'Prospecto', |
| 617 |
selectedKey: 'editorSelected', |
| 618 |
version: THEMES_VERSION |
| 619 |
}; |
| 620 |
} |
| 621 |
* |
| 622 |
*/ |
| 226 |
|
623 |
|
| 227 |
ThemeData.prototype.getThemeStorageInfo = getThemeStorageInfo; |
624 |
ThemeData.prototype.getThemeStorageInfo = getThemeStorageInfo; |
| 228 |
|
625 |
|
|
Lines 299-304
define([
Link Here
|
| 299 |
} |
696 |
} |
| 300 |
|
697 |
|
| 301 |
ThemeData.prototype.getViewData = getViewData; |
698 |
ThemeData.prototype.getViewData = getViewData; |
|
|
699 |
|
| 700 |
|
| 302 |
|
701 |
|
| 303 |
function processSettings( settings ){ |
702 |
function processSettings( settings ){ |
| 304 |
var sheetMaker = new ThemeSheetWriter.ThemeSheetWriter(); |
703 |
var sheetMaker = new ThemeSheetWriter.ThemeSheetWriter(); |
|
Lines 311-317
define([
Link Here
|
| 311 |
|
710 |
|
| 312 |
return{ |
711 |
return{ |
| 313 |
ThemeData:ThemeData, |
712 |
ThemeData:ThemeData, |
| 314 |
getStyles:getStyles |
713 |
getStyles:getStyles, |
| 315 |
}; |
714 |
}; |
| 316 |
} |
715 |
} |
| 317 |
); |
716 |
); |