From b183e7068830a4cd87a1775433ba4b77d9a688b1 Mon Sep 17 00:00:00 2001 From: Rufus Pollock Date: Sat, 7 Jan 2012 03:17:52 +0000 Subject: [PATCH] [#22,bugfix][xs]: edit button for cells had gone missing. --- css/data-explorer.css | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/css/data-explorer.css b/css/data-explorer.css index ba97ca75..e2348e38 100644 --- a/css/data-explorer.css +++ b/css/data-explorer.css @@ -132,20 +132,6 @@ width: 20px; } -/********* read-only mode **********/ - -.read-only .data-table tr td:first-child, -.read-only .data-table tr th:first-child -{ - display: none; -} - -.read-only .column-header-menu, -.read-only .row-header-menu -{ - display: none; -} - /********************************************************** * Data Table Menus *********************************************************/ @@ -228,6 +214,10 @@ a.data-table-cell-edit:hover { background-position: -25px 0px; } +.data-table td:hover .data-table-cell-edit { + visibility: visible; +} + div.data-table-cell-content-numeric > a.data-table-cell-edit { left: 0px; right: auto; @@ -502,3 +492,21 @@ td.expression-preview-value { color: #666; } + +/********************************************************** + * Read-only mode + *********************************************************/ + +.read-only .data-table tr td:first-child, +.read-only .data-table tr th:first-child +{ + display: none; +} + +.read-only .column-header-menu, +.read-only .row-header-menu, +.read-only a.data-table-cell-edit +{ + display: none; +} +