You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/01/13 10:58:04 UTC
[7/8] git commit: updated refs/heads/master to 4b69ff3
Fix css files for addon mode
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/861f2024
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/861f2024
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/861f2024
Branch: refs/heads/master
Commit: 861f20249a4358dd5acbd8a44f5096f0b47bddf2
Parents: 3465b04
Author: suelockwood <de...@apache.org>
Authored: Mon Jan 6 10:44:19 2014 -0500
Committer: Garren Smith <ga...@gmail.com>
Committed: Mon Jan 13 11:19:11 2014 +0200
----------------------------------------------------------------------
.../app/addons/config/assets/less/config.less | 3 ---
.../addons/documents/assets/less/documents.less | 11 +++++++++++
src/fauxton/app/addons/fauxton/base.js | 19 +++++++++----------
src/fauxton/assets/less/fauxton.less | 6 +-----
4 files changed, 21 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/861f2024/src/fauxton/app/addons/config/assets/less/config.less
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/config/assets/less/config.less b/src/fauxton/app/addons/config/assets/less/config.less
index 8495b69..737beb4 100644
--- a/src/fauxton/app/addons/config/assets/less/config.less
+++ b/src/fauxton/app/addons/config/assets/less/config.less
@@ -10,14 +10,11 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-
.config-item {
height: 41px;
.edit-button {
float: right;
- .btn;
- .btn-mini;
display:none;
}
http://git-wip-us.apache.org/repos/asf/couchdb/blob/861f2024/src/fauxton/app/addons/documents/assets/less/documents.less
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/assets/less/documents.less b/src/fauxton/app/addons/documents/assets/less/documents.less
new file mode 100644
index 0000000..ff9e88c
--- /dev/null
+++ b/src/fauxton/app/addons/documents/assets/less/documents.less
@@ -0,0 +1,11 @@
+/*ALL DOCS TABLE*/
+tr.all-docs-item{
+ border: none;
+ background: transparent;
+ .btn-group {
+ position: absolute;
+ right: 0;
+ top: 6px;
+ }
+}
+
http://git-wip-us.apache.org/repos/asf/couchdb/blob/861f2024/src/fauxton/app/addons/fauxton/base.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/fauxton/base.js b/src/fauxton/app/addons/fauxton/base.js
index aa4c3d4..1811e84 100644
--- a/src/fauxton/app/addons/fauxton/base.js
+++ b/src/fauxton/app/addons/fauxton/base.js
@@ -11,19 +11,18 @@
// the License.
define([
- "app",
- // Libs
- "backbone",
- "resizeColumns",
+ "app",
+ // Libs
+ "backbone",
+ "resizeColumns",
],
function(app, Backbone, resizeColumns) {
-
//resizeAnimation
app.resizeColumns = new resizeColumns({});
app.resizeColumns.onResizeHandler();
-
+
var Fauxton = {};
Fauxton.Breadcrumbs = Backbone.View.extend({
@@ -136,7 +135,7 @@ function(app, Backbone, resizeColumns) {
if(!$(e.target).is('a')){
toggleMenu();
}
- }
+ }
});
function toggleMenu(){
@@ -147,8 +146,8 @@ function(app, Backbone, resizeColumns) {
$('#primary-navbar').on("click", ".nav a", function(){
if (!($selectorList.hasClass('closeMenu'))){
- setTimeout(
- function(){
+ setTimeout(
+ function(){
$selectorList.addClass('closeMenu');
app.resizeColumns.onResizeHandler();
},3000);
@@ -266,6 +265,6 @@ function(app, Backbone, resizeColumns) {
}
});
-
+
return Fauxton;
});
http://git-wip-us.apache.org/repos/asf/couchdb/blob/861f2024/src/fauxton/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/src/fauxton/assets/less/fauxton.less b/src/fauxton/assets/less/fauxton.less
index d41780a..e1cfa06 100644
--- a/src/fauxton/assets/less/fauxton.less
+++ b/src/fauxton/assets/less/fauxton.less
@@ -911,11 +911,7 @@ pre.prettyprint {
color: #333333;
}
-/*ALL DOCS TABLE*/
-tr.all-docs-item{
- border: none;
- background: transparent;
-}
+
/*logs*/
#log-sidebar{