Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

set font size

  • Loading branch information...
commit 39341482fa3ed6fbb2628dd62147d21883ecc378 1 parent b09c064
benvolio authored
12 assets/whereuat.css
@@ -152,3 +152,15 @@
152 152 text-indent: -20000em;
153 153 border:none;
154 154 }
  155 +
  156 +#uat-bar .wua-go-spinner {
  157 + display: block;
  158 + width: 16px;
  159 + height: 16px;
  160 + position: absolute;
  161 +
  162 + left: 13px;
  163 + top: 54px;
  164 +
  165 + 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;
  166 +}
13 assets/whereuat.js
... ... @@ -1,21 +1,24 @@
1 1 (function($) {
2 2 $(function() {
3   - var popOver, tab, stories;
  3 + var bar, popOver, tab, stories;
4 4
5   - $("body").prepend("<div id='uat-bar'><a class='wua-go' href='#'>Show me what to test</a><div class='wua-pop-over'></div></div>");
6   - $("head").prepend("<link href='"+window.whereuat_stylesheet_url+"' media='screen' rel='stylesheet' type='text/css'>");
  5 + $("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>");
7 6
8   - popOver = $("#uat-bar .wua-pop-over");
9   - tab = $("#uat-bar a.wua-go");
  7 + bar = $('#uat-bar');
  8 + goSpinner = $('.wua-go-spinner',bar).hide();
  9 + popOver = $(".wua-pop-over" ,bar);
  10 + tab = $("a.wua-go" ,bar);
10 11
11 12 tab.toggle(
12 13 function() {
13 14 if (popOver.find("ol").length > 0) {
14 15 slideOut();
15 16 } else {
  17 + goSpinner.show();
16 18 $.ajax({
17 19 url: '/whereuat',
18 20 success: function(response) {
  21 + goSpinner.fadeOut();
19 22 popOver.append(response);
20 23 stories = popOver.find("ol");
21 24 slideOut();
1  dev/stylesheets/whereuat.css.mustache
... ... @@ -1,5 +1,6 @@
1 1 #uat-bar {
2 2 width: auto;
  3 + font-size: .9em;
3 4 text-align: center;
4 5 position: absolute;
5 6 top: 30%;

0 comments on commit 3934148

Please sign in to comment.
Something went wrong with that request. Please try again.