You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

99 lines
2.9 KiB

/**********************************************************************************
*
* Copyright (C) 2017 MuK IT GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
**********************************************************************************/
@include media-breakpoint-down(sm) {
.o_control_panel {
.breadcrumb, .o_cp_buttons, .o_cp_left, .o_cp_right, .o_cp_searchview {
flex: 1 1 100%;
@include media-breakpoint-up(md) {
flex-basis: 50%;
}
}
.breadcrumb {
max-width: 80%;
overflow: hidden;
display: block;
white-space: nowrap;
text-overflow: ellipsis;
}
.o_cp_searchview {
overflow: hidden;
max-width: 20%;
min-width: 20%;
text-align: right;
.o_searchview {
border: none;
padding: 3.5px 5px;
.o_enable_searchview {
margin-left: 0;
box-shadow: none;
&:before {
padding-right: 5px;
}
}
}
}
.o_cp_left, .o_cp_right {
width: auto;
flex: 1 1 auto;
}
.breadcrumb-item {
&:not(.active) {
padding-left: 0;
}
&::before {
content: none;
padding-right: 0;
}
&:nth-last-of-type(1n+3) {
display: none;
}
&:nth-last-of-type(2) {
&::before {
content: "\f053";
cursor: pointer;
color: $o-brand-primary;
font-family: FontAwesome;
}
a {
display: none;
}
}
}
.o_cp_buttons .btn.d-block:not(.d-none) {
display: inline-block !important;
}
.o_cp_switch_buttons.show {
.dropdown-menu {
display: flex;
flex-direction: row;
align-content: center;
justify-content: space-around;
padding: 0;
.btn {
border: {
bottom: 0;
radius: 0;
top: 0;
}
}
}
}
}
}