Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292894

Remove awkward styling from toolbar tray

$
0
0

Toolbar dividers in horizontal state end abruptly and shortcut edit link wraps.

Currently looks like this by default. Odd wrap, abrupt end of borders between list items.
image

This is what happens if you add a bunch of shortcuts:
image

All this requires is:

Removing clearfix class from the user-defined-shortcuts UL markup

remove these two selectors from toolbar.theme.css:

.toolbar .horizontal .menu li:last-child {
border-right: 1px solid #dddddd;
}
.toolbar .horizontal .menu li + li {
border-left: 1px solid #dddddd;
}

Change the float of the edit shortcuts link in shortcut.theme.css to visually separate it from the shortcuts:

.toolbar .horizontal .edit-shortcuts {
float:left;
float: right;
}

(and the reverse in the rtl file)

With the changes applied you get this:
image

Which actually also makes menu less noisy. Simpler is better.
image

AttachmentSizeStatusTest resultOperations
Screen Shot 2013-07-13 at 12.34.54 PM.png102.33 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-07-13 at 8.46.08 PM.png22.6 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-07-13 at 8.43.19 PM.png28.81 KBIgnored: Check issue status.NoneNone
Screen Shot 2013-07-13 at 8.45.15 PM.png23.04 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 292894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>