Add fix for nc<13 app menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
aa5e0a1d5e
commit
b3db3daf91
45
css/comp-appnav.scss
Normal file
45
css/comp-appnav.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/*
|
||||||
|
* @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
|
||||||
|
*
|
||||||
|
* @author Julius Härtl <jus@bitgrid.net>
|
||||||
|
*
|
||||||
|
* @license GNU AGPL version 3 or any later version
|
||||||
|
*
|
||||||
|
* 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/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hotfix for support <NC13 with new app sidebar
|
||||||
|
*/
|
||||||
|
#app-navigation {
|
||||||
|
.app-navigation-entry-menu.open {
|
||||||
|
ul li a {
|
||||||
|
background-position: 10px center;
|
||||||
|
padding: 0 10px 0 36px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.app-navigation-entry-edit {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.editing {
|
||||||
|
.app-navigation-entry-edit {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
background: $color-main-background;
|
||||||
|
height: auto;
|
||||||
|
z-index: 250;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
// maybe keep those just for nc11/12 support?
|
|
||||||
.app-navigation-entry-utils {
|
|
||||||
.app-navigation-entry-utils-menu-button {
|
|
||||||
display: block !important; // TODO: is this needed?
|
|
||||||
}
|
|
||||||
|
|
||||||
.app-navigation-entry-utils-menu-share {
|
|
||||||
display: flex !important;
|
|
||||||
padding: 14px;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.app-navigation-entry-menu ul {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
@@ -1196,3 +1196,5 @@ input.input-inline {
|
|||||||
.ui-select-dropdown.select2-drop-active {
|
.ui-select-dropdown.select2-drop-active {
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@import 'comp-appnav.scss';
|
||||||
Reference in New Issue
Block a user