Mise à jour des styles pour l'impression PDF et ecran

This commit is contained in:
Michael RICOIS 2015-01-29 16:15:40 +00:00
parent 918e273d97
commit ea32a8f6dd
2 changed files with 151 additions and 140 deletions

View File

@ -1,4 +1,4 @@
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
@ -24,7 +24,10 @@ body {
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
@ -36,6 +39,7 @@ footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
@ -66,8 +70,8 @@ audio:not([controls]) {
}
/**
* Address `[hidden]` styling not present in IE 8/9.
* Hide the `template` element in IE, Safari, and Firefox < 22.
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
@ -83,7 +87,7 @@ template {
*/
a {
background: transparent;
background-color: transparent;
}
/**
@ -99,7 +103,7 @@ a:hover {
========================================================================== */
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
@ -107,7 +111,7 @@ abbr[title] {
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
@ -116,7 +120,7 @@ strong {
}
/**
* Address styling not present in Safari 5 and Chrome.
* Address styling not present in Safari and Chrome.
*/
dfn {
@ -125,7 +129,7 @@ dfn {
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
@ -174,7 +178,7 @@ sub {
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
@ -182,7 +186,7 @@ img {
}
/**
* Correct overflow displayed oddly in IE 9.
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
@ -193,7 +197,7 @@ svg:not(:root) {
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
* Address margin not present in IE 8/9 and Safari.
*/
figure {
@ -242,7 +246,7 @@ samp {
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
@ -256,7 +260,7 @@ textarea {
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10.
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
@ -266,7 +270,7 @@ button {
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
@ -345,8 +349,8 @@ input[type="number"]::-webkit-outer-spin-button {
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
@ -379,7 +383,7 @@ fieldset {
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
@ -389,7 +393,7 @@ legend {
}
/**
* Remove default vertical scrollbar in IE 8/9.
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
@ -597,6 +601,12 @@ ul.tabs li a.active {background-color:#ffffff;color:#282e32;border:1px solid #46
.content ul li a {text-decoration:none;color:#3e4346;}
.content ul li a small {color:#8b959c;font-size:9px;text-transform:uppercase;font-family:Verdana, Arial, Helvetica, sans-serif;position:relative;left:4px;top:0px;}
.content ul li:last-child {border-bottom:none;}
table.liasse {width:100%;border-collapse:collapse;}
table.liasse th {border:1px solid #000000;padding:8px 4px 8px 4px;background-color:#eeeeee;text-align:center; }
table.liasse td.date {text-align:center;background-color:#2b2b8b;color:white;font-weight:bold;width:90px;}
table.liasse td {padding:8px 4px 8px 4px;border:1px solid #000000;vertical-align:top;}
table.liasse td.decision {min-width:150px;}
table.liasse td.type {min-width:250px;}
/* Géolocalisation
----------------------------------*/
@ -613,7 +623,6 @@ ul.tabs li a.active {background-color:#ffffff;color:#282e32;border:1px solid #46
#annoncesDate p {margin:0; line-height:16px; vertical-align:middle;}
#annoncesImg { float:right; border:0; margin:0 20px 0 0;}
#annoncesImg img {margin:0; border:0;}
.listeCompetences { margin:5px 5px 5px 50px;}
.listeCompetences li {margin:10px 5px 20px 5px;}
tr.deleted {text-decoration:line-through;}
@ -716,25 +725,27 @@ table.greffe td.decision {min-width:150px;}
table.greffe td.type { min-width:250px; }
table.greffe td.saisie { border-top: 1px dashed; }
/* Kbis
----------------------------------*/
/* progress bar container */
#progressbar {border:1px solid black;width:200px;height:20px;position:relative;color:black;}
/* color bar */
#progressbar div.progress {position:absolute;width:0;height:100%;overflow:hidden;background-color:#369;}
/* text on bar */
#progressbar div.progress .text {position:absolute;text-align:center;color:white;}
/* text off bar */
#progressbar div.text {position:absolute;width:100%;height:100%;text-align:center;}
/* Print
----------------------------------*/
@media print {
body {font-family:Verdana, Arial, sans-serif;font-size: 11px;}
#global {width:auto !important;text-align:left;}
#content {margin:0; padding:0; width:auto; }
table {page-break-inside:avoid}
div.paragraph {page-break-inside:avoid}
div#menu {display:none;}
@page {
size: portrait;
margin: 1cm;
};
h1 {
page-break-before: always;
}
table {
page-break-before: avoid;
page-break-inside: avoid;
}
body { background-color:#ffffff; font-family:Verdana, Arial, sans-serif; font-size:11px; }
global { width:100% !important; margin:0; }
#content { float:none; clear:none; width:100% !important; padding:0; margin:0; }
div#menu { display:none; }
#center { padding:0; }
h1 { letter-spacing:none; }
#footer { clear:both; text-align:center; margin-top:15px; }
}

View File

@ -725,25 +725,25 @@ table.greffe td.decision {min-width:150px;}
table.greffe td.type { min-width:250px; }
table.greffe td.saisie { border-top: 1px dashed; }
/* Kbis
----------------------------------*/
/* progress bar container */
#progressbar {border:1px solid black;width:200px;height:20px;position:relative;color:black;}
/* color bar */
#progressbar div.progress {position:absolute;width:0;height:100%;overflow:hidden;background-color:#369;}
/* text on bar */
#progressbar div.progress .text {position:absolute;text-align:center;color:white;}
/* text off bar */
#progressbar div.text {position:absolute;width:100%;height:100%;text-align:center;}
/* Print
----------------------------------*/
@media print {
body {font-family:Verdana, Arial, sans-serif;font-size: 11px;}
#global {width:auto !important;text-align:left;}
#content {margin:0; padding:0; width:auto; }
table {page-break-inside:avoid}
div.paragraph {page-break-inside:avoid}
div#menu {display:none;}
@page {
size: portrait;
margin: 1cm;
};
h1 {
page-break-before: always;
}
table {
page-break-before: avoid;
page-break-inside: avoid;
}
body { font-family:Verdana, Arial, sans-serif; font-size:11px; }
global { width:19cm !important; margin:0 auto; }
#content { float:none; clear:none; width:19cm !important; padding:0; margin:0; }
#center { padding:0; }
#footer { clear:both; text-align:center; margin-top:15px; }
}