forked from bengottlieb/Twitter-OAuth-iPhone
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Landscape support (without the background loading image)
- Loading branch information
Showing
4 changed files
with
100 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
40 changes: 40 additions & 0 deletions
40
Twitter+OAuth/Libraries & Headers/jQueryInjectLandscape.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
$('html').css({'-webkit-background-size':'360px'}); | ||
$('body').css({'font-size':'12px','background':'#9AE4E8'}); | ||
$('#header').width(430); | ||
$('.signin-content').css({'padding' : '15px','width' : '430px'}); | ||
$('#twitainer').width(430); | ||
$('#twitainer').css({'margin-left' : '8px'}); | ||
$('#login_form').width(30); | ||
$('#content').width(430); | ||
$('#content').css({'margin':'0px','float':'left'}); | ||
$('.tos').hide(); | ||
$('.newtos').css({'text-align':'left', 'border':'1px solid red','color':'#555555','font-size':'12px','line-height':'1.3','margin':'20px 15px 5px'}); | ||
$('.newtos p').css({'margin' : '8px'}); | ||
$('h2').hide(); | ||
$('.oauth-errors').after("<br/><div class='newtos'>" + $('.tos').html() + "</div>"); | ||
$("label:contains('Username or Email: ')").html("Username: "); | ||
$(".app-icon").attr({align : "right"}); | ||
$(".app-icon").css({'margin': '20px 0px 0px 0px;', 'border': '0px solid black', 'padding' : '-20px 0 0 10px'}); | ||
$('#signin_form .text').width(155); | ||
$('#signin_form .password').width(155); | ||
$('h4').after("<br/>"); | ||
$('#signin_form').css({'padding-top': '0'}); | ||
$("h4").width(410); | ||
$("h4").css('font-size', '12px'); | ||
$("h4").html($("h4").html().replace(/This application/, '<br/><br/>This application')); | ||
$('.buttons').css({'margin-left' : '-17px' , 'width':'300'}); | ||
$('#deny').css({'-webkit-transform': 'scale(0.9)'}); | ||
$('#allow').css({'-webkit-transform': 'scale(0.9)'}); | ||
$('#oauth_pin').css({'-webkit-transform': 'scale(0.5)'}); | ||
$('.newtos').css({'border':'1px solid #A9BF74', 'background-color':'#E8FECD'}); | ||
$('.newtos p').css({'margin':'8px'}); | ||
|
||
// This rearranges the allow and deny buttons so that | ||
// the allow button is the first of the two input[type=submit] | ||
// This allows the "Go" button on the UIWebView's keyboard | ||
// to trigger an allow, instead of a deny. | ||
var deny = $( '#deny' ); | ||
var allow = $( '#allow' ); | ||
$('div.buttons').empty(); | ||
$('div.buttons').append( allow ); | ||
$('div.buttons').append( deny ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters