Remove bunch of duplicated code.

This commit is contained in:
Paulo Veiga
2011-10-02 20:16:57 -03:00
parent 0f990f1c63
commit 410180e744
6 changed files with 69 additions and 485 deletions

View File

@@ -1,73 +0,0 @@
/*Moodal Dialog styles*/
/* moodalbox CSS */
div#mb_overlay {
position: absolute;
left: 0;
width: 100%;
background-color: #000;
cursor: pointer;
z-index: 98;
}
div#mb_center, div#mb_bottom {
position: absolute;
left: 50%;
overflow: hidden;
background-color: #DDD;
z-index: 98;
}
div#mb_center {
background-color: #FFF;
}
div#mb_contents {
width: 400px;
height: 400px;
border: 10px solid #DDD;
overflow: auto;
background-color: #FFF;
visibility: hidden;
}
.mb_loading {
background: #DDD url( ../images/loading.gif ) no-repeat center center;
}
#mb_error {
font-size: 1.2em;
color: #CD0000;
font-weight: bold;
text-align: center;
padding: 0.5em;
font-family: Verdana, Helvetica, sans-serif;
}
#mb_error em {
font-size: 0.8em;
}
div#mb_bottom {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #666;
line-height: 1.4em;
text-align: left;
border: 10px solid #DDD;
border-top-style: none;
}
a#mb_close_link {
display: block;
float: right;
width: 66px;
height: 22px;
background: transparent url( ../images/closelabel.gif ) no-repeat center;
margin: 5px 0;
}
div#mb_caption {
margin-right: 71px;
}

View File

@@ -1,59 +0,0 @@
/***************************************************************************************************
Title : Lightbox CSS
Author : Kevin Hale
URL : http://particletree.com/features/lightbox-gone-wild/
Created : January 13, 2006
Modified : February 1, 2006
/*******************************************/
#lightbox {
display: none;
position: absolute;
top: 50%;
left: 50%;
z-index: 9999;
width: 300px;
height: 300px;
margin: -150px 0 0 -150px;
}
#lightbox[id] {
position: fixed;
}
#overlay-lightbox {
display: none;
position: absolute;
top: 0;
left: 0;
width: 3000px; /* IE hack */
height: 3000px; /* IE hack */
z-index: 5000;
/*background-color: snow;*/
background-color:#000;
-moz-opacity: 0.8;
opacity: .80;
filter: alpha( opacity = 80 );
}
#overlay-lightbox[id] {
position: fixed;
}
#lightbox.done #lbLoadMessage {
display: none;
}
#lightbox.done #lbContent {
display: block;
}
#lightbox.loading #lbContent {
display: none;
}
#lightbox.loading #lbLoadMessage {
display: block;
}