Просмотр файла main_files/style.css

Размер файла: 13.48Kb
/*

[Core Stylesheet]

Project: PopForms - Material Design Modal Forms
Version: 1.1
Author : themelooks.com

[Table of Contents]

1. GENERAL STYLES
	- 1-1 TYPHOGRAPHY
	- 1-2 COLOR SWTICHER
	- 1-3 VERTICAL CENTERING
	- 1-4 MODAL

2. TOP NAVIGATION

3. BANNER AREA

4. LOGIN MODAL

5. SIGNUP MODAL

6. FORGOT MODAL

7. SUBSCRIBE MODAL

8. CONTACT MODAL

9. MEDIA QUERIES
	- 9-1 LARGE DEVICES, WIDE SCREENS
	- 9-2 MEDIUM DEVICES, DESKTOPS
	- 9-3 SMALL DEVICES, TABLETS
	- 9-4 EXTRA SMALL DEVICES, PHONES
	- 9-5 CUSTOM, IPHONE RETINA

10. HELPER CLASSES
    - 10-1 RESET GUTTER
*/

/*------------------------------------*\
    1. GENERAL STYLES
\*------------------------------------*/
html, body {
	height: 100%;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
}
body {
    color: #737373;
}

.form-control::-webkit-input-placeholder {
    color: #fff;
}
.form-control::-moz-placeholder {
    color: #fff;
}
.form-control::-ms-input-placeholder {
    color: #fff;
}
.form-control.error {
    border-color: #ff5252;
}

/* 1-1 TYPHOGRAPHY */
h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
}
.mdl-typography--display-4,
.mdl-typography--display-3 {
	font-weight: 300;
}
p {
	font-size: 14px;
	font-weight: 300;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    line-height: 22px;
}
a, .mdl-button {
	font-weight: 300;
}
a {
    color: #ff5252;
}
a:hover, a:focus {
    color: #ff5252;
    text-decoration: none;
    outline: none;
}

.mdl-button--primary.mdl-button--primary.mdl-button--fab,
.mdl-button--primary.mdl-button--primary.mdl-button--raised {
    color: #fff;
    background-color: #ff5252;
}

/* 1-2 COLOR SWTICHER */
#open-switcher,
#close-switcher {
    position: fixed;
    top: 200px;
    left: 0px;
    z-index: 4;
    padding: 15px;
    color: #fff;
    background: #ff5252;
    cursor: pointer;
    border: 1px solid #ff5252;
    border-left: 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
#close-switcher {
    color: #fff;
    background: #ff5252;
    border: 1px solid #ff5252;
    display: none;
    left: 200px;
    box-shadow: 10px 5px 46px 8px rgba(0,0,0,.14), 10px 0px 26px -6px rgba(0,0,0,.2);
}
#demo-colors {
    position: fixed;
    top: 200px;
    left: -202px;
    width: 200px;
    min-height: 0;
    background: #FFF;
    border-radius: 0;
    z-index: 3;
}
#demo-wrapper {
    width: 180px;
    margin: 0 auto;
    padding-bottom: 30px;
}
#demo-wrapper h2 {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: bold;
    color: #000;
}
#demo-wrapper ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}
#demo-wrapper ul li.color-1 {
    background: #4CAF50;
    border: 1px solid #fff;
}
#demo-wrapper ul li.color-2 {
    background: #2196F3;
    border: 1px solid #fff;
}
#demo-wrapper ul li.color-3 {
    background: #FF9800;
    border: 1px solid #fff;
}
#demo-wrapper ul li.color-4 {
    background: #ff5252;
    border: 1px solid #fff;
}
#demo-wrapper ul li.color-5 {
    background: #673AB7;
    border: 1px solid #fff;
}
#demo-wrapper ul li.active {
    border: 1px solid #fff;
    box-shadow: 0px 0px 0px 1px #ddd;
}
#demo-wrapper ul li {
    float: left;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    cursor: pointer;
}
.clear {
    clear: both;
}
#demo-wrapper p {
    font-size: 12px;
    padding-top: 10px;
    text-align: center;
    color: #999;
    cursor: pointer;
}
@media screen and (max-width: 960px) {
    #open-switcher, #close-switcher, #demo-colors { display: none; }
}

