mambax7/xnewsletter

View on GitHub
assets/css/module.css

Summary

Maintainability
Test Coverage
/**
 * ****************************************************************************
 *  - A Project by Developers TEAM For Xoops - ( https://xoops.org )
 * ****************************************************************************
 *  XNEWSLETTER - MODULE FOR XOOPS
 *  Copyright (c) 2007 - 2012
 *  goffy (  )
 *
 *  You may not change or alter any portion of this comment or credits
 *  of supporting developers from this source code or any supporting
 *  source code which is considered copyrighted (c) material of the
 *  original comment or credit authors.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *  ---------------------------------------------------------------------------
 *  @copyright  goffy. luciorota (  )
 *  @license    gpl 2.0
 *  @package    xnewsletter
 *  @author     goffy, luciorota (  )
 *
 *  Version : svn:$Id$
 * ****************************************************************************
 */

.box-header {
    margin: 2px;
    padding: 5px;
    background-color: #ccc;
    width: 100%;
    height: 50px;
}

.registration {
    padding: 30px;
    text-align: center;
}

.xnewsletter_headertable {
    padding: 0;
    border-bottom: 1px solid;
    margin: 0 0 10px;
}

.xnewsletter_modulename {
    font-size: 10px;
    text-align: left;
    font-weight: bold;
    padding-right: 0.3em;
    line-height: 18px;
}

.xnewsletter_breadcrumb {
    font-size: 10px;
    line-height: 18px;
}

.xnewsletter_infotitle {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 250%;
    line-height: 250%;
    font-weight: bold;
    display: block;
}

.xnewsletter_infotext {
    margin-bottom: 8px;
    line-height: 130%;
    display: block;
}

.xnewsletter_footerlinks,
.xnewsletter_adminlinks {
    padding-top: 15px;
    padding-bottom: 5px;
    font-size: 10px;
    text-align: center;
    line-height: 18px;
}

