From 164d6093632302cc3dd7e97c840ffba2d723d17c Mon Sep 17 00:00:00 2001 From: Aysam Guerler Date: Mon, 20 Jan 2014 10:28:59 -0500 Subject: [PATCH] Scratchbook: Make UI buttons smaller --- .../plugins/visualizations/charts/static/charts/bardiagram.js | 3 +-- static/style/blue/base.css | 2 +- static/style/src/less/base.less | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/plugins/visualizations/charts/static/charts/bardiagram.js b/config/plugins/visualizations/charts/static/charts/bardiagram.js index 9c3dd545d99..06dbd7eeeea 100644 --- a/config/plugins/visualizations/charts/static/charts/bardiagram.js +++ b/config/plugins/visualizations/charts/static/charts/bardiagram.js @@ -1,5 +1,5 @@ // dependencies -define(['library/utils'], function(Utils) { +define([], function() { // widget return Backbone.View.extend( @@ -8,7 +8,6 @@ return Backbone.View.extend( initialize: function(app, options) { this.app = app; this.options = options; - this.chart = options.chart; }, // render diff --git a/static/style/blue/base.css b/static/style/blue/base.css index 66cf83b16e6..15989e42b7e 100644 --- a/static/style/blue/base.css +++ b/static/style/blue/base.css @@ -1368,7 +1368,7 @@ div.unified-panel-body{position:absolute;top:30px;bottom:0;width:100%} #masthead li.dropdown>a:hover .caret{border-top-color:gold;border-bottom-color:gold} #masthead .navbar-brand{position:absolute;left:0;top:0;font-family:verdana;font-weight:bold;font-size:20px;line-height:1;color:white;padding:5px 20px 12px;margin-left:-15px;z-index:2000}#masthead .navbar-brand img{display:inline;width:26px;vertical-align:top} #masthead .navbar-brand a{color:white;text-decoration:none} -#masthead .iconbar{position:absolute;top:5px;right:110px;cursor:pointer;color:#999;overflow:hidden}#masthead .iconbar .symbol{float:left;margin:0px 10px;height:26px} +#masthead .iconbar{position:absolute;top:7px;right:110px;cursor:pointer;color:#999;overflow:hidden}#masthead .iconbar .symbol{float:left;margin:0px 10px;height:26px;font-size:11px} #masthead .iconbar .symbol .number{font-weight:bold;font-size:10px;font-family:"Lucida Grande",verdana,arial,helvetica,sans-serif;position:relative;left:23px;top:-12px} #masthead .iconbar .toggle{color:gold} .quota-meter-container{position:absolute;top:0;right:0;height:32px} diff --git a/static/style/src/less/base.less b/static/style/src/less/base.less index 5bf71cf9bf3..1cc8ec30166 100644 --- a/static/style/src/less/base.less +++ b/static/style/src/less/base.less @@ -423,7 +423,7 @@ div.unified-panel-body { .iconbar { position : absolute; - top : 5px; + top : 7px; right : 110px; cursor : pointer; color : @gray-light; @@ -434,6 +434,7 @@ div.unified-panel-body { float : left; margin : 0px 10px; height : 26px; + font-size : 11px; } .symbol .number