/* 1-3 VERTICAL CENTERING */
.vc-parent {
    width: 100%;
    height: 100%;
    display: table;
}
.vc-child {
    display: table-cell;
    vertical-align: middle;
}

/* 1-4 MODAL */
.modal-dialog {
    width: auto;
}
.modal-content {
    background-color: transparent;
}
.modal button.close {
    position: absolute;
    top: -10px;
    right: -20px;
    z-index: 39;
    opacity: 1;
    filter: alpha(opacity=100);
    color: #fff;
    font-size: 28px;
    font-weight: 100;
    opacity: 1;
	outline: 0;
}

/*------------------------------------*\
    X. TOP NAVIGATION
\*------------------------------------*/
#topNav2 {
    position: fixed;
	top: 0;
    right: 0;
    left: 0;
    z-index: 3;
	border: none;
    border-radius: 0;
    -webkit-transition-property: top, box-shadow, background-color;
            transition-property: top, box-shadow, background-color;
    -webkit-transition-duration: .25s;
            transition-duration: .25s;
}
#topNav2.sticky {
    padding-top: 0;
    background-color: #303030;
    box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
}

#topNav2 .navbar-brand {
    display: block;
    float: none;
    width: auto;
    height: auto;
    min-height: 0;
	padding: 0;
    border-radius: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
#topNav2 .navbar-brand img {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
	background-color: #ff5252;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}

/*------------------------------------*\
    3. BANNER AREA
\*------------------------------------*/
#banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#banner:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.8);
}
.banner-content {
    color: #fff;
}

.banner-content h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
}
.banner-content h4 {
    margin-top: 12px;
    margin-bottom: 22px;
    font-weight: 300;
    text-transform: uppercase;
}

.banner-content a.mdl-button {
    padding: 5px 0;
    height: auto;
    min-width: 150px;
    margin: 0 5px 15px;
}

/*------------------------------------*\
    4. LOGIN MODAL
\*------------------------------------*/
#loginFormModal {
    padding: 0 20px;
}
#loginFormModal .modal-dialog {
    max-width: 360px;
    margin: 30px auto;
}
#loginFormModal .modal-content {
    background-color: transparent;
}

.loginForm .mdl-card {
    width: auto;
}
.loginForm .mdl-card__title {
    padding-top: 0;
}
.loginForm .mdl-card__title .modal--logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.loginForm .mdl-card__supporting-text {
    width: 100%;
}

#loginForm input {
    outline: 0;
}
#loginForm label {
    margin-bottom: 0;
    font-weight: 100;
    color: #737373;
}
#loginForm input.error + label:after {
    background-color: #ff5252;
    left: 0;
    width: 100%;
    visibility: visible;
}
#loginForm .mdl-textfield {
    width: 100%;
}
.loginForm .mdl-card__actions {
    margin-top: 5px;
}
.loginForm .mdl-card__actions a {
    font-size: 12px;
}

/*------------------------------------*\
    5. SIGNUP MODAL
\*------------------------------------*/
#signupFormModal {
    padding: 0 20px;
}
#signupFormModal .modal-dialog {
    max-width: 360px;
    margin: 30px auto;
}
#signupFormModal .modal-content {
    background-color: transparent;
}

.signupForm .mdl-card {
    width: auto;
}
.signupForm .mdl-card__title {
    padding-top: 0;
}
.signupForm .mdl-card__title .modal--logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.signupForm .mdl-card__supporting-text {
    width: 100%;
}

#signupForm input {
    outline: 0;
}
#signupForm label {
    margin-bottom: 0;
    font-weight: 100;
    color: #737373;
}
#signupForm input.error + label:after {
    background-color: #ff5252;
    left: 0;
    width: 100%;
    visibility: visible;
}
#signupForm .mdl-textfield {
    width: 100%;
}
.signupForm .mdl-card__actions {
    margin-top: 5px;
    padding-left: 15px;
}
.signupForm .mdl-card__actions p {
    margin-bottom: 0;
    margin-top: 8px;
}
.signupForm .mdl-card__actions a {
    font-size: 12px;
}

/*------------------------------------*\
    6. FORGOT MODAL
\*------------------------------------*/
#forgotFormModal {
    padding: 0 20px;
}
#forgotFormModal .modal-dialog {
    max-width: 360px;
    margin: 30px auto;
}
#forgotFormModal .modal-content {
    background-color: transparent;
}

