You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/09/14 21:08:05 UTC

docs commit: Added back in the blue stripe identifying official plugins from cordova-registry-web

Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 8bdeeec14 -> 1cf05bdfd


Added back in the blue stripe identifying official plugins from cordova-registry-web


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/1cf05bdf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/1cf05bdf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/1cf05bdf

Branch: refs/heads/cordova-website
Commit: 1cf05bdfd915e3ebc24b76fb29e1538f67d14183
Parents: 8bdeeec
Author: riknoll <ri...@microsoft.com>
Authored: Mon Sep 14 11:20:00 2015 -0700
Committer: riknoll <ri...@microsoft.com>
Committed: Mon Sep 14 11:20:00 2015 -0700

----------------------------------------------------------------------
 www/static/css-src/_plugins.scss | 7 +++++++
 www/static/plugins/plugin.jsx    | 8 +++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1cf05bdf/www/static/css-src/_plugins.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_plugins.scss b/www/static/css-src/_plugins.scss
index 5846b92..1ed59db 100644
--- a/www/static/css-src/_plugins.scss
+++ b/www/static/css-src/_plugins.scss
@@ -142,6 +142,13 @@
 	cursor:pointer;
 }
 
+.plugins-featured {
+  -webkit-box-shadow: inset 3px 0 0 0 $brand-primary;
+  -moz-box-shadow: inset 3px 0 0 0 $brand-primary;
+  box-shadow: inset 3px 0 0 0 $brand-primary;
+  border-left-width: 0px;
+}
+
 .plugin-search-credit {
 	margin-left: 0px;
 	margin-bottom: 5px;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1cf05bdf/www/static/plugins/plugin.jsx
----------------------------------------------------------------------
diff --git a/www/static/plugins/plugin.jsx b/www/static/plugins/plugin.jsx
index 2f3e457..4c8a183 100755
--- a/www/static/plugins/plugin.jsx
+++ b/www/static/plugins/plugin.jsx
@@ -56,8 +56,14 @@ var Plugin = React.createClass({
             );
         }
 
+        var classes = classNames({
+            'container': true,
+            'plugin-results-result': true,
+            'plugins-featured': this.props.plugin.isOfficial
+        });
+
         return (
-            <div className="container plugin-results-result">
+            <div className={classes}>
                 <div className="row">
                     <div className="col-sm-8 col-xs-8">
                         <span>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org