Show More
@@ -123,7 +123,7 b' define([' | |||
|
123 | 123 | CodeCell.prototype.create_element = function () { |
|
124 | 124 | Cell.prototype.create_element.apply(this, arguments); |
|
125 | 125 | |
|
126 |
var cell = $('<div></div>').addClass('cell |
|
|
126 | var cell = $('<div></div>').addClass('cell code_cell'); | |
|
127 | 127 | cell.attr('tabindex','2'); |
|
128 | 128 | |
|
129 | 129 | var input = $('<div></div>').addClass('input'); |
@@ -70,7 +70,7 b' define([' | |||
|
70 | 70 | TextCell.prototype.create_element = function () { |
|
71 | 71 | Cell.prototype.create_element.apply(this, arguments); |
|
72 | 72 | |
|
73 |
var cell = $("<div>").addClass('cell text_cell |
|
|
73 | var cell = $("<div>").addClass('cell text_cell'); | |
|
74 | 74 | cell.attr('tabindex','2'); |
|
75 | 75 | |
|
76 | 76 | var prompt = $('<div/>').addClass('prompt input_prompt'); |
@@ -2,19 +2,18 b' div.cell {' | |||
|
2 | 2 | border: 1px solid transparent; |
|
3 | 3 | .vbox(); |
|
4 | 4 | .corner-all(); |
|
5 | .border-box-sizing(); | |
|
5 | 6 | border-width: thin; |
|
6 | 7 | border-style: solid; |
|
7 | ||
|
8 | ||
|
8 | 9 | &.selected { |
|
9 | 10 | border-color: @border_color; |
|
10 | 11 | } |
|
11 | ||
|
12 | ||
|
12 | 13 | &.edit_mode { |
|
13 | 14 | border-color: green; |
|
14 | 15 | } |
|
15 | } | |
|
16 | 16 | |
|
17 | div.cell { | |
|
18 | 17 | width: 100%; |
|
19 | 18 | padding: 5px 5px 5px 0px; |
|
20 | 19 | /* This acts as a spacer between cells, that is outside the border */ |
General Comments 0
You need to be logged in to leave comments.
Login now