From 7913da693096c83bd29faf2278e7397b70c46f4c Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 27 Oct 2015 11:07:06 -0700 Subject: [PATCH] 'proto0' --- notebook/static/notebook/less/cell.less | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/notebook/static/notebook/less/cell.less b/notebook/static/notebook/less/cell.less index 98b738ff1..ce31bd75a 100644 --- a/notebook/static/notebook/less/cell.less +++ b/notebook/static/notebook/less/cell.less @@ -1,3 +1,10 @@ +._marked_style(@n) { + + border-left-color: @marked_border_color; + border-left-width: @n; + padding-left: 6px-@n; +} + div.cell { border: 1px solid transparent; .vbox(); @@ -21,6 +28,15 @@ div.cell { @media print { border-color: transparent; } + + ._marked_style(3px); + + &.marked { + ._marked_style(4px); + } + + + } @@ -34,9 +50,7 @@ div.cell { } &.marked { - border-left-color: @marked_border_color; - border-left-width: 3px; - padding-left: 3px; + ._marked_style(4px); } width: 100%;