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