• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 2:49 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jun 12, 2007 1:29 pm
Posts: 246
In some languages, the link text in admin subnavigation can be very long, and can overflow on the right (see attachment).

My suggestion would be to reduce padding on the following element (+ hover and active states):
Code:
nav ul#oe_pagemenu li.current li a, nav ul#oe_pagemenu li li a, nav ul#oe_pagemenu li:hover li a {
    height: auto;
    line-height: 1.3;
    white-space: pre-line;
    word-break: normal;
    padding: 5px 5px 5px 30px;
    color: #232323;
    font-weight: normal;
    background-image: none;
    background: none;
}

And set padding left to 5px.

What do you think?


Attachments:
Capture d'écran 2017-05-18 16.40.34.png
Capture d'écran 2017-05-18 16.40.34.png [ 43.71 KiB | Viewed 1481 times ]
Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 3:35 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
This is my screen with French installed:

Attachment:
ScreenHunter_71 May. 18 17.34.jpg
ScreenHunter_71 May. 18 17.34.jpg [ 68.05 KiB | Viewed 1470 times ]

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 4:02 pm 
Offline
Power Poster
Power Poster

Joined: Mon May 29, 2006 1:20 pm
Posts: 1919
Location: Rouen
my screen standard install
Image

_________________
Jean-Claude Etiemble


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 5:19 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
Thanks for the reply both!

It looks like it is dependent on what font files are installed at the local machine... If font X isn't there, the browser takes font Y...

Anyway, we are to late in the beta process to test and change things here. We will investigate this for 2.3 release, where we have planned to give the Admin theme an overhaul anyway!

Grtz. Rolf

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 6:39 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7586
Location: The Netherlands
Just for the record, I reproduced this.

Default admin theme CSS
Code:
body, button, input, select, textarea {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
I have Open Sans font file at my laptop. When I rename it in the CSS, the next font is picked by the browser and I get the same result as you...
Attachment:
ScreenHunter_71 May. 18 20.31.jpg
ScreenHunter_71 May. 18 20.31.jpg [ 253.81 KiB | Viewed 1426 times ]

Would probably be better to ship a default font file with the admin theme in 2.3 release...

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Thu May 18, 2017 7:32 pm 
Offline
Forum Members
Forum Members

Joined: Tue Jun 12, 2007 1:29 pm
Posts: 246
Rolf wrote:
Would probably be better to ship a default font file with the admin theme in 2.3 release...

Definitely, yes.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [UI improvement] admin subnav padding
PostPosted: Sun May 21, 2017 7:39 am 
Offline
Power Poster
Power Poster

Joined: Mon May 29, 2006 1:20 pm
Posts: 1919
Location: Rouen
wait and see ;)

_________________
Jean-Claude Etiemble


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting