ImpressCMS/impresscms

View on GitHub
htdocs/icms.css

Summary

Maintainability
Test Coverage
/**
* ImpressCMS styles
*
* Main system style sheet information are rendered from here.
*
* @copyright    The ImpressCMS Project http://www.impresscms.org/
* @license    http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @package    core
* @since    1.1
* @author       Sina Asghari (aka stranger) <pesian_stranger@users.sourceforge.net>
* @version    $Id$
*/

p {padding: 0; margin: 0;}
table.outer {
    width:      100%;
}

img {
    border:     0;
}

acronym, abbr, dfn {
    cursor:     help;
}

#xoopsHiddenText {
    visibility:         hidden;
    color:              #000000;
    font-weight:        normal;
    font-style:         normal;
    text-decoration:    none;
}

.pagneutral {
    font-size:          10px;
    width:              16px;
    height:             19px;
    text-align:         center;
    background-image:   url(./images/pagneutral.gif);
}

.pagact {
    font-size:          10px;
    width:              16px;
    height:             19px;
    text-align:         center;
    background-image:   url(./images/pagact.gif);
}

.paginact {
    font-size:          10px;
    width:              16px;
    height:             19px;
    text-align:         center;
    background-image:   url(./images/paginact.gif);
}

/* For required elements in XOOPS form, can be overwritten in theme styles */
.xo-theme-form td.head {
    width: 30%;
}

.xoops-form-element-caption .caption-marker {
    display:            none;
}

.xoops-form-element-caption-required .caption-marker {
    background-color:   inherit;
    padding-left:         2px;
    color:                 #ff0000;
}

.xoops-form-element-help {
    font-size:            .9em;
    padding-top:        5px;
    font-weight:        normal;
}

#xo-logger-output{ font-size: .8em;} /* only needed until logger.php and logger_render.php are modified */

/* For banners.php */
#bannerstats {}
#login_window  {
    max-width:                        480px;
    margin:                            1em auto;
    background-color:                #f8f8f8;
    color:                             inherit;
    border:                            1px solid #000;
}
#login_window  h2 {
    margin:                            .5em;
    padding:                            130px 0 0;
    background:                        url( images/password.png) no-repeat center top;
    text-align:                        center;
}
.login_form  .credentials {
    margin:                            .5em 1em;
    padding:                            1em;
    background-color:                #ccc;
    color:                            inherit;
}
.login_form  .credentials label {
    display:                        block;
    width:                            33%;
    margin:                            1px;
}
.login_form  .credentials input {
    width:                            50%;
    margin:                            1px;
    padding:                            1px;
    border:                            1px solid #000;
}
.login_form  .credentials input:focus {
    border:                            1px solid #2266cc;
}
.login_form  .actions {
    padding:                            1.5em .5em .5em;
    text-align:                        center;
}
.login_info {
    margin:                            .5em 1em;
    text-align:                     center;
}
.content_title {
    font-size:                         1.2em;
}
#bannerstats td {
    text-align:                     center;
}

