Migrate Donate assets to solstice-assets
Change-Id: I6d3f6378b2ce1bd27de92628cb2af6069bb0a19c
Signed-off-by: Eric Poirier <eric@eclipse.org>
diff --git a/.gitignore b/.gitignore
index 096746c..5bbff15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-/node_modules/
\ No newline at end of file
+/node_modules/
+/bower_components/
diff --git a/assets/public/javascript/scripts.min.js b/assets/public/javascript/scripts.min.js
index 03788b7..faf4915 100644
--- a/assets/public/javascript/scripts.min.js
+++ b/assets/public/javascript/scripts.min.js
@@ -1 +1 @@
-!function(a,b,c){var d=function(a){$(".total-amount").val($(a).val()),$("#other-amount").val("")};a(c).ready(function(a){a(".btn-square").click(function(){a(".btn-square, .amount-body, .highlight-amount-body").removeClass("active"),a(this).addClass("active"),d(this)}),a("#other-amount, .total-amount").click(function(){a("#other-amount, .total-amount").bind("keyup change",function(b){a(".total-amount").html(a(this).val()),a("input[name=amount]").val(a(this).val()),a(".btn-square").removeClass("active")})}),a(".total-amount").click(function(){a(".total-amount").bind("keyup change",function(b){a("#other-amount").val("")})}),a("input[name=type]:radio").change(function(b){var c=a("input[name=type]:radio:checked").val();"paypal"===c?a("input[name=subscription]").attr("disabled",!1):(a("#subscription_default").prop("checked",!0),a("input[name=subscription]").attr("disabled",!0))}),a(".num-only").keydown(function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190])||65==b.keyCode&&(b.ctrlKey===!0||b.metaKey===!0)||b.keyCode>=35&&b.keyCode<=40||(b.shiftKey||b.keyCode<48||b.keyCode>57)&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()})})}(jQuery,window,document);
\ No newline at end of file
+!function(a,b,c){var d=function(a){$(".total-amount").val($(a).val()),$("#other-amount").val("")};a(c).ready(function(a){a(".btn-square").click(function(){a(".btn-square, .amount-body, .highlight-amount-body").removeClass("active"),a(this).addClass("active"),d(this)}),a("#other-amount, .total-amount").click(function(){a("#other-amount, .total-amount").bind("keyup change",function(b){a(".total-amount").html(a(this).val()),a("input[name=amount]").val(a(this).val()),a(".btn-square").removeClass("active")})}),a(".total-amount").click(function(){a(".total-amount").bind("keyup change",function(b){a("#other-amount").val("")})}),a("input[name=type]:radio").change(function(b){var c=a("input[name=type]:radio:checked").val();"paypal"===c?a("input[name=subscription]").attr("disabled",!1):(a("#subscription_default").prop("checked",!0),a("input[name=subscription]").attr("disabled",!0))}),a(".num-only").keydown(function(b){a.inArray(b.keyCode,[46,8,9,27,13,110,190])!==-1||65==b.keyCode&&(b.ctrlKey===!0||b.metaKey===!0)||b.keyCode>=35&&b.keyCode<=40||(b.shiftKey||b.keyCode<48||b.keyCode>57)&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()})})}(jQuery,window,document);
\ No newline at end of file
diff --git a/assets/public/stylesheets/credit.min.css b/assets/public/stylesheets/credit.min.css
index c0d5fee..26df405 100644
--- a/assets/public/stylesheets/credit.min.css
+++ b/assets/public/stylesheets/credit.min.css
@@ -1 +1 @@
-.container-credit .jumbotron{background-image:url(../../../images/header.jpg);background-size:cover;padding:50px 0 20px;margin-bottom:0}.container-credit .jumbotron .container{min-height:200px}.container-credit .jumbotron h1,.container-credit .jumbotron p{color:#fff}.container-credit .jumbotron h1{font-size:39px}.container-credit .jumbotron p{font-size:21px}.container-credit .jumbotron p a{color:#F7941E}.container-credit .accomplished,.container-credit .thankyou,.container-credit .friends{margin-bottom:40px}.container-credit .accomplished header,.container-credit .thankyou header,.container-credit .friends header{background-color:#2c2255;margin-bottom:40px}.container-credit .accomplished header h2,.container-credit .thankyou header h2,.container-credit .friends header h2{color:#fff;padding:40px 0;margin:0}.container-credit .accomplished header h2:before,.container-credit .thankyou header h2:before,.container-credit .friends header h2:before{content:" ";display:table;position:absolute;bottom:-10px;left:15px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #2c2255}.container-credit .accomplished img,.container-credit .thankyou img,.container-credit .friends img{margin:0 20px 20px 0}.container-credit .accomplished p{font-size:21px;position:relative;top:6px;color:#2C2255}.container-credit .thankyou header h2 sup,.container-credit .friends header h2 sup{font-size:20px}.container-credit .thankyou p,.container-credit .friends p{margin:10px 0px 0px}.container-credit .friends .col-sm-12{border-right:1px solid #dedede}.container-credit .friends .col-sm-12:last-child{border:none}.more{border-bottom:1px solid #dedede;padding:10px 0;position:relative}.more a:hover{text-decoration:none}.more i.fa{background-color:#fff;padding:5px;display:block;position:absolute;bottom:-10px;left:50%;margin-left:-12px}
\ No newline at end of file
+.container-credit .jumbotron{background-image:url(../../../images/header.jpg);background-size:cover;padding:50px 0 20px;margin-bottom:0}.container-credit .jumbotron .container{min-height:200px}.container-credit .jumbotron h1,.container-credit .jumbotron p{color:#fff}.container-credit .jumbotron h1{font-size:39px}.container-credit .jumbotron p{font-size:21px}.container-credit .jumbotron p a{color:#F7941E}.container-credit .accomplished,.container-credit .thankyou,.container-credit .friends{margin-bottom:40px}.container-credit .accomplished header,.container-credit .thankyou header,.container-credit .friends header{background-color:#2c2255;margin-bottom:40px}.container-credit .accomplished header h2,.container-credit .thankyou header h2,.container-credit .friends header h2{color:#fff;padding:40px 0;margin:0}.container-credit .accomplished header h2:before,.container-credit .thankyou header h2:before,.container-credit .friends header h2:before{content:" ";display:table;position:absolute;bottom:-10px;left:15px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #2c2255}.container-credit .accomplished img,.container-credit .thankyou img,.container-credit .friends img{margin:0 20px 20px 0}.container-credit .accomplished p{font-size:21px;position:relative;top:6px;color:#2C2255}.container-credit .thankyou header h2 sup,.container-credit .friends header h2 sup{font-size:20px}.container-credit .thankyou p,.container-credit .friends p{margin:10px 0 0}.container-credit .friends .col-sm-12{border-right:1px solid #dedede}.container-credit .friends .col-sm-12:last-child{border:none}.more{border-bottom:1px solid #dedede;padding:10px 0;position:relative}.more a:hover{text-decoration:none}.more i.fa{background-color:#fff;padding:5px;display:block;position:absolute;bottom:-10px;left:50%;margin-left:-12px}
\ No newline at end of file
diff --git a/assets/public/stylesheets/donorlist.min.css b/assets/public/stylesheets/donorlist.min.css
index 4965297..41b47d6 100644
--- a/assets/public/stylesheets/donorlist.min.css
+++ b/assets/public/stylesheets/donorlist.min.css
@@ -1 +1 @@
-.donorList{width:100%;padding:0px;margin:0px;border:1px solid #888}.donorList .donorHeader td{font-weight:bold;height:25px;border-bottom:1px solid #888;padding:0 3px 0 3px}.donorList .donorRecord td{border-bottom:1px solid #ccc;padding:3px}.pager{width:100%}.donorListMessage{max-width:600px}.eclipse-login{padding-top:5px}.eclipse-login-label{padding-top:3px;padding-right:5px;font-weight:bold;float:left}.save-button{margin-top:10px}.sideitem>table{padding-bottom:0;margin-bottom:0}.sideitem>table>tbody>tr>td{border:none;padding-left:12px;padding-right:12px}.sideitem>a{margin:12px}div.donation-box div.background-purple{height:12em}.donation-box h2{font-weight:bold;color:grey}.you-get-label{text-align:left;font-weight:bold;margin-top:0;padding-top:2em;padding-left:2.5em;color:#fff}.donation-benefits{width:95%;height:80%;padding-left:2.5em;text-align:left}#best-friends-benefits{border-width:0.1em;border-style:none solid none solid;border-color:#EFEFEF}#related-links{padding-left:2em}.donation-footer h2{font-size:1.7em;font-weight:bold;color:grey}.friends-logo-top{width:18.5em}.friends-logo-bot{width:60px;height:20px}.friends-list{padding-top:1em}.friends-list li{padding-bottom:2em}#content div.row{margin-bottom:2em}#custom-donation{background-color:#FAFAFA;padding-top:2em;padding-bottom:1em}#donation-amount{float:left;padding:0.7em;width:11em}.donation-amount{color:#41337C}.tshirt-ribbon{position:absolute;top:0;right:10px}#custom-donation-button{width:10em;padding-left:none;padding-right:none;padding-top:0.75em;padding-bottom:0.75em}.green{color:green}.red{color:#FF0000}.invisible{display:none}.visible{display:inline}.disabled{background-color:#eee}.enabled{background-color:none}.more{font-size:75%;text-align:right;vertical-align:bottom;padding-top:5px}.info,.success,.warning,.error,.validation{border:1px solid;margin:10px 0px;padding:15px 10px}.info{color:#00529B;background-color:#BDE5F8}.success{color:#4F8A10;background-color:#DFF2BF}.warning{color:#9F6000;background-color:#FEEFB3}.error{color:#D8000C;background-color:#FFBABA}.friend-images>div{height:140px}.friend-images .user-picture{text-align:center;padding:20px}
\ No newline at end of file
+.donorList{width:100%;padding:0;margin:0;border:1px solid #888}.donorList .donorHeader td{font-weight:bold;height:25px;border-bottom:1px solid #888;padding:0 3px 0 3px}.donorList .donorRecord td{border-bottom:1px solid #ccc;padding:3px}.pager{width:100%}.donorListMessage{max-width:600px}.eclipse-login{padding-top:5px}.eclipse-login-label{padding-top:3px;padding-right:5px;font-weight:bold;float:left}.save-button{margin-top:10px}.sideitem>table{padding-bottom:0;margin-bottom:0}.sideitem>table>tbody>tr>td{border:none;padding-left:12px;padding-right:12px}.sideitem>a{margin:12px}div.donation-box div.background-purple{height:12em}.donation-box h2{font-weight:bold;color:grey}.you-get-label{text-align:left;font-weight:bold;margin-top:0;padding-top:2em;padding-left:2.5em;color:#fff}.donation-benefits{width:95%;height:80%;padding-left:2.5em;text-align:left}#best-friends-benefits{border-width:.1em;border-style:none solid none solid;border-color:#EFEFEF}#related-links{padding-left:2em}.donation-footer h2{font-size:1.7em;font-weight:bold;color:grey}.friends-logo-top{width:18.5em}.friends-logo-bot{width:60px;height:20px}.friends-list{padding-top:1em}.friends-list li{padding-bottom:2em}#content div.row{margin-bottom:2em}#custom-donation{background-color:#FAFAFA;padding-top:2em;padding-bottom:1em}#donation-amount{float:left;padding:.7em;width:11em}.donation-amount{color:#41337C}.tshirt-ribbon{position:absolute;top:0;right:10px}#custom-donation-button{width:10em;padding-left:none;padding-right:none;padding-top:.75em;padding-bottom:.75em}.green{color:green}.red{color:#FF0000}.invisible{display:none}.visible{display:inline}.disabled{background-color:#eee}.enabled{background-color:none}.more{font-size:75%;text-align:right;vertical-align:bottom;padding-top:5px}.info,.success,.warning,.error,.validation{border:1px solid;margin:10px 0;padding:15px 10px}.info{color:#00529B;background-color:#BDE5F8}.success{color:#4F8A10;background-color:#DFF2BF}.warning{color:#9F6000;background-color:#FEEFB3}.error{color:#D8000C;background-color:#FFBABA}.friend-images>div{height:140px}.friend-images .user-picture{text-align:center;padding:20px}
\ No newline at end of file
diff --git a/assets/public/stylesheets/improve.min.css b/assets/public/stylesheets/improve.min.css
index 4cced27..b2e1f7a 100644
--- a/assets/public/stylesheets/improve.min.css
+++ b/assets/public/stylesheets/improve.min.css
@@ -1 +1 @@
-.jumbotron{background-image:url(../../../images/header.jpg);background-size:cover}@media (min-width:768px){.jumbotron{padding:80px 0}}.jumbotron h1{font-size:32px;color:#fff}@media (min-width:768px){.jumbotron h1{font-size:42px}}.jumbotron p{font-size:16px;color:#fff}@media (min-width:768px){.jumbotron p{font-size:21px}}.jumbotron p strong{color:#f7941e}.content h2{margin-bottom:30px;margin-top:0;font-size:24px}@media (min-width:768px){.content h2{font-size:30px;margin-bottom:60px}}.content input[type=submit],.content input[type=text],.content input[type=email],.content textarea{width:100%;padding:10px}.content input[type=text],.content input[type=email]{margin-bottom:10px}@media (max-width:767px){.content input[type=submit]{margin-bottom:20px}}.content input.total-amount{width:64px;padding:0 4px;margin-bottom:0;margin-left:6px}.content textarea{min-height:110px}.content input#other-amount{margin-bottom:0}@media (max-width:767px){.content input#other-amount{margin-bottom:20px}}@media (max-width:767px){.content #choose-amount-container{border-bottom:1px solid #ccc;margin-bottom:9px}}.total-amount-container{padding:12px 12px 1px;box-shadow:none;border:none;font-size:17px;font-weight:bold;border-radius:0}.total-amount-container li{padding:10px 0 20px 0}@media (min-width:768px){.total-amount-container li{padding:0 0 6px}}@media (min-width:768px){.total-amount-container:before{width:0;height:0;border-top:10px solid transparent;border-left:10px solid #f5f5f5;border-bottom:10px solid transparent;position:absolute;right:5px;top:15px}}.sidebar{box-shadow:none;border:none;border-radius:0;padding:25px 40px;font-size:1.05em}.sidebar h2{margin-top:0;margin-bottom:20px}.sidebar ul{padding-left:15px}.sidebar ul li:before{font-family:'FontAwesome';content:'\f138';margin:0 5px 0 -15px;color:#f7941e}.participate-message{color:#fff}.jumbotron .download-link-msg{font-size:13px}.direct-link a{color:#fff}.direct-link a:hover{color:#ccc}.payment-type img{margin-top:-2px}.payment-type input{margin:7px 5px 0 0}.btn-square{width:50px;height:50px;padding:0;font-size:1em;font-weight:600;margin:0 6px 6px 6px;border:none;background-color:#231b43;border-color:#2c2255;color:#fff}.btn-square.active,.btn-square.active:hover,.btn-square:hover{background-color:#f7941e;color:#fff}.amount-body{margin-top:15px}.amount-body span{font-size:0.8em}.amount-body.two-lines{margin-top:5px}.is_anonymous{color:#333}.download-page h2{text-align:center}#subscription_container{font-size:0.8em}#subscription_container li{padding-bottom:9px}
\ No newline at end of file
+.jumbotron{background-image:url(../images/header.jpg);background-size:cover}@media (min-width:768px){.jumbotron{padding:80px 0}}.jumbotron h1{font-size:32px;color:#fff}@media (min-width:768px){.jumbotron h1{font-size:42px}}.jumbotron p{font-size:16px;color:#fff}@media (min-width:768px){.jumbotron p{font-size:21px}}.jumbotron p strong{color:#f7941e}.content h2{margin-bottom:30px;margin-top:0;font-size:24px}@media (min-width:768px){.content h2{font-size:30px;margin-bottom:60px}}.content input[type=submit],.content input[type=text],.content input[type=email],.content textarea{width:100%;padding:10px}.content input[type=text],.content input[type=email]{margin-bottom:10px}@media (max-width:767px){.content input[type=submit]{margin-bottom:20px}}.content input.total-amount{width:64px;padding:0 4px;margin-bottom:0;margin-left:6px}.content textarea{min-height:110px}.content input#other-amount{margin-bottom:0}@media (max-width:767px){.content input#other-amount{margin-bottom:20px}}@media (max-width:767px){.content #choose-amount-container{border-bottom:1px solid #ccc;margin-bottom:9px}}.total-amount-container{padding:12px 12px 1px;box-shadow:none;border:none;font-size:17px;font-weight:bold;border-radius:0}.total-amount-container li{padding:10px 0 20px 0}@media (min-width:768px){.total-amount-container li{padding:0 0 6px}}@media (min-width:768px){.total-amount-container:before{width:0;height:0;border-top:10px solid transparent;border-left:10px solid #f5f5f5;border-bottom:10px solid transparent;position:absolute;right:5px;top:15px}}.sidebar{box-shadow:none;border:none;border-radius:0;padding:25px 40px;font-size:1.05em}.sidebar h2{margin-top:0;margin-bottom:20px}.sidebar ul{padding-left:15px}.sidebar ul li:before{font-family:'FontAwesome';content:'\f138';margin:0 5px 0 -15px;color:#f7941e}.participate-message{color:#fff}.jumbotron .download-link-msg{font-size:13px}.direct-link a{color:#fff}.direct-link a:hover{color:#ccc}.payment-type img{margin-top:-2px}.payment-type input{margin:7px 5px 0 0}.btn-square{width:50px;height:50px;padding:0;font-size:1em;font-weight:600;margin:0 6px 6px 6px;border:none;background-color:#231b43;border-color:#2c2255;color:#fff}.btn-square.active,.btn-square.active:hover,.btn-square:hover{background-color:#f7941e;color:#fff}.amount-body{margin-top:15px}.amount-body span{font-size:.8em}.amount-body.two-lines{margin-top:5px}.is_anonymous{color:#333}.download-page h2{text-align:center}#subscription_container{font-size:.8em}#subscription_container li{padding-bottom:9px}
\ No newline at end of file
diff --git a/assets/public/stylesheets/support.min.css b/assets/public/stylesheets/support.min.css
index 30152df..685b08b 100644
--- a/assets/public/stylesheets/support.min.css
+++ b/assets/public/stylesheets/support.min.css
@@ -1 +1 @@
-.donorList{border-bottom:1px solid #888;border:1px solid #888;font-weight:bold;height:25px;margin:0px;padding:0 3px 0 3px;padding:0px;width:100%}.donorList .donorHeader td{background-image:url(/images/bar.jpg)}.donorRecord td{border-bottom:1px solid #cccccc;padding:3px}.pager{width:100%}.donorListMessage{max-width:600px}.eclipse-login{padding-top:5px}.eclipse-login-label{float:left;font-weight:bold;padding-right:5px;padding-top:3px}.save-button{margin-top:10px}.sideitem>table>tbody>tr>td{border:none;padding-left:12px;padding-right:12px}.sideitem>table{margin-bottom:0;padding-bottom:0}.sideitem>a{margin:12px}div.donation-box div.background-purple{height:12em}.donation-box h2{color:grey;font-weight:bold}.you-get-label{font-weight:bold;margin-top:0;padding-left:2.5em;padding-top:2em;text-align:left}.donation-benefits{height:80%;padding-left:2.5em;text-align:left;width:95%}#best-friends-benefits{border-color:#EFEFEF;border-style:none solid none solid;border-width:0.1em}#related-links{padding-left:2em}.donation-footer h2{color:grey;font-size:1.7em;font-weight:bold}.friends-logo-top{width:18.5em}.friends-logo-bot{height:20px;width:60px}.friends-list{padding-top:1em}.friends-list li{padding-bottom:2em}#content div.row{margin-bottom:2em}#custom-donation{background-color:#FAFAFA;padding-bottom:1em;padding-top:2em}#donation-amount{float:left;padding:0.7em;width:11em}.donation-amount{color:#41337C}.tshirt-ribbon{position:absolute;right:10px;top:0}#custom-donation-button{padding-bottom:0.75em;padding-left:none;padding-right:none;padding-top:0.75em;width:10em}.green{color:green}.red{color:#FF0000}.invisible{display:none}.visible{display:inline}.disabled{background-color:#eeeeee}.enabled{background-color:none}.more{font-size:75%;padding-top:5px;text-align:right;vertical-align:bottom}.info,.success,.warning,.error,.validation{border:1px solid;margin:10px 0px;padding:15px 10px}.info{background-color:#BDE5F8;color:#00529B}.success{background-color:#DFF2BF;color:#4F8A10}.warning{background-color:#FEEFB3;color:#9F6000}.error{background-color:#FFBABA;color:#D8000C}.friend-images>div{height:140px}.friend-images .user-picture{padding:20px;text-align:center}
\ No newline at end of file
+.donorList{border-bottom:1px solid #888888;border:1px solid #888888;font-weight:bold;height:25px;margin:0;padding:0 3px 0 3px;padding:0;width:100%}.donorList .donorHeader td{background-image:url(/images/bar.jpg)}.donorRecord td{border-bottom:1px solid #cccccc;padding:3px}.pager{width:100%}.donorListMessage{max-width:600px}.eclipse-login{padding-top:5px}.eclipse-login-label{float:left;font-weight:bold;padding-right:5px;padding-top:3px}.save-button{margin-top:10px}.sideitem>table>tbody>tr>td{border:none;padding-left:12px;padding-right:12px}.sideitem>table{margin-bottom:0;padding-bottom:0}.sideitem>a{margin:12px}div.donation-box div.background-purple{height:12em}.donation-box h2{color:grey;font-weight:bold}.you-get-label{font-weight:bold;margin-top:0;padding-left:2.5em;padding-top:2em;text-align:left}.donation-benefits{height:80%;padding-left:2.5em;text-align:left;width:95%}#best-friends-benefits{border-color:#EFEFEF;border-style:none solid none solid;border-width:.1em}#related-links{padding-left:2em}.donation-footer h2{color:grey;font-size:1.7em;font-weight:bold}.friends-logo-top{width:18.5em}.friends-logo-bot{height:20px;width:60px}.friends-list{padding-top:1em}.friends-list li{padding-bottom:2em}#content div.row{margin-bottom:2em}#custom-donation{background-color:#FAFAFA;padding-bottom:1em;padding-top:2em}#donation-amount{float:left;padding:.7em;width:11em}.donation-amount{color:#41337C}.tshirt-ribbon{position:absolute;right:10px;top:0}#custom-donation-button{padding-bottom:.75em;padding-left:none;padding-right:none;padding-top:.75em;width:10em}.green{color:green}.red{color:#FF0000}.invisible{display:none}.visible{display:inline}.disabled{background-color:#eeeeee}.enabled{background-color:none}.more{font-size:75%;padding-top:5px;text-align:right;vertical-align:bottom}.info,.success,.warning,.error,.validation{border:1px solid;margin:10px 0;padding:15px 10px}.info{background-color:#BDE5F8;color:#00529B}.success{background-color:#DFF2BF;color:#4F8A10}.warning{background-color:#FEEFB3;color:#9F6000}.error{background-color:#FFBABA;color:#D8000C}.friend-images>div{height:140px}.friend-images .user-picture{padding:20px;text-align:center}
\ No newline at end of file
diff --git a/assets/src/stylesheets/credit.less b/assets/src/stylesheets/credit.less
deleted file mode 100644
index a7f902f..0000000
--- a/assets/src/stylesheets/credit.less
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-// credit.less
-// --------------------------------------------------
-
-.down-arrow() {
- content:" ";
- display:table;
- position:absolute;
- bottom:-10px;
- left:15px;
- width: 0;
- height: 0;
- border-left: 10px solid transparent;
- border-right: 10px solid transparent;
- border-top: 10px solid #2c2255;
-}
-
-.container-credit{
- .jumbotron{
- background-image:url(../../../images/header.jpg);
- background-size:cover;
- padding:50px 0 20px;
- margin-bottom:0;
- .container{
- min-height: 200px;
- }
- h1, p{
- color:#fff;
- }
- h1{
- font-size:39px;
- }
- p{
- font-size:21px;
- a{
- color:#F7941E;
- }
- }
- }
- .accomplished, .thankyou, .friends{
- margin-bottom:40px;
- header{
- background-color:#2c2255;
- margin-bottom:40px;
- h2{
- color:#fff;
- padding:40px 0;
- margin:0;
- &:before{
- .down-arrow;
- }
- }
- }
- img{
- margin:0 20px 20px 0;
- }
- }
- .accomplished{
- p{
- font-size:21px;
- position:relative;
- top:6px;
- color:#2C2255;
- }
- }
- .thankyou, .friends{
- header{
- h2{
- sup{
- font-size:20px;
- }
- }
- }
- p{
- margin:10px 0px 0px;
- }
- }
- .friends{
- .col-sm-12{
- border-right:1px solid #dedede;
- &:last-child{
- border:none;
- }
- }
- }
-}
-
- .more{
- border-bottom:1px solid #dedede;
- padding:10px 0;
- position:relative;
- a {
- &:hover{
- text-decoration:none;
- }
- }
- i.fa{
- background-color:#fff;
- padding:5px;
- display:block;
- position:absolute;
- bottom:-10px;
- left:50%;
- margin-left:-12px;
- }
- }
\ No newline at end of file
diff --git a/assets/src/stylesheets/donorlist.less b/assets/src/stylesheets/donorlist.less
deleted file mode 100644
index 756d961..0000000
--- a/assets/src/stylesheets/donorlist.less
+++ /dev/null
@@ -1,197 +0,0 @@
-//
-// donorlist.less
-// --------------------------------------------------
-
-.donorList {
- width:100%;
- padding:0px;
- margin:0px;
- border:1px solid #888;
- .donorHeader {
- td {
- font-weight:bold;
- height:25px;
- border-bottom:1px solid #888;
- padding: 0 3px 0 3px;
- }
- }
- .donorRecord {
- td {
- border-bottom:1px solid #ccc;
- padding: 3px;
- }
- }
-}
-.pager {
- width: 100%;
-}
-.donorListMessage {
- max-width:600px;
-}
-.eclipse-login {
- padding-top: 5px;
-}
-.eclipse-login-label {
- padding-top: 3px;
- padding-right: 5px;
- font-weight: bold;
- float: left;
-}
-.save-button {
- margin-top: 10px;
-}
-.sideitem {
- & > table {
- padding-bottom: 0;
- margin-bottom: 0;
- & > tbody {
- & > tr {
- & > td {
- border: none;
- padding-left: 12px;
- padding-right: 12px;
- }
- }
- }
- }
- & > a {
- margin: 12px;
- }
-}
-div.donation-box {
- div.background-purple {
- height: 12em;
- }
-}
-.donation-box {
- h2 {
- font-weight: bold;
- color: grey;
- }
-}
-.you-get-label {
- text-align: left;
- font-weight: bold;
- margin-top: 0;
- padding-top: 2em;
- padding-left: 2.5em;
- color:#fff;
-}
-.donation-benefits {
- width: 95%;
- height: 80%;
- padding-left: 2.5em;
- text-align: left;
-}
-#best-friends-benefits {
- border-width: 0.1em;
- border-style: none solid none solid;
- border-color: #EFEFEF;
-}
-#related-links {
- padding-left: 2em;
-}
-.donation-footer {
- h2 {
- font-size: 1.7em;
- font-weight: bold;
- color: grey;
- }
-}
-.friends-logo-top {
- width: 18.5em;
-}
-.friends-logo-bot {
- width: 60px;
- height: 20px;
-}
-.friends-list {
- padding-top: 1em;
- li {
- padding-bottom: 2em;
- }
-}
-#content {
- div.row {
- margin-bottom: 2em;
- }
-}
-#custom-donation {
- background-color: #FAFAFA;
- padding-top: 2em;
- padding-bottom: 1em;
-}
-#donation-amount {
- float: left;
- padding: 0.7em;
- width: 11em;
-}
-.donation-amount {
- color: #41337C;
-}
-.tshirt-ribbon {
- position: absolute;
- top: 0;
- right: 10px;
-}
-#custom-donation-button {
- width: 10em;
- padding-left: none;
- padding-right: none;
- padding-top: 0.75em;
- padding-bottom: 0.75em;
-}
-.green {
- color:green;
-}
-.red {
- color:#FF0000;
-}
-.invisible {
- display:none;
-}
-.visible {
- display:inline;
-}
-.disabled {
- background-color:#eee;
-}
-.enabled {
- background-color:none;
-}
-.more {
- font-size:75%;
- text-align:right;
- vertical-align:bottom;
- padding-top:5px;
-}
-.info, .success, .warning, .error, .validation {
- border: 1px solid;
- margin: 10px 0px;
- padding:15px 10px;
-}
-.info {
- color: #00529B;
- background-color: #BDE5F8;
-}
-.success {
- color: #4F8A10;
- background-color: #DFF2BF;
-}
-.warning {
- color: #9F6000;
- background-color: #FEEFB3;
-}
-.error {
- color: #D8000C;
- background-color: #FFBABA;
-}
-.friend-images {
- & > div {
- height: 140px;
- }
- .user-picture {
- text-align: center;
- padding: 20px;
- }
-}
diff --git a/assets/src/stylesheets/improve.less b/assets/src/stylesheets/improve.less
deleted file mode 100644
index c217102..0000000
--- a/assets/src/stylesheets/improve.less
+++ /dev/null
@@ -1,195 +0,0 @@
-//
-// improve.less
-// --------------------------------------------------
-
-.jumbotron{
- background-image:url(../../../images/header.jpg);
- background-size:cover;
- @media ( min-width : 768px) {
- padding:80px 0;
- }
- h1{
- font-size:32px;
- @media ( min-width : 768px) {
- font-size:42px;
- }
- color:#fff;
- }
- p{
- font-size:16px;
- @media ( min-width : 768px) {
- font-size:21px;
- }
- color:#fff;
- strong{
- color:#f7941e;
- }
- }
-}
-.content{
- h2{
- margin-bottom: 30px;
- margin-top: 0;
- font-size:24px;
- @media ( min-width : 768px) {
- font-size:30px;
- margin-bottom:60px;
- }
- }
- input[type=submit],
- input[type=text],
- input[type=email],
- textarea{
- width:100%;
- padding:10px;
- }
- input[type=text],
- input[type=email]
- {
- margin-bottom:10px;
- }
- @media ( max-width : 767px) {
- input[type=submit]{
- margin-bottom:20px;
- }
- }
- input.total-amount{
- width: 64px;
-
- padding:0 4px;
- margin-bottom:0;
- margin-left:6px;
- }
- textarea{
- min-height:110px;
- }
-
- input#other-amount{
- margin-bottom:0;
- @media ( max-width : 767px) {
- margin-bottom:20px;
- }
- }
- #choose-amount-container{
- @media ( max-width : 767px) {
- border-bottom:1px solid #ccc;
- margin-bottom:9px;
- }
- }
-}
-
-.total-amount-container{
- padding:12px 12px 1px;
- box-shadow:none;
- border:none;
- font-size:17px;
- font-weight:bold;
- border-radius:0;
- li{
- padding:10px 0 20px 0;
- @media ( min-width : 768px) {
- padding:0 0 6px;
- }
- }
- &:before{
- @media ( min-width : 768px) {
- width: 0;
- height: 0;
- border-top: 10px solid transparent;
- border-left: 10px solid #f5f5f5;
- border-bottom: 10px solid transparent;
- position:absolute;
- right:5px;
- top:15px;
- }
- }
-}
-.sidebar{
- box-shadow:none;
- border:none;
- border-radius:0;
- padding:25px 40px;
- font-size:1.05em;
- h2{
- margin-top:0;
- margin-bottom:20px;
- }
- ul{
- padding-left:15px;
- li{
- &:before {
- font-family: 'FontAwesome';
- content: '\f138';
- margin:0 5px 0 -15px;
- color: #f7941e;
- }
- }
- }
-}
-
-.participate-message{
- color:#fff;
-}
-.jumbotron .download-link-msg{
- font-size:13px;
-}
-.direct-link{
- a{
- color:#fff;
- &:hover{
- color:#ccc;
- }
- }
-}
-
-.payment-type{
- img{
- margin-top:-2px
- }
- input{
- margin:7px 5px 0 0;
- }
-}
-
-/*Donate buttons*/
-.btn-square{
- width: 50px;
- height: 50px;
- padding: 0;
- font-size: 1em;
- font-weight: 600;
- margin: 0 6px 6px 6px;
- border:none;
- background-color:#231b43;
- border-color:#2c2255;
- color:#fff;
- &.active, &.active:hover, &:hover{
- background-color:#f7941e;
- color:#fff;
- }
-}
-
-.amount-body{
- margin-top:15px;
- span{
- font-size:0.8em;
- }
-}
-
-.amount-body.two-lines{
- margin-top:5px;
-}
-
-.is_anonymous{
- color:#333;
-}
-.download-page h2{
- text-align: center;
-}
-
-#subscription_container{
- font-size:0.8em;
- li{
- padding-bottom:9px;
- }
-}
\ No newline at end of file
diff --git a/assets/src/stylesheets/support.less b/assets/src/stylesheets/support.less
deleted file mode 100644
index e6b6185..0000000
--- a/assets/src/stylesheets/support.less
+++ /dev/null
@@ -1,195 +0,0 @@
-//
-// support.less
-// --------------------------------------------------
-
-// Color variables (appears count calculates by raw css)
-@color0: #888888; // Appears 2 times
-
-// Width variables (appears count calculates by raw css)
-@width4: 100%; // Appears 2 times
-
-
-.donorList {
- .donorHeader td { background-image:url(/images/bar.jpg);}
- border-bottom:1px solid @color0;
- border:1px solid @color0;
- font-weight:bold;
- height:25px;
- margin:0px;
- padding: 0 3px 0 3px;
- padding:0px;
- width:@width4;
-}
-.donorRecord {
- td {
- border-bottom:1px solid #cccccc;
- padding: 3px;
- }
-}
-.pager {
- width: @width4;
-}
-.donorListMessage {
- max-width:600px;
-}
-.eclipse-login {
- padding-top: 5px;
-}
-.eclipse-login-label {
- float: left;
- font-weight: bold;
- padding-right: 5px;
- padding-top: 3px;
-}
-.save-button {
- margin-top: 10px;
-}
-.sideitem>table>tbody>tr>td {
- border: none;
- padding-left: 12px;
- padding-right: 12px;
-}
-.sideitem>table {
- margin-bottom: 0;
- padding-bottom: 0;
-}
-.sideitem>a {
- margin: 12px;
-}
-div.donation-box {
- div.background-purple {
- height: 12em;
- }
-}
-.donation-box {
- h2 {
- color: grey;
- font-weight: bold;
- }
-}
-.you-get-label {
- font-weight: bold;
- margin-top: 0;
- padding-left: 2.5em;
- padding-top: 2em;
- text-align: left;
-}
-.donation-benefits {
- height: 80%;
- padding-left: 2.5em;
- text-align: left;
- width: 95%;
-}
-#best-friends-benefits {
- border-color: #EFEFEF;
- border-style: none solid none solid;
- border-width: 0.1em;
-}
-#related-links {
- padding-left: 2em;
-}
-.donation-footer {
- h2 {
- color: grey;
- font-size: 1.7em;
- font-weight: bold;
- }
-}
-.friends-logo-top {
- width: 18.5em;
-}
-.friends-logo-bot {
- height: 20px;
- width: 60px;
-}
-.friends-list {
- padding-top: 1em;
- li {
- padding-bottom: 2em;
- }
-}
-#content {
- div.row {
- margin-bottom: 2em;
- }
-}
-#custom-donation {
- background-color: #FAFAFA;
- padding-bottom: 1em;
- padding-top: 2em;
-}
-#donation-amount {
- float: left;
- padding: 0.7em;
- width: 11em;
-}
-.donation-amount {
- color: #41337C;
-}
-.tshirt-ribbon {
- position: absolute;
- right: 10px;
- top: 0;
-}
-#custom-donation-button {
- padding-bottom: 0.75em;
- padding-left: none;
- padding-right: none;
- padding-top: 0.75em;
- width: 10em;
-}
-.green {
- color:green;
-}
-.red {
- color:#FF0000;
-}
-.invisible {
- display:none;
-}
-.visible {
- display:inline;
-}
-.disabled {
- background-color:#eeeeee;
-}
-.enabled {
- background-color:none;
-}
-.more {
- font-size:75%;
- padding-top:5px;
- text-align:right;
- vertical-align:bottom;
-}
-.info, .success, .warning, .error, .validation {
- border: 1px solid;
- margin: 10px 0px;
- padding:15px 10px;
-}
-.info {
- background-color: #BDE5F8;
- color: #00529B;
-}
-.success {
- background-color: #DFF2BF;
- color: #4F8A10;
-}
-.warning {
- background-color: #FEEFB3;
- color: #9F6000;
-}
-.error {
- background-color: #FFBABA;
- color: #D8000C;
-}
-.friend-images>div {
- height: 140px;
-}
-
-.friend-images {
- .user-picture {
- padding: 20px;
- text-align: center;
- }
-}
\ No newline at end of file
diff --git a/bower.json b/bower.json
new file mode 100644
index 0000000..014e0ce
--- /dev/null
+++ b/bower.json
@@ -0,0 +1,25 @@
+{
+ "name": "eclipse-donate",
+ "version": "0.0.1",
+ "authors": [
+ "Christopher Guindon <chris.guindon@eclipse.org>"
+ ],
+ "description": "Assets for eclipse.org donate section.",
+ "license": "EPL",
+ "homepage": "http://www.chrisguindon.com",
+ "private": true,
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "bower_components",
+ "test",
+ "tests"
+ ],
+ "dependencies": {
+ "jquery-ui": "1.8.23"
+ },
+ "devDependencies": {
+ "jquery-migrate": "~1.2.1",
+ "solstice-assets": "git@github.com:EclipseFdn/solstice-assets.git"
+ }
+}
diff --git a/gruntfile.js b/gruntfile.js
index cccd7ff..89191b6 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -1,54 +1,87 @@
+/**
+ * Eclipse Donate Grunt File
+ *
+ * Copyright (c) 2015 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation)- initial API and implementation
+ * Eric Poirier (Eclipse Foundation)
+ */
module.exports = function(grunt) {
// Initializing the configuration object
grunt.initConfig({
- // Task configuration
+ // Task configuration
+ copy: {
+ main: {
+ files: [
+ // includes files within path
+ {
+ expand: true,
+ cwd: 'bower_components/solstice-assets/images/eclipse_org/donate',
+ src: ['**'],
+ dest: 'images/',
+ filter: 'isFile'
+ }
+ ]
+ }
+ },
less: {
development: {
options: {
compress: true,
// minifying the result
},
- files: {
+ files: {
// compiling styles.less into styles.css
- "./assets/public/stylesheets/donorlist.min.css": "./assets/src/stylesheets/donorlist.less",
- "./assets/public/stylesheets/improve.min.css": "./assets/src/stylesheets/improve.less",
- "./assets/public/stylesheets/credit.min.css": "./assets/src/stylesheets/credit.less",
- "./assets/public/stylesheets/support.min.css": "./assets/src/stylesheets/support.less"
+ "./assets/public/stylesheets/credit.min.css": "./bower_components/solstice-assets/stylesheets/eclipse_org/donate/credit.less",
+ "./assets/public/stylesheets/donorlist.min.css": "./bower_components/solstice-assets/stylesheets/eclipse_org/donate/donorlist.less",
+ "./assets/public/stylesheets/improve.min.css": "./bower_components/solstice-assets/stylesheets/eclipse_org/donate/improve.less",
+ "./assets/public/stylesheets/support.min.css": "./bower_components/solstice-assets/stylesheets/eclipse_org/donate/support.less"
}
}
},
uglify: {
- options: {
- mangle: true
- // Use if you want the names of your functions and variables
- // unchanged.
- },
- js_files: {
- files: {
- './assets/public/javascript/scripts.min.js': './assets/src/javascript/scripts.js'
- }
- },
- },
+ options: {
+ mangle: true
+ // Use if you want the names of your functions and variables
+ // unchanged.
+ },
+ js_files: {
+ files: {
+ './assets/public/javascript/scripts.min.js': './assets/src/javascript/scripts.js',
+ }
+ },
+ },
watch: {
js_files: {
- files: [
- './assets/src/javascript/scripts.js'],
- tasks: ['uglify:js_files']
+ files: [
+ './assets/src/javascript/scripts.js'],
+ tasks: ['uglify:js_files']
},
less: {
- files: ['./assets/src/stylesheets/*.less', './assets/src/stylesheets/**/*.less'],
+ files: ['./assets/src/stylesheets/**/*.less',
+ './bower_components/solstice-assets/less/*.less',
+ './bower_components/solstice-assets/**/*.less'
+ ],
tasks: ['less'],
options: {
- livereload: false,
+ livereload: true
// reloads the browser
}
},
}
});
// Plugin loading
+ grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-watch');
+ grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-uglify');
// Task definition
grunt.registerTask('default', ['watch']);
+ grunt.registerTask('init', ['copy','watch']);
};
\ No newline at end of file
diff --git a/package.json b/package.json
index c3fd686..8cd71a8 100644
--- a/package.json
+++ b/package.json
@@ -9,16 +9,18 @@
"url": "https://bugs.eclipse.org/bugs/buglist.cgi?component=Website&list_id=8318814&product=Community&resolution=---"
},
"scripts": {
- "bower": "node_modules/.bin/bower",
- "grunt": "node_modules/.bin/grunt"
+ "grunt": "node_modules/.bin/grunt",
+ "bower": "node_modules/.bin/bower"
},
"readmeFilename": "README.md",
"devDependencies": {
"bower": "^1.4.1",
+ "grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
- "grunt-contrib-concat": "~0.3.0",
- "grunt-contrib-less": "~0.9.0",
- "grunt-contrib-uglify": "~0.3.2",
- "grunt-contrib-watch": "~0.5.3"
+ "grunt-contrib-concat": "~0.4.0",
+ "grunt-contrib-copy": "^0.5.0",
+ "grunt-contrib-less": "^1.0.1",
+ "grunt-contrib-uglify": "^0.9.1",
+ "grunt-contrib-watch": "^0.6.1"
}
}