Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   XSheet Viewer
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
/* ScrollAreas (Row, Column and Cell)
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#xsheetArea,
Kite 8c766d
#ScrollArea {
Kite 6ecce0
  background-color: @xsheet-empty-bg-color;
Kite 8c766d
  border: 0;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#xsheetScrollArea {	
Kite 8c766d
  border: 0;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#cornerWidget {
Kite 8c766d
  & QToolButton {
Kite 8c766d
    padding: 0;
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 521c84
#XsheetCellArea {
Kite 521c84
  & QLineEdit {
Kite 521c84
    margin-top: 1; // make it align with cell-selection box
Kite 521c84
    &:focus {
Kite 521c84
      border-radius: 0;
Kite 521c84
      border-width: 2; // boost the contrast
Kite 521c84
      border-left-width: 2; // make it align with cell-selection box
Kite 521c84
      border-color: @xsheet-CellFocus-color;
Kite 521c84
      background-color: @xsheet-CellArea-bg-color-focus;
Kite 521c84
    }
Kite 521c84
  }
Kite 521c84
}
Kite 521c84

Kite 521c84
#RenameCellField {
Kite 521c84
  padding-right: 3;
Kite 521c84
}
Kite 521c84

Kite 8c766d
/* xsheetColumnHeader (Context Menus)
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#xsheetColumnAreaMenu_Preview {	
Kite 8c766d
  background-color: @xsheet-menu-preview-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#xsheetColumnAreaMenu_Lock {
Kite 8c766d
  background-color: @xsheet-menu-lock-color;	
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#xsheetColumnAreaMenu_Camstand {
Kite 8c766d
  background-color: @xsheet-menu-camstand-color;	
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#xsheetColumnAreaMenu_Preview, 
Kite 8c766d
#xsheetColumnAreaMenu_Lock, 
Kite 8c766d
#xsheetColumnAreaMenu_Camstand {
Kite 8c766d
  color: @xsheet-menu-text-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#noteTextEdit{
Kite 8c766d
  color: @xsheet-notes-text-color;
Kite 8c766d
}
Kite 8c766d

Kite 521c84
#DvMiniToolBar {
Kite 521c84
  border: 1 solid @accent;
Kite 521c84
}
Kite 521c84

Kite 8c766d
/* XSheet Spreadsheet
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
XsheetViewer {
Kite 8c766d
  qproperty-TextColor: @xsheet-text-color;
Kite 521c84
  qproperty-ErrorTextColor: @xsheet-error-text-color;
Kite 8c766d
  qproperty-BGColor: @xsheet-bg-color;
Kite 8c766d
  qproperty-LightLineColor: @xsheet-LightLine-color;
Kite 8c766d
  qproperty-MarkerLineColor: @xsheet-MarkerLine-color;
Kite 8c766d
  qproperty-VerticalLineColor: @xsheet-VerticalLine-color;
Kite 8c766d
  qproperty-VerticalLineHeadColor: @xsheet-VerticalLineHead-color;
Kite 8c766d
  qproperty-PreviewFrameTextColor: @xsheet-PreviewFrameText-color;
Kite 8c766d
  qproperty-CurrentRowBgColor: @xsheet-CurrentRowBG-color;
manongjohn d44297
  qproperty-OnionSkinAreaBgColor: @xsheet-OnionSkinAreaBG-color;
Kite 521c84
  qproperty-CellFocusColor: @xsheet-CellFocus-color;
Kite 521c84
  qproperty-ColumnIconLineColor: @xsheet-ColumnIconLine-color;
Kite 8c766d
  qproperty-EmptyColumnHeadColor: @xsheet-EmptyColumnHead-color;
Kite 521c84
  qproperty-ColumnHeadPastelizer: @xsheet-ColumnHeadPastelizer-color;
Kite 521c84
  qproperty-SelectedColumnHead: @xsheet-SelectedColumnHead-color;
Kite 521c84
  qproperty-PlayRangeColor: @xsheet-PlayRange-Color;
Kite 521c84

Kite 521c84
  qproperty-FoldedColumnBGColor: @xsheet-FoldedColumnBG-color;
Kite 521c84
  qproperty-FoldedColumnLineColor: @xsheet-FoldedColumnLine-color;
Kite 8c766d

Kite 8c766d
  qproperty-EmptyCellColor: @xsheet-EmptyCell-color;
Kite 521c84
  qproperty-NotEmptyColumnColor: @xsheet-NotEmptyColumn-color; // Not empty "cell"
Kite 8c766d
  qproperty-SelectedEmptyCellColor: @xsheet-SelectedEmptyCell-color;
Kite 8c766d

Kite 521c84
  // Level Type Colors
Kite 8c766d
  qproperty-LevelColumnColor: @xsheet-LevelColumn-color;
Kite 521c84
  qproperty-LevelColumnBorderColor: desaturate(darken(@xsheet-LevelColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedLevelColumnColor: mix(shade(@xsheet-LevelColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-VectorColumnColor: @xsheet-VectorColumn-color;
Kite 521c84
  qproperty-VectorColumnBorderColor: desaturate(darken(@xsheet-VectorColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedVectorColumnColor: mix(shade(@xsheet-VectorColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-ChildColumnColor: @xsheet-ChildColumn-color;
Kite 521c84
  qproperty-ChildColumnBorderColor: desaturate(darken(@xsheet-ChildColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedChildColumnColor: mix(shade(@xsheet-ChildColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-FullcolorColumnColor: @xsheet-FullColorColumn-color;
Kite 521c84
  qproperty-FullcolorColumnBorderColor: desaturate(darken(@xsheet-FullColorColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedFullcolorColumnColor: mix(shade(@xsheet-FullColorColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-FxColumnColor: @xsheet-FxColumn-color;
Kite 521c84
  qproperty-FxColumnBorderColor: desaturate(darken(@xsheet-FxColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedFxColumnColor: mix(shade(@xsheet-FxColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-ReferenceColumnColor: @xsheet-ReferenceColumn-color;
Kite 521c84
  qproperty-ReferenceColumnBorderColor: desaturate(darken(@xsheet-ReferenceColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedReferenceColumnColor: mix(shade(@xsheet-ReferenceColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-PaletteColumnColor: @xsheet-PaletteColumn-color;
Kite 521c84
  qproperty-PaletteColumnBorderColor: desaturate(darken(@xsheet-PaletteColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedPaletteColumnColor: mix(shade(@xsheet-PaletteColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d

Kite 8c766d
  qproperty-MeshColumnColor: @xsheet-MeshColumn-color;
Kite 521c84
  qproperty-MeshColumnBorderColor: desaturate(darken(@xsheet-MeshColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedMeshColumnColor: mix(shade(@xsheet-MeshColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d
  
manongjohn a21b06
  qproperty-SoundTextColumnColor: @xsheet-SoundTextColumn-color;
Kite 521c84
  qproperty-SoundTextColumnBorderColor: desaturate(darken(@xsheet-SoundTextColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedSoundTextColumnColor: mix(shade(@xsheet-SoundTextColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
manongjohn a21b06

Kite 8c766d
  qproperty-SoundColumnColor: @xsheet-SoundColumn-color;
Kite 521c84
  qproperty-SoundColumnBorderColor: desaturate(darken(@xsheet-SoundColumn-color, @columnBorderDarkness), @columnBorderDesaturation);
Kite 521c84
  qproperty-SelectedSoundColumnColor: mix(shade(@xsheet-SoundColumn-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 8c766d
  qproperty-SoundColumnHlColor: @xsheet-SoundColumnHL-color;
Kite 8c766d
  qproperty-SoundColumnTrackColor: @xsheet-SoundColumnTrack-color;
Kite 8c766d

Kite 521c84
  qproperty-ActiveCameraColor: @xsheet-ActiveCamera-color;
Kite 521c84
  qproperty-SelectedActiveCameraColor: mix(shade(@xsheet-ActiveCamera-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 521c84
  qproperty-OtherCameraColor: @xsheet-OtherCamera-color;
Kite 521c84
  qproperty-SelectedOtherCameraColor: mix(shade(@xsheet-OtherCamera-color, @cellHighlightLightness), @cellHighlightTintColor, @cellHighlightTintAmount);
Kite 521c84

Kite 521c84
  qproperty-LightLightBGColor: @function-LightLightBG-color;
Kite 8c766d
  qproperty-LightBGColor: @xsheet-LightBG-color;
Kite 8c766d
  qproperty-DarkBGColor: @xsheet-DarkBG-color;
Kite 8c766d
  qproperty-DarkLineColor: @xsheet-DarkLine-color;
Kite 8c766d

Kite 521c84
  // Column Header: Vertical
Kite 521c84
  qproperty-TimelineIconLineColor: @timeline-IconLine-color;
Kite 8c766d
  qproperty-XsheetColumnNameBgColor: @xsheet-ColumnNameBg-color;
Kite 8c766d
  qproperty-XsheetDragBarHighlightColor: @xsheet-DragBarHighlight-color;
Kite 8c766d

Kite 8c766d
  qproperty-XsheetPreviewButtonBgOnColor: @xsheet-PreviewButtonBgOn-color;
Kite 521c84
  qproperty-XsheetPreviewButtonOnImage: url('@{img-url}/x_prev_eye_on.svg');
Kite 521c84
  qproperty-XsheetPreviewButtonBgOffColor: transparent;
Kite 521c84
  qproperty-XsheetPreviewButtonOffImage: url('@{img-url}/x_prev_eye_off.svg');
Kite 8c766d

Kite 8c766d
  qproperty-XsheetCamstandButtonBgOnColor: @xsheet-CamstandButtonBgOn-color;
Kite 521c84
  qproperty-XsheetCamstandButtonOnImage: url('@{img-url}/x_table_view_on.svg');
Kite 521c84
  qproperty-XsheetCamstandButtonTranspImage: url('@{img-url}/x_table_view_transp.svg');
Kite 521c84
  qproperty-XsheetCamstandButtonBgOffColor: transparent;
Kite 521c84
  qproperty-XsheetCamstandButtonOffImage: url('@{img-url}/x_table_view_off.svg');
Kite 8c766d

Kite 8c766d
  qproperty-XsheetLockButtonBgOnColor: @xsheet-LockButtonBgOn-color;
Kite 521c84
  qproperty-XsheetLockButtonOnImage: url('@{img-url}/x_lock_on.svg');
Kite 521c84
  qproperty-XsheetLockButtonBgOffColor: transparent;
Kite 521c84
  qproperty-XsheetLockButtonOffImage: url('@{img-url}/x_lock_off.svg');
Kite 8c766d

Kite 8c766d
  qproperty-XsheetConfigButtonBgColor: @xsheet-ConfigButtonBg-color;
Kite 521c84
  qproperty-XsheetConfigButtonImage: url('@{img-url}/x_config.svg');
Kite 521c84

Kite 521c84
  qproperty-FrameRangeMarkerLineColor: @timeline-FrameRangeMarkerLine-color;
Kite 521c84

Kite 521c84
  // Column Header: Horizontal
Kite 521c84
  qproperty-TimelinePreviewButtonBgOnColor: @bg;
Kite 521c84
  qproperty-TimelinePreviewButtonOnImage: url('@{img-url}/preview_small.svg');
Kite 521c84
  qproperty-TimelinePreviewButtonBgOffColor: @bg;
Kite 521c84
  qproperty-TimelinePreviewButtonOffImage: url('none');
Kite 521c84

Kite 521c84
  qproperty-TimelineCamstandButtonBgOnColor: @bg;
Kite 521c84
  qproperty-TimelineCamstandButtonOnImage: url('@{img-url}/table_small.svg');
Kite 521c84
  qproperty-TimelineCamstandButtonTranspImage: url('@{img-url}/trans_small.svg');
Kite 521c84
  qproperty-TimelineCamstandButtonBgOffColor: @bg;
Kite 521c84
  qproperty-TimelineCamstandButtonOffImage: url('none');
Kite 521c84

Kite 521c84
  qproperty-TimelineLockButtonBgOnColor: @bg;
Kite 521c84
  qproperty-TimelineLockButtonOnImage: url('@{img-url}/lock_on_small.svg');
Kite 521c84
  qproperty-TimelineLockButtonBgOffColor: @bg;
Kite 521c84
  qproperty-TimelineLockButtonOffImage: url('none');
Kite 521c84

Kite 521c84
  qproperty-TimelineConfigButtonBgColor: @bg;
Kite 521c84
  qproperty-TimelineConfigButtonImage: url('@{img-url}/timeline_config.svg');
Kite 521c84

Kite 521c84
  // Header Control
Kite 521c84
  qproperty-LayerHeaderPreviewImage: url('@{img-url}/layer_header_prev_eye.svg');
Kite 521c84
  qproperty-LayerHeaderPreviewOverImage: url('@{img-url}/layer_header_prev_eye_over.svg');
Kite 521c84
  qproperty-LayerHeaderCamstandImage: url('@{img-url}/layer_header_table_view.svg');
Kite 521c84
  qproperty-LayerHeaderCamstandOverImage: url('@{img-url}/layer_header_table_view_over.svg');
Kite 521c84
  qproperty-LayerHeaderLockImage: url('@{img-url}/layer_lock_on.svg');
Kite 521c84
  qproperty-LayerHeaderLockOverImage: url('@{img-url}/layer_lock_on_over.svg');
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
/* -----------------------------------------------------------------------------
Kite 8c766d
   Function Editor
Kite 8c766d
----------------------------------------------------------------------------- */
Kite 8c766d