.CPbigTitle{
    font-size: 20px;
    color: #1E90FF;
    background: no-repeat left top;
    font-weight: bold;
    height: 40px;
    vertical-align: middle;
    padding: 10px 0 0 50px;
    border-bottom: 3px solid #1E90FF;
}
.CPindexOptions{
    padding: 4px;
    vertical-align: top;
}
.CPmediumTitle{
    font-weight: bold;
    font-size: 14px;
    color: #FF4500;
}
div.cpicon{
    margin: 3px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
div.cpicon a {
    display: inline-block;
    height: 70px !important;
    height: 70px;
    width: 70px !important;
    width: 70px;
    vertical-align: middle;
    text-decoration : none;
    border: 1px solid #CCCCCC;
    padding: 2px 5px 1px 5px;
    margin: 0;
    margin-bottom:4px;
    color: #666666;
}

div.cpicon a:hover{
    background-color: #FFF6C1;
    border: 1px solid #FF9900;
    color: #1E90FF;
}

div.cpicon img { margin-top: 1px; margin-bottom: 1px; width: 32px; height: 32px;}
div.cpicon span {
    font-size: 11px;
    font-weight: bold;
    display: block;
    overflow: hidden;
}
div.cpicon span.uno{
    font-size: 11px;
    font-weight: normal;
    text-decoration: underline;
    color: Blue;
}
div.cpicon span.unor{
    font-size: 11px;
    font-weight: normal;
    text-decoration: underline;
    color: #CC0000;
}

#http_error_title {padding-top: 5px; padding-bottom: 5px; font-size: 20px; font-weight: bold;}
#http_error_text {padding-top: 5px; padding-bottom: 5px; text-align: left;}
#http_error_searchform{padding-top: 5px; line-height: 5px; padding-bottom: 0px;}
#http_error li{color: black; padding-top: 5px; padding-bottom: 5px;}

.ed_block_box {
    position:absolute;
    display:none;
    padding: 5px;
    background: #FFF;
    border: 2px solid #000;
    text-align: left;
    line-height: 180%;
    font-size: 11px;
    font-weight: normal;
    color: #000;
    min-width: 100px;
    width: auto;
    z-index:100 !important;
}
.ed_block_box img{
    vertical-align: middle;
}
.ed_block_box a{
    font-weight: normal;
    color: #000;
}
div#disclaimer{
    background-color: #eee;
    border: #CCC 1px solid;
    padding: 2px;
    width: 98%;
    height: 8em;
    overflow: auto;
    font-size: 1em;
    font-family: verdana,arial, helvetica, sans-serif;
}

/*Default ImpressCMS Pagination Style*/
div.pagination.default{
    margin-top: 20px;
    margin-bottom: 10px;
}

div.pagination.default a {
    text-decoration: none;
}
div.pagination.default a:hover, div.pagination.default a:active {
    /*CSS Style for the mouse hover of the links inside the pagination div*/
}

div.pagination.default span.current {
    /*CSS Style for the link of the current page*/
}
div.pagination.default span.disabled {
    display: none;
}
/*  ADVANCED STYLES */
.top_testresult{
    font-weight: bold;
    font-size:13px;
    font-family: arail,helvetica,san-serif;
    color:#666;
    padding:0;
    margin:0 0 2px 0;
}
.top_testresult span{
    padding:6px ;
    margin:0;
}
.top_shortPass{
    background:#edabab;
    border:1px solid #bc0000;
    display:block;
}
.top_shortPass span{

}
.top_badPass{
    background:#edabab;
    border:1px solid #bc0000;
    display:block;
}
.top_badPass span{

}
.top_goodPass{
    background:#ede3ab;
    border:1px solid #bc9f00;
    display:block;
}
.top_goodPass span{

}
.top_strongPass{
    background:#d3edab;
    border:1px solid #73bc00;
    display:block;
}
.top_strongPass span{

}


/*     RESULT STYLE  */
.testresult{
    font-weight: bold;
    font-size:13px;
    font-family: arial,helvetica,san-serif;
    color:#666;
    padding:0px 0px 12px 10px;
    margin-left:10px;
    display: block;
    height:28px;
    float:left;
}
.testresult span{
    padding:10px 20px 12px 10px;
    margin: 0px 0px 0px 20px;
    display:block;
    float:right;
    white-space: nowrap;
}
.shortPass{
    background:url(images/red.png) no-repeat 0 0;
}
.shortPass span{
    background:url(images/red.png) no-repeat bottom right;
}
.badPass{
    background:url(images/red.png) no-repeat 0 0;
}
.badPass span{
    background:url(images/red.png) no-repeat bottom right;
}
.goodPass{
    background:url(images/yellow.png) no-repeat 0 0;
}
.goodPass span{
    background:url(images/yellow.png) no-repeat bottom right;
}
.strongPass{
    background:url(images/green.png) no-repeat 0 0;
}
.strongPass span{
    background:url(images/green.png) no-repeat bottom right;
}
#icms_rating_container {}
#icms_rating_container .itemHead {
    font-weight: bold;
}
#icms_rating_container .item {
    width: 300px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}
#icms_rating_container .odd {
    padding: 6px;
    height: auto;
}