Wow, settings now looks pretty nice
This commit is contained in:
parent
7f9af6d863
commit
47b21961a0
|
@ -87,7 +87,7 @@ var Pages = {
|
||||||
},
|
},
|
||||||
|
|
||||||
renderSettings: function(data) {
|
renderSettings: function(data) {
|
||||||
$('#data-container').css('background', 'url(/images/concrete_wall_2.png) 0 -30px repeat');
|
$('#data-container').css('background', 'none');
|
||||||
$('#data-container .inner').html(data);
|
$('#data-container .inner').html(data);
|
||||||
yaCounter7596904.hit(Ajax.getAnchor(), 'Settings', Ajax.referer);
|
yaCounter7596904.hit(Ajax.getAnchor(), 'Settings', Ajax.referer);
|
||||||
Ajax.setTitle('Settings');
|
Ajax.setTitle('Settings');
|
||||||
|
|
|
@ -37,6 +37,6 @@ $('.settings-container .form input').live('blur', function(){
|
||||||
'email': $('.settings-container .form input[name$="email"]').first().val(),
|
'email': $('.settings-container .form input[name$="email"]').first().val(),
|
||||||
};
|
};
|
||||||
Settings.saveAccountInfo(params, function(){
|
Settings.saveAccountInfo(params, function(){
|
||||||
console.log('saved');
|
$('#header-container .hello .greating').text('Hi there, '+ (params.username.length > 0 ? params.username : '%username%') +'!');
|
||||||
});
|
});
|
||||||
})
|
})
|
|
@ -13,9 +13,9 @@
|
||||||
}
|
}
|
||||||
.settings-container .tabs .tab {
|
.settings-container .tabs .tab {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-left: #DDD 2px solid;
|
border-left: #DDD 1px solid;
|
||||||
border-top: #DDD 2px solid;
|
border-top: #DDD 1px solid;
|
||||||
border-right: #DDD 2px solid;
|
border-right: #DDD 1px solid;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
.settings-container .tabs .tab.active {
|
.settings-container .tabs .tab.active {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
background-color: #EAEAEA;
|
background-color: #FFF;
|
||||||
border-left: #CCC 2px solid;
|
border-left: #CCC 1px solid;
|
||||||
border-top: #CCC 2px solid;
|
border-top: #CCC 1px solid;
|
||||||
border-right: #CCC 2px solid;
|
border-right: #CCC 1px solid;
|
||||||
border-bottom: #EAEAEA 6px solid;
|
border-bottom: #FFF 6px solid;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
line-height: 29px;
|
line-height: 29px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -45,14 +45,8 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
background-color: #EAEAEA;
|
border-top: #CCC 1px solid;
|
||||||
border-left: #CCC 2px solid;
|
|
||||||
border-top: #CCC 2px solid;
|
|
||||||
border-right: #CCC 2px solid;
|
|
||||||
border-bottom: #CCC 2px solid;
|
|
||||||
border-radius: 5px;
|
|
||||||
-webkit-border-radius: 5px;
|
|
||||||
-moz-border-radius: 5px;
|
|
||||||
}
|
}
|
||||||
.settings-container .form-container .form {
|
.settings-container .form-container .form {
|
||||||
margin: 25px;
|
margin: 25px;
|
||||||
|
@ -71,7 +65,7 @@
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: #CCC;
|
background-color: #EAEAEA;
|
||||||
margin-right: -10px;
|
margin-right: -10px;
|
||||||
}
|
}
|
||||||
.settings-container .form-container .form .field input[type="text"]{
|
.settings-container .form-container .form .field input[type="text"]{
|
||||||
|
|
Loading…
Reference in New Issue