.forgotForm .mdl-card {
    width: auto;
}
.forgotForm .mdl-card__title {
    padding-top: 0;
}
.forgotForm .mdl-card__title .modal--logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.forgotForm .mdl-card__supporting-text {
    width: 100%;
}

#forgotForm input {
    outline: 0;
}
#forgotForm label {
    margin-bottom: 0;
    font-weight: 100;
    color: #737373;
}
#forgotForm input.error + label:after {
    background-color: #ff5252;
    left: 0;
    width: 100%;
    visibility: visible;
}
#forgotForm .mdl-textfield {
    width: 100%;
}
.forgotForm .mdl-card__actions {
    margin-top: 5px;
    padding-left: 15px;
}
.forgotForm .mdl-card__actions p {
    margin-bottom: 0;
    margin-top: 8px;
}
.forgotForm .mdl-card__actions a {
    font-size: 12px;
}

/*------------------------------------*\
    7. SUBSCRIBE MODAL
\*------------------------------------*/
#subscribeFormModal {
    padding: 0 20px;
}
#subscribeFormModal .modal-dialog {
    max-width: 360px;
    margin: 30px auto;
}
#subscribeFormModal .modal-content {
    background-color: transparent;
}

.subscribeForm .mdl-card {
    width: auto;
}
.subscribeForm .mdl-card__title {
    padding-top: 0;
}
.subscribeForm .mdl-card__title .modal--logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.subscribeForm .mdl-card__supporting-text {
    width: 100%;
}

#subscribeForm input {
    outline: 0;
}
#subscribeForm label {
    margin-bottom: 0;
    font-weight: 100;
    color: #737373;
}
#subscribeForm input.error + label:after {
    background-color: #ff5252;
    left: 0;
    width: 100%;
    visibility: visible;
}
#subscribeForm .mdl-textfield {
    width: 100%;
}

/*------------------------------------*\
    8. CONTACT MODAL
\*------------------------------------*/
#contactFormModal {
    padding: 0 20px;
}
#contactFormModal .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}
#contactFormModal .modal-content {
    background-color: transparent;
}

.contactForm .mdl-card {
    width: auto;
}
.contactForm .mdl-card__title {
    padding-top: 0;
}
.contactForm .mdl-card__title .modal--logo {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 15px;
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
}
.contactForm .mdl-card__supporting-text {
    width: 100%;
}

#contactForm input {
    outline: 0;
}
#contactForm label {
    margin-bottom: 0;
    font-weight: 100;
    color: #737373;
}
#contactForm input.error + label:after,
#contactForm textarea.error + label:after {
    background-color: #ff5252;
    left: 0;
    width: 100%;
    visibility: visible;
}
#contactForm .mdl-textfield {
    width: 100%;
}
#contactMessage {
    min-height: 80px;
    border-color: rgba(0,0,0,.12);
}

/*------------------------------------*\
    9. MEDIA QUERIES
\*------------------------------------*/
/* 9-1 LARGE DEVICES, WIDE SCREENS */
@media screen and (min-width: 993px) and (max-width: 1200px) {
}

/* 9-2 MEDIUM DEVICES, DESKTOPS */
@media screen and (max-width: 992px) {
    #topNavbar2 li a {
        display: none;
    }
    #topNav2 .navbar-header {
        float: left;
        margin-left: 0;
    }
    #topNavbar2 {
        float: right;
    }
    
    #topNavbar2 .nav {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* 9-3 SMALL DEVICES, TABLETS */
@media screen and (max-width: 768px) {
}

/* 9-4 EXTRA SMALL DEVICES, PHONES */
@media screen and (max-width: 480px) {
    .loginForm .mdl-card__actions a {
        font-size: 11px;
        padding: 0 10px;
    }
	
	#banner {
		position: relative;
		height: auto;
		min-height: 100%;
	}
	.banner-content h2 {
		font-size: 34px;
		line-height: 38px;
		padding-top: 120px;
	}
}

/* 9-5 CUSTOM, IPHONE RETINA */
@media screen and (max-width: 320px) {
    #topNav .login-form-button {
        display: none;
    }
}

/*------------------------------------*\
    10. HELPER CLASSES
\*------------------------------------*/
/* 10-1 RESET GUTTER */
.no-gutter {
    margin-left: 0;
    margin-right: 0;
}
.no-gutter > [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
}