couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject fauxton commit: updated refs/heads/master to 8bf2066
Date Wed, 23 Jul 2014 14:50:41 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 81497990c -> 8bf2066a5


Breaking out Document addon less files


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

Branch: refs/heads/master
Commit: 8bf2066a53fe027ef8a1a88d16aab0ee2412638a
Parents: 8149799
Author: deathbearbrown <deathbearbrown@gmail.com>
Authored: Wed Jul 23 10:44:54 2014 -0400
Committer: deathbearbrown <deathbearbrown@gmail.com>
Committed: Wed Jul 23 10:44:54 2014 -0400

----------------------------------------------------------------------
 .../documents/assets/less/advancedOptions.less  |   1 +
 app/addons/documents/assets/less/changes.less   |  31 ++++
 app/addons/documents/assets/less/documents.less | 179 +------------------
 app/addons/documents/assets/less/sidenav.less   | 147 +++++++++++++++
 app/addons/documents/templates/search.html      |  15 --
 5 files changed, 184 insertions(+), 189 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8bf2066a/app/addons/documents/assets/less/advancedOptions.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/advancedOptions.less b/app/addons/documents/assets/less/advancedOptions.less
new file mode 100644
index 0000000..2e29d38
--- /dev/null
+++ b/app/addons/documents/assets/less/advancedOptions.less
@@ -0,0 +1 @@
+/*for advanced options css*/

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8bf2066a/app/addons/documents/assets/less/changes.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/changes.less b/app/addons/documents/assets/less/changes.less
new file mode 100644
index 0000000..43823cf
--- /dev/null
+++ b/app/addons/documents/assets/less/changes.less
@@ -0,0 +1,31 @@
+/** used in changes.html **/
+.change-box {
+  margin: 0 20px 20px 20px;
+}
+.searchbox-container {
+  position: fixed;
+  right: 15px;
+}
+
+.change-wrapper {
+  margin-top: 20px;
+  border-bottom: 1px solid #dddddd;
+  &:last-child {
+    border-bottom: none;
+  }
+  .row-fluid {
+    padding: 4px 0 4px 0;
+  }
+  .row-fluid:first {
+    padding: 0px 0 4px 0;
+  }
+  a:hover.js-copy {
+    text-decoration: none;
+  }
+  .js-json-container {
+    display: none;
+  }
+  .span2 {
+    font-weight: bold;
+  }
+}

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8bf2066a/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 17adf12..c466e53 100644
--- a/app/addons/documents/assets/less/documents.less
+++ b/app/addons/documents/assets/less/documents.less
@@ -14,6 +14,9 @@
 @import "../../../../../assets/less/variables.less";
 @import "../../../../../assets/less/bootstrap/variables.less";
 @import "../../../../../assets/less/bootstrap/mixins.less";
+@import "advancedOptions.less";
+@import "changes.less";
+@import "sidenav.less";
 
 tr.all-docs-item {
   border: none;
@@ -85,37 +88,6 @@ button.beautify {
     }
 }
 
-/** used in changes.html **/
-.change-box {
-  margin: 0 20px 20px 20px;
-}
-.searchbox-container {
-  position: fixed;
-  right: 15px;
-}
-
-.change-wrapper {
-  margin-top: 20px;
-  border-bottom: 1px solid #dddddd;
-  &:last-child {
-    border-bottom: none;
-  }
-  .row-fluid {
-    padding: 4px 0 4px 0;
-  }
-  .row-fluid:first {
-    padding: 0px 0 4px 0;
-  }
-  a:hover.js-copy {
-    text-decoration: none;
-  }
-  .js-json-container {
-    display: none;
-  }
-  .span2 {
-    font-weight: bold;
-  }
-}
 
 #map-function, #reduce-function{
     width: 100%;
