couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject [1/9] fauxton commit: updated refs/heads/master to 9284dcd
Date Mon, 01 Feb 2016 16:20:47 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 7fa70fd60 -> 9284dcd99


Font icon updates

This completely removes hardcoded references to the font chars,
now available in Less variables.


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

Branch: refs/heads/master
Commit: 9284dcd999925943a25de0a34cabf0f27d4dc639
Parents: b83550c
Author: Ben Keen <ben.keen@gmail.com>
Authored: Fri Jan 29 16:40:49 2016 -0800
Committer: Ben Keen <ben.keen@gmail.com>
Committed: Mon Feb 1 08:19:23 2016 -0800

----------------------------------------------------------------------
 assets/less/formstyles.less | 7 +++++--
 assets/less/trays.less      | 8 +++++---
 2 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/9284dcd9/assets/less/formstyles.less
----------------------------------------------------------------------
diff --git a/assets/less/formstyles.less b/assets/less/formstyles.less
index cfadc56..4db0f85 100644
--- a/assets/less/formstyles.less
+++ b/assets/less/formstyles.less
@@ -11,6 +11,7 @@
 //  the License.
 
 @import "variables.less";
+@import "icons.less";
 
 input[type=text],
 input[type=password] {
@@ -186,9 +187,11 @@ form.view-query-update, form.view-query-save {
     border: none;
   }
 
+  input[type=checkbox]:checked + label {
+    .fonticon-ok;
+  }
   input[type=checkbox]:checked + label:before {
-    font-family: "fauxtonicon";
-    content: "\f13e";
+    font-family: @fauxtonFont;
     font-size: 12px;
     background-color: inherit;
     border: 2px solid #7C8085;

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/9284dcd9/assets/less/trays.less
----------------------------------------------------------------------
diff --git a/assets/less/trays.less b/assets/less/trays.less
index d9da2be..5f17020 100644
--- a/assets/less/trays.less
+++ b/assets/less/trays.less
@@ -11,6 +11,8 @@
 //  the License.
 
 @import "bootstrap/mixins.less";
+@import "icons.less";
+
 
 .hide-tray {
   display: none;
@@ -96,8 +98,8 @@
 }
 
 .lookahead-tray-link:after {
-  content: "\f144";
-  font-family: "fauxtonicon";
+  content: @icon-play;
+  font-family: @fauxtonFont;
   font-style: normal;
   font-weight: normal;
   font-variant: normal;
@@ -112,7 +114,7 @@
   color: #777;
   margin: 8px;
   display: inline-block;
-  position:absolute;
+  position: absolute;
   .rotate(90deg);
 }
 


Mime
View raw message