diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2014-08-19 16:23:04 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2014-08-29 08:54:15 +0000 |
commit | 63735b6f70d41c642f3d043bbba88093e6c2fba7 (patch) | |
tree | 43bc4308ef1edc6a4f1ebdb865be8629d2308126 /WebContent | |
parent | 1de6a75497bae315dfcb70c272225a6d3ea0af19 (diff) | |
download | vaadin-framework-63735b6f70d41c642f3d043bbba88093e6c2fba7.tar.gz vaadin-framework-63735b6f70d41c642f3d043bbba88093e6c2fba7.zip |
Initial client-side editor row implementation (#13334)
Only shows a bare grey row for now. Enter opens editor for
active row, Esc hides editor.
TODO
* Double-click to edit does not work
* Scrolling to edit hidden row does not work
* EditorRowHandler to bind data+widgets
* Server-side integration
* Commit/discard buttons
Change-Id: I0ae678b086493b0e46ab7c1db99eb92049318d6f
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/base/grid/grid.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 88c7754a10..de38b8c1ff 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -35,4 +35,16 @@ .#{$primaryStyleName}-row-selected > td { background: lightblue; } + + .#{$primaryStyleName}-editor-row { + + position: absolute; + background: #EEE; + box-shadow: 0 0 5px; + + & > div { + position: absolute; + border: 1px solid #CCC; + } + } } |