From 30ad0ad111ef58dcbad2c7a5e1886279aab04d2c Mon Sep 17 00:00:00 2001 From: Sol Villar Date: Thu, 5 Mar 2015 01:14:49 -0300 Subject: [PATCH] [#427] Fixed columns, buttons and general styles. --- css-site/style.css | 5 +++++ css/slickgrid.css | 2 +- demos/index.html | 20 ++++++++++---------- download.markdown | 24 ++++++++++++------------ src/view.multiview.js | 8 ++++---- src/view.slickgrid.js | 4 ++-- src/widget.pager.js | 2 +- src/widget.queryeditor.js | 2 +- 8 files changed, 36 insertions(+), 31 deletions(-) diff --git a/css-site/style.css b/css-site/style.css index a0c2948c..d69424f3 100644 --- a/css-site/style.css +++ b/css-site/style.css @@ -120,6 +120,11 @@ a:hover { margin-right: 1px; } +a.btn, +button.btn { + white-space: normal !important; +} + body { padding-top: 60px; } diff --git a/css/slickgrid.css b/css/slickgrid.css index 5d1835a3..e1949193 100644 --- a/css/slickgrid.css +++ b/css/slickgrid.css @@ -169,7 +169,7 @@ classes should alter those! font-size: 12px; padding: 2px; width: 22px; - height: 14px; + height: 16px; line-height: 13px; } diff --git a/demos/index.html b/demos/index.html index 16ffa9f2..6c82024e 100644 --- a/demos/index.html +++ b/demos/index.html @@ -11,7 +11,7 @@ root: ../
-
+ - @@ -28,7 +28,7 @@ root: ../
-
+

Data Explorer

The Data Explorer is a full @@ -37,7 +37,7 @@ root: ../ was originally developed to build.

-
+
@@ -45,7 +45,7 @@ root: ../
-
+

Timeliner

Create timelines quickly and easily using the source code)

-
+
@@ -61,7 +61,7 @@ root: ../
-
+

Crime Maps

See Recline's geo filter and map view capabilities put to good use @@ -69,7 +69,7 @@ root: ../ Data Explorer pre-configured to show thefts near 9th and Mission.

-
+
@@ -77,7 +77,7 @@ root: ../
-
+

Search Demo

See how easy it is to build a responsive AJAX-based search interface @@ -85,7 +85,7 @@ root: ../ to easily customize the display of results.

-
+
diff --git a/download.markdown b/download.markdown index 672f2ea4..049e2e6d 100644 --- a/download.markdown +++ b/download.markdown @@ -12,22 +12,22 @@ title: Download

Latest Code - Master

The tutorials on this website will usually be based on the latest (master) codebase. It should also be very stable.

-
- + -
- + -
- +
+ Full package (master) »
Everything - library, source code, unit tests, vendor libraries and documentation @@ -37,22 +37,22 @@ title: Download

Most Recent Official Release – v0.5

-
- + -
- + -
- + \ ', events: { - 'click .menu-right a': '_onMenuClick', - 'click .navigation a': '_onSwitchView' + 'click .menu-right button': '_onMenuClick', + 'click .navigation button': '_onSwitchView' }, initialize: function(options) { diff --git a/src/view.slickgrid.js b/src/view.slickgrid.js index 0b35ab32..5e86b4bf 100644 --- a/src/view.slickgrid.js +++ b/src/view.slickgrid.js @@ -47,7 +47,7 @@ my.SlickGrid = Backbone.View.extend({ // Template for row delete menu , change it if you don't love this.templates = { - "deleterow" : 'X' + "deleterow" : '' }; _.bindAll(this, 'render', 'onRecordChanged'); @@ -437,7 +437,7 @@ my.SlickGrid = Backbone.View.extend({ my.GridControl= Backbone.View.extend({ className: "recline-row-add", // Template for row edit menu , change it if you don't love - template: '

Add row

', + template: '

', initialize: function(options){ var self = this; diff --git a/src/widget.pager.js b/src/widget.pager.js index e5d81283..8f11973e 100644 --- a/src/widget.pager.js +++ b/src/widget.pager.js @@ -10,7 +10,7 @@ my.Pager = Backbone.View.extend({ className: 'recline-pager', template: ' \ \ - \ + \ \ ',