some fixes to sidebar css

This commit is contained in:
Oliver Gorwits
2014-06-12 14:54:09 +01:00
parent 82b5c9c485
commit 298e7cd892
5 changed files with 16 additions and 9 deletions

View File

@@ -425,13 +425,14 @@ td > form.nd_inline-form {
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* style customization for many items which appear in the sidebar */ /* style customization for many items which appear in the sidebar */
/* text in the sidebar */
.nd_sidebar-title { .nd_sidebar-title {
margin-left: 10px; margin-left: 10px;
margin-top: 6px; margin-top: 6px;
margin-bottom: 12px; margin-bottom: 12px;
} }
/* labels in simple sidebars */ /* Flabels in netmap sidebar (not in a collapser) */
.nd_sidebar-label { .nd_sidebar-label {
margin-left: 7px; margin-left: 7px;
} }
@@ -526,16 +527,22 @@ td > form.nd_inline-form {
width: 95px; width: 95px;
} }
/* set the port state select width */
#nd_port-state-select {
margin-left: -3px;
width: 158px;
}
/* set the MAC format drop-down width */ /* set the MAC format drop-down width */
#nd_mac-format { #nd_mac-format {
margin-top: 4px; margin-top: 4px;
width: 154px; width: 155px;
} }
/* set the MAC format drop-down width */ /* set the MAC format drop-down width */
#nd_node-mac-format { #nd_node-mac-format {
margin-left: -2px; margin-left: -3px;
margin-top: 4px; margin-bottom: 4px;
width: 165px; width: 165px;
} }
@@ -548,7 +555,7 @@ td > form.nd_inline-form {
width: 165px; width: 165px;
} }
/* when the sidebar submit button HAS a dropdown */ /* FIXME when the sidebar submit button HAS a dropdown */
.nd_sidebar-btn-drop { .nd_sidebar-btn-drop {
width: 138px; width: 138px;
} }

View File

@@ -97,7 +97,7 @@
<li> <li>
<em class="muted">Show Ports with Status:</em><br/> <em class="muted">Show Ports with Status:</em><br/>
<div class="clearfix"> <div class="clearfix">
<select class="nd_side-select" size="4" multiple="on" name="port_state"/> <select id="nd_port-state-select" size="4" multiple="on" name="port_state"/>
<option selected="selected" value="up">Link Up</option> <option selected="selected" value="up">Link Up</option>
<option selected="selected" value="free">Port Free</option> <option selected="selected" value="free">Port Free</option>
<option selected="selected" value="down">Link Down</option> <option selected="selected" value="down">Link Down</option>

View File

@@ -1,5 +1,5 @@
<p class="nd_sidebar-title"><em>NetBIOS Search Options</em></p> <p class="nd_sidebar-title"><em>NetBIOS Domain</em></p>
<div class="clearfix"> <div class="clearfix">
<select class="nd_side-select nd_colored-input" size="[% domain_list.size > 8 ? 8 : domain_list.size %]" <select class="nd_side-select nd_colored-input" size="[% domain_list.size > 8 ? 8 : domain_list.size %]"
multiple="on" name="domain" multiple="on" name="domain"

View File

@@ -1,5 +1,5 @@
<p class="nd_sidebar-title"><em>SSID Search Options</em></p> <p class="nd_sidebar-title"><em>Details by SSID</em></p>
<div class="clearfix"> <div class="clearfix">
<select class="nd_side-select nd_colored-input" size="[% ssid_list.size > 8 ? 8 : ssid_list.size %]" <select class="nd_side-select nd_colored-input" size="[% ssid_list.size > 8 ? 8 : ssid_list.size %]"
multiple="on" name="ssid" multiple="on" name="ssid"

View File

@@ -30,7 +30,7 @@
</label> </label>
</div> </div>
<div class="clearfix input-prepend"> <div class="clearfix input-prepend">
<label class="add-on"> <label class="add-on nd_sidebar-legend">
<input type="checkbox" id="node_partial" <input type="checkbox" id="node_partial"
name="partial"[% ' checked="checked"' IF params.partial %]/> name="partial"[% ' checked="checked"' IF params.partial %]/>
</label> </label>