Kite 8c766d
#FunctionEditor {
Kite 8c766d
  & QToolBar {
Kite 8c766d
    border-bottom: 1 solid @accent;
Kite 521c84
    background-color: transparent;
Kite 521c84
    padding-bottom: 10;
Kite 8c766d
    & QToolBar {
Kite 8c766d
      border: 0;
Kite 8c766d
    }
Kite 8c766d
    & QToolButton {
Kite 521c84
      margin-bottom: 2;
Kite 8c766d
    }
Kite 8c766d
  }
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#FunctionParametersPanel {
Kite 8c766d
  &:extend(.frame all);
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
#FunctionEditorTree {
Kite 6ecce0
  &:extend(.treeview all);
Kite 8c766d
  border-top: 1 solid @accent;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
FunctionTreeView {
Kite 8c766d
  qproperty-TextColor: @function-treeview-text-color;
Kite 8c766d
}
Kite 8c766d

Kite 6ecce0
/* Function Editor Spreadsheet
Kite 6ecce0
----------------------------------------------------------------------------- */
Kite 6ecce0

Kite 6ecce0
// If a qproperty shares the same likeness with XSheet then pair the variables.
Kite 6ecce0
// XSheet should be considered as parent.
Kite 6ecce0

Kite 8c766d
FunctionPanel {
Kite 8c766d
  qproperty-BGColor: @function-panel-bg-color;
Kite 8c766d
  qproperty-ValueLineColor: @function-panel-ValueLine-color;
Kite 8c766d
  qproperty-FrameLineColor: @function-panel-FrameLine-color;
Kite 8c766d
  qproperty-OtherCurvesColor: @function-panel-OtherCurves-color;
Kite 8c766d
  qproperty-RulerBackground: @function-panel-RulerBG-color;
Kite 8c766d
  qproperty-TextColor: @function-panel-Text-color;
Kite 8c766d
  qproperty-SubColor: @function-panel-Sub-color;
Kite 8c766d
  qproperty-SelectedColor: @function-panel-Selected-color;
Kite 8c766d
}
Kite 8c766d

