Skip to content
Browse files

Added refresh option to app menu to refresh certain scenes; fixed bug…

… when switching accounts; made the app not look as crappy; changed type-to-search behavior on venue screen; redesigned user info scene; fixed some bugs
  • Loading branch information...
1 parent 61884e8 commit df96e2d6b1d90927d3919c1adea755fa65196bee @zhephree zhephree committed Dec 24, 2009
View
14 Foursquare/app/assistants/friends-list-assistant.js
@@ -98,7 +98,7 @@ FriendsListAssistant.prototype.setup = function() {
this.controller.setupWidget(Mojo.Menu.viewMenu,
this.menuAttributes = {
spacerHeight: 0,
- menuClass: 'no-fade'
+ menuClass: 'blue-view'
},
this.menuModel = {
visible: true,
@@ -116,7 +116,7 @@ FriendsListAssistant.prototype.setup = function() {
this.controller.setupWidget(Mojo.Menu.commandMenu,
this.cmattributes = {
spacerHeight: 0,
- menuClass: 'no-fade'
+ menuClass: 'blue-command'
},
/* this.cmmodel = {
visible: true,
@@ -178,7 +178,7 @@ FriendsListAssistant.prototype.getFriends = function() {
_globals.reloadFriends=false;
_globals.friendList=undefined;
var url = 'http://api.foursquare.com/v1/friends.json';
- auth = make_base_auth(this.username, this.password);
+ auth = make_base_auth(_globals.username, _globals.password);
var request = new Ajax.Request(url, {
method: 'get',
evalJSON: 'force',
@@ -423,13 +423,15 @@ FriendsListAssistant.prototype.requestFriendsSuccess = function(response) {
this.requestList = [];
this.looping=false;
- if(response.responseJSON.requests != undefined) {
+ if(response.responseJSON.requests != undefined && response.responseJSON.requests != null) {
for(var f=0;f<response.responseJSON.requests.length;f++) {
this.requestList.push(response.responseJSON.requests[f]);
}
+ this.resultsModel.items =this.requestList; //update list with basic user info
+ this.controller.modelChanged(this.resultsModel);
+ }else{
+ $("results-friends-list").innerHTML="No pending friend requests.";
}
- this.resultsModel.items =this.requestList; //update list with basic user info
- this.controller.modelChanged(this.resultsModel);
var mybutton = $('go_button');
View
4 Foursquare/app/assistants/nearby-tips-assistant.js
@@ -184,8 +184,8 @@ NearbyTipsAssistant.prototype.handleCommand = function(event) {
//this.controller.stageController.popScene("friends-list");
break;
case "do-Friends":
- //var thisauth=auth;
- //this.controller.stageController.pushScene({name: "friends-list", transition: Mojo.Transition.crossFade},thisauth,userData,this.username,this.password,this.uid);
+ var thisauth=auth;
+ this.controller.stageController.swapScene({name: "friends-list", transition: Mojo.Transition.crossFade},this.auth,userData,_globals.username,_globals.password,_globals.uid);
break;
case "do-Badges":
var thisauth=_globals.auth;
View
56 Foursquare/app/assistants/nearby-venues-assistant.js
@@ -25,15 +25,16 @@ NearbyVenuesAssistant.prototype.setup = function() {
textFieldName: 'name',
multiline: false,
disabledProperty: 'disabled',
- focus: true,
+ focus: false,
modifierState: Mojo.Widget.capsLock,
limitResize: false,
holdToEnable: false,
focusMode: Mojo.Widget.focusSelectMode,
changeOnKeyPress: true,
textReplacement: false,
maxLength: 30,
- requiresEnterKey: false
+ requiresEnterKey: false,
+ autoFocus: false
};
//Create the model for the text field
this.textModel = {
@@ -46,7 +47,7 @@ NearbyVenuesAssistant.prototype.setup = function() {
// Set up the attributes & model for the List widget:
this.controller.setupWidget('results-venue-list',
- {itemTemplate:'listtemplates/venueItems',dividerFunction: this.groupVenues,dividerTemplate: 'listtemplates/dividertemplate'},
+ {itemTemplate:'listtemplates/venueItems',dividerFunction: this.groupVenues,dividerTemplate: 'listtemplates/dividertemplate',filterFunction: this.filterFunction.bind(this)},
this.resultsModel);
//Set up button handlers
@@ -81,7 +82,7 @@ NearbyVenuesAssistant.prototype.setup = function() {
this.controller.setupWidget(Mojo.Menu.viewMenu,
this.menuAttributes = {
spacerHeight: 0,
- menuClass: 'no-fade'
+ menuClass: 'blue-view'
},
this.menuModel = {
visible: true,
@@ -99,7 +100,7 @@ NearbyVenuesAssistant.prototype.setup = function() {
this.controller.setupWidget(Mojo.Menu.commandMenu,
this.cmattributes = {
spacerHeight: 0,
- menuClass: 'no-fade'
+ menuClass: 'blue-command'
},
/*this.cmmodel = {
visible: true,
@@ -159,7 +160,6 @@ NearbyVenuesAssistant.prototype.setup = function() {
Mojo.Log.error("#########setup nearby");
$("message").hide();
-
this.onGetNearbyVenues();
}
@@ -252,7 +252,7 @@ NearbyVenuesAssistant.prototype.getVenues = function(latitude, longitude,hacc,va
//$('message').innerHTML += "("+query+")";
//var query='';
var url = 'http://api.foursquare.com/v1/venues.json';
- auth = make_base_auth(this.username, this.password);
+ auth = make_base_auth(_globals.username, _globals.password);
var request = new Ajax.Request(url, {
method: 'get',
evalJSON: 'force',
@@ -354,6 +354,7 @@ NearbyVenuesAssistant.prototype.nearbyVenueRequestSuccess = function(response) {
_globals.nearbyVenues=venueList;
this.resultsModel.items =venueList;// $A(venueList);
this.controller.modelChanged(this.resultsModel);
+
}
}
@@ -464,13 +465,13 @@ NearbyVenuesAssistant.prototype.addNewVenue = function(){
NearbyVenuesAssistant.prototype.onKeyPressHandler = function(event) {
- $("sendField").mojo.focus();
+ /*$("sendField").mojo.focus();
var scroller = this.controller.getSceneScroller();
scroller.mojo.revealTop(0);
$("drawerId").mojo.setOpenState(true);
this.controller.modelChanged(this.drawerModel);
//this.textModel.value=String.fromCharCode(event.originalEvent.keyCode);
- //wthis.controller.modelChanged(this.textModel);
+ //wthis.controller.modelChanged(this.textModel);*/
}
NearbyVenuesAssistant.prototype.handleCommand = function(event) {
@@ -484,6 +485,12 @@ NearbyVenuesAssistant.prototype.handleCommand = function(event) {
scroller.mojo.revealTop(0);
$("drawerId").mojo.toggleState();
this.controller.modelChanged(this.drawerModel);
+ var os=$("drawerId").mojo.getOpenState();
+ if(os) {
+ $("sendField").mojo.focus();
+ }else{
+ $("sendField").mojo.blur();
+ }
break;
case "venue-map":
this.controller.stageController.pushScene({name: "nearby-venues-map", transition: Mojo.Transition.crossFade},this.lat,this.long,this.resultsModel.items,this.username,this.password,this.uid,this);
@@ -524,25 +531,48 @@ NearbyVenuesAssistant.prototype.handleCommand = function(event) {
this.controller.stageController.pushScene({name: "preferences", transition: Mojo.Transition.crossFade});
break;
case "do-Refresh":
- $("spinnerId").mojo.start();
+ /*$("spinnerId").mojo.start();
$("spinnerId").show();
$("resultListBox").style.display = 'none';
- _globals.nearbyVenues=undefined;
- this.onGetNearbyVenues();
+ //_globals.nearbyVenues=$A([]);
+ _globals.reloadVenues=true;
+ this.onGetNearbyVenues();*/
+ this.controller.stageController.swapScene('nearby-venues',auth,userData,_globals.username,_globals.password,_globals.uid)
break;
case "do-Nothing":
break;
}
}
}
-
+NearbyVenuesAssistant.prototype.filterFunction = function(filterString, widget, offset, limit) {
+ // var matchingSubset = this.getMatches(filterString, offset, limit);
+ // listWidget.mojo.noticeUpdatedItems(offset, matchingSubset);
+// listWidget.mojo.setLength(matchingSubset.length);
+Mojo.Log.error("###filter="+filterString+", offset="+offset+", limit="+limit+", widget="+widget.id);
+ var matches=Array();
+ if(filterString=="") {
+ matches=_globals.nearbyVenues;
+ }else{
+ for(var m=0;m<_globals.nearbyVenues.length;m++) {
+ var vname=_globals.nearbyVenues[m].name;
+ if(vname.toLowerCase().indexOf(filterString.toLowerCase())>-1) {
+ Mojo.Log.error("##This is one:"+_globals.nearbyVenues[m].name);
+ matches.push(_globals.nearbyVenues[m]);
+ }
+ }
+ }
+ widget.mojo.noticeUpdatedItems(offset, matches);
+ widget.mojo.setLength(matches.length);
+
+}
NearbyVenuesAssistant.prototype.activate = function(event) {
/* put in event handlers here that should only be in effect when this scene is active. For
example, key handlers that are observing the document */
// this.onGetNearbyVenues();
// this.cmmodel.items[0].toggleCmd="do-Nothing";
// this.controller.modelChanged(this.cmmodel);
+ $("sendField").mojo.blur();
if(_globals.nearbyVenues!=undefined){
$("resultListBox").style.display = 'block';
View
2 Foursquare/app/assistants/stage-assistant.js
@@ -29,7 +29,7 @@ _globals.cmmodel = {
{ iconPath: "images/friends_button.png", command: "do-Friends"},
{ iconPath: "images/todo_button.png", command: "do-Tips"},
{ iconPath: "images/shout_button.png", command: "do-Shout"},
- { iconPath: "images/badges_button.png", command: "do-Badges"},
+ { iconPath: "images/user_info.png", command: "do-Badges"},
{ iconPath: 'images/leader_button.png', command: 'do-Leaderboard'}
],
toggleCmd: "do-Venues",
View
76 Foursquare/app/assistants/user-info-assistant.js
@@ -16,6 +16,7 @@ UserInfoAssistant.prototype.setup = function() {
/* use Mojo.View.render to render view templates and add them to the scene, if needed. */
/* setup widgets here */
+
this.controller.setupWidget("userSpinner",
this.attributes = {
spinnerSize: 'large'
@@ -30,21 +31,45 @@ UserInfoAssistant.prototype.setup = function() {
this.controller.setupWidget(Mojo.Menu.commandMenu,
this.cmattributes = {
spacerHeight: 0,
- menuClass: 'no-fade'
+ menuClass: 'blue-command'
},
_globals.cmmodel);
+ this.mayorshipModel = {items: [], listTitle: $L('Results')};
+
+ this.controller.setupWidget('mayorshipList',
+ {itemTemplate:'listtemplates/venueItemsLimited'},
+ this.mayorshipModel);
+ this.historyModel = {items: [], listTitle: $L('Results')};
+
+ this.controller.setupWidget('checkinHistory',
+ {itemTemplate:'listtemplates/venueItemsShout'},
+ this.historyModel);
+
/* add event handlers to listen to events from widgets */
-
+ Mojo.Event.listen(this.controller.get('mayorshipList'),Mojo.Event.listTap, this.listWasTapped.bind(this));
+ Mojo.Event.listen(this.controller.get('checkinHistory'),Mojo.Event.listTap, this.listWasTapped.bind(this));
+
$("uhistory").hide();
+
+
+}
+var auth;
+
+function make_base_auth(user, pass) {
+ var tok = user + ':' + pass;
+ var hash = Base64.encode(tok);
+ //$('message').innerHTML += '<br/>'+ hash;
+ return "Basic " + hash;
}
UserInfoAssistant.prototype.getUserInfo = function() {
var url = 'http://api.foursquare.com/v1/user.json';
+ auth=make_base_auth(_globals.username,_globals.password);
var request = new Ajax.Request(url, {
method: 'get',
evalJSON: 'force',
- requestHeaders: {Authorization:this.auth}, //Not doing a search with auth due to malformed JSON results from it
+ requestHeaders: {Authorization:auth}, //Not doing a search with auth due to malformed JSON results from it
parameters: {uid:this.uid,badges: '1', mayor: '1'},
onSuccess: this.getUserInfoSuccess.bind(this),
onFailure: this.getUserInfoFailed.bind(this)
@@ -61,10 +86,10 @@ UserInfoAssistant.prototype.getUserInfoSuccess = function(response) {
//user info
$("userPic").src=j.user.photo;
var lname=(j.user.lastname != undefined)? j.user.lastname: "";
- var tw=(j.user.twitter != undefined)? '<img src="images/bird.png" width="16" height="16" /> <a href="http://twitter.com/'+j.user.twitter+'">'+j.user.twitter+'</a><br/>': "";
- var fb=(j.user.facebook != undefined)? '<img src="images/facebook.gif" width="16" height="16" /> <a href="http://facebook.com/profile.php?id='+j.user.facebook+'">Facebook Profile</a><br/>': "";
- var ph=(j.user.phone != undefined)? '<img src="images/phone.png" width="16" height="16" /> <a href="tel://'+j.user.phone+'">'+j.user.phone+'</a><br/>': "";
- var em=(j.user.email != undefined)? '<img src="images/mail.png" width="16" height="16" /> <a href="mailto:'+j.user.email+'">'+j.user.email+'</a><br/>': "";
+ var tw=(j.user.twitter != undefined)? '<span class="linefix"><img src="images/bird.png" width="16" height="16" /> <a class="vtag" href="http://twitter.com/'+j.user.twitter+'">'+j.user.twitter+'</a></span><br/>': "";
+ var fb=(j.user.facebook != undefined)? '<span class="linefix"><img src="images/facebook.gif" width="16" height="16" /> <a class="vtag" href="http://facebook.com/profile.php?id='+j.user.facebook+'">Facebook Profile</a></span><br/>': "";
+ var ph=(j.user.phone != undefined)? '<span class="linefix"><img src="images/phone.png" width="16" height="16" /> <a class="vtag" href="tel://'+j.user.phone+'">'+j.user.phone+'</a></span><br/>': "";
+ var em=(j.user.email != undefined)? '<span class="linefix"><img src="images/mail.png" width="16" height="16" /> <a class="vtag" href="mailto:'+j.user.email+'">Send E-mail</a></span><br/>': "";
this.cookieData=new Mojo.Model.Cookie("credentials");
var credentials=this.cookieData.get();
@@ -92,8 +117,8 @@ UserInfoAssistant.prototype.getUserInfoSuccess = function(response) {
fs='<span id="friend_button">'+fs+'</span>';
- $("userName").innerHTML=j.user.firstname+" "+lname+"<br class=\"breaker\"/>";
- $("userInfo").innerHTML+=j.user.city.name+"<br/>";
+ $("userName").innerHTML=j.user.firstname+" "+lname+"";
+ $("userCity").innerHTML=j.user.city.name+"<br class=\"breaker\"/>";
$("userInfo").innerHTML+=em+ph+tw+fb+fs;
if(j.user.checkin != undefined) {
$("userInfo").innerHTML+="<br/>"+j.user.checkin.display;
@@ -110,17 +135,20 @@ UserInfoAssistant.prototype.getUserInfoSuccess = function(response) {
//user's mayorships
if(j.user.mayor != null) {
- for(var m=0;m<j.user.mayor.length;m++) {
+ /*for(var m=0;m<j.user.mayor.length;m++) {
$("mayor-box").innerHTML+='<div class="palm-row single"><div class="checkin-score truncating-text"><span>'+j.user.mayor[m].name+'</span></div></div>';
- }
+ }*/
+ this.mayorshipModel.items=j.user.mayor;
+ this.controller.modelChanged(this.mayorshipModel);
}else{
$("mayor-box").innerHTML='<div class="palm-row single"><div class="checkin-badge"><span>'+j.user.firstname+' isn\'t the mayor of anything yet.</span></div></div>';
}
//user's badges
if(j.user.badges != null && credentials.cityid==j.user.city.id) {
var o='';
- o += '<table border=0 cellspacing=0 cellpadding=2>';
+ o += '<table border=0 cellspacing=0 cellpadding=2 width="100%">';
+ o += '<tr><td></td><td></td><td></td><td></td></tr>';
var id=0
for(var m=0;m<j.user.badges.length;m++) {
// $("badges-box").innerHTML+='<div class="palm-row single"><div class="checkin-badge"><img src="'+j.user.badges[m].icon+'" width="48" height="48" style="float:left" /> <span>'+j.user.badges[m].name+'</span><br/><span class="palm-info-text" style="margin-left:0;padding-left:0">'+j.user.badges[m].description+'</span></div></div>';
@@ -204,6 +232,23 @@ UserInfoAssistant.prototype.denyFailed = function(response) {
Mojo.Controller.getAppController().showBanner("Error denying friend request", {source: 'notification'});
}
+UserInfoAssistant.prototype.listWasTapped = function(event) {
+
+ /*this.controller.showAlertDialog({
+ onChoose: function(value) {
+ if (value) {
+ this.checkIn(event.item.id, event.item.name);
+ }
+ },
+ title:"Foursquare Check In",
+ message:"Do you want to check in here?",
+ cancelable:true,
+ choices:[ {label:'Yes', value:true, type:'affirmative'}, {label:'No', value:false, type:'negative'} ]
+ });
+ */
+
+// this.controller.stageController.pushScene({name: "venuedetail", transition: Mojo.Transition.crossFade, disableSceneScroller: true},event.item,_globals.username,_globals.password,_globals.uid);
+}
@@ -252,10 +297,13 @@ Mojo.Log.error("##history:"+response.responseText);
if(j.checkins != null) {
$("uhistory").show();
Mojo.Log.error("##got history...");
- for(var c=0;c<j.checkins.length;c++) {
+ /*for(var c=0;c<j.checkins.length;c++) {
var sh=(j.checkins[c].shout != undefined)? '<br/><span class="palm-info-text">'+j.checkins[c].shout+'</span>': "";
$("history-box").innerHTML+='<div class="palm-row single"><div class="checkin-badge truncating-text"><span>'+j.checkins[c].venue.name+'</span>'+sh+'</div></div>';
- }
+ }*/
+ this.historyModel.items=j.checkins;
+ this.controller.modelChanged(this.historyModel);
+
}else{
$("history-box").innerHTML='<div class="palm-row single"><div class="checkin-badge"><span>No recent check-ins yet.</span></div></div>';
}
View
3 Foursquare/app/views/listtemplates/venueItemsLimited.html
@@ -0,0 +1,3 @@
+<div class='result row' x-mojo-tap-highlight='momentary' style="padding:0">
+ <div class="truncating-text capitalize">#{name}</div>
+</div>
View
5 Foursquare/app/views/listtemplates/venueItemsShout.html
@@ -0,0 +1,5 @@
+<div class='result row' x-mojo-tap-highlight='momentary' style="padding:0">
+ <div class="truncating-text capitalize">#{venue.name}</div>
+ <div class='truncating-text palm-info-text capitalize' style='padding:0;padding-left:10px;padding-bottom: 7px;margin-bottom:1px;'>#{venue.address}</div>
+ <div class='truncating-text palm-info-text capitalize' style='padding:0;padding-left:10px;padding-bottom: 7px;margin-bottom:1px;'>#{shout}</div>
+</div>
View
2 Foursquare/app/views/nearby-venues/nearby-venues-scene.html
@@ -45,7 +45,7 @@
<div class="palm-group unlabeled" id='resultListBox' style='display:none;'>
<!--<div class="palm-group-title" x-mojo-loc=''>Search Results</div>-->
- <div id="results-venue-list" x-mojo-element="List" ></div>
+ <div id="results-venue-list" x-mojo-element="FilterList" ></div>
</div>
<div id="add_venue_button" x-mojo-element="Button"></div>
<br/><br/><br/><br/><br/><br/>
View
50 Foursquare/app/views/user-info/user-info-scene.html
@@ -1,5 +1,5 @@
-<div id="userinfo-main" class="palm-hasheader">
- <div class="palm-header center" id="list-header">
+<div id="main" class="noheader">
+<!-- <div class="palm-header center" id="list-header">
User Info
</div>
<div>
@@ -13,35 +13,51 @@
<div id="userInfo" class="palm-info-text"></div><br class="breaker"/>
</div>
</div>
- </div>
- <br class="breaker"/>
- <div class="palm-group" id='mayorof'>
- <div id='mayor-title' class="palm-group-title" x-mojo-loc=''>Mayorships</div>
- <div class="palm-list">
- <div id='mayor-box' class='listWhiteBox'>
+ </div> -->
+ <div class="palm-page-header multi-line" id="userHeader">
+ <div class="palm-page-header-wrapper">
+ <div id="userAvatar" style="width: 70px;float:left;">
+ <img id="userPic" width="60" height="60" data="" alt="" src="" style="border: 2px solid #003e61;" />
+ <!--<img id="userPicBorder" src="images/roundedCorner.png" class="userLink" data="" alt="" />-->
+
+ </div>
+ <div style="width: 248px; float: left;">
+ <div id="userName" class="title left capitalize" ></div>
+ <div id="userCity" class="subtitle capitalize"></div>
</div>
+ <div style="clear:both;height: 2px;">&nbsp;</div>
+ <div id="dropshadow">&nbsp;</div>
+ </div>
+ </div>
+
+ <div class="palm-group" id='mayorof'>
+ <div id='mayor-title' class="palm-group-title" x-mojo-loc=''>Mayorships</div>
+ <div id="mayorshipList" x-mojo-element="List" >
+ <!--<div id='mayor-box' class='listWhiteBox'>
+ </div>-->
</div>
</div>
- <br class="breaker"/>
<div class="palm-group" id='ubadges'>
<div id='badges-title' class="palm-group-title" x-mojo-loc=''>Badges</div>
<div class="palm-list">
<div id='badges-box'></div>
</div>
- </div>
</div>
- <br class="breaker"/>
<div class="palm-group" id='uhistory'>
<div id='history-title' class="palm-group-title" x-mojo-loc=''>History</div>
- <div class="palm-list">
- <div id='history-box' class='listWhiteBox'>
- </div>
+ <div id="checkinHistory" x-mojo-element="List" >
+ <!--<div id='history-box' class='listWhiteBox'>
+ </div>-->
</div>
</div>
-<br/><br/>
- <div class="palm-scrim" id="userScrim"></div>
- <div x-mojo-element="Spinner" id="userSpinner" class="spinnerClass" name="spinnerName"></div>
+ <div class="palm-group" id='uinfo'>
+ <div id='info-title' class="palm-group-title" x-mojo-loc=''>Info</div>
+ <div id="userInfo" class="subtitle capitalize"></div>
+ </div>
+<br/><br/><br/><br/>
</div>
+ <div class="palm-scrim" id="userScrim"></div>
+ <div x-mojo-element="Spinner" id="userSpinner" class="spinnerClass" name="spinnerName"></div>
View
4 Foursquare/appinfo.json
@@ -1,7 +1,7 @@
{
"id": "com.andrewwalpole.foursquare",
- "version": "0.0.1",
- "vendor": "AndrewWalpole",
+ "version": "0.5.4",
+ "vendor": "FourFans",
"type": "web",
"main": "index.html",
"title": "Foursquare",
View
BIN Foursquare/com.andrewwalpole.foursquare_0.0.1_all.ipk
Binary file not shown.
View
BIN Foursquare/com.andrewwalpole.foursquare_0.5.4_all.ipk
Binary file not shown.
View
BIN Foursquare/images/bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Foursquare/images/command-menu-gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Foursquare/images/todo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Foursquare/images/user_info.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Foursquare/images/venue_button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN Foursquare/images/view-menu-gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 Foursquare/index.html
@@ -10,6 +10,6 @@
<!-- application stylesheet should come in after the one loaded by the framework -->
<link href="stylesheets/4squarecheckin.css" media="screen" rel="stylesheet" type="text/css" />
</head>
-<body>
+<body class="palm-dark">
</body>
</html>
View
42 Foursquare/stylesheets/4squarecheckin.css
@@ -4,13 +4,14 @@
}
.listWhiteBox {
- background-color:#ffffff;
+ background-color: transparent;
margin:10px;
border:1px solid #999999;
}
body {
- background: #fff !important;
+ /*background: #fff !important;*/
+ background: #166bb4 url(../images/bg.png) no-repeat left top !important;
}
#message {
@@ -140,10 +141,10 @@ body {
.vtag {
border-width: 8px;
-webkit-border-image: url(../images/tag.png) 0 18 0 18;
- color: #fff;
+ color: #fff !important;
padding: 2px;
text-align: center;
- -webkit-text-stroke:0 1px 0 rgb(173, 41, 159);
+ text-shadow: 0 1px 1px rgb(173, 41, 159) ;
font-size: 17px;
margin-left: 5px;
margin-bottom: 11px;
@@ -225,3 +226,36 @@ body {
#badges-box {
margin: 4px;
}
+
+.palm-info-text {
+ color: #001f32 !important;
+}
+
+.label {
+ color: #003b5e !important;
+ text-shadow: 0px 1px 1px #006999 !important;
+}
+.linefix {
+ line-height: 31px;
+}
+
+.blue-view {
+ background-image: url(../images/view-menu-gradient.png) !important;
+}
+.blue-command {
+ background-image: url(../images/command-menu-gradient.png) !important;
+}
+
+#main {
+ /*padding-top: 40px;*/
+}
+
+.filter-field-container {
+ margin-top: 48px !important;
+}
+
+
+/*a {
+ color: #6e1965 !important;
+ text-shadow: #360c32 0px 1px 0px !important;
+}*/

0 comments on commit df96e2d

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