##// END OF EJS Templates
Make maintoolbar select dropdowns look nice
Jonathan Frederic -
Show More
@@ -127,6 +127,7 b' var IPython = (function (IPython) {'
127 127 this.element
128 128 .append($('<select/>')
129 129 .attr('id','cell_type')
130 .addClass('form-control select-xs')
130 131 // .addClass('ui-widget-content')
131 132 .append($('<option/>').attr('value','code').text('Code'))
132 133 .append($('<option/>').attr('value','markdown').text('Markdown'))
@@ -146,6 +147,7 b' var IPython = (function (IPython) {'
146 147 var select = $('<select/>')
147 148 // .addClass('ui-widget-content')
148 149 .attr('id', 'ctb_select')
150 .addClass('form-control select-xs')
149 151 .append($('<option/>').attr('value', '').text('None'));
150 152 this.element.append(label).append(select);
151 153 select.change(function() {
@@ -39,4 +39,13 b''
39 39
40 40 #maintoolbar .navbar-text {
41 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 9 @dashboard_lr_pad: 7px;
10 10 // These are the total heights of the Bootstrap small and mini buttons. These values
11 11 // are not less variables so we have to track them statically.
12 @btn_small_height: 26px;
12 @btn_small_height: 24px;
13 13 @btn_mini_height: 22px;
14 14 @dark_dashboard_color: darken(@border_color, 30%);
15 15
General Comments 0
You need to be logged in to leave comments. Login now