/*
 * Copyright (c) 2008-2016 Haulmont.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

/* Halo - Vaadin Valo SCSS theme for Platform */
@import "../valo/valo";

// Common
@import "components/common/common";

// Components
@import "components/tree/tree";
@import "components/colorpicker/colorpicker";
@import "components/link/link";
@import "components/panel/panel";
@import "components/table/table";
@import "components/label/label";
@import "components/button/button";
@import "components/select/select";
@import "components/window/window";
@import "components/menubar/menubar";
@import "components/calendar/calendar";
@import "components/checkbox/checkbox";
@import "components/datagrid/datagrid";
@import "components/treedatagrid/treedatagrid";
@import "components/groupbox/groupbox";
@import "components/tabsheet/tabsheet";
@import "components/managedtabsheet/managedtabsheet";
@import "components/textfield/textfield";
@import "components/textarea/textarea";
@import "components/tokenlist/tokenlist";
@import "components/datefield/datefield";
@import "components/timefield/timefield";
@import "components/currencyfield/currencyfield";
@import "components/datepicker/datepicker";
@import "components/grouptable/grouptable";
@import "components/fieldgroup/fieldgroup";
@import "components/splitpanel/splitpanel";
@import "components/pivottable/pivottable";
@import "components/scrollbox/scrollbox";
@import "components/twincolumn/twincolumn";
@import "components/flowlayout/flowlayout";
@import "components/csslayout/csslayout";
@import "components/gridlayout/gridlayout";
@import "components/fileupload/fileupload";
@import "components/pickerfield/pickerfield";
@import "components/listeditor/listeditor";
@import "components/dateintervaleditor/dateintervaleditor";
@import "components/contextmenu/contextmenu";
@import "components/contextmenu/contextmenu-button";
@import "components/maskedfield/maskedfield";
@import "components/multiupload/multiupload";
@import "components/optiongroup/optiongroup";
@import "components/optionlist/optionlist";
@import "components/popupbutton/popupbutton";
@import "components/popupview/popupview";
@import "components/progressbar/progressbar";
@import "components/richtextarea/richtextarea";
@import "components/notification/notification";
@import "components/searchselect/searchselect";
@import "components/orderedlayout/orderedlayout";
@import "components/entitylinkfield/entitylinkfield";
@import "components/fieldgrouplayout/fieldgrouplayout";
@import "components/sourcecodeeditor/sourcecodeeditor";
@import "components/resizabletextarea/resizabletextarea";
@import "components/draganddrop/draganddrop";
@import "components/sidemenu/sidemenu";
@import "components/fileuploadwrapper/fileuploadwrapper";
@import "components/suggestionfield/suggestionfield";
@import "components/image/image";
@import "components/capslockindicator/capslockindicator";
@import "components/accordion/accordion";
@import "components/slider/slider";

// Application specific
@import "app/log-control";
@import "app/login-window";
@import "app/logger-level";
@import "app/role-editor";
@import "app/report-wizard";
@import "app/breadcrumbs";
@import "app/bulk-editor";
@import "app/generic-filter";
@import "app/table-presentations";
@import "app/table-paging";
@import "app/table-showlink";
@import "app/table-empty-state";
@import "app/datagrid-empty-state";
@import "app/app-menu";
@import "app/app-window";
@import "app/app-scrollbar";
@import "app/folders-pane";
@import "app/diff-viewer";
@import "app/report-parameters";
@import "app/report-templates";
@import "app/report-source-code";
@import "app/entity-inspector-browse";
@import "app/fts-search-window";
@import "app/dialogs";
@import "app/screen-profiler";

// Add-ons
@import "addons/aceeditor/ace-gwt";
@import "addons/aceeditor/suggestionpopup";
@import "addons/popupbutton/popupbutton";
@import "addons/dragdroplayouts/dragdroplayouts";
@import "addons/googlemap/googlemap";

@mixin halo {
  @include valo;

  // Add-ons
  @include addon-aceeditor;
  @include addon-aceeditor-suggestpopup;
  @include addon-popupbutton;
  @include addon-dragdroplayouts;
  @include addon-googlemap;

  @include halo-common;

  @include halo-tree;
  @include halo-link;
  @include halo-label;
  @include halo-panel;
  @include halo-table;
  @include halo-button;
  @include halo-window;
  @include halo-menubar;
  @include halo-calendar;
  @include halo-checkbox;
  @include halo-datagrid;
  @include halo-treedatagrid;
  @include halo-tabsheet;
  @include managed-tabsheet;
  @include halo-datefield;
  @include halo-datepicker;
  @include halo-splitpanel;
  @include halo-pivottable;
  @include halo-scrollbox;
  @include halo-twincolumn;
  @include halo-optiongroup;
  @include halo-optionlist;
  @include halo-popupbutton;
  @include halo-popupview;
  @include halo-filterselect;
  @include halo-notification;
  @include halo-richtextarea;
  @include halo-orderedlayout;
  @include halo-sourcecodeeditor;
  @include halo-vaadin-contextmenu-addon;
  @include halo-textarea;
  @include halo-draganddrop;
  @include halo-colorpicker;
  @include halo-gridlayout;
  @include halo-csslayout;
  @include halo-accordion;
  @include halo-cuba-image;
  @include halo-cuba-currencyfield;
  @include halo-slider;

  @include halo-cuba-groupbox;
  @include halo-cuba-tokenlist;
  @include halo-cuba-textfield;
  @include halo-cuba-grouptable;
  @include halo-cuba-fileupload;
  @include halo-cuba-flowlayout;
  @include halo-cuba-fieldgroup;
  @include halo-cuba-maskedfield;
  @include halo-cuba-pickerfield;
  @include halo-cuba-listeditor;
  @include halo-cuba-dateintervaleditor;
  @include halo-cuba-contextmenu;
  @include halo-cuba-contextmenu-button;
  @include halo-cuba-searchselect;
  @include halo-cuba-sidemenu;
  @include halo-cuba-multiupload;
  @include halo-cuba-entitylinkfield;
  @include halo-cuba-fieldgrouplayout;
  @include halo-cuba-resizabletextarea;
  @include halo-cuba-fileupload-wrapper;
  @include halo-cuba-suggestionfield;
  @include halo-cuba-capslockindicator;
  @include halo-cuba-timefield;

  @include cuba-log-control;
  @include cuba-login-window;
  @include cuba-logger-level;
  @include cuba-role-editor;
  @include cuba-report-wizard;
  @include cuba-breadcrumbs;
  @include cuba-bulk-editor;
  @include cuba-generic-filter;
  @include cuba-datagrid-empty-state;
  @include cuba-table-presentations;
  @include halo-cuba-table-paging;
  @include cuba-table-empty-state;
  @include cuba-table-showlink;
  @include cuba-menubar;
  @include cuba-application-window;
  @if $cuba-scrollbars-style-enabled == true {
    @include cuba-scrollbar;
  }
  @include cuba-folders-pane;
  @include cuba-progressbar;
  @include cuba-diff-viewer;
  @include cuba-report-parameters;
  @include cuba-report-templates;
  @include cuba-report-source-code;
  @include cuba-entity-inspector-browse;
  @include fts-search-window;
  @include cuba-dialogs;
  @include cuba-screen-profiler;
}