File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -430,3 +430,85 @@ td.dictKey .typeLabel {
430430 padding-top : 5px ;
431431 margin-top : 10px ;
432432}
433+
434+
435+ /* new stuff added for Online Python Tutor "2.0" release */
436+
437+ div # stack {
438+ float : left;
439+ padding-left : 10px ;
440+ padding-right : 35px ;
441+ border-right : 1px dashed # cccccc;
442+ }
443+
444+ div . stackFrame {
445+ background-color : # ffffff;
446+ margin-bottom : 15px ;
447+ padding : 2px ;
448+ padding-left : 8px ;
449+ border-left : 1px solid # 999999;
450+ }
451+
452+ /* apply to the currently selected stack frame (e.g., on mouse hover) */
453+ div . selectedStackFrame {
454+ background-color : # dddddd;
455+ }
456+
457+ div . topStackFrame {
458+ border-left : 1px solid # F15149;
459+ }
460+
461+ div . stackFrame div . stackFrameHeader {
462+ font-family : Andale mono, monospace;
463+ font-size : 10pt ;
464+ margin-top : 4px ;
465+ margin-bottom : 3px ;
466+ }
467+
468+ div . inactiveStackFrameHeader {
469+ /* simulate a hyperlink */
470+ text-decoration : underline;
471+ color : # 3D58A2;
472+ cursor : pointer;
473+ }
474+
475+ div . stackFrame . stackFrameVar {
476+ text-align : right;
477+ padding-right : 10px ;
478+ }
479+
480+ div . stackFrame . stackFrameValue {
481+ text-align : right;
482+ }
483+
484+ div . stackFrame . stackFrameVarTable {
485+ text-align : right;
486+ padding-top : 3px ;
487+
488+ /* right-align the table */
489+ margin-left : auto;
490+ margin-right : 0px ;
491+ }
492+
493+ div # heap {
494+ float : left;
495+ padding-left : 35px ;
496+ }
497+
498+ div . heapObject {
499+ margin-bottom : 15px ;
500+ padding-left : 7px ; /* leave some room for connector endpoints */
501+ }
502+
503+ div . stackHeader {
504+ margin-bottom : 10px ;
505+ text-align : right;
506+ color : # 888888;
507+ }
508+
509+ div . heapHeader {
510+ margin-bottom : 10px ;
511+ text-align : left;
512+ color : # 888888;
513+ }
514+
You can’t perform that action at this time.
0 commit comments