Show More
@@ -127,6 +127,7 b' var IPython = (function (IPython) {' | |||||
127 | this.element |
|
127 | this.element | |
128 | .append($('<select/>') |
|
128 | .append($('<select/>') | |
129 | .attr('id','cell_type') |
|
129 | .attr('id','cell_type') | |
|
130 | .addClass('form-control select-xs') | |||
130 | // .addClass('ui-widget-content') |
|
131 | // .addClass('ui-widget-content') | |
131 | .append($('<option/>').attr('value','code').text('Code')) |
|
132 | .append($('<option/>').attr('value','code').text('Code')) | |
132 | .append($('<option/>').attr('value','markdown').text('Markdown')) |
|
133 | .append($('<option/>').attr('value','markdown').text('Markdown')) | |
@@ -146,6 +147,7 b' var IPython = (function (IPython) {' | |||||
146 | var select = $('<select/>') |
|
147 | var select = $('<select/>') | |
147 | // .addClass('ui-widget-content') |
|
148 | // .addClass('ui-widget-content') | |
148 | .attr('id', 'ctb_select') |
|
149 | .attr('id', 'ctb_select') | |
|
150 | .addClass('form-control select-xs') | |||
149 | .append($('<option/>').attr('value', '').text('None')); |
|
151 | .append($('<option/>').attr('value', '').text('None')); | |
150 | this.element.append(label).append(select); |
|
152 | this.element.append(label).append(select); | |
151 | select.change(function() { |
|
153 | select.change(function() { |
@@ -39,4 +39,13 b'' | |||||
39 |
|
39 | |||
40 | #maintoolbar .navbar-text { |
|
40 | #maintoolbar .navbar-text { | |
41 | float: none; |
|
41 | float: none; | |
|
42 | vertical-align: middle; | |||
|
43 | text-align: right; | |||
|
44 | margin-left: 5px; | |||
|
45 | margin-right: 0px; | |||
|
46 | margin-top: 0px | |||
|
47 | } | |||
|
48 | ||||
|
49 | .select-xs { | |||
|
50 | height: @btn_small_height; | |||
42 | } |
|
51 | } |
@@ -9,7 +9,7 b'' | |||||
9 | @dashboard_lr_pad: 7px; |
|
9 | @dashboard_lr_pad: 7px; | |
10 | // These are the total heights of the Bootstrap small and mini buttons. These values |
|
10 | // These are the total heights of the Bootstrap small and mini buttons. These values | |
11 | // are not less variables so we have to track them statically. |
|
11 | // are not less variables so we have to track them statically. | |
12 |
@btn_small_height: 2 |
|
12 | @btn_small_height: 24px; | |
13 | @btn_mini_height: 22px; |
|
13 | @btn_mini_height: 22px; | |
14 | @dark_dashboard_color: darken(@border_color, 30%); |
|
14 | @dark_dashboard_color: darken(@border_color, 30%); | |
15 |
|
15 |
General Comments 0
You need to be logged in to leave comments.
Login now