/******************************************************/ /* CLX WBT_GlobalStyle.as */ /* by Andy Heaberli/Caspar Noetzli */ /* www.crealogix.com */ /* --------------------------------------------------*/ /* Erstellt am 5.10.2004 */ /******************************************************/ /* Version 1.1 */ /* Datum 19.10.2004 */ /******************************************************/ /* Enhaelt globale Textformate f. die Flash-Standard-*/ /* Components sowie für die WBT-Framework-Interface- */ /* elemente */ /* --------------------------------------------------*/ /* Änderung 003 cnoe */ /* GlobalStyle.as mit Textformat gemerget */ /******************************************************/ // // Globales Text-Format (Font-Face-Angaben für Flash-Standard-Components im 'WBT_GloblaStyle.as') // Font _global.clx.font_styles = new Object(); _global.clx.font_styles.standardFont = "Arial"; // TextFormat _global.clx.font_styles.standardFont_fmt = new TextFormat() _global.clx.font_styles.standardFont_fmt.font="Arial" // Format um Texte in dynamischen Texfeldern zu zentrieren _global.center_fmt = new TextFormat(); _global.center_fmt.align = "center"; // Format um Texte in dynamischen Texfeldern rechtsbündig darzustellen _global.right_fmt = new TextFormat(); _global.right_fmt.align = "right"; // ------------------------------------------- // GlobalStyles fuer Flash-Standard-Components // ------------------------------------------- globalStyleFormat.face = "0xECECEC"; globalStyleFormat.scrollTrack = "0xF5F5F5"; globalStyleFormat.arrow = "0x666666"; globalStyleFormat.background = "0xFFFFFF"; globalStyleFormat.backgroundDisabled = "0xF5F5F5"; globalStyleFormat.check = "0x333333"; globalStyleFormat.darkshadow = "0x333333"; globalStyleFormat.foregroundDisabled = "0x999999"; globalStyleFormat.highlight = "0xECECEC"; globalStyleFormat.highlight3D = "0xCCCCCC"; globalStyleFormat.shadow = "0x999999"; globalStyleFormat.radioDot = "0x333333"; globalStyleFormat.selection = "0x000000"; globalStyleFormat.selectionDisabled = "0xF5F5F5"; globalStyleFormat.selectionUnfocused = "0xCCCCCC"; // globalStyleFormat.textColor = "0x000000"; globalStyleFormat.textSelected = "0xFFFFFF"; globalStyleFormat.textDisabled = "0x999999"; globalStyleFormat.textFont = "Arial"; globalStyleFormat.textBold = false; globalStyleFormat.textItalic = false; globalStyleFormat.textUnderline = false; globalStyleFormat.textSize = 14; globalStyleFormat.textAlign = "left"; // Folgende Styles sind bei mehrzeiligen Textfeldern (z.B. Checkboxes) z.T. problematisch (noe 03-09-26) globalStyleFormat.textIndent = 0; globalStyleFormat.textLeftMargin = 5; globalStyleFormat.textRightMargin = 0; // globalStyleFormat.applyChanges(); //---------------------------------------------------- // Globale Styles fuer WBT-Framework-Interface-Elemente //---------------------------------------------------- // Farben _global.clx.color_styles = new Object(); _global.clx.color_styles.titlebar = 0xDCDCDC; //Angaben für Tree-Menu-Chapter-Buttons //Angaben für Tree-Menu-Chapter-Buttons /* blau=0x007EA3 blau mittel=0x59ABC3 blau hell=0xB2D8E3 grün=0x3F9C35 grün mittel= 0x82BF7C grün hell= 0xC5E1C2 orange=0xE99400 orange mittel=0xF1B959 orange hell=0xF8DFB2 */ //////////////////////Grundfarben//////////////////////////////////// _global.clx.color_styles.greenFull=0x3F9C35; _global.clx.color_styles.greenMedium=0x82BF7C; _global.clx.color_styles.greenLight=0xC5E1C2; _global.clx.color_styles.orangeFull=0xE99400; _global.clx.color_styles.orangeMedium=0xF1B959; _global.clx.color_styles.orangeLight=0xF8DFB2; _global.clx.color_styles.blueFull=0x007EA3; _global.clx.color_styles.blueMedium=0x59ABC3; _global.clx.color_styles.blueLight=0xB2D8E3; //InfoWindow Color function setInfoWindowColor(color) { switch (color) { case "green": _global.clx.color_styles.linkInfoWindowTitleBar = 0x98AA96; break; case "blue": _global.clx.color_styles.linkInfoWindowTitleBar = 0x59ABC3; break; case "orange": _global.clx.color_styles.linkInfoWindowTitleBar = 0xe09243; break; case "yellow": _global.clx.color_styles.linkInfoWindowTitleBar = 0xd4c23f; break; } } ///////////////////// Grüne Menues //////////////////////////////// _global.clx.color_styles.chapterButton_pfeil_enabled_green = 0xbbbbbb; //ffffff _global.clx.color_styles.chapterButton_pfeil_rollover_green = 0x999999; //ffffff _global.clx.color_styles.chapterButton_text_enabled_green = 0x000000; //ffffff _global.clx.color_styles.chapterButton_text_rollover_green = 0x000000; //ffffff _global.clx.color_styles.chapterButton_hintergrund_enabled_green = 0xC5E1C2; _global.clx.color_styles.chapterButton_hintergrund_rollover_green = 0x82BF7C; _global.clx.color_styles.chapterButton_topLine_enabled_green = 0xFFFFFF; _global.clx.color_styles.chapterButton_topLine_rollover_green = 0xFF3300; _global.clx.color_styles.chapterButton_bottomLine_enabled_green = 0xCCCCCC; _global.clx.color_styles.chapterButton_bottomLine_rollover_green = 0xbab9b9; //Angaben für Tree-Menu-Subchapter-Buttons _global.clx.color_styles.subchapterButton_pfeil_enabled_green = 0xbbbbbb; //ffffff _global.clx.color_styles.subchapterButton_pfeil_rollover_green = 0x999999; //ffffff _global.clx.color_styles.subchapterButton_text_enabled_green = 0x000000; _global.clx.color_styles.subchapterButton_text_rollover_green = 0x339933; _global.clx.color_styles.subchapterButton_hintergrund_enabled_green = 0xCCCCCC; _global.clx.color_styles.subchapterButton_hintergrund_rollover_green = 0xFFFFFF; _global.clx.color_styles.subchapterButton_topLine_enabled_green = 0xC5E1C2; _global.clx.color_styles.subchapterButton_topLine_rollover_green = 0xC5E1C2; _global.clx.color_styles.subchapterButton_bottomLine_enabled_green = 0xC5E1C2; _global.clx.color_styles.subchapterButton_bottomLine_rollover_green = 0xC5E1C2; _global.clx.color_styles.subchapterButton_visitedStatus_green = 0x000000; _global.clx.color_styles.subchapterButton_visitedStatusHintergrund_green = 0xE6E6E6; ///////////////////// Orange Menues //////////////////////////////// _global.clx.color_styles.chapterButton_pfeil_enabled_orange = 0xbbbbbb; //ffffff _global.clx.color_styles.chapterButton_pfeil_rollover_orange = 0x999999; //ffffff _global.clx.color_styles.chapterButton_text_enabled_orange = 0x000000; //ffffff _global.clx.color_styles.chapterButton_text_rollover_orange = 0x000000; //ffffff _global.clx.color_styles.chapterButton_hintergrund_enabled_orange = 0xF8DFB2; _global.clx.color_styles.chapterButton_hintergrund_rollover_orange = 0xF1B959; _global.clx.color_styles.chapterButton_topLine_enabled_orange = 0xFFFFFF; _global.clx.color_styles.chapterButton_topLine_rollover_orange = 0xFF3300; _global.clx.color_styles.chapterButton_bottomLine_enabled_orange = 0xCCCCCC; _global.clx.color_styles.chapterButton_bottomLine_rollover_orange = 0xbab9b9; //Angaben für Tree-Menu-Subchapter-Buttons _global.clx.color_styles.subchapterButton_pfeil_enabled_orange = 0xbbbbbb; //ffffff _global.clx.color_styles.subchapterButton_pfeil_rollover_orange = 0x999999; //ffffff _global.clx.color_styles.subchapterButton_text_enabled_orange = 0x000000; _global.clx.color_styles.subchapterButton_text_rollover_orange = 0xCC6600; _global.clx.color_styles.subchapterButton_hintergrund_enabled_orange = 0xCCCCCC; _global.clx.color_styles.subchapterButton_hintergrund_rollover_orange = 0xFFFFFF; _global.clx.color_styles.subchapterButton_topLine_enabled_orange = 0xF8DFB2; _global.clx.color_styles.subchapterButton_topLine_rollover_orange = 0xF8DFB2; _global.clx.color_styles.subchapterButton_bottomLine_enabled_orange= 0xF8DFB2; _global.clx.color_styles.subchapterButton_bottomLine_rollover_orange = 0xF8DFB2; _global.clx.color_styles.subchapterButton_visitedStatus_orange = 0x000000; _global.clx.color_styles.subchapterButton_visitedStatusHintergrund_orange = 0xE6E6E6; ///////////////////// Blaue Menues /////////////////////////////// _global.clx.color_styles.chapterButton_pfeil_enabled_blue = 0xbbbbbb; //ffffff _global.clx.color_styles.chapterButton_pfeil_rollover_blue = 0x999999; //ffffff _global.clx.color_styles.chapterButton_text_enabled_blue = 0x000000; //ffffff _global.clx.color_styles.chapterButton_text_rollover_blue = 0x000000; //ffffff _global.clx.color_styles.chapterButton_hintergrund_enabled_blue = 0xB2D8E3; _global.clx.color_styles.chapterButton_hintergrund_rollover_blue = 0x59ABC3; _global.clx.color_styles.chapterButton_topLine_enabled_blue = 0xFFFFFF; _global.clx.color_styles.chapterButton_topLine_rollover_blue = 0xFF3300; _global.clx.color_styles.chapterButton_bottomLine_enabled_blue = 0xCCCCCC; _global.clx.color_styles.chapterButton_bottomLine_rollover_blue = 0xbab9b9; //Angaben für Tree-Menu-Subchapter-Buttons _global.clx.color_styles.subchapterButton_pfeil_enabled_blue = 0xbbbbbb; //ffffff _global.clx.color_styles.subchapterButton_pfeil_rollover_blue = 0x999999; //ffffff _global.clx.color_styles.subchapterButton_text_enabled_blue = 0x000000; _global.clx.color_styles.subchapterButton_text_rollover_blue = 0x007EA3; _global.clx.color_styles.subchapterButton_hintergrund_enabled_blue = 0xCCCCCC; _global.clx.color_styles.subchapterButton_hintergrund_rollover_blue = 0xFFFFFF; _global.clx.color_styles.subchapterButton_topLine_enabled_blue = 0xB2D8E3; _global.clx.color_styles.subchapterButton_topLine_rollover_blue = 0xB2D8E3; _global.clx.color_styles.subchapterButton_bottomLine_enabled_blue = 0xB2D8E3; _global.clx.color_styles.subchapterButton_bottomLine_rollover_blue = 0xB2D8E3; _global.clx.color_styles.subchapterButton_visitedStatus_blue = 0x000000; _global.clx.color_styles.subchapterButton_visitedStatusHintergrund_blue = 0xE6E6E6; // Angaben für Texte in Typ "Reiter/Tabs" _global.clx.color_styles.tabText_enabled = 0x666666; _global.clx.color_styles.tabText_rollover = 0xFFFFFF; _global.clx.color_styles.tabText_selected = 0xFFFFFF; // Angaben für Lückentext _global.clx.color_styles.lueckentext_background = 0xEEEEEE; // Angaben für DragDrop Elemente _global.clx.color_styles.dd_target_bg = 0xEEEEEE; _global.clx.color_styles.dd_source_bg = 0x666666; _global.clx.color_styles.dd_dropzone_bg = 0xDDDDDD; // Angaben für Infoboxes und Feedbackwindows _global.clx.color_styles.linkInfoWindowTitleBarFontColor = 0xFFFFFF; _global.clx.color_styles.feedbackCorrectTitleBar = 0x66CC66; _global.clx.color_styles.feedbackCorrectTitleBarFontColor = 0xFFFFFF; _global.clx.color_styles.feedbackIncorrectTitleBar = 0xFF3300; _global.clx.color_styles.feedbackIncorrectTitleBarFontColor = 0xFFFFFF; //