Fix: optimize css

This commit is contained in:
Regis Houssin 2011-10-31 15:23:18 +01:00
parent 891eae77d2
commit 61bb08dfa5
4 changed files with 37 additions and 160 deletions

View File

@ -92,52 +92,22 @@ input:focus, textarea:focus, button:focus, select:focus {
box-shadow: 0 0 4px #8091BF;
}
input {
input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
input.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
select.flat, form.flat select {
font-weight: normal;
}
input:disabled {
background:#ddd;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
textarea.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
background:#ddd;
}
textarea:disabled {
background:#ddd;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
font-weight: normal;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
background:#ddd;
}
.button {
font-family: <?php print $fontlist ?>;

View File

@ -120,47 +120,23 @@ body {
a:link, a:visited, a:hover, a:active { font-family: <?php print $fontlist ?>; font-weight: bold; color: #000000; text-decoration: none; }
input {
input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
input.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
textarea.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
font-weight: normal;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
select.flat, form.flat select {
font-weight: normal;
}
input:disabled {
background:#ddd;
}
textarea:disabled {
background:#ddd;
}
input.button[type=submit] {
background-image: url(<?php echo DOL_URL_ROOT.'/theme/bureau2crea/img/bg_btnGreen.jpg' ?>);

View File

@ -91,62 +91,32 @@ input:focus, textarea:focus, button:focus, select:focus {
box-shadow: 0 0 4px #8091BF;
}
input {
input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
input.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
select.flat, form.flat select {
font-weight: normal;
}
input:disabled {
background:#ddd;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
textarea.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
background:#ddd;
}
textarea:disabled {
background:#ddd;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
font-weight: normal;
border: 1px solid #ACBCBB;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
background:#ddd;
}
input.button[type=submit] {
background: #A51B00;
-moz-border-radius:8px;
border-radius:8px;
border-right: 1px solid #555555;
border-bottom: 1px solid #555555;
border-left: 1px solid #D0D0D0;
border-top: 1px solid #D8D8D8;
background: #A51B00;
-moz-border-radius:8px;
border-radius:8px;
border-right: 1px solid #555555;
border-bottom: 1px solid #555555;
border-left: 1px solid #D0D0D0;
border-top: 1px solid #D8D8D8;
/*border: 2px solid #063953;*/
color: #FFF;
padding: 0px 10px 0px 10px;

View File

@ -92,62 +92,23 @@ input:focus, textarea:focus, button:focus, select:focus {
box-shadow: 0 0 4px #8091BF;
}
input {
input, input.flat, textarea, textarea.flat, form.flat select, select.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
input.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
select.flat, form.flat select {
font-weight: normal;
}
input:disabled {
background:#ddd;
}
textarea {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
textarea.flat {
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
background: #FDFDFD;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
textarea:disabled {
background:#ddd;
}
form.flat select {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
font-weight: normal;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
select.flat {
background: #FDFDFD;
font-size: <?php print $fontsize ?>px;
font-family: <?php print $fontlist ?>;
font-weight: normal;
border: 1px solid #ACBCBB;
padding: 1px 1px 1px 1px;
margin: 0px 0px 0px 0px;
}
.button {
font-family: <?php print $fontlist ?>;
background-image: url(<?php echo $img_button ?>);