/* Copyright (c) 2019 AT&T Intellectual Property. # # # # 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. # ##############################################################################*/ .rtl { .sidebar { left: auto !important; right: 0 !important; > ul.list-group { padding: 0; } } .main-container { margin-left: 0 !important; margin-right: 235px; } /*rtl dropdown items correction*/ .dropdown-menu { text-align: right; } * { direction: rtl; } .navbar * { direction: ltr; } .sidebar * { direction: ltr; } .navbar .dropdown-menu { text-align: left; } .breadcrumb { direction: ltr; justify-content: flex-end; * { direction: ltr; } } .datepicker-input { direction: ltr; .dropdown-menu { direction: ltr; * { direction: ltr; } } } .input-group { direction: ltr; } } @media screen and (max-width: 992px) { .rtl { .navbar-brand { direction: ltr; } .sidebar { right: -235px !important; } .main-container { margin-right: 0; } &.push-right { .sidebar { left: auto !important; right: 0 !important; } } } }