From 2b65daf729158750b9dd6b0136a9c1e54b0dc5d2 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 29 Dec 2012 00:53:18 +0100 Subject: [PATCH] add theme css --- source/Ox.UI/css/theme.css | 996 +++++++++++++++++++++++++++++++++++++ 1 file changed, 996 insertions(+) create mode 100644 source/Ox.UI/css/theme.css diff --git a/source/Ox.UI/css/theme.css b/source/Ox.UI/css/theme.css new file mode 100644 index 00000000..0bc5a2e9 --- /dev/null +++ b/source/Ox.UI/css/theme.css @@ -0,0 +1,996 @@ +html:fullscreen { + background-color: $bodyBackground; +} +html:-moz-full-screen { + background-color: $bodyBackground; +} +html:-webkit-full-screen { + background-color: $bodyBackground; +} + +body.$themeClass { + background-color: $bodyBackground; +} +.$themeClass a { + color: $linkColor; +} +.$themeClass div { + color: $bodyColor; +} +.$themeClass .OxHighlight { + background-image: -moz-linear-gradient(top, $bodyHighlightGradient); + background-image: -o-linear-gradient(top, $bodyHighlightGradient); + background-image: -webkit-linear-gradient(top, $bodyHighlightGradient); + color: $bodyHighlightColor; +} +.$themeClass .OxBright { + color: $bodyBrightColor; +} +.$themeClass .OxLight { + color: $bodyLightColor; +} +.$themeClass .OxGrid { + background-color: $gridGradient[0]; + background-image: + -moz-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]), + -moz-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]); + background-image: + -o-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]), + -o-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]); + background-image: + -webkit-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]), + -webkit-linear-gradient(45deg, $gridGradient[1] 25%, transparent 25%, transparent 75%, $gridGradient[1] 75%, $gridGradient[1]); +} + +/* +================================================================================ +Bars +================================================================================ +*/ + +.$themeClass .OxBar.OxHorizontal { + background-image: -moz-linear-gradient(top, $barGradient); + background-image: -o-linear-gradient(top, $barGradient); + background-image: -webkit-linear-gradient(top, $barGradient); +} + +.$themeClass .OxProgressbar { + border-color: $formelementBorder; + background-image: -moz-linear-gradient(top, $buttonGradient); + background-image: -o-linear-gradient(top, $buttonGradient); + background-image: -webkit-linear-gradient(top, $buttonGradient); +} +.$themeClass .OxProgressbar .OxTrack { + border-color: $formelementBorder; + background-image: -moz-linear-gradient(top, $inputGradient); + background-image: -o-linear-gradient(top, $inputGradient); + background-image: -webkit-linear-gradient(top, $inputGradient); +} +.$themeClass .OxProgressbar .OxProgress { + border-color: $formelementBorder; + background-image: + -moz-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarBackground 25%, $progressbarBackground 50%, + transparent 50%, transparent 75%, + $progressbarBackground 75%, $progressbarBackground 100% + ), + -moz-linear-gradient(top, $buttonGradient); + background-image: + -o-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarBackground 25%, $progressbarBackground 50%, + transparent 50%, transparent 75%, + $progressbarBackground 75%, $progressbarBackground 100% + ), + -o-linear-gradient(top, $buttonGradient); + background-image: + -webkit-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarBackground 25%, $progressbarBackground 50%, + transparent 50%, transparent 75%, + $progressbarBackground 75%, $progressbarBackground 100% + ), + -webkit-linear-gradient(top, $buttonGradient); + background-size: 32px 32px, 16px 16px; +} +.$themeClass .OxProgressbar .OxProgress.OxAnimate { + background-image: + -moz-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarAnimateBackground 25%, $progressbarAnimateBackground 50%, + transparent 50%, transparent 75%, + $progressbarAnimateBackground 75%, $progressbarAnimateBackground 100% + ), + -moz-linear-gradient(top, $buttonGradient); + background-image: + -o-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarAnimateBackground 25%, $progressbarAnimateBackground 50%, + transparent 50%, transparent 75%, + $progressbarAnimateBackground 75%, $progressbarAnimateBackground 100% + ), + -o-linear-gradient(top, $buttonGradient); + background-image: + -webkit-repeating-linear-gradient( + -45deg, transparent 0, transparent 25%, + $progressbarAnimateBackground 25%, $progressbarAnimateBackground 50%, + transparent 50%, transparent 75%, + $progressbarAnimateBackground 75%, $progressbarAnimateBackground 100% + ), + -webkit-linear-gradient(top, $buttonGradient); +} + +.$themeClass .OxResizebar > .OxLine { + background-color: $bodyBorder; +} + +/* +================================================================================ +Calendar +================================================================================ +*/ + +.$themeClass .OxCalendar .OxTimeline > div.odd { + background-image: -moz-linear-gradient(top, $calendarTimelineOddGradient); + background-image: -o-linear-gradient(top, $calendarTimelineOddGradient); + background-image: -webkit-linear-gradient(top, $calendarTimelineOddGradient); +} + +.$themeClass .OxCalendar .OxTimeline > div.even { + background-image: -moz-linear-gradient(top, $calendarTimelineEvenGradient); + background-image: -o-linear-gradient(top, $calendarTimelineEvenGradient); + background-image: -webkit-linear-gradient(top, $calendarTimelineEvenGradient); +} + +.$themeClass .OxCalendar .OxBackground > div { + background-color: $calendarBackground; +} +.$themeClass .OxCalendar .OxBackground > div.line { + background-color: $calendarLineBackground; +} + +.$themeClass .OxCalendar .OxLine > .OxEvent { + color: $calendarEventColor; +} +.$themeClass .OxCalendar .OxLine > .OxEvent.OxSelected { + box-shadow: inset 0 0 1px $calendarEventShadow, + inset 0 0 1px $calendarEventShadow, + inset 0 0 1px $calendarEventShadow, + inset 0 0 1px $calendarEventShadow; +} +.$themeClass .OxEvent.OxDate { + background-image: -moz-linear-gradient(top, $calendarEventDateGradient); + background-image: -o-linear-gradient(top, $calendarEventDateGradient); + background-image: -webkit-linear-gradient(top, $calendarEventDateGradient); +} +.$themeClass .OxEvent.OxOther { + background-image: -moz-linear-gradient(top, $calendarEventOtherGradient); + background-image: -o-linear-gradient(top, $calendarEventOtherGradient); + background-image: -webkit-linear-gradient(top, $calendarEventOtherGradient); +} +.$themeClass .OxEvent.OxPerson { + background-image: -moz-linear-gradient(top, $calendarEventPersonGradient); + background-image: -o-linear-gradient(top, $calendarEventPersonGradient); + background-image: -webkit-linear-gradient(top, $calendarEventPersonGradient); +} +.$themeClass .OxEvent.OxPlace { + background-image: -moz-linear-gradient(top, $calendarEventPlaceGradient); + background-image: -o-linear-gradient(top, $calendarEventPlaceGradient); + background-image: -webkit-linear-gradient(top, $calendarEventPlaceGradient); +} + +.$themeClass .OxCalendar .OxOverlay div:nth-child(odd) { + background-color: $calendarOverlayOddBackground; +} +.$themeClass .OxCalendar .OxOverlay div:nth-child(even) { + background-color: $calendarOverlayEvenBackground; + box-shadow: inset 0 0 2px $calendarOverlayEvenShadow; +} + +.OxThemeModern .OxCalendar .OxCalendarControl, +.OxThemeModern .OxCalendar .OxEventControl { + border-color: calendarControlBorder; + background-image: -moz-linear-gradient(top, $calendarControlGradient); + background-image: -o-linear-gradient(top, $calendarControlGradient); + background-image: -webkit-linear-gradient(top, $calendarControlGradient); + color: $calendarControlColor; +} + +.$themeClass .OxCalendarEditor .OxWarning { + border-bottom: 2px dotted $bodyWarningBorder; +} + +/* +================================================================================ +Dialog +================================================================================ +*/ + +.$themeClass .OxDialog { + -moz-box-shadow: 0 2px 8px $dialogShadow; + -o-box-shadow: 0 2px 8px $dialogShadow; + -webkit-box-shadow: 0 2px 8px $dialogShadow; +} + +.$themeClass .OxDialog .OxBar { + background-image: -moz-linear-gradient(top, $dialogBarGradient); + background-image: -o-linear-gradient(top, $dialogBarGradient); + background-image: -webkit-linear-gradient(top, $dialogBarGradient); +} + +.$themeClass .OxDialog .OxContent { + background-color: $dialogBackground; +} +.$themeClass .OxDialog .OxIconList .OxContent { + background-color: transparent; +} + +.$themeClass .OxLayer { + background-color: $dialogLayerBackground; +} + +/* +================================================================================ +DocPage +================================================================================ +*/ + +.$themeClass .OxFailed { + color: $documentWarningColor; +} + +/* +================================================================================ +Document +================================================================================ +*/ + +.$themeClass .OxDocument code { + color: $documentCodeColor; +} +.$themeClass .OxDocument div { + border-color: $documentBorder; +} + +/* +================================================================================ +Forms +================================================================================ +*/ + +.$themeClass .OxButton, +.$themeClass input.OxCheckbox, +.$themeClass input.OxInput, +.$themeClass textarea, +.$themeClass .OxLabel, +.$themeClass .OxTrack { + border-color: $formelementBorder; + color: $formelementColor; +} +.$themeClass .OxSelect { + border-color: $formelementBorder; +} +.$themeClass .OxSelect > .OxTitle { + color: $formelementColor; +} +.$themeClass .OxInputLabel { + color: $formelementColor; +} +.$themeClass .OxButton, +.$themeClass div.OxInput, +.$themeClass .OxSelect { + background-image: -moz-linear-gradient(top, $buttonGradient); + background-image: -o-linear-gradient(top, $buttonGradient); + background-image: -webkit-linear-gradient(top, $buttonGradient); +} +.$themeClass div.OxInput.OxTextarea { + background-color: transparent; +} +.$themeClass .OxButton:active { + background-image: -moz-linear-gradient(top, $buttonActiveGradient); + background-image: -o-linear-gradient(top, $buttonActiveGradient); + background-image: -webkit-linear-gradient(top, $buttonActiveGradient); + color: $buttonActiveColor; +} +.$themeClass .OxCheckbox:active { + background-image: -moz-linear-gradient(top, $inputActiveGradient); + background-image: -o-linear-gradient(top, $inputActiveGradient); + background-image: -webkit-linear-gradient(top, $inputActiveGradient); +} +.$themeClass .OxButton:focus { + -moz-box-shadow: 0 0 2px $formelementFocusShadow; + -o-box-shadow: 0 0 2px $formelementFocusShadow; + -webkit-box-shadow: 0 2 4px $formelementFocusShadow; +} +.$themeClass .OxButton.OxDisabled { + background-image: -moz-linear-gradient(top, $buttonDisabledGradient); + background-image: -o-linear-gradient(top, $buttonDisabledGradient); + background-image: -webkit-linear-gradient(top, $buttonDisabledGradient); + color: $buttonDisabledColor; +} +.$themeClass .OxButton.OxSymbol.OxDisabled { + background-color: transparent; + opacity: 0.5; +} + + +.$themeClass .OxButton.OxSelected, +.$themeClass .OxSelect.OxSelected, +.$themeClass .OxCollapsePanel > .OxBar > .OxExtras > .OxSelect.OxSelected { + background-image: -moz-linear-gradient(top, $buttonSelectedGradient); + background-image: -o-linear-gradient(top, $buttonSelectedGradient); + background-image: -webkit-linear-gradient(top, $buttonSelectedGradient); +} +.$themeClass .OxButton.OxSelected, +.$themeClass .OxSelect.OxSelected > .OxTitle, +.$themeClass .OxCollapsePanel > .OxBar > .OxExtras > .OxSelect.OxSelected { + color: $buttonSelectedColor; +} + + +.$themeClass .OxButton.OxTab.OxSelected { + border-bottom: 1px solid $buttonSelectedGradient[1]; +} + +.$themeClass .OxFileInput.OxDisabled > .OxBar { + background-image: -moz-linear-gradient(top, $buttonDisabledGradient); + background-image: -o-linear-gradient(top, $buttonDisabledGradient); + background-image: -webkit-linear-gradient(top, $buttonDisabledGradient); +} +.$themeClass .OxFileInput.OxDisabled > .OxBar > div { + color: $buttonDisabledColor +} + +.$themeClass .OxFormMessage { + color: $inputErrorColor; +} + +.$themeClass .OxLabel.OxDisabled { + color: $labelDisabledColor; +} +.$themeClass .OxDocPage .OxLabel.OxSquare, +.$themeClass .OxExamplePage .OxLabel.OxSquare { + background-color: $documentLabelBackground; +} + +.$themeClass input.OxCheckbox, +.$themeClass input.OxInput, +.$themeClass textarea, +.$themeClass .OxTrack { + background-image: -moz-linear-gradient(top, $inputGradient); + background-image: -o-linear-gradient(top, $inputGradient); + background-image: -webkit-linear-gradient(top, $inputGradient); +} +.$themeClass div.OxInput.OxError input { + color: $inputErrorColor; +} +.$themeClass .OxInput:focus { + //border: 1px solid rgb(160, 160, 160); + //-moz-box-shadow: 0 0 2px rgb(128, 128, 128); + //-webkit-box-shadow: 0 0 2px rgb(128, 128, 128); +} +.$themeClass div.OxInput.OxFocus, +.$themeClass .OxSelect.OxFocus { + -moz-box-shadow: 0 0 2px $formelementFocusShadow; + -o-box-shadow: 0 0 2px $formelementFocusShadow; + -webkit-box-shadow: 0 0 2px $formelementFocusShadow; +} + +/* FIXME: modern only? */ +.$themeClass div.OxInput.OxFocus > .OxInputLabel { + border-color: rgb(80, 80, 80); +} + +.$themeClass .OxInput.OxPlaceholder { + color: $inputPlaceholderColor; +} + +.$themeClass .OxLabel { + background-color: $labelBackground; +} + +.$themeClass input.OxCheckbox.OxDisabled, +.$themeClass input.OxInput:disabled { + background-image: -moz-linear-gradient(top, $inputDisabledGradient); + background-image: -o-linear-gradient(top, $inputDisabledGradient); + background-image: -webkit-linear-gradient(top, $inputDisabledGradient); +} + +.$themeClass .OxLabelSelect > .OxTitle { + border-color: rgb(176, 176, 176); + background-image: -moz-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); + background-image: -o-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); + background-image: -webkit-linear-gradient(top, rgb(224, 224, 224), rgb(192, 192, 192)); +} +.$themeClass .OxLabelSelect.OxSelected > .OxTitle { + background-image: -moz-linear-gradient(top, rgb(160, 160, 160), rgb(192, 192, 192)); + background-image: -o-linear-gradient(top, rgb(160, 160, 160), rgb(192, 192, 192)); + background-image: -webkit-linear-gradient(top, rgb(160, 160, 160), rgb(192, 192, 192)); +} + +.$themeClass .OxFileInput > .OxBar, +.$themeClass .OxFileInput > .OxFiles { + border-color: $formelementBorder; +} + +.$themeClass .OxArrayEditable.OxArrayEditableTextarea .OxEditableElement { + border-top-color: $bodyBorder; +} +.$themeClass .OxEditableElement.OxSelected { + background-color: rgb(208, 208, 208); +} + +/* +================================================================================ +Images +================================================================================ +*/ + +.$themeClass .OxReflection > div { + background-image: -moz-linear-gradient(top, $bodyReflectionGradient); + background-image: -o-linear-gradient(top, $bodyReflectionGradient); + background-image: -webkit-linear-gradient(top, $bodyReflectionGradient); +} +.$themeClass .OxDialog .OxReflection > div { + background-image: -moz-linear-gradient(top, $dialogReflectionGradient); + background-image: -o-linear-gradient(top, $dialogReflectionGradient); + background-image: -webkit-linear-gradient(top, $dialogReflectionGradient); +} + +/* +================================================================================ +Lists +================================================================================ +*/ + +.$themeClass .OxIconList .OxItem > .OxIcon > img.OxLoading, +.$themeClass .OxInfoList .OxItem .OxIcon > img.OxLoading { + border-color: $listIconLoadingBorder; + background-image: -moz-linear-gradient(top, $listIconLoadingGradient); + background-image: -o-linear-gradient(top, $listIconLoadingGradient); + background-image: -webkit-linear-gradient(top, $listIconLoadingGradient); +} +.$themeClass .OxIconList .OxItem.OxSelected > .OxIcon > img, +.$themeClass .OxIconList .OxItem.OxSelected > .OxIcon > .OxVideoPlayer, +.$themeClass .OxInfoList .OxItem.OxSelected .OxIcon > img, +.$themeClass .OxInfoList .OxItem.OxSelected .OxIcon > .OxVideoPlayer { + border-color: $listIconSelectedBorder; + -moz-box-shadow: 0 0 4px $listIconSelectedShadow; + -o-box-shadow: 0 0 4px $listIconSelectedShadow; + -webkit-box-shadow: 0 0 4px $listIconSelectedShadow; +} +.$themeClass .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > img, +.$themeClass .OxIconList.OxFocus .OxItem.OxSelected > .OxIcon > .OxVideoPlayer, +.$themeClass .OxInfoList.OxFocus .OxItem.OxSelected .OxIcon > img, +.$themeClass .OxInfoList.OxFocus .OxItem.OxSelected .OxIcon > .OxVideoPlayer { + border-color: $listIconFocusSelectedBorder; + -moz-box-shadow: 0 0 4px $listIconFocusSelectedShadow; + -o-box-shadow: 0 0 4px $listIconFocusSelectedShadow; + -webkit-box-shadow: 0 0 4px $listIconFocusSelectedShadow; +} +.$themeClass .OxIconList .OxItem > .OxText > div, +.$themeClass .OxInfoList .OxItem .OxText > div { + text-shadow: $listIconTextShadow -1px -1px 0, + $listIconTextShadow -1px 1px 0, + $listIconTextShadow 1px -1px 0, + $listIconTextShadow 1px 1px 0; +} +.$themeClass .OxIconList .OxItem.OxSelected > .OxText > div, +.$themeClass .OxInfoList .OxItem.OxSelected .OxText > div { + border-color: $listIconLabelSelectedBorder; + background-image: -moz-linear-gradient(top, $listIconLabelSelectedGradient); + background-image: -o-linear-gradient(top, $listIconLabelSelectedGradient); + background-image: -webkit-linear-gradient(top, $listIconLabelSelectedGradient); + text-shadow: $listIconTextSelectedShadow -1px -1px 0, + $listIconTextSelectedShadow -1px 1px 0, + $listIconTextSelectedShadow 1px -1px 0, + $listIconTextSelectedShadow 1px 1px 0; + -moz-box-shadow: 0 0 4px $listIconLabelSelectedShadow; + -o-box-shadow: 0 0 4px $listIconLabelSelectedShadow; + -webkit-box-shadow: 0 0 4px $listIconLabelSelectedShadow; +} +.$themeClass .OxIconList.OxFocus .OxItem.OxSelected > .OxText > div, +.$themeClass .OxInfoList.OxFocus .OxItem.OxSelected .OxText > div { + border-color: $listIconLabelFocusSelectedBorder; + background-image: -moz-linear-gradient(top, $listIconLabelFocusSelectedGradient); + background-image: -o-linear-gradient(top, $listIconLabelFocusSelectedGradient); + background-image: -webkit-linear-gradient(top, $listIconLabelFocusSelectedGradient); + text-shadow: $listIconTextFocusSelectedShadow -1px -1px 0, + $listIconTextFocusSelectedShadow -1px 1px 0, + $listIconTextFocusSelectedShadow 1px -1px 0, + $listIconTextFocusSelectedShadow 1px 1px 0; + -moz-box-shadow: 0 0 4px $listIconLabelFocusSelectedShadow; + -o-box-shadow: 0 0 4px $listIconLabelFocusSelectedShadow; + -webkit-box-shadow: 0 0 4px $listIconLabelFocusSelectedShadow; +} +.$themeClass .OxIconList .OxItem > .OxText > div > .OxInfo, +.$themeClass .OxInfoList .OxItem .OxText > div > .OxInfo { + color: $bodyLightColor; +} +.$themeClass .OxInfoList .OxItem.OxSelected .OxInfoElement .OxIcon > img, +.$themeClass .OxInfoList .OxItem.OxSelected .OxInfoElement .OxIcon .OxVideoPlayer, +.$themeClass .OxInfoList .OxItem.OxSelected .OxInfoElement .OxText > div { + border-color: transparent; + background-color: transparent; + -moz-box-shadow: 0 0 0 transparent; + -o-box-shadow: 0 0 0 transparent; + -webkit-box-shadow: 0 0 0 transparent; +} + + +.$themeClass .OxTableList .OxContent { + background-color: $bodyBackground; +} +.$themeClass .OxTableList .OxItem .OxCell { + border-right-color: $listItemBorder; +} +.$themeClass .OxCustomList .OxItem:nth-child(odd), +.$themeClass .OxTableList .OxItem:nth-child(odd) { + background-image: -moz-linear-gradient(top, $listItemOddGradient); + background-image: -o-linear-gradient(top, $listItemOddGradient); + background-image: -webkit-linear-gradient(top, $listItemOddGradient); +} +.$themeClass .OxCustomList .OxItem:nth-child(even), +.$themeClass .OxTableList .OxItem:nth-child(even) { + background-image: -moz-linear-gradient(top, $listItemEvenGradient); + background-image: -o-linear-gradient(top, $listItemEvenGradient); + background-image: -webkit-linear-gradient(top, $listItemEvenGradient); +} +.$themeClass .OxCustomList .OxItem.OxSelected:nth-child(odd), +.$themeClass .OxTableList .OxItem.OxSelected:nth-child(odd) { + background-image: -moz-linear-gradient(top, $listItemSelectedOddGradient); + background-image: -o-linear-gradient(top, $listItemSelectedOddGradient); + background-image: -webkit-linear-gradient(top, $listItemSelectedOddGradient); +} +.$themeClass .OxCustomList .OxItem.OxSelected:nth-child(even), +.$themeClass .OxTableList .OxItem.OxSelected:nth-child(even) { + background-image: -moz-linear-gradient(top, $listItemSelectedEvenGradient); + background-image: -o-linear-gradient(top, $listItemSelectedEvenGradient); + background-image: -webkit-linear-gradient(top, $listItemSelectedEvenGradient); +} +.$themeClass .OxCustomList .OxFocus .OxItem.OxSelected:nth-child(odd), +.$themeClass .OxTableList .OxFocus .OxItem.OxSelected:nth-child(odd) { + background-image: -moz-linear-gradient(top, $listItemFocusSelectedOddGradient); + background-image: -o-linear-gradient(top, $listItemFocusSelectedOddGradient); + background-image: -webkit-linear-gradient(top, $listItemFocusSelectedOddGradient); +} +.$themeClass .OxCustomList .OxFocus .OxItem.OxSelected:nth-child(even), +.$themeClass .OxTableList .OxFocus .OxItem.OxSelected:nth-child(even) { + background-image: -moz-linear-gradient(top, $listItemFocusSelectedEvenGradient); + background-image: -o-linear-gradient(top, $listItemFocusSelectedEvenGradient); + background-image: -webkit-linear-gradient(top, $listItemFocusSelectedEvenGradient); +} +.$themeClass .OxTableList .OxItem.OxDroppable.OxDrop:nth-child(odd) .OxCell { + background-image: -moz-linear-gradient(top, $listItemDropOddGradient); + background-image: -o-linear-gradient(top, $listItemDropOddGradient); + background-image: -webkit-linear-gradient(top, $listItemDropOddGradient); +} +.$themeClass .OxTableList .OxItem.OxDroppable.OxDrop:nth-child(even) .OxCell { + background-image: -moz-linear-gradient(top, $listItemDropEvenGradient); + background-image: -o-linear-gradient(top, $listItemDropEvenGradient); + background-image: -webkit-linear-gradient(top, $listItemDropEvenGradient); +} + +.$themeClass .OxTableList .OxHead .OxSelected { + background-image: -moz-linear-gradient(top, $barSelectedGradient); + background-image: -o-linear-gradient(top, $barSelectedGradient); + background-image: -webkit-linear-gradient(top, $barSelectedGradient); +} +.$themeClass .OxTableList .OxHead .OxSelected .OxTitle { + color: $barSelectedColor; +} +.$themeClass .OxTableList .OxHead .OxResize .OxCenter { + background-color: $listHeadBorder; +} +.$themeClass .OxTableList .OxHead .OxSelect, +.$themeClass .OxTableList .OxBar .OxClear { + border-color: $listHeadBorder; +} +.$themeClass .OxTableList .OxBody .OxItem .OxCell { + border-color: $listCellBorder; +} +.$themeClass .OxTableList .OxItem.OxSelected .OxCell { + border-color: $listItemSelectedBorder; + color: $listItemSelectedColor; +} +.$themeClass .OxTableList .OxFocus .OxItem.OxSelected .OxCell { + border-color: $listItemFocusSelectedBorder; + color: $listItemFocusSelectedColor; +} +.$themeClass .OxTableList .OxBody .OxItem .OxLine { + background-color: $listCellBorder; +} + + +/* +================================================================================ +Maps +================================================================================ +*/ + +.$themeClass .OxMap .OxMapControl, +.$themeClass .OxMap .OxPlaceControl { + border-color: $mapControlBorder; + background-image: -moz-linear-gradient(top, $mapControlGradient); + background-image: -o-linear-gradient(top, $mapControlGradient); + background-image: -webkit-linear-gradient(top, $mapControlGradient); + color: $mapControlColor; +} + +.$themeClass .OxTypeIcon { + border-color: rgb(0, 0, 0); +} +.$themeClass .OxMapEditor .OxWarning { + border-bottom: 2px dotted $bodyWarningBorder; +} + +/* +================================================================================ +Menus +================================================================================ +*/ + +.$themeClass .OxMainMenu > .OxTitle.OxSelected { + background-image: -moz-linear-gradient(top, $barSelectedGradient); + background-image: -o-linear-gradient(top, $barSelectedGradient); + background-image: -webkit-linear-gradient(top, $barSelectedGradient); + color: $barSelectedColor; +} + +.$themeClass .OxMenu { + -moz-box-shadow: 0 2px 4px $menuShadow; + -o-box-shadow: 0 2px 4px $menuShadow; + -webkit-box-shadow: 0 2px 4px $menuShadow; +} +.$themeClass .OxMenu .OxBottom, +.$themeClass .OxMenu .OxItem, +.$themeClass .OxMenu .OxScrollbar, +.$themeClass .OxMenu .OxSpace, +.$themeClass .OxMenu .OxTop { + background-color: $menuBackground; +} +.$themeClass .OxMenu .OxItem.OxSelected, +.$themeClass .OxMenu .OxLine, +.$themeClass .OxMenu .OxScrollbar.OxSelected { + background-image: -moz-linear-gradient(top, $menuSelectedGradient); + background-image: -o-linear-gradient(top, $menuSelectedGradient); + background-image: -webkit-linear-gradient(top, $menuSelectedGradient); + color: $menuSelectedColor; +} +.$themeClass .OxMenu .OxItem.OxDisabled .OxCell { + color: $menuDisabledColor; +} + +/* +================================================================================ +Scrollbars +================================================================================ +*/ + +.$themeClass ::-webkit-scrollbar:horizontal { + border-top: 1px solid $formelementBorder; + border-bottom: 1px solid $formelementBorder; + background: -webkit-linear-gradient(top, $buttonGradient); +} +.$themeClass ::-webkit-scrollbar:vertical { + border-left: 1px solid $formelementBorder; + border-right: 1px solid $formelementBorder; + background: -webkit-linear-gradient(left, $buttonGradient); +} +.$themeClass ::-webkit-scrollbar-button:horizontal:decrement { + background: url(../png/scrollbarHorizontalDecrement.png); +} +.$themeClass ::-webkit-scrollbar-button:horizontal:increment { + background: url(../png/scrollbarHorizontalIncrement.png); +} +.$themeClass ::-webkit-scrollbar-button:vertical:decrement { + background: url(../png/scrollbarVerticalDecrement.png); +} +.$themeClass ::-webkit-scrollbar-button:vertical:increment { + background: url(../png/scrollbarVerticalIncrement.png); +} +.$themeClass ::-webkit-scrollbar-corner { + border-right: 1px solid $formelementBorder; + border-bottom: 1px solid $formelementBorder; + background: -webkit-linear-gradient(top left, $scrollbarCornerGradient); +} +.$themeClass ::-webkit-scrollbar-thumb { + border: 1px solid $formelementBorder; +} +.$themeClass ::-webkit-scrollbar-thumb:horizontal { + background: -webkit-linear-gradient(top, $buttonGradient); +} +.$themeClass ::-webkit-scrollbar-thumb:vertical { + background: -webkit-linear-gradient(left, $buttonGradient); +} +.$themeClass ::-webkit-scrollbar-track { + border: 1px solid $formelementBorder; +} +.$themeClass ::-webkit-scrollbar-track:horizontal { + background: -webkit-linear-gradient(top, $inputGradient); +} +.$themeClass ::-webkit-scrollbar-track:vertical { + background: -webkit-linear-gradient(left, $inputGradient); +} +.$themeClass ::-webkit-scrollbar:horizontal:active, +.$themeClass ::-webkit-scrollbar-thumb:horizontal:active { + background: -webkit-linear-gradient(top, $buttonActiveGradient); +} +.$themeClass ::-webkit-scrollbar:vertical:active, +.$themeClass ::-webkit-scrollbar-thumb:vertical:active { + background: -webkit-linear-gradient(left, $buttonActiveGradient); +} + +/* +================================================================================ +SourceViewer +================================================================================ +*/ + +.$themeClass .OxSourceViewer .OxComment { + border-color: $bodyBorder; +} +.$themeClass .OxSourceViewer .OxComment code { + background-color: $sourceviewerCodeBackground; + box-shadow: 0 0 1px $sourceviewerCodeShadow; +} +.$themeClass .OxSourceViewer .OxComment pre > code { + background-color: transparent; + box-shadow: none; +} +.$themeClass .OxSourceViewer .OxCode { + background-color: $sourcecodeBackground; +} + +/* +================================================================================ +SyntaxHighlighter +================================================================================ +*/ + +.$themeClass .OxSyntaxHighlighter { + background-color: $sourcecodeBackground; +} +.$themeClass .OxSyntaxHighlighter .OxLineNumbers { + background-color: $sourcecodeLinenumbersBackground; + color: sourcecodeLinenumbersColor; +} +.$themeClass .OxSourceCode .OxComment { + color: $sourcecodeCommentColor; + font-style: italic; +} +.$themeClass .OxSourceCode .OxConstant { + color: $sourcecodeConstantColor; + font-weight: bold; +} +.$themeClass .OxSourceCode .OxError { + color: $sourcecodeErrorColor; + background-color: $sourcecodeErrorBackground; + font-weight: bold; +} +.$themeClass .OxSourceCode .OxIdentifier { + color: $sourcecodeIdentifierColor; +} +.$themeClass .OxSourceCode .OxKeyword { + color: $sourcecodeKeywordColor; + font-weight: bold; +} +.$themeClass .OxSourceCode .OxLinebreak { + color: $sourcecodeSpecialColor; +} +.$themeClass .OxSourceCode .OxMethod { + color: $sourcecodeMethodColor; +} +.$themeClass .OxSourceCode .OxNumber { + color: $sourcecodeNumberColor; +} +.$themeClass .OxSourceCode .OxObject { + color: $sourcecodeObjectColor; + font-weight: bold; +} +.$themeClass .OxSourceCode .OxOperator { + color: $sourcecodeOperatorColor; +} +.$themeClass .OxSourceCode .OxProperty { + color: $sourcecodePropertyColor; + font-weight: bold; +} +.$themeClass .OxSourceCode .OxRegexp { + color: $sourcecodeRegexpColor; +} +.$themeClass .OxSourceCode .OxString { + color: $sourcecodeStringColor; +} +.$themeClass .OxSourceCode .OxTab { + color: $sourcecodeSpecialColor; +} +.$themeClass .OxSourceCode .OxWhitespace { + color: $sourcecodeSpecialColor; +} +.$themeClass .OxSourceCode .OxWhitespace.OxLeading, +.$themeClass .OxSourceCode .OxWhitespace.OxTrailing { + background-color: $sourcecodeWhitespaceBackground; +} + +/* +================================================================================ +Video +================================================================================ +*/ + +.$themeClass .OxAnnotation { + border-color: $bodyBorder; +} +.$themeClass .OxAnnotation.OxSelected { + background-color: $videoAnnotationSelectedBackground; +} + +.$themeClass .OxSmallVideoTimeline .OxMarkerPlay { + border-color: $videoTimelineMarkerShadow; +} +.$themeClass .OxSmallVideoTimeline .OxMarkerPlay > div { + border-color: $videoTimelineMarkerPlayingBorder; +} +.$themeClass .OxSmallVideoTimeline .OxMarkerPlay.OxPaused > div { + border-color: $videoTimelineMarkerPausedBorder; +} +.$themeClass .OxSmallVideoTimeline .OxMarkerPlay > div > div { + border-color: $videoTimelineMarkerShadow; +} + +.$themeClass .OxVideoPlayer .OxControls.OxOnScreen { + background-image: -moz-linear-gradient(top, $videoBarGradient); + background-image: -o-linear-gradient(top, $videoBarGradient); + background-image: -webkit-linear-gradient(top, $videoBarGradient); +} +.$themeClass .OxVideoPlayer .OxFind { + background-image: -moz-linear-gradient(top, $videoBarGradient); + background-image: -o-linear-gradient(top, $videoBarGradient); + background-image: -webkit-linear-gradient(top, $videoBarGradient); +} +.$themeClass .OxVideoPlayer input.OxInput { + background-image: -moz-linear-gradient(top, $videoInputGradient); + background-image: -o-linear-gradient(top, $videoInputGradient); + background-image: -webkit-linear-gradient(top, $videoInputGradient); +} +.$themeClass .OxVideoPlayer .OxFind input.OxInput { + //background-image: -moz-linear-gradient(top, $videoInputGradient); + //background-image: -o-linear-gradient(top, $videoInputGradient); + //background-image: -webkit-linear-gradient(top, $videoInputGradient); +} +.$themeClass .OxVideoPlayer .OxSettings > div { + background-color: $videoMenuBackground; +} +.$themeClass .OxVideoPlayer .OxSettings > div.OxSelected { + background-image: -moz-linear-gradient(top, $videoMenuSelectedGradient); + background-image: -o-linear-gradient(top, $videoMenuSelectedGradient); + background-image: -webkit-linear-gradient(top, $videoMenuSelectedGradient); +} +.$themeClass .OxVideoPlayer .OxSettings > div.OxLine { + background-color: $videoMenuBorder; +} +.$themeClass .OxVideoPlayer .OxVolume { + background-image: -moz-linear-gradient(top, $videoBarGradient); + background-image: -o-linear-gradient(top, $videoBarGradient); + background-image: -webkit-linear-gradient(top, $videoBarGradient); +} +.$themeClass .OxVideoPlayer .OxVolume .OxRange .OxTrack { + background-image: -moz-linear-gradient(top, $videoInputGradient); + background-image: -o-linear-gradient(top, $videoInputGradient); + background-image: -webkit-linear-gradient(top, $videoInputGradient); +} +.$themeClass .OxVideoPlayer .OxVolume .OxRange .OxThumb { + background-image: -moz-linear-gradient(top, $videoButtonGradient); + background-image: -o-linear-gradient(top, $videoButtonGradient); + background-image: -webkit-linear-gradient(top, $videoButtonGradient); +} +.$themeClass .OxVideoPlayer .OxVolume .OxRange .OxThumb:active { + background-image: -moz-linear-gradient(top, $videoButtonActiveGradient); + background-image: -o-linear-gradient(top, $videoButtonActiveGradient); + background-image: -webkit-linear-gradient(top, $videoButtonActiveGradient); +} + +/* FIXME: the first three should apply for every ArrayEditable */ +.$themeClass .OxAnnotationFolder .OxArrayEditable .OxSeparator { + color: $videoAnnotationSeparatorColor; +} +.$themeClass .OxAnnotationFolder .OxEditableElement .OxHighlight { + border-radius: 2px; +} +.$themeClass .OxAnnotationFolder .OxEditableElement.OxPlaceholder .OxValue { + color: $inputPlaceholderColor; +} +.$themeClass .OxAnnotationFolder .OxEditableElement.OxWarning .OxValue { + border-bottom: 2px dotted $bodyWarningBorder; +} +.$themeClass .OxAnnotationFolder .OxArrayEditable .OxEditableElement.OxEditable.OxSelected { + background-color: $videoAnnotationEditableSelectedBackground; +} +/* FIXME: classic only */ +.$themeClass .OxAnnotationFolder .OxArrayEditable .OxEditableElement.OxSelected .OxHighlight { + background-color: transparent; + background-image: -moz-repeating-linear-gradient( + -45deg, transparent 0%, transparent 25%, + $bodyHighlightGradient[0] 25%, $bodyHighlightGradient[1] 50%, + transparent 50%, transparent 75%, + $bodyHighlightGradient[0] 75%, $bodyHighlightGradient[1] 100% + ); + background-image: -o-repeating-linear-gradient( + -45deg, transparent 0%, transparent 25%, + $bodyHighlightGradient[0] 25%, $bodyHighlightGradient[1] 50%, + transparent 50%, transparent 75%, + $bodyHighlightGradient[0] 75%, $bodyHighlightGradient[1] 100% + ); + background-image: -webkit-repeating-linear-gradient( + -45deg, transparent 0%, transparent 25%, + $bodyHighlightGradient[0] 25%, $bodyHighlightGradient[1] 50%, + transparent 50%, transparent 75%, + $bodyHighlightGradient[0] 75%, $bodyHighlightGradient[1] 100% + ); + background-size: 4px 4px; +} +.$themeClass .OxAnnotationFolder .OxArrayEditableInput .OxEditableElement.OxSelected { + box-shadow: 0 0 1px $videoAnnotationEditableSelectedShadow; +} +.$themeClass .OxAnnotationFolder .OxArrayEditableTextarea .OxEditableElement.OxEditable.OxEditing { + background-color: $videoAnnotationEditableEditingBackground; +} +.$themeClass .OxAnnotationFolder .OxArrayEditable .OxInput.OxFocus { + box-shadow: none; +} +.$themeClass .OxAnnotationFolder .OxEditableElement input, +.$themeClass .OxAnnotationFolder .OxEditableElement textarea { + background-color: $videoAnnotationEditableEditingBackground; + color: $videoAnnotationEditableEditingColor; +} + +/* +================================================================================ +Miscellaneous +================================================================================ +*/ + +.$themeClass .OxSelectableElement { + background-image: -moz-linear-gradient(top, $listItemGradient); + background-image: -o-linear-gradient(top, $listItemGradient); + background-image: -webkit-linear-gradient(top, $listItemGradient); +} +.$themeClass .OxSelectableElement.OxSelected { + background-image: -moz-linear-gradient(top, $listItemSelectedGradient); + background-image: -o-linear-gradient(top, $listItemSelectedGradient); + background-image: -webkit-linear-gradient(top, $listItemSelectedGradient); +} +.$themeClass .OxSelectableElement.OxSelected.OxFocus { + background-image: -moz-linear-gradient(top, $listItemFocusSelectedGradient); + background-image: -o-linear-gradient(top, $listItemFocusSelectedGradient); + background-image: -webkit-linear-gradient(top, $listItemFocusSelectedGradient); +} + +.$themeClass .OxScreen { + background-color: $screenBackground; + color: $screenColor; +} +.$themeClass .OxScreen .OxReflection { + background-image: -moz-linear-gradient(top, $screenReflectionGradient); + background-image: -o-linear-gradient(top, $screenReflectionGradient); + background-image: -webkit-linear-gradient(top, $screenReflectionGradient); +} + +.$themeClass .OxTooltip { + border: 1px solid $tooltipBorder; + background-image: -moz-linear-gradient(top, $tooltipGradient); + background-image: -o-linear-gradient(top, $tooltipGradient); + background-image: -webkit-linear-gradient(top, $tooltipGradient); + color: $tooltipColor; + -moz-box-shadow: 2px 2px 4px $tooltipShadow; + -o-box-shadow: 2px 2px 4px $tooltipShadow; + -webkit-box-shadow: 2px 2px 4px $tooltipShadow; +} + +.$themeClass ::selection, +.$themeClass ::-moz-selection, +.$themeClass ::-o-selection, +.$themeClass ::-webkit-selection { + background-color: $bodySelectionBackground; +}