Merged in [9525] from lars@netapp.com:
Make the menu bar search field appear on slightly smaller screen widths.
- Legacy-Id: 9540
Note: SVN reference [9525] has been migrated to Git commit 651477699b
This commit is contained in:
commit
c1b86d9ae2
|
@ -3934,7 +3934,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
||||||
.nav > li > a {
|
.nav > li > a {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 10px 15px;
|
padding: 10px 11px;
|
||||||
}
|
}
|
||||||
.nav > li > a:hover,
|
.nav > li > a:hover,
|
||||||
.nav > li > a:focus {
|
.nav > li > a:focus {
|
||||||
|
|
2
bootstrap/dist/css/bootstrap.css.map
vendored
2
bootstrap/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
bootstrap/dist/css/bootstrap.min.css
vendored
2
bootstrap/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -452,7 +452,7 @@
|
||||||
//##
|
//##
|
||||||
|
|
||||||
//=== Shared nav styles
|
//=== Shared nav styles
|
||||||
@nav-link-padding: 10px 15px;
|
@nav-link-padding: 10px 11px;
|
||||||
@nav-link-hover-bg: @gray-lighter;
|
@nav-link-hover-bg: @gray-lighter;
|
||||||
|
|
||||||
@nav-disabled-link-color: @gray-light;
|
@nav-disabled-link-color: @gray-light;
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body {% block bodyAttrs %}{%endblock%} data-group-menu-data-url="{% url "group_menu_data" %}">
|
<body {% block bodyAttrs %}{%endblock%} data-group-menu-data-url="{% url "group_menu_data" %}">
|
||||||
|
{% with server_mode="production" %}
|
||||||
<nav class="navbar {% if server_mode and server_mode == "production" %}navbar-inverse{% else %}navbar-default{% endif %} navbar-fixed-top" role="navigation">
|
<nav class="navbar {% if server_mode and server_mode == "production" %}navbar-inverse{% else %}navbar-default{% endif %} navbar-fixed-top" role="navigation">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
@ -50,13 +51,11 @@
|
||||||
<a class="navbar-brand" href="/">
|
<a class="navbar-brand" href="/">
|
||||||
<img alt="IETF Logo" src="/images/ietflogo-small-transparent.png">
|
<img alt="IETF Logo" src="/images/ietflogo-small-transparent.png">
|
||||||
{% if not user.is_authenticated %}
|
{% if not user.is_authenticated %}
|
||||||
<div style="display: inline; vertical-align: top; padding-left: 1em;">
|
|
||||||
{% if server_mode and server_mode == "production" %}
|
{% if server_mode and server_mode == "production" %}
|
||||||
Datatracker
|
Datatracker
|
||||||
{% else %}
|
{% else %}
|
||||||
<b><i>Development mode</i></b>
|
<b><i>Development mode</i></b>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -70,9 +69,9 @@
|
||||||
{% include "base/menu.html" with flavor="top" %}
|
{% include "base/menu.html" with flavor="top" %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<form class="navbar-form navbar-right hidden-sm hidden-xs" action="/doc/search/" role="search">
|
<form class="navbar-form navbar-right hidden-xs" action="/doc/search/" role="search">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input class="form-control" type="text" name="name" placeholder="Document search">
|
<input class="form-control input-sm" type="text" name="name" placeholder="Document search">
|
||||||
<input type="hidden" name="activedrafts" value="on">
|
<input type="hidden" name="activedrafts" value="on">
|
||||||
<input type="hidden" name="rfcs" value="on">
|
<input type="hidden" name="rfcs" value="on">
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,7 +79,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
{% endwith %}
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
|
@ -84,7 +84,12 @@ body { padding-top: 70px; }
|
||||||
|
|
||||||
.navbar-brand > img {
|
.navbar-brand > img {
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-top: -7px;
|
padding-right: 1em;
|
||||||
|
margin-top: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-brand {
|
||||||
|
margin-top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hack to make anchor-targets take up a bit more space vertically
|
/* Hack to make anchor-targets take up a bit more space vertically
|
||||||
|
@ -98,10 +103,6 @@ body { padding-top: 70px; }
|
||||||
margin-top: -65px;
|
margin-top: -65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style navbar buttons */
|
|
||||||
/* .navbar-btn { color:#777; } */
|
|
||||||
/* .navbar-btn:hover { color: #333; } */
|
|
||||||
|
|
||||||
/* Make the panel title font normally large */
|
/* Make the panel title font normally large */
|
||||||
.panel-title { font-size: 14px }
|
.panel-title { font-size: 14px }
|
||||||
|
|
||||||
|
@ -353,9 +354,9 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This applies to the top navbar submenu popouts*/
|
/* This applies to the top navbar submenu popouts*/
|
||||||
/*
|
/*
|
||||||
.nav.navbar-nav .dropdown-submenu ul {
|
.nav.navbar-nav .dropdown-submenu ul {
|
||||||
|
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
/* This applies to the side menubar submenu popouts */
|
/* This applies to the side menubar submenu popouts */
|
||||||
|
|
Loading…
Reference in a new issue