Permalink
Browse files

Merge PR #1098: notebook config-panel style

Fixes some style consistency issues in config section of side panel.

closes #1098
  • Loading branch information...
2 parents fbed9d1 + 461fa55 commit 26f7432e538653cecdd7a30b2e66ab80f59f0cdc @minrk minrk committed Dec 5, 2011
@@ -115,8 +115,21 @@ span.section_row_buttons a {
float: right;
}
+#timebeforetooltip{
+ margin-top:-3px;
+ text-align:right;
+}
+
#timebeforetooltip_span {
float: right;
+ padding: 0px 5px;
+ font-size: 85%;
+}
+
+#timebeforetooltip_label {
+ float: right;
+ text-align:right;
+ font-size: 85%;
}
#tooltipontab_span {
@@ -137,6 +137,7 @@ var IPython = (function (IPython) {
this.content.find('#tooltipontab').attr('title', 'Show tooltip if you press <Tab> after "(" or a white space');
this.content.find('#tooltipontab_label').attr('title', 'Show Tooltip when pressing Tab');
+ this.content.find('#timebeforetooltip').addClass("ui-widget ui-widget-content");
this.content.find('#timebeforetooltip').attr('title', 'Time before a tooltip auto-appear when "(" is pressed (negative value supress tooltip)');
this.content.find('#timebeforetooltip_label').attr('title', 'Time before a tooltip auto-appear when "(" is pressed (negative value supress tooltip)');
@@ -253,7 +253,7 @@
<div id="config_section">
<div class="section_header">
- <h3>Config</h3>
+ <h3>Configuration</h3>
</div>
<div class="section_content">
<div class="section_row">
@@ -270,7 +270,8 @@
</div>
<div class="section_row">
<span id="timebeforetooltip_span">
- <input type="text" id="timebeforetooltip" value="1200"></input>
+ <input type="text" id="timebeforetooltip" value="1200" size='6'></input>
+ <span class="numeric_input_label" id="timebeforetooltip_unit">milliseconds</span>
</span>
<span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span>
</div>

0 comments on commit 26f7432

Please sign in to comment.