.xnewsletter_indexfooter {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.xnewsletter_itemfooter {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

ul {
    padding: 2px;
    list-style: disc;
    text-align: left;
}

li {
    margin-left: 5px;
    color: #2F5376;
}

h4 {
    font-size: 14px;
    text-decoration: underline;
}

.xnewsletter_container {
    height: 100%;
    display: table;
    width: 100%;
    margin: 0 auto;
    border: none;
}

.xnewsletter_static {
    position: static;
    clear: both;
}

/* ---------- global ---------- */
.xnewsletter_pagenav {
    text-align: right;
}

.xnewsletter_copyright {
    text-align: center;
}

/* ---------- header.html ---------- */
.xnewsletter_head_catimgheader {
    text-align: center;
}

.xnewsletter_head_downimgheader {
    text-align: center;
}

.xnewsletter_head_imgheader {
    text-align: center;
}

.xnewsletter_head_catindexheader {
    /*  text-align: center;  do not uncomment (will stop index alignment option working)  */
}

.xnewsletter_head_catletters {
    text-align: center;
    font-size: 80%;
}

.xnewsletter_head_cattoolbar {
    text-align: center;
}

/* ---------- footer.html ---------- */
.xnewsletter_foot_commentnav {
    text-align: center;
    padding: 3px;
    margin: 3px;
}

.xnewsletter_foot_comments {
    padding: 3px;
    margin: 3px;
}

/* ---------- newlist.html ---------- */
.xnewsletter_newlist_top {
    text-align: center;
    width: 100%;
}

.xnewsletter_newlist_top fieldset {
    text-align: center;
    border: 1px solid silver;
    width: 450px;
}

.xnewsletter_newlist_totallast {
    text-align: center;
    width: 100%;
    font-weight: bold;
    font-size: large;
}

/* ---------- disclaimer.html ---------- */
.xnewsletter_disc_imghead {
    text-align: center;
}

.xnewsletter_disc_disclaimer {
    text-align: center;
}

.xnewsletter_disc_discform {
    text-align: center;
}

/* ---------- ratefile.html ---------- */
.xnewsletter_rate_imghead {
    text-align: center;
}

/* ---------- viewcat.html ---------- */
.xnewsletter_view_top {
}

.xnewsletter_view_subs {
    border: 0;
    padding: 0;
    margin: 0;
}

.xnewsletter_view_subs h3 {
    text-align: center;
    width: 100%;
    background-color: #BEC8D1;
}

.xnewsletter_view_subs fieldset {
}

.xnewsletter_view_subslist {
    text-align: left;
    vertical-align: middle;
    width: 90%;
}

.xnewsletter_view_catpath {
    text-align: left;
    margin-left: 5px;
    padding: 0;
    font-weight: bold;
}

.xnewsletter_view_sortlist {
    text-align: center;
    font-size: small;
}

/* ---------- download.html ---------- */
.xnewsletter_down_title {
    padding-top: 2.0em;
}

.xnewsletter_down_top_r {
    float: right;
    margin-right: 10px;
    position: relative;
}

.xnewsletter_down_top_l {
    float: left;
}

.xnewsletter_down_main_l {
    width: 74%;
    float: left;
    height: 100%;
    position: relative;
    display: table;
}

.xnewsletter_down_main_l p {
    padding-top: 10px;
    margin: 0;
}

.xnewsletter_down_viewdetails {
    text-align: right;
}

.xnewsletter_down_main_r {
    width: 25%;
    height: 100%;
    float: right;
    position: relative;
    display: table;
}

.xnewsletter_down_main_r p {
    padding-top: 10px;
    margin: 0;
}

.xnewsletter_down_info_top {
    margin-left: 10px;
    margin-right: 10px;
    padding: 4px;
    background-color: silver;
    border-color: #999999;
    font-size: .8em;
}

.xnewsletter_down_info_bottom {
    margin-left: 10px;
    margin-right: 10px;
    padding: 4px;
    font-size: .8em;
}

.xnewsletter_down_main_b {
    text-align: center;
}

.xnewsletter_down_main_bottom {
    width: 100%;
    position: relative;
    text-align: center;
}

.xnewsletter_down_main_bottom2 {
    text-align: center;
    background-color: silver;
    width: 100%;
    position: relative;
    line-height: 150%;
}

.xnewsletter_down_custom {
    width: 100%;
    position: relative;
    text-align: center;
}

/* ---------- singlefile.html ---------- */
.xnewsletter_single_title {
    padding-top: 2.0em;
}

.xnewsletter_single_title a {
    color: #32529C;
    background-color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.xnewsletter_single_title a:hover {
    color: #666;
    background-color: inherit;
    text-decoration: none;
}

.xnewsletter_single_top_r {
    float: right;
    margin-right: 10px;
    position: relative;
}

.xnewsletter_single_top_l {
    float: left;
}

.xnewsletter_single_main_l {
    width: 74%;
    height: 100%;
    float: left;
    position: relative;
    display: table;
}

.xnewsletter_single_main_l p {
    padding-top: 10px;
    margin: 0;
}

.xnewsletter_single_main_r {
    width: 25%;
    float: right;
    display: table-column;
}

.xnewsletter_single_info_top {
    margin-left: 10px;
    margin-right: 10px;
    padding: 4px;
    background-color: silver;
    border-color: #999999;
    color: #333;
    font-size: .8em;
}

.xnewsletter_single_info_dtimes {
    margin-left: 4px;
}

.xnewsletter_single_main_custom {
    width: 100%;
    position: relative;
    text-align: center;
}

.xnewsletter_single_main_bottom {
    text-align: center;
    background-color: silver;
    width: 100%;
    position: relative;
    /*float: bottom;*/
    /*change it to: clear:both; or clear:left;*/
    clear: both;
}

.xnewsletter_single_userrev {
    padding: 3px;
    margin: 3px;
}

.xnewsletter_single_usermir {
    padding: 3px;
    margin: 3px;
}

/* ---------- mirrors.html ---------- */
.xnewsletter_mirrors_head, .xnewsletter_mirrors_head2, .xnewsletter_mirrors_head3 {
    border-bottom: 2px solid #000000;
    border-left: 1px solid #000000;
    background-color: #BEC8D1;
    text-align: left;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: #404040;
}

.xnewsletter_mirrors_head4 {
    border-bottom: 2px solid #000000;
    border-left: 1px solid #000000;
    background-color: #BEC8D1;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #404040;
    width: 50px;
}

.xnewsletter_mirrors_head5 {
    border-bottom: 2px solid #000000;
    border-left: 0 solid #000000;
    background-color: #BEC8D1;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #404040;
    width: 30px;
}

tr.xnewsletter_mirrors_elist {
    line-height: 25px;
}

.xnewsletter_mirrors_list, .xnewsletter_mirrors_list2, .xnewsletter_mirrors_list3 {
    text-align: left;
    border-right: 1px solid #000000;
}

.xnewsletter_mirrors_list4, .xnewsletter_mirrors_list5 {
    text-align: center;
    vertical-align: middle;
}

.xnewsletter_mirrors_found {
}

table.xnewsletter_mirrors {
    width: 95%;
    padding: 10px 10px 10px 10px;
    border: 1px #000000 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

tr.xnewsletter_mirrors_end {
    background-color: #BEC8D1;
}

.xnewsletter_mirrors_foot, .xnewsletter_mirrors_foot a {
    border-top: 2px solid #000000;
    font-weight: bold;
}

.xnewsletter_mirrors_bottom {
    font-weight: bold;
}

/* ---------- reviews.html ---------- */
.xnewsletter_reviews_title {
}

.xnewsletter_reviews_desc {
}

.xnewsletter_reviews_catpath {
}

.xnewsletter_reviews_found {
    width: 90%;
    text-align: center;
}

.xnewsletter_reviews_revfound {
    text-align: left;
}

.xnewsletter_reviews_addrev {
    text-align: right;
}

.xnewsletter_reviews_reviewlist {
    padding: 10px 10px 10px 10px;
    border: 1px #000000 solid;
    border-collapse: collapse;
    width: 95%;
}

.xnewsletter_reviews_reviewer {
    text-align: left;
    width: 80%;
    background-color: #BEC8D1;
    /*  border-right: 1px solid #000000; */
    border-bottom: 2px solid #000000;
}

.xnewsletter_reviews_reviewdate {
    text-align: right;
    width: 15%;
    background-color: #BEC8D1;
    border-bottom: 2px solid #000000;
}

.xnewsletter_reviews_revlistleft {
    text-align: left;
    border-right: 1px solid #000000;
    width: 120px;
}

.xnewsletter_reviews_revlistright {
    text-align: left;
}

.xnewsletter_reviews_revlistreview {
    position: absolute;
    top: 0;
    left: 125px;
    width: 90%;
}

.xnewsletter_reviews_revlisttitle {
    margin-left: 10px;
    margin-right: 10px;
    padding: 4px;
    font-weight: bold;
    color: #0000CC;
}

.xnewsletter_reviews_revlistrev {
}

.xnewsletter_reviews_foot {
    background-color: #BEC8D1;
    border: 2px solid #000000;
    width: 95%;
}

.xnewsletter_reviews_addrev {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #BEC8D1;
    border: 2px solid #000000;
}

.xnewsletter-table {
    width:100%;
    padding:5px;
    margin-top:10px;
    margin-bottom:30px;
}
.xnewsletter-table th, .xnewsletter-table td {
    padding:5px;
}