Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set font size

  • Loading branch information...
commit 39341482fa3ed6fbb2628dd62147d21883ecc378 1 parent b09c064
benvolio authored
12 assets/whereuat.css
View
@@ -152,3 +152,15 @@
text-indent: -20000em;
border:none;
}
+
+#uat-bar .wua-go-spinner {
+ display: block;
+ width: 16px;
+ height: 16px;
+ position: absolute;
+
+ left: 13px;
+ top: 54px;
+
+ background: url(data:image/gif;base64,R0lGODlhEAAQAPQAACEhIf///yYmJs3NzYuLi/j4+Nzc3ENDQ2tra+rq6peXl6WlpTc3N3l5eVFRUb+/v7OzswAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAAFUCAgjmRpnqUwFGwhKoRgqq2YFMaRGjWA8AbZiIBbjQQ8AmmFUJEQhQGJhaKOrCksgEla+KIkYvC6SJKQOISoNSYdeIk1ayA8ExTyeR3F749CACH5BAkKAAAALAAAAAAQABAAAAVoICCKR9KMaCoaxeCoqEAkRX3AwMHWxQIIjJSAZWgUEgzBwCBAEQpMwIDwY1FHgwJCtOW2UDWYIDyqNVVkUbYr6CK+o2eUMKgWrqKhj0FrEM8jQQALPFA3MAc8CQSAMA5ZBjgqDQmHIyEAIfkECQoAAAAsAAAAABAAEAAABWAgII4j85Ao2hRIKgrEUBQJLaSHMe8zgQo6Q8sxS7RIhILhBkgumCTZsXkACBC+0cwF2GoLLoFXREDcDlkAojBICRaFLDCOQtQKjmsQSubtDFU/NXcDBHwkaw1cKQ8MiyEAIfkECQoAAAAsAAAAABAAEAAABVIgII5kaZ6AIJQCMRTFQKiDQx4GrBfGa4uCnAEhQuRgPwCBtwK+kCNFgjh6QlFYgGO7baJ2CxIioSDpwqNggWCGDVVGphly3BkOpXDrKfNm/4AhACH5BAkKAAAALAAAAAAQABAAAAVgICCOZGmeqEAMRTEQwskYbV0Yx7kYSIzQhtgoBxCKBDQCIOcoLBimRiFhSABYU5gIgW01pLUBYkRItAYAqrlhYiwKjiWAcDMWY8QjsCf4DewiBzQ2N1AmKlgvgCiMjSQhACH5BAkKAAAALAAAAAAQABAAAAVfICCOZGmeqEgUxUAIpkA0AMKyxkEiSZEIsJqhYAg+boUFSTAkiBiNHks3sg1ILAfBiS10gyqCg0UaFBCkwy3RYKiIYMAC+RAxiQgYsJdAjw5DN2gILzEEZgVcKYuMJiEAOwAAAAAAAAAAAA==) no-repeat;
+}
13 assets/whereuat.js
View
@@ -1,21 +1,24 @@
(function($) {
$(function() {
- var popOver, tab, stories;
+ var bar, popOver, tab, stories;
- $("body").prepend("<div id='uat-bar'><a class='wua-go' href='#'>Show me what to test</a><div class='wua-pop-over'></div></div>");
- $("head").prepend("<link href='"+window.whereuat_stylesheet_url+"' media='screen' rel='stylesheet' type='text/css'>");
+ $("body").prepend("<div id='uat-bar'><a class='wua-go' href='#'>Show me what to test</a><span class='wua-go-spinner'></span><div class='wua-pop-over'></div></div>");
- popOver = $("#uat-bar .wua-pop-over");
- tab = $("#uat-bar a.wua-go");
+ bar = $('#uat-bar');
+ goSpinner = $('.wua-go-spinner',bar).hide();
+ popOver = $(".wua-pop-over" ,bar);
+ tab = $("a.wua-go" ,bar);
tab.toggle(
function() {
if (popOver.find("ol").length > 0) {
slideOut();
} else {
+ goSpinner.show();
$.ajax({
url: '/whereuat',
success: function(response) {
+ goSpinner.fadeOut();
popOver.append(response);
stories = popOver.find("ol");
slideOut();
1  dev/stylesheets/whereuat.css.mustache
View
@@ -1,5 +1,6 @@
#uat-bar {
width: auto;
+ font-size: .9em;
text-align: center;
position: absolute;
top: 30%;
Please sign in to comment.
Something went wrong with that request. Please try again.