Kite 8c766d
SpreadsheetViewer {
Kite 521c84
  qproperty-LightLightBGColor: @function-LightLightBG-color; // paired
Kite 8c766d
  qproperty-CurrentRowBgColor: @xsheet-CurrentRowBG-color; // paired
Kite 8c766d
  qproperty-LightLineColor: @xsheet-LightLine-color; // paired
Kite 8c766d
  qproperty-MarkerLineColor: @xsheet-MarkerLine-color; // paired
Kite 8c766d
  qproperty-BGColor: @xsheet-NotEmptyColumn-color; // paired
Kite 8c766d
  qproperty-VerticalLineColor: @xsheet-VerticalLine-color; // paired
Kite 8c766d
  qproperty-KeyFrameColor: @function-KeyFrame-color;
Kite 8c766d
  qproperty-KeyFrameBorderColor: @function-KeyFrameBorder-color;
Kite 8c766d
  qproperty-SelectedKeyFrameColor: @function-SelectedKeyFrame-color;
Kite 8c766d
  qproperty-InBetweenColor: @function-Inbetween-color;
Kite 8c766d
  qproperty-InBetweenBorderColor: @function-InbetweenBorder-color;
Kite 8c766d
  qproperty-SelectedInBetweenColor: @function-SelectedInbetween-color;
Kite 8c766d
  qproperty-SelectedEmptyColor: @xsheet-SelectedEmptyCell-color; // paired
Kite 8c766d
  qproperty-SelectedSceneRangeEmptyColor: @function-SelectedSceneRangeEmpty-color;
Kite 8c766d
  qproperty-TextColor: @xsheet-text-color; // paired
Kite 521c84
  qproperty-ColumnHeaderBorderColor: @function-ColumnHeaderBorder-color; // paired
Kite 8c766d
}
Kite 8c766d

Kite 521c84
#FunctionSegmentViewer {}
Kite 8c766d

Kite 8c766d
#ExpressionField {
Kite 8c766d
  background-color: @function-ExpressionFieldBG-color;
Kite 8c766d
	border: 1 solid @function-ExpressionFieldBorder-color;
Kite 521c84
  margin: 0;
Kite 8c766d
}
Kite 8c766d

Kite 521c84
// #FunctionSegmentViewerLinkButton {}