-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve configuration tab's style #337
Conversation
removed empty css files added override css file which can be used to override different style behaviours decreased size of jquery ui tabs fixes #310
These tabs used to be styled according to the default style-sheet provided by jQuery UI. They are now stylized like the rest of the site so they fit better with the design.
Since we are using a multi-column layout, the floating elements inside the tab container make the latter to lose its height so the element are displayed after the left-floating element (here the navigation menu). Solution found at http://stackoverflow.com/a/7476799/2663959.
Cool :) +1 |
@@ -28,9 +27,10 @@ | |||
|
|||
{% if page.configuration == true %} | |||
<!-- Configuration stuff --> | |||
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css"> | |||
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" /> | |||
<link rel="stylesheet" type="text/css" href="/css/override.css" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing trailing / to close the tag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are using HTML 5, this is not needed. The other ones don't have the closing slash so for the sake of consistency, let's keep it as is ; the one above has been updated. :-)
Improve configuration tab's style
Ok, thanks for the review guys ! :-) |
Hello,
This pull request is a follow-up to #312. It fixes the style of configuration tabs so that they better fit the site's design. There are several commits to ease the review process and make blaming easier:
.conftabs
and the left navigation ; there's a bug with left-floating elements so the content of the tab go under the navigation because the container lose it's height.Before:
After:
Fixes #310 and #329.
Have a nice day!