Réglages js et css

This commit is contained in:
Michael RICOIS 2016-05-05 14:28:15 +02:00
parent 7b51bd31b5
commit 6ea1905c74
2 changed files with 8 additions and 10 deletions

View File

@ -1,9 +1,9 @@
$(function() {
$(window).bind("load resize", function() {
topOffset = 50;
bottomOffset = 50;
var topOffset = 50;
var bottomOffset = 50;
height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
height = height - topOffset - bottomOffset;
height = height - topOffset - bottomOffset - 40;
if (height < 1) height = 1;
if (height > topOffset) {
$("#page-wrap").css("min-height", (height) + "px");
@ -26,7 +26,7 @@ $(function() {
});
});
$('input.button, button, span.ui-button').button();
/*$('input.button, button, span.ui-button').button();*/
$('.demanderef').on('click', function(){
var title = '';

View File

@ -77,15 +77,13 @@ body {
#page-wrap {
position: inherit;
margin: 0 0 0 250px;
/*padding: 0 30px;*/
padding: 0 30px;
border-left: 1px solid #e7e7e7;
}
#global {width:970px; margin:0 auto 15px; text-align:left;}
#content {float:right;width:700px;}
#center {background-color:#fff;padding:5px 0;}
#center h1 {clear:both;margin:5px;padding:5px;background:#8f8f8f;color:#ffffff;font-weight:bold;font-size:1.4em;}
#center h2 {clear:both; margin:5px; padding:5px;background:#1A5C7D;color:#ffffff;font-weight:bold;font-size:1.2em;}
#content {background-color:#fff;padding:5px 0;}
/*#center h1 {clear:both;margin:5px;padding:5px;background:#8f8f8f;color:#ffffff;font-weight:bold;font-size:1.4em;}
#center h2 {clear:both; margin:5px; padding:5px;background:#1A5C7D;color:#ffffff;font-weight:bold;font-size:1.2em;}*/
div.paragraph {padding:5px;}
.StyleInfoLib {font-size:12px;font-weight:bold;color:#535353; vertical-align:top;line-height:18px;}
.StyleInfoData {font-size:12px;color:#535353;line-height:18px;}