couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [05/15] fauxton commit: updated refs/heads/doc-design to 170fccf
Date Fri, 21 Nov 2014 10:57:11 GMT
easier customization


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f39e053d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f39e053d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f39e053d

Branch: refs/heads/doc-design
Commit: f39e053def0ee1544135452cf38efe3ddbc7b10e
Parents: 79f3e27
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Thu Nov 13 18:03:15 2014 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Fri Nov 21 11:49:06 2014 +0100

----------------------------------------------------------------------
 app/addons/documents/assets/less/documents.less   | 14 +++++++-------
 app/addons/documents/templates/all_docs_item.html |  2 +-
 assets/less/prettyprint.less                      |  2 +-
 assets/less/variables.less                        |  7 +++++++
 4 files changed, 16 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f39e053d/app/addons/documents/assets/less/documents.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/documents.less b/app/addons/documents/assets/less/documents.less
index e433bdb..6404a0a 100644
--- a/app/addons/documents/assets/less/documents.less
+++ b/app/addons/documents/assets/less/documents.less
@@ -174,18 +174,18 @@ button.string-edit[disabled] {
         font-weight: bold;
         position: relative;
         padding: 20px;
-        background-color: #3a3a3a;
-        border-bottom: 1px solid #2a2a2a;
-        border-left: 1px solid #000;
-        border-right: 1px solid #000;
-        border-top: 1px solid #000;
+        background-color: @docHeaderBG;
+        border-bottom: 1px solid @docHeaderBorderBottom;
+        border-left: 1px solid @docHeaderOtherBorders;
+        border-right: 1px solid @docHeaderOtherBorders;
+        border-top: 1px solid @docHeaderOtherBorders;
         .header-doc-id {
-          color: #e33f3b;
+          color: @docHeaderDocId;
           margin-left: 10px;
         }
         .header-keylabel,
         .fonticon-pencil {
-          color: #909090;
+          color: @docHeaderLabels;
         }
       }
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f39e053d/app/addons/documents/templates/all_docs_item.html
----------------------------------------------------------------------
diff --git a/app/addons/documents/templates/all_docs_item.html b/app/addons/documents/templates/all_docs_item.html
index 37b9a76..93033be 100644
--- a/app/addons/documents/templates/all_docs_item.html
+++ b/app/addons/documents/templates/all_docs_item.html
@@ -16,7 +16,7 @@ the License.
 <div class="doc-item">
 
   <header>
-    <span class="header-keylabel"><%- doc.isEditable() ? 'id' : 'key' %></span>
<span class="header-doc-id">"<%- docId %>"</span>
+    <span class="header-keylabel"><%- doc.isEditable() ? 'id' : 'key' %></span>
<span class="header-doc-id">"<%- doc.isEditable() ? docId : doc.get('key') %>"</span>
 
   <% if (doc.isEditable()) { %>
     <div class="pull-right">

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f39e053d/assets/less/prettyprint.less
----------------------------------------------------------------------
diff --git a/assets/less/prettyprint.less b/assets/less/prettyprint.less
index df0d981..0cc316b 100644
--- a/assets/less/prettyprint.less
+++ b/assets/less/prettyprint.less
@@ -12,7 +12,7 @@
  */
 
 pre.prettyprint {
-  background: #4d4d4d;
+  background: @defaultText;
   border: none;
   font-size: 83%;
   line-height: 1.4;

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f39e053d/assets/less/variables.less
----------------------------------------------------------------------
diff --git a/assets/less/variables.less b/assets/less/variables.less
index c062345..87827c9 100644
--- a/assets/less/variables.less
+++ b/assets/less/variables.less
@@ -63,6 +63,13 @@
 @breadcrumbArrow: #999999;
 @breadcrumbBorder: @brandPrimary;
 
+/* document-header in list */
+@docHeaderBG: #3a3a3a;
+@docHeaderBorderBottom: #2a2a2a;
+@docHeaderOtherBorders: #000;
+@docHeaderLabels: #909090;
+@docHeaderDocId: @red;
+
 /* sidebar */
 @sidebarBG: #F2F2F2;
 @sidebarWidth: 330px;


Mime
View raw message