diff --git a/css/data-explorer.css b/css/data-explorer.css index ea5ba775..7f410fe8 100644 --- a/css/data-explorer.css +++ b/css/data-explorer.css @@ -20,29 +20,31 @@ .header .recline-query-editor { float: right; - margin: 4px; + height: 30px; } -.header .recline-query-editor label { - float: none; +.header .recline-query-editor .input-prepend { + margin-bottom: auto; } -.header .recline-query-editor label { - float: none; -} - -.header .recline-query-editor input.text-query { +.header .recline-query-editor .text-query input { float: left; - margin-top: 1px; margin-right: 5px; } .header .recline-query-editor .pagination input { width: 30px; + height: 18px; + padding: 2px 4px; + margin-top: -4px; } .header .recline-query-editor .pagination a { - line-height: 28px; + line-height: 26px; +} + +.header .recline-query-editor form .btn { + vertical-align: top; } .data-view-container { @@ -50,96 +52,15 @@ 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 */ -.active .btn { - cursor: default; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - filter: alpha(opacity=65); - -khtml-opacity: 0.65; - -moz-opacity: 0.65; - opacity: 0.65; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - - /********************************************************** * Notifications *********************************************************/ -.notification-container { - width: 400px; - left: 520px; - display: none; - position: fixed; - top: 0; - z-index: 100; - text-align: center; -} - -.notification { - display: inline-block; - margin: 0 auto; - padding: 5px 8px 4px; - font-size: 1.3em; - text-align: left; - font-weight: bold; - background: #fe8; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; -} - -.notification-action { - padding-left: 10px; -} - .notification-loader { - padding: 0 3px 0 0; - opacity: 0.3; + width: 18px; + margin-left: 5px; + background: url(images/small-spinner.gif) no-repeat; + display: inline-block; } @@ -155,11 +76,13 @@ .data-table { border: 1px solid #ccc; font-size: 12px; + width: 100%; } .data-table td, .data-table th { border-left: 1px solid #ccc; padding: 3px 4px; + text-align: left; } .data-table tr td:first-child, .data-table tr th:first-child { diff --git a/demo/images/small-spinner.gif b/css/images/small-spinner.gif similarity index 100% rename from demo/images/small-spinner.gif rename to css/images/small-spinner.gif diff --git a/demo/built.html b/demo/built.html new file mode 100644 index 00000000..1e8aa11b --- /dev/null +++ b/demo/built.html @@ -0,0 +1,56 @@ + + + + + Recline Data Explorer Demo + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ + + diff --git a/demo/index.html b/demo/index.html index 328f01be..84fed08f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -10,31 +10,49 @@ - + + - - + + + - + - + + + + + + + + + + + + + + + + -
-
+