Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
48f30b5e
Commit
48f30b5e
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Cleaner menu
parent
49d515be
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/menus/standard/empty.php
+3
-1
3 additions, 1 deletion
htdocs/core/menus/standard/empty.php
htdocs/theme/eldy/style.css.php
+46
-37
46 additions, 37 deletions
htdocs/theme/eldy/style.css.php
with
49 additions
and
38 deletions
htdocs/core/menus/standard/empty.php
+
3
−
1
View file @
48f30b5e
...
...
@@ -165,7 +165,9 @@ class MenuManager
for
(
$j
=
(
$i
+
1
);
$j
<
$num
;
$j
++
)
{
if
(
empty
(
$menu_array
[
$j
][
'level'
]))
$lastopened
=
false
;
}
}
$alt
=
0
;
// For menu manager "empty", we force to not have blockvmenufirst defined
$lastopened
=
1
;
// For menu manager "empty", we force to not have blockvmenulast defined
if
((
$alt
%
2
==
0
))
{
print
'<div class="blockvmenuimpair'
.
(
$lastopened
?
' blockvmenulast'
:
''
)
.
(
$alt
==
1
?
' blockvmenufirst'
:
''
)
.
'">'
.
"
\n
"
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/theme/eldy/style.css.php
+
46
−
37
View file @
48f30b5e
...
...
@@ -667,13 +667,37 @@ td.showDragHandle {
height: calc(100% - 50px);*/
}
.side-nav {
display: table-cell;
border-right: 1px solid #d0d0d0;
}
div.blockvmenulogo
{
border-bottom: 0 !important;
}
div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks {
border-top: none !important;
border-left: none !important;
border-right: none !important;
border-bottom: 1px solid #e0e0e0;
padding-left: 0 !important;
}
div.blockvmenuend {
border: none !important;
padding-left: 0 !important;
}
div.vmenu, td.vmenu {
padding-right: 6px !important;
}
/* For desktop */
<?php
if
((
GETPOST
(
'testmenuhider'
)
||
!
empty
(
$conf
->
global
->
MAIN_TESTMENUHIDER
))
&&
empty
(
$conf
->
global
->
MAIN_OPTIMIZEFORTEXTBROWSER
))
{
?>
#id-container {
width: 100%;
}
.side-nav {
border-right: 1px solid #BBB;
border-bottom: 1px solid #BBB;
background: #FFF;
}
...
...
@@ -687,7 +711,8 @@ div.blockvmenulogo
border-bottom: 0 !important;
}
div.blockvmenusearch {
padding-bottom: 10px !important;
padding-bottom: 12px !important;
border-bottom: 1px solid #e0e0e0;
}
div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmenuend {
border-top: none !important;
...
...
@@ -699,9 +724,6 @@ div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmen
div.vmenu, td.vmenu {
padding-right: 6px !important;
}
div.blockvmenulast {
border-bottom: 0;
}
div.fiche {
margin-
<?php
print
$left
;
?>
: 6px !important;
margin-
<?php
print
$right
;
?>
: 6px !important;
...
...
@@ -1017,8 +1039,13 @@ div.tmenucenter
<?php
}
?>
width: 100%;
}
#menu_titre_logo {
padding-top: 0;
padding-bottom: 0;
}
div.menu_titre {
padding-top: 5px;
padding-top: 4px;
padding-bottom: 4px;
}
.mainmenuaspan
{
...
...
@@ -1373,12 +1400,12 @@ div.vmenu, td.vmenu {
}
.menu_contenu {
padding-top:
5
px;
padding-bottom:
2
px;
padding-top:
3
px;
padding-bottom:
3
px;
overflow: hidden;
text-overflow: ellipsis;
}
#menu_contenu_logo { padding-
right: 4px
; }
#menu_contenu_logo { padding-
top: 0
; }
.companylogo { }
.searchform { padding-top: 4px; }
...
...
@@ -1402,15 +1429,20 @@ a.vsmenu.addbookmarkpicto {
}
.vmenu div.blockvmenubookmarks, .vmenu div.blockvmenuend, .vmenu div.blockvmenulogo, .vmenu div.blockvmenusearchphone
{
border-bottom: 1px solid #BBB;
/* border-bottom: 1px solid #BBB; */
}
div.blockvmenusearchphone
{
border-bottom: none !important;
}
.vmenu div.blockvmenuend, .vmenu div.blockvmenulogo
{
margin: 0 0 8px 2px;
}
.vmenu
div.blockvmenusearch
.vmenu div.blockvmenusearch
{
padding-bottom: 5px;
padding-bottom: 14px;
border-bottom: 1px solid #e0e0e0;
}
.vmenu div.blockvmenuend
{
...
...
@@ -1419,6 +1451,7 @@ a.vsmenu.addbookmarkpicto {
.vmenu div.blockvmenulogo
{
padding-bottom: 10px;
padding-top: 0;
}
div.blockvmenubookmarks
{
...
...
@@ -1434,21 +1467,12 @@ div.blockvmenupair, div.blockvmenuimpair, div.blockvmenubookmarks, div.blockvmen
padding-right: 1px;
padding-top: 3px;
padding-bottom: 3px;
/* margin: 1px 0 8px 2px; */
margin: 0 0 0 2px;
background: rgb(
<?php
echo
$colorbackvmenu1
;
?>
);
border-left: 1px solid #AAA;
border-right: 1px solid #BBB;
/* border-bottom: 1px solid #BBB;
border-top: 1px solid #BBB;
border-radius: 4px;
-moz-border-radius: 4px;
-moz-box-shadow: 3px 3px 4px #DDD;
-webkit-box-shadow: 3px 3px 4px #DDD;
box-shadow: 3px 3px 4px #DDD;
*/
}
div.blockvmenusearch
...
...
@@ -1457,26 +1481,11 @@ div.blockvmenusearch
color: #000000;
text-align:
<?php
print
$left
;
?>
;
text-decoration: none;
/*padding-left: 5px;
padding-right: 1px;
padding-top: 3px;
padding-bottom: 3px; */
margin: 1px 0px 4px 2px;
margin: 1px 0px 0px 2px;
background: rgb(
<?php
echo
$colorbackvmenu1
;
?>
);
/*border-left: 1px solid #AAA;
border-right: 1px solid #BBB;
border-bottom: 1px solid #BBB;
border-top: 1px solid #BBB;*/
/*border-radius: 4px;
-moz-border-radius: 4px;
-moz-box-shadow: 3px 3px 4px #DDD;
-webkit-box-shadow: 3px 3px 4px #DDD;
box-shadow: 3px 3px 4px #DDD;*/
}
div.blockvmenusearch > form > div {
/* min-height: 40px; */
padding-top: 3px;
}
div.blockvmenusearch > form > div > label {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment