/*
  Copyright 2017 Red Hat Inc.

  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.
 */

/*
  Combination of default Patternfly import files:

  @import "@{patternfly-dist-root}patternfly.less";
  @import "@{patternfly-dist-root}patternfly-additions.less";

  is broken at the moment because patternfly-additions.less file imports
  bootstrap dependencies that in a wrong way override sylesheets defined
  in previously imported patternfly.less. A solution to separate bootstrap
  imports into separate file that would get imported first has been proposed
  upstream.

  As a workaround we explicitly include imports from patternfly-additions.less
  and import patternfly.less in between them. Those imports need to be
  checked/updated with every patternfly package update to make sure we import
  all available files.
*/

@patternfly-dist-root: "~patternfly/dist/less/";

/* PatternFly additions to Bootstrap - patternfly-additions.less part 1 */

// Bootstrap variables and mixins
@import "@{patternfly-dist-root}dependencies/bootstrap/variables.less";
@import "@{patternfly-dist-root}dependencies/bootstrap/mixins.less";
// Font Awesome variables
@import "@{patternfly-dist-root}dependencies/font-awesome/variables.less";

// Bootstrap-Combobox
@import "@{patternfly-dist-root}dependencies/bootstrap-combobox/combobox.less";
// Bootstrap-Datepicker
@import "@{patternfly-dist-root}dependencies/bootstrap-datepicker/datepicker3.less";
// Bootstrap-Select
@import "@{patternfly-dist-root}dependencies/bootstrap-select/bootstrap-select.less";
// Bootstrap Switch
// @import "@{patternfly-dist-root}dependencies/bootstrap-switch/bootstrap3/bootstrap-switch.less";
// Bootstrap Touchspin
@import (less) "@{patternfly-dist-root}dependencies/bootstrap-touchspin/jquery.bootstrap-touchspin.css";
// C3 charts
@import (less) "@{patternfly-dist-root}dependencies/c3/c3.css";
// Bootstrap-DateTimePicker
// @import "@{patternfly-dist-root}dependencies/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker-build.less";


/* Patternfly */

// @import "@{patternfly-dist-root}patternfly.less";

/* Contents of @{patternfly-dist-root}patternfly.less with corrected dependency imports*/

// OpenSans
@import "@{patternfly-dist-root}fonts.less";
// Bootstrap
@import "@{patternfly-dist-root}dependencies/bootstrap/bootstrap.less";
// Font Awesome
@import "@{patternfly-dist-root}dependencies/font-awesome/font-awesome.less";

// Bootstrap overrides
@import "@{patternfly-dist-root}variables.less";
@import "@{patternfly-dist-root}mixins.less";
@import "@{patternfly-dist-root}alerts.less";
@import "@{patternfly-dist-root}badges.less";
@import "@{patternfly-dist-root}breadcrumbs.less";
@import "@{patternfly-dist-root}buttons.less";
@import "@{patternfly-dist-root}dropdowns.less";
@import "@{patternfly-dist-root}forms.less";
@import "@{patternfly-dist-root}labels.less";
@import "@{patternfly-dist-root}list-group.less";
@import "@{patternfly-dist-root}modals.less";
@import "@{patternfly-dist-root}pager.less";
@import "@{patternfly-dist-root}pagination.less";
@import "@{patternfly-dist-root}panels.less";
@import "@{patternfly-dist-root}popovers.less";
@import "@{patternfly-dist-root}progress-bars.less";
@import "@{patternfly-dist-root}tables.less";
@import "@{patternfly-dist-root}tabs.less";
@import "@{patternfly-dist-root}tooltip.less";
@import "@{patternfly-dist-root}type.less";


/* Patternfly additions - patternfly-additions.less part 2 */

@import "@{patternfly-dist-root}variables.less";
@import "@{patternfly-dist-root}mixins.less";
@import "@{patternfly-dist-root}about-modal.less";
@import "@{patternfly-dist-root}blank-slate.less";
@import "@{patternfly-dist-root}bootstrap-combobox.less";
@import "@{patternfly-dist-root}bootstrap-datepicker.less";
@import "@{patternfly-dist-root}bootstrap-select.less";
// @import "@{patternfly-dist-root}bootstrap-switch.less";
@import "@{patternfly-dist-root}bootstrap-touchspin.less";
@import "@{patternfly-dist-root}bootstrap-treeview.less";
@import "@{patternfly-dist-root}cards.less";
@import "@{patternfly-dist-root}card-view.less";
@import "@{patternfly-dist-root}charts.less";
@import "@{patternfly-dist-root}close.less";
@import "@{patternfly-dist-root}datatables.less";
@import "@{patternfly-dist-root}footer.less";
@import "@{patternfly-dist-root}icons.less";
@import "@{patternfly-dist-root}infotip.less";
@import "@{patternfly-dist-root}layouts.less";
@import "@{patternfly-dist-root}links.less";
@import "@{patternfly-dist-root}list-pf.less";
@import "@{patternfly-dist-root}list-view.less";
@import "@{patternfly-dist-root}list-view-dnd.less";
@import "@{patternfly-dist-root}login.less";
@import "@{patternfly-dist-root}navbar.less";
@import "@{patternfly-dist-root}navbar-alt.less";
@import "@{patternfly-dist-root}navbar-vertical.less";
@import "@{patternfly-dist-root}nav-vertical-alt.less";
@import "@{patternfly-dist-root}notifications-drawer.less";
@import "@{patternfly-dist-root}search.less";
@import "@{patternfly-dist-root}sidebar.less";
@import "@{patternfly-dist-root}spinner.less";
@import "@{patternfly-dist-root}syntax-highlighting.less";
@import "@{patternfly-dist-root}table-view.less";
@import "@{patternfly-dist-root}time-picker.less";
@import "@{patternfly-dist-root}toast.less";
@import "@{patternfly-dist-root}toolbar.less";
@import "@{patternfly-dist-root}vertical-nav.less";
@import "@{patternfly-dist-root}wizard.less";


/* TripleO UI styles */

@import "utils/variables";
@import "utils/patternflyOverrides";
@import "ui/Forms";
@import "ui/Grid";
@import "ui/ListView";
@import "ui/Modals";
@import "ui/Plans";
@import "ui/Tables";
@import "ui/Type";
@import "ui/Navs";
@import "ui/FixedContainer";
@import "ui/Sidebar";
@import "ui/Toolbar";
@import "ui/Tooltips";
@import "components/EnvironmentConfiguration";
@import "components/DeploymentDetail";
@import "components/DeploymentPlan";
@import "components/Loader";
@import "components/NodePickerInput";
@import "components/Plans";
@import "components/RoleCard";
@import "components/Validations";

.wrapper-fixed-body {
  padding-top: @header-height;
}

a {
 &.link {
   cursor: pointer;
 }
}
