Skip to content

Commit c867e1a

Browse files
committed
Merge pull request #37 from cemc/resizable
draggable left-right separator allows resizing code or visualization
2 parents d78d0bb + 4494f98 commit c867e1a

4 files changed

Lines changed: 45 additions & 0 deletions

File tree

‎v3/css/pytutor.css‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,3 +704,13 @@ div.ExecutionVisualizer .highlight-prev {
704704
div.ExecutionVisualizer .highlight-legend {
705705
padding: 2px;
706706
}
707+
708+
.ui-resizable-e {
709+
background-color: #DDDDFF;
710+
border: 3px solid white;
711+
box-sizing: border-box;
712+
}
713+
714+
.ui-resizable-e:hover {
715+
border-color: #DDDDFF;
716+
}

‎v3/css/ui-lightness/jquery-ui-1.8.24.custom.css‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,25 @@
291291
/* Overlays */
292292
.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
293293
.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/*!
294+
* jQuery UI Resizable 1.8.24
295+
*
296+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
297+
* Dual licensed under the MIT or GPL Version 2 licenses.
298+
* http://jquery.org/license
299+
*
300+
* http://docs.jquery.com/UI/Resizable#theming
301+
*/
302+
.ui-resizable { position: relative;}
303+
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
304+
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
305+
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
306+
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
307+
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
308+
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
309+
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
310+
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
311+
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
312+
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
294313
* jQuery UI Slider 1.8.24
295314
*
296315
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

0 commit comments

Comments
 (0)