Merge branch 'master' into gh-pages
This commit is contained in:
30
css/bootstrap.css
vendored
30
css/bootstrap.css
vendored
@@ -7,3 +7,33 @@ body {
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* direct borrowing from twitter buttons */
|
||||||
|
.data-table th,
|
||||||
|
.transform-column-view .expression-preview-table-wrapper th
|
||||||
|
{
|
||||||
|
background-color: #e6e6e6;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
|
||||||
|
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
|
||||||
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
||||||
|
color: #333;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-bottom-color: #bbb;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
-moz-border-radius: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
-webkit-transition: 0.1s linear all;
|
||||||
|
-moz-transition: 0.1s linear all;
|
||||||
|
-ms-transition: 0.1s linear all;
|
||||||
|
-o-transition: 0.1s linear all;
|
||||||
|
transition: 0.1s linear all;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
.data-explorer .header .navigation {
|
.data-explorer .header .navigation {
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .pagination {
|
.header .pagination {
|
||||||
@@ -34,6 +35,47 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* bootstrap btn */
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
background-color: #e6e6e6;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
|
||||||
|
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
|
||||||
|
padding: 5px 14px 6px;
|
||||||
|
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
||||||
|
color: #333;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: normal;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-bottom-color: #bbb;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
-moz-border-radius: 4px;
|
||||||
|
border-radius: 4px;
|
||||||
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||||
|
-webkit-transition: 0.1s linear all;
|
||||||
|
-moz-transition: 0.1s linear all;
|
||||||
|
-ms-transition: 0.1s linear all;
|
||||||
|
-o-transition: 0.1s linear all;
|
||||||
|
transition: 0.1s linear all;
|
||||||
|
}
|
||||||
|
.btn:hover {
|
||||||
|
background-position: 0 -15px;
|
||||||
|
color: #333;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.btn:focus {
|
||||||
|
outline: 1px dotted #666;
|
||||||
|
}
|
||||||
|
|
||||||
/* twitter btn.disabled but for button link that is active. used in navigation */
|
/* twitter btn.disabled but for button link that is active. used in navigation */
|
||||||
.active .btn {
|
.active .btn {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
@@ -90,36 +132,6 @@
|
|||||||
* Data Table
|
* Data Table
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
|
|
||||||
/* direct borrowing from twitter buttons */
|
|
||||||
.data-table th,
|
|
||||||
.transform-column-view .expression-preview-table-wrapper th
|
|
||||||
{
|
|
||||||
background-color: #e6e6e6;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
|
|
||||||
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
|
||||||
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
|
|
||||||
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
|
||||||
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
|
||||||
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
|
||||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
|
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
||||||
color: #333;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
border-bottom-color: #bbb;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-webkit-transition: 0.1s linear all;
|
|
||||||
-moz-transition: 0.1s linear all;
|
|
||||||
-ms-transition: 0.1s linear all;
|
|
||||||
-o-transition: 0.1s linear all;
|
|
||||||
transition: 0.1s linear all;
|
|
||||||
}
|
|
||||||
|
|
||||||
.data-table {
|
.data-table {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
@@ -76,11 +76,11 @@ my.DataExplorer = Backbone.View.extend({
|
|||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
var self = this;
|
var self = this;
|
||||||
this.el = $(this.el);
|
this.el = $(this.el);
|
||||||
this.config = options.config || {};
|
this.config = _.extend({
|
||||||
_.extend(this.config, {
|
|
||||||
displayCount: 10
|
displayCount: 10
|
||||||
, readOnly: false
|
, readOnly: false
|
||||||
});
|
},
|
||||||
|
options.config);
|
||||||
if (this.config.readOnly) {
|
if (this.config.readOnly) {
|
||||||
this.setReadOnly();
|
this.setReadOnly();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user