couchdb-commits mailing list archives

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


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

Branch: refs/heads/doc-design
Commit: 79f3e277d48429a10f0552b67286c3607cffc2bd
Parents: 1e0c6c1
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Thu Nov 13 17:45:50 2014 +0100
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Fri Nov 21 11:49:06 2014 +0100

----------------------------------------------------------------------
 app/addons/documents/assets/less/documents.less | 22 ++++++++++++--------
 .../documents/templates/all_docs_item.html      |  9 ++++----
 assets/less/prettyprint.less                    |  8 +++----
 3 files changed, 22 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/79f3e277/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 5ad8189..e433bdb 100644
--- a/app/addons/documents/assets/less/documents.less
+++ b/app/addons/documents/assets/less/documents.less
@@ -149,8 +149,8 @@ button.string-edit[disabled] {
   }
 }
 
-#doc-list{
-  padding-top: 30px;
+#doc-list {
+  padding: 30px 12px 0 12px;
   .all-docs-item {
     .show-select {
       .select {
@@ -169,20 +169,24 @@ button.string-edit[disabled] {
       width: 100%;
       vertical-align: top;
       position: relative;
-      .border-radius(5px 5px 5px 5px);
       .box-shadow(3px 4px 0 rgba(0, 0, 0, 0.3));
-      border: 1px solid #000;
       header {
         font-weight: bold;
         position: relative;
         padding: 20px;
-        background-color: #777;
-        color: #3a2c2b;
-        border-bottom: 1px solid #000;
-        .header-id-number {
-          color: #fff;
+        background-color: #3a3a3a;
+        border-bottom: 1px solid #2a2a2a;
+        border-left: 1px solid #000;
+        border-right: 1px solid #000;
+        border-top: 1px solid #000;
+        .header-doc-id {
+          color: #e33f3b;
           margin-left: 10px;
         }
+        .header-keylabel,
+        .fonticon-pencil {
+          color: #909090;
+        }
       }
 
     }

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/79f3e277/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 83a78a7..37b9a76 100644
--- a/app/addons/documents/templates/all_docs_item.html
+++ b/app/addons/documents/templates/all_docs_item.html
@@ -16,12 +16,13 @@ the License.
 <div class="doc-item">
 
   <header>
-    _id <span class="header-id-number">"<%- docId %>"</span>
+    <span class="header-keylabel"><%- doc.isEditable() ? 'id' : 'key' %></span>
<span class="header-doc-id">"<%- docId %>"</span>
 
   <% if (doc.isEditable()) { %>
-    <div class="btn-group">
-      <a href="#<%- doc.url('web-index') %>" class="btn btn-small edits">Edit
<%- doc.docType() %></a>
-      <button href="#" class="btn btn-small btn-danger delete" title="Delete this document."><i
class="icon icon-trash"></i></button>
+    <div class="pull-right">
+      <a href="#<%- doc.url('web-index') %>">
+        <i class="fonticon-pencil"></i>
+      </a>
     </div>
   <% } %>
   </header>

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/79f3e277/assets/less/prettyprint.less
----------------------------------------------------------------------
diff --git a/assets/less/prettyprint.less b/assets/less/prettyprint.less
index 4367b32..df0d981 100644
--- a/assets/less/prettyprint.less
+++ b/assets/less/prettyprint.less
@@ -12,7 +12,7 @@
  */
 
 pre.prettyprint {
-  background: #E5E0DD;
+  background: #4d4d4d;
   border: none;
   font-size: 83%;
   line-height: 1.4;
@@ -20,14 +20,14 @@ pre.prettyprint {
   padding: 16px;
 }
 .prettyprint {
-  .pln, .pun,  .typ {
+  .pln, .pun, .typ {
     color: #333;
   }
   .kwd {
-    color: #ff8300;
+    color: #dddddd;
   }
   .str, .lit {
-    color: @red;
+    color: #fff;
   }
   .com {
     color: #666;


Mime
View raw message