@@ -163,151 +135,10 @@ button.beautify {
 }
 
 .nav-list{
-    border-top: none;
-  }
-
-.sidenav{
-  .nav-list > .active > a{
-    text-shadow: none;
-    background-color: rgba(0, 0, 0, 0.05);
-  }
-  .nav-list > .active > a:hover,
-  .nav-list > .active > a:focus{
-    color: white;
-  }
-  .nav-list > li > a:hover + div.add-dropdown .dropdown-toggle{
-    color: white;
-  }
-  .dropdown-toggle:hover {
-    color: @linkRed
-  }
-  li{
-    position: relative;
-    a{
-      text-shadow: none;
-    }
-  }
-  li.nav-header {
-    position: relative;
-    > .accordion-body{
-      &.in {
-        border-bottom: 1px solid #d3d7db;
-      }
-    }
-    .accordion-body{
-      color: #eee;
-      margin-left: 0;
-      li.active > a{
-        background-color: rgba(0, 0, 0, 0.055);
-      }
-      li a{
-        font-size: 14px;
-        background-color: rgba(0, 0, 0, 0.02);
-        &:hover {
-          color: #fff;
-          text-decoration: none;
-          background-color: @darkRed;
-        }
-      }
-    }
-    .fonticon-play{
-        color: @subListGray;
-        position: absolute;
-        display: block;
-        vertical-align: bottom;
-      }
-    .accordion-header:hover .fonticon-play {
-            color: white;
-     }
-    .fonticon-play{
-      .transition(all 0.25s linear); 
-    }
-    > .accordion-header{
-      position: relative;
-      display: block;
-      border-bottom: 1px solid #d3d7db;
-      .accordion-list-item:hover {
-        p, .fonticon-play{
-          color: white;
-        }
-        p{
-          background-color: @darkRed;
-        }
-      }
-      .accordion-list-item:hover + div.add-dropdown .dropdown-toggle{
-        color: white;
-      }
-      .accordion-list-item p{
-        .transition(all 0.25s linear); 
-      }
-      .accordion-list-item p{
-        margin: 0;
-        padding: 10px 13px 10px 36px;
-        color: @linkRed;
-      }
-      .fonticon-play{
-        font-size: 12px;
-        top: 12px;
-        left: 12px; 
-      }
-      &.down .fonticon-play {
-        .rotate(90deg);
-      }
-      .add-dropdown{
-        right: 15px;
-      }
-      .dropdown-toggle:hover{
-        color: @linkRed
-      }
-    }
-    > ul.accordion-body{
-      > li {
-        cursor: pointer;
-        a{
-          border-top: none;
-          &.accordion-header{
-            padding: 8px 5px 8px 36px;
-          }
-        }
-        .toggle-view{
-          padding: 4px 5px 4px 36px;
-        }
-        .fonticon-play{
-          font-size: 8px;
-          top: 11px;
-          left: 15px;
-        }
-        .fonticon:before{
-          margin-right: 6px;
-          font-size: 20px;
-          top: 3px;
-          position: relative;
-        }
-      }
-
-      li {
-        > a.down .fonticon-play {
-          .rotate(90deg);
-        }
-      }
-
-      li {
-        > a.down .fonticon-play {
-          .rotate(90deg);
-        }
-
-        &:hover {
-          .fonticon-play {
-            color: white;
-
-          }
-        }
+  border-top: none;
+}
 
-      }
 
-    }
-  }
-}
 
 
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8bf2066a/app/addons/documents/assets/less/sidenav.less
----------------------------------------------------------------------
diff --git a/app/addons/documents/assets/less/sidenav.less b/app/addons/documents/assets/less/sidenav.less
new file mode 100644
index 0000000..477af7a
--- /dev/null
+++ b/app/addons/documents/assets/less/sidenav.less
@@ -0,0 +1,147 @@
+
+.sidenav{
+  .nav-list > .active > a{
+    text-shadow: none;
+    background-color: rgba(0, 0, 0, 0.05);
+  }
+  .nav-list > .active > a:hover,
+  .nav-list > .active > a:focus{
+    color: white;
+  }
+  .nav-list > li > a:hover + div.add-dropdown .dropdown-toggle{
+    color: white;
+  }
+  .dropdown-toggle:hover {
+    color: @linkRed
+  }
+  li{
+    position: relative;
+    a{
+      text-shadow: none;
+    }
+  }
+  li.nav-header {
+    position: relative;
+    > .accordion-body{
+      &.in {
+        border-bottom: 1px solid #d3d7db;
+      }
+    }
+    .accordion-body{
+      color: #eee;
+      margin-left: 0;
+      li.active > a{
+        background-color: rgba(0, 0, 0, 0.055);
+      }
+      li a{
+        font-size: 14px;
+        background-color: rgba(0, 0, 0, 0.02);
+        &:hover {
+          color: #fff;
+          text-decoration: none;
+          background-color: @darkRed;
+        }
+      }
+    }
+    .fonticon-play{
+        color: @subListGray;
+        position: absolute;
+        display: block;
+        vertical-align: bottom;
+      }
+    .accordion-header:hover .fonticon-play {
+            color: white;
+     }
+    .fonticon-play{
+      .transition(all 0.25s linear);
+    }
+    > .accordion-header{
+      position: relative;
+      display: block;
+      border-bottom: 1px solid #d3d7db;
+      .accordion-list-item:hover {
+        p, .fonticon-play{
+          color: white;
+        }
+        p{
+          background-color: @darkRed;
+        }
+      }
+      .accordion-list-item:hover + div.add-dropdown .dropdown-toggle{
+        color: white;
+      }
+      .accordion-list-item p{
+        .transition(all 0.25s linear);
+      }
+      .accordion-list-item p{
+        margin: 0;
+        padding: 10px 13px 10px 36px;
+        color: @linkRed;
+      }
+      .fonticon-play{
+        font-size: 12px;
+        top: 12px;
+        left: 12px;
+      }
+      &.down .fonticon-play {
+        .rotate(90deg);
+      }
+      .add-dropdown{
+        right: 15px;
+      }
+      .dropdown-toggle:hover{
+        color: @linkRed
+      }
+    }
+    > ul.accordion-body{
+      > li {
+        cursor: pointer;
+        a{
+          border-top: none;
+          &.accordion-header{
+            padding: 8px 5px 8px 36px;
+          }
+        }
+        .toggle-view{
+          padding: 4px 5px 4px 36px;
+        }
+        .fonticon-play{
+          font-size: 8px;
+          top: 11px;
+          left: 15px;
+        }
+        .fonticon:before{
+          margin-right: 6px;
+          font-size: 20px;
+          top: 3px;
+          position: relative;
+        }
+      }
+
+      li {
+        > a.down .fonticon-play {
+          .rotate(90deg);
+        }
+      }
+
+      li {
+        > a.down .fonticon-play {
+          .rotate(90deg);
+        }
+
+        &:hover {
+          .fonticon-play {
+            color: white;
+
+          }
+        }
+
+      }
+
+    }
+  }
+}
+
+
+
+

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/8bf2066a/app/addons/documents/templates/search.html
----------------------------------------------------------------------
diff --git a/app/addons/documents/templates/search.html b/app/addons/documents/templates/search.html
deleted file mode 100644
index bb84891..0000000
--- a/app/addons/documents/templates/search.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!--
-Licensed under the Apache License, Version 2.0 (the "License"); you may not
-use this file except in compliance with the License. You may obtain a copy of
-the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-License for the specific language governing permissions and limitations under
-the License.
--->
-
-<input id="searchbox" type="text" class="span12" placeholder="Search by doc id, view key
or search index">
\ No newline at end of file


Mime
View raw message