add border to rendered markdown with cell toolbar

matches unrendered markdown and code cells
This commit is contained in:
Min RK 2015-01-20 12:38:01 -08:00
parent b01bd7b626
commit 784f07346d
2 changed files with 12 additions and 3 deletions

View File

@ -31,12 +31,17 @@
} }
.ctb_global_show .ctb_show + .input_area, .ctb_global_show .ctb_show + .input_area,
.ctb_global_show .ctb_show + div.text_cell_input .ctb_global_show .ctb_show + div.text_cell_input,
{ .ctb_global_show .ctb_show ~ div.text_cell_render {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
} }
.ctb_global_show .ctb_show ~ div.text_cell_render {
// add border to rendered markdown cells
border: @border_width solid @light_border_color;
}
.celltoolbar { .celltoolbar {
font-size: 87%; font-size: 87%;
padding-top: 3px; padding-top: 3px;

View File

@ -10157,10 +10157,14 @@ p {
display: block; display: block;
} }
.ctb_global_show .ctb_show + .input_area, .ctb_global_show .ctb_show + .input_area,
.ctb_global_show .ctb_show + div.text_cell_input { .ctb_global_show .ctb_show + div.text_cell_input,
.ctb_global_show .ctb_show ~ div.text_cell_render {
border-top-right-radius: 0px; border-top-right-radius: 0px;
border-top-left-radius: 0px; border-top-left-radius: 0px;
} }
.ctb_global_show .ctb_show ~ div.text_cell_render {
border: 1px solid #cfcfcf;
}
.celltoolbar { .celltoolbar {
font-size: 87%; font-size: 87%;
padding-top: 3px; padding-top: 3px;