From 81962c831bcd0c9ade170a6a94a905bfc3a23180 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Tue, 12 Feb 2013 16:25:39 -0700 Subject: [PATCH] Started on row editor, removed lots of 's for nice speed increase --- common/css/main.css | 20 ++++++++++++++++---- index.html | 3 ++- js/controllers.js | 32 ++++++++++++++++++++++++++------ js/directives.js | 15 ++------------- js/services.js | 2 ++ panels/histogram/module.js | 22 +++++++++++----------- panels/map/module.js | 14 ++++++-------- panels/pie/module.js | 15 +++++++-------- panels/sort/module.js | 1 - panels/table/module.js | 9 ++------- panels/timepicker/module.js | 8 ++++---- partials/dashboard.html | 7 ++++--- partials/roweditor.html | 23 +++++++++++++++++++++++ 13 files changed, 105 insertions(+), 66 deletions(-) create mode 100644 partials/roweditor.html diff --git a/common/css/main.css b/common/css/main.css index 0278db77224..d2d0e3c8ac9 100644 --- a/common/css/main.css +++ b/common/css/main.css @@ -20,20 +20,32 @@ z-index: 2000; } -span.editlink { +.panel i.editlink { position: absolute; right: 5px; z-index: 800; display: none; } -.panel:hover span.editlink { +.panel:hover i.editlink { display: block; opacity: 0.3; } -.panel span.editlink:hover { - display: block; +.panel i.editlink:hover { + opacity: 1; +} + +.row-header i.editlink { + display: none; +} + +.row-header:hover i.editlink { + display: inline-block; + opacity: 0.3; +} + +.row-header i.editlink:hover { opacity: 1; } diff --git a/index.html b/index.html index a130b322b5b..81f246d0635 100644 --- a/index.html +++ b/index.html @@ -32,10 +32,11 @@