Openworx / backend_theme

Odoo Backend Theme
156 stars 242 forks source link

Sidebar width is so big #47

Open mohamedhagag opened 6 years ago

mohamedhagag commented 6 years ago

https://github.com/Openworx/backend_theme/blob/700018ca043565848d19c9038996990c1a012bf1/backend_theme_v10/static/src/less/sidebar.less#L6

Dears,

Why 180px ?

I believe it's enough to show the icons only. This will save space and in the same time will ease the navigation.

Also hints will show the application name, plz have a look at the attached screenshot below - which have max-width: 70px and overflow-y: hidden for .app-sidebar-panel class:

screenshot_2018-01-27_05-21-07

Regards,

mgielissen commented 6 years ago

Do you have an example for hints?

mohamedhagag commented 6 years ago

yes it's in the previous screenshot - the word Accounting in the black bubble is a hint when we hover on the accounting icon (orange one). here's another screenshot, I'm pointing to the Cyan Icon of purchase and it's showing the purchase text in the hint bubble. screenshot_2018-01-27_20-55-14

mgielissen commented 6 years ago

CSS code for hints?

mohamedhagag commented 6 years ago

hints is working out of box no need to add CSS I can purpose a PR if you want.

youring commented 6 years ago

What about bigger icons and removing menu name image

mgielissen commented 6 years ago

Nice, It looks more like Ubuntu Unity interface. You can purpose a PR.

SalahAdDin commented 6 years ago

@mgielissen, a pull request was already proposed.