
This patch also adds checks for executable files in pep8 job. nose ignores executable files by default, so it is important to ensure executable flag is not set for test files [1]. openstack_dashboard/test/test_plugins/panel_tests.py was not tested actually and it was broken. This commit fixes it too. [1] http://nose.readthedocs.io/en/latest/usage.html#cmdoption-exe Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info> Change-Id: I3a124fa2f9f0676b2b43a094e32e3d8b18fa6005
61 lines
1.2 KiB
SCSS
61 lines
1.2 KiB
SCSS
.navbar-brand {
|
|
padding: 0 $padding-small-horizontal;
|
|
margin: 0;
|
|
display: block;
|
|
|
|
img {
|
|
display: inline-block;
|
|
height: $navbar-height - $padding-small-vertical*2;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
//Specifity Required
|
|
.navbar-header .navbar-brand {
|
|
|
|
// These allow the vertical centering to work properly
|
|
line-height: $navbar-height;
|
|
font-size: 0;
|
|
}
|
|
|
|
.topbar {
|
|
.navbar {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.navbar-nav .header-overflow ul li{
|
|
white-space: nowrap;
|
|
padding: $bs-dropdown-item-padding-vertical $bs-dropdown-item-padding-horizontal;
|
|
}
|
|
|
|
.dropdown-toggle > .fa {
|
|
padding-left: $padding-small-vertical;
|
|
padding-right: $padding-small-vertical;
|
|
|
|
&:first-child {
|
|
padding-left: 0;
|
|
}
|
|
|
|
&:last-child {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.context-delimiter {
|
|
font-size: $padding-small-vertical;
|
|
vertical-align: middle;
|
|
padding-right: $padding-small-vertical;
|
|
padding-left: $padding-small-vertical;
|
|
}
|
|
|
|
// Scrollbar for the project menu on larger screens
|
|
// Not needed for smaller screens, as it is already scrollable
|
|
// and can be collapsed to access the settings menu etc.
|
|
@media(min-width: $screen-sm-min) {
|
|
.context-selection {
|
|
max-height: $context-selector-max-height;
|
|
overflow-y: scroll;
|
|
}
|
|
}
|