Viewing File: /home/maglabs/2vsa/wp-content/themes/cargohub/css/elements.less

img {
	max-width: 100%;
	height: auto;
}

input[type=text],
textarea {
	border: 1px solid @gray;
	background: @light;
}

blockquote {
	font-size: 16px;
	font-style: italic;
	border-left: 3px solid @primary-color;
	padding: 15px 0 15px 20px;
    margin: 35px 0 35px 40px;
    line-height: 2;
    font-weight: 500;
}

table {
    text-align: left;

    tr {
        border: 1px solid #f4f4f4;
        border-bottom-width: 0;
        padding: 5px;

        td,
        th {
            padding: 5px;
            border-bottom: 1px solid #f4f4f4;
            border-left: 1px solid #f4f4f4;
        }
    }
}

.clearfix() {
    zoom: 1;

    &:before,
    &:after {
        content: "";
        display: table;
    }

    &:after {
        clear: both;
    }
}

.clearfix {
	zoom: 1;

	&:before,
	&:after {
		content: "";
		display: table;
	}

	&:after {
		clear: both;
	}
}

.tabs {
	@-webkit-keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
	@-moz-keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
	@keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}

	.tabs-nav {
		margin: 0;
		padding: 0;
		overflow: hidden;
		list-style-type: none;

		li {
			float: left;
		}

		a {
			display: block;
		}
	}

	.tabs-panel {
		clear: both;
		display: none;

		&.active {
			animation: fadeIn 1 1s ease;
			display: block;
		}
	}
}

.socials {
    a {
        display: inline-block;
        padding: 0 15px;
        font-size: 18px;
        color: #848484;
        transition: 0.5s;

        &:last-child {
            padding-right: 0;
        }

        &:first-child {
            padding-left: 0;
        }

        &:hover {
            color: @primary-color;
        }
    }
}

.main-color {
    color: @primary-color;
}

.main-background-color {
    background-color: @primary-color;
}

.sub-color {
    color: @secondary-color;
}

.sub-background-color {
    background-color: @secondary-color;
}

.owl-carousel div.owl-item img {
    max-width: 100%;
    width: inherit;
}

// Revo

.ch_button,
.tp-caption.ch_button {
    transition: 0.3s !important;
    border-radius: 0 !important;
    padding: 17px 35px !important;
    text-align: center !important;
    min-width: 175px !important;

	&:hover {
		border-color: @primary-color !important;
        background-color: @primary-color !important;
	}
}

// Contact form

.fh-form {
    p {
        &:before,
        &:after {
            content: '';
            display: table;
        }
        &:after {
            clear: both;
        }
    }

    .single-field {
        clear: both;
    }

    .field {
        margin-bottom: 20px;

        &.submit {
            margin-bottom: 0;
        }
    }

    input[type="submit"] {
        text-transform: capitalize;
        font-size: 15px;
        font-weight: 400;

        &:focus {
            outline: none;
        }
    }

    textarea,
    input[type="text"],
    input[type="email"],
    select {
        width: 100%;
        border: 1px solid #ececec;
        padding-left: 15px;
        padding-right: 15px;
        color: #848484;
        background-color: #fff;
        transition: 0.5s;

        &:focus {
            outline: none;
            border-color: #a8a8a8;
        }
    }

    textarea {
        height: 175px;
        padding: 10px 15px;
    }

    input[type="text"],
    input[type="email"],
    select {
        font-size: 16px;
        height: 45px;
        line-height: 45px;
    }

    .first-row,
    .last-row {
        width: 50%;
        padding: 0 15px;
    }

    .first-row {
        float: left;
        padding-left: 0;
        clear: both;
    }

    .last-row {
        float: right;
        padding-right: 0;
    }

    ::-webkit-input-placeholder {
        color: #a8a8a8;
    }
    ::-moz-placeholder {
        color: #a8a8a8;
    }
    :-ms-input-placeholder {
        color: #a8a8a8;
    }
    :-moz-placeholder {
        color: #a8a8a8;
    }

    select {
        color: #a8a8a8;
    }

    .note {
        padding-top: 10px;
    }

    label {
        font-size: 18px;
        font-weight: 600;
        font-family: @font-family-secondary;
        color: @heading-color;
        margin: 0;
    }

    span.require {
        color: #ff0000;
    }
}

.fh-form-1 {
    .fh-form-row {
        margin-left: -10px;
        margin-right: -10px;
    }

    div[class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.fh-form-3 {
    textarea {
        height: 290px;
    }

    p.field {
        margin-bottom: 30px;
    }

    input[type="text"],
    input[type="email"],
    select {
        height: 50px;
        line-height: 50px;
    }

    .submit {
        text-align: center;
    }
}

.fh-form-2 {
    textarea {
        height: 145px;
    }

    input[type="text"],
    input[type="email"],
    select {
        height: 48px;
        line-height: 48px;
    }

    p.field {
        margin-bottom: 30px;
    }

    .field.submit {
        margin-top: -5px;
    }
}

.request-form {
    .form-label {
        color: @heading-color;
        font-weight: 400;
        margin-bottom: 35px;
    }

    .field {
        margin-bottom: 25px;

        &.check-box {
            margin-bottom: 33px;
        }
    }

    label {
        color: @heading-color;
        font-size: 16px;
        font-weight: 500;
        font-family: @font-family-secondary;
        margin-bottom: 3px;
    }

    textarea {
        height: 113px;
    }

    input[type="submit"] {
        width: 100%;
    }

    .checkbox-box {
        display: block;
        border: 1px solid #ececec;
        padding: 25px 20px;

        .wpcf7-list-item {
            display: block;
            margin-left: 0;
            margin-bottom: 8px;

            &.last {
                margin-bottom: 0;
            }

            label {
                width: 100%;
                color: #848484;
                font-weight: 300;
                font-family: @font-family-primary;
            }
        }

        .wpcf7-list-item-label {
            margin-left: 10px;
        }
    }
}

.track-form {
    & > div {
        .clearfix();
    }

    label {
        width: 25%;
        float: left;
        font-size: 16px;
        font-weight: 500;
        padding-top: 13px;
    }

    .date-range {
        font-size: 16px;
        font-weight: 500;
        color: @heading-color;
        font-family: @font-family-secondary;
        display: inline-block;
        padding-left: 10px;
    }

    .field {
        width: 75%;
        float: right;
        margin-bottom: 30px;
    }

    p.submit {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    input[type="text"],
    input[type="email"],
    select {
        height: 50px;
        line-height: 50px;
    }

    span.start,
    span.end {
        width: 45%;
        display: inline-block;
        position: relative;

        &:after {
            content: '\f073';
            font-family: FontAweSome;
            color: @primary-color;
            font-size: 14px;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
        }

        input {
            padding-right: 40px;
        }
    }

    span.end {
        float: right;
    }

    span.wpcf7-list-item {
        margin-left: 0;
        margin-right: 30px;
    }

    .fh-radio {
        display: block;
        margin-top: 13px;

        .wpcf7-list-item {
            label {
                width: 100%;
                color: #848484;
                font-weight: 300;
                font-family: @font-family-primary;
                padding-top: 0;
            }
        }
    }

    .text-form {
        font-weight: 400;

        a {
            text-decoration: underline;
        }
    }
}
Back to Directory File Manager