northumbrian
5/4/2016 - 1:53 PM

CSS to style Enews extended forms nicely - by junioratoms/Larry in CobaltApps forum http://cobaltapps.com/forum/forum/main-category/web-desi

CSS to style Enews extended forms nicely - by junioratoms/Larry in CobaltApps forum http://cobaltapps.com/forum/forum/main-category/web-design-talk/15467-enews-extended-css


/* Genesis eNews Extended styling
--------------------------------------------- */

.sidebar.widget-area .enews-widget {
    background: #eee;
    border: 20px solid #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 0 1px #eee;
    box-shadow: 0 0 0 1px #eee;
}

.sidebar.widget-area .enews-widget h4 {
    background: transparent;
    border: 0;
    color: #444;
    font-size: 18px;
    padding: 15px 20px;
}

.sidebar.widget-area .enews-widget p {
    color: #666;
    font-size: 14px;
    padding: 0 20px;
}

.sidebar.widget-area .enews #subscribe {
    padding: 20px 20px 0;
}

.sidebar.widget-area .enews #subbox,
.sidebar.widget-area .enews #subbox1,
.sidebar.widget-area .enews #subbox2,
.sidebar.widget-area .enews #subbutton {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #999;
    font-size: 14px;
    margin: 0 0 15px;
    outline: none;
    padding: 14px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.sidebar.widget-area .enews #subbox:focus,
.sidebar.widget-area .enews #subbox1:focus,
.sidebar.widget-area .enews #subbox2:focus {
    border: 1px solid #555;
}

.sidebar.widget-area .enews #subbutton {
    background: #73BF3A;
    border: 0;
    color: #fff;
    letter-spacing: 1px;
    padding-bottom: 15px;
    text-transform: uppercase;
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
}

.sidebar.widget-area .enews #subbutton:hover {
    background: #7cc644;
}

.sidebar.widget-area .enews #subbutton:active {
    background: #6bb236;
    -webkit-box-shadow: inset 0 3px 0 rgba(0,0,0,0.1);
    box-shadow: inset 0 3px 0 rgba(0,0,0,0.1);
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}