summaryrefslogtreecommitdiff
path: root/muk_web_theme/static/src/scss/control_panel.scss
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 17:14:58 +0700
commit1ca3b3df3421961caec3b747a364071c80f5c7da (patch)
tree6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /muk_web_theme/static/src/scss/control_panel.scss
parentb57188be371d36d96caac4b8d65a40745c0e972c (diff)
initial commit
Diffstat (limited to 'muk_web_theme/static/src/scss/control_panel.scss')
-rw-r--r--muk_web_theme/static/src/scss/control_panel.scss133
1 files changed, 133 insertions, 0 deletions
diff --git a/muk_web_theme/static/src/scss/control_panel.scss b/muk_web_theme/static/src/scss/control_panel.scss
new file mode 100644
index 0000000..0456945
--- /dev/null
+++ b/muk_web_theme/static/src/scss/control_panel.scss
@@ -0,0 +1,133 @@
+/**********************************************************************************
+*
+* Copyright (c) 2017-today MuK IT GmbH.
+*
+* This file is part of MuK Grid Snippets
+* (see https://mukit.at).
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public License
+* along with this program. If not, see <http://www.gnu.org/licenses/>.
+*
+**********************************************************************************/
+
+@include media-breakpoint-down(sm) {
+ .o_control_panel {
+ padding-left: $o-horizontal-padding /2;
+ padding-right: $o-horizontal-padding /2;
+ .o_cp_top {
+ justify-content: space-between;
+ .o_cp_top_left {
+ max-width: 35%;
+ .breadcrumb {
+ overflow: hidden;
+ display: block;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ }
+ }
+ .o_cp_top_right {
+ min-height: 35px;
+ min-width: 65%;
+ flex-grow: 1;
+ }
+ }
+ .o_cp_bottom {
+ justify-content: space-between;
+ .o_cp_bottom_left {
+ flex-grow: 1;
+ .o_cp_action_menus, .o_cp_buttons {
+ flex: 1 1 100%;
+ }
+ .o_cp_action_menus .o_dropdown .o_dropdown_toggler_btn {
+ .o_dropdown_title {
+ display: none;
+ }
+ i:last-of-type{
+ display: none;
+ }
+ &::after{
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 0.255em;
+ vertical-align: 0.255em;
+ content: "";
+ border-top: 0.3em solid;
+ border-right: 0.3em solid transparent;
+ border-bottom: 0;
+ border-left: 0.3em solid transparent;
+ }
+ }
+ }
+ .o_cp_bottom_right {
+ .o_cp_pager {
+ white-space: nowrap;
+ .o_pager_counter {
+ max-width: 60px;
+ @include o-text-overflow;
+ }
+ .o_pager_previous, .o_pager_next {
+ border: none;
+ }
+ }
+ .o_search_options {
+ display: none;
+ }
+ }
+ }
+ .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;
+ min-width: 0px;
+ flex-direction: row;
+ align-content: center;
+ justify-content: space-around;
+ padding: 0;
+ .btn {
+ margin: 5px;
+ border: none;
+ font-size: 1.25rem;
+ }
+ }
+ }
+ }
+ .o_controller_with_searchpanel .o_search_panel {
+ display: none;
+ }
+}