Merge pull request #579 from tiwariav/task/4119/dcl_cms_plugins

task/4119/dcl_cms_plugins
This commit is contained in:
Arvind Tiwari 2018-03-10 00:07:05 +05:30 committed by GitHub
commit b6888106e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1373 additions and 505 deletions

View file

@ -1,51 +1,15 @@
.dcl-cms_page-full-width {
color: #fff;
text-align: center;
background-image: -ms-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -moz-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -o-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -webkit-gradient(linear, right top, left top, color-stop(50, #29427A), color-stop(100, #4F6699));
background-image: -webkit-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: linear-gradient(to left, #29427A 50%, #4F6699 100%);
/* only for cms editing mode */
.section-figure .cms-plugin {
flex-basis: 50%;
flex-grow: 1;
}
.dcl-cms_page-header {
padding: 150px 0 150px 0;
text-align: center;
color: #f8f8f8;
background: url(../img/pattern.jpg) no-repeat center center;
background-size: cover;
position: relative;
background-attachment: fixed;
}
.dcl-cms_page-header::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(90, 116, 175, 0.85);
}
.dcl-cms_page-header .container {
position: relative;
}
#dcl-cms_page-text {
background: #fff;
}
#dcl-cms_page-text h3 {
font-size: 42px;
width: 70%;
.split-section-plain .section-figure .cms-plugin {
flex-grow: 0;
}
@media (max-width: 767px) {
#dcl-cms_page-text h3 {
font-size: 30px;
line-height: 40px;
width: 100%;
}
.section-figure .cms-plugin {
flex-basis: 100%;
}
}

View file

@ -0,0 +1,179 @@
.header_slider > .carousel .carousel-inner {
min-height: 95vh;
display: flex;
}
.header_slider > .carousel .carousel-inner > .next,
.header_slider > .carousel .carousel-inner > .prev {
bottom: 0;
}
.header_slider .carousel-indicators {
width: 100%;
left: 0;
margin-left: 0;
}
.header_slider .carousel-indicators li {
margin-right: 25px;
width: 16px;
height: 16px;
}
.header_slider .carousel-indicators li.active {
background-color: #ffffff;
}
.header_slider .carousel-control {
display: none;
}
.header_slider .carousel-control .fa {
font-size: 2em;
position: absolute;
top: 50%;
margin-top: -50px;
}
.header_slider > .carousel .item {
background: rgba(0,0,0,0.5);
flex: 1;
}
.header_slider > .carousel .item .container {
overflow: auto;
padding: 50px 20px 60px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-end;
/* background: rgba(0,0,0,0.5); */
}
.header_slider .intro-cap {
margin: 0;
text-align: right;
line-height: 1.1;
font-size: 23px;
padding-bottom: 10px;
color: #fff;
}
.header_slider .btn-trans {
align-self: flex-end;
z-index: 2;
position: relative;
}
@media (max-width: 767px) {
.header_slider .intro-cap,
.header_slider .intro_lead {
font-weight: 400;
}
}
@media (min-width: 768px) {
.header_slider .intro-cap {
font-size: 2.5em;
}
.header_slider .carousel-control {
width: 50px;
display: block;
}
.header_slider .carousel-control .fa-angle-left {
left: 25px;
}
.header_slider .carousel-control .fa-angle-right {
right: 25px;
}
.header_slider .carousel-control .fa {
font-size: 4em;
}
.header_slider > .carousel .item .container {
overflow: auto;
padding: 75px 50px;
}
.header_slider .btn-trans {
padding: 8px 15px;
min-width: 175px;
letter-spacing: 1px;
font-size: 1.25em;
}
}
@media (min-width: 992px) {
.header_slider .intro-cap {
font-size: 3.25em;
}
}
.header_slider .intro_lead {
color: #fff;
font-size: 1.55em;
text-align: right;
line-height: 1.4;
margin-bottom: 0;
padding-bottom: 10px;
}
@media (max-width: 768px) {
.header_slider .intro_lead {
font-size: 1.1em;
margin-bottom: 15px;
}
.header_slider .carousel-indicators li {
margin: 1px 25px;
width: 16px;
height: 16px;
}
.header_slider .carousel-indicators li.active {
margin: 0 25px;
width: 18px;
height: 18px;
}
}
.bg_img {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
}
.bg_vid {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
}
@media (min-aspect-ratio: 16/9) {
.bg_vid > video {
width: 100%;
height: auto;
}
}
@media (max-aspect-ratio: 16/9) {
.bg_vid > video {
/* width: auto; */
height: 100%;
}
}
.btn-trans {
color: #fff;
border: 2px solid #fff;
padding: 4px 18px;
letter-spacing: 0.6px;
background: rgba(0,0,0,0.35);
}

View file

@ -19,17 +19,6 @@ textarea {
* blue dark #29427A
*/
.lead {
font-size: 18px;
}
@media (min-width: 768px) {
.lead-right {
text-align: right;
}
}
.btn {
box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
@ -102,14 +91,32 @@ textarea {
color: #fff;
}
.navbar-transparent .navbar-nav>li>a {
.navbar-transparent .navbar-nav>li a {
color: #fff;
}
.navbar-transparent .navbar-nav>li>a:focus,
.navbar-transparent .navbar-nav>li>a:hover {
.navbar-transparent .navbar-nav>li a:focus,
.navbar-transparent .navbar-nav>li a:active,
.navbar-transparent .navbar-nav>li a:hover {
color: #fff;
background-color: transparent;
text-decoration: none;
}
.navbar .dcl-link {
display: block;
padding: 15px;
color: #777;
}
.navbar .dcl-link:focus,
.navbar .dcl-link:active,
.navbar .dcl-link:hover {
text-decoration: none;
}
.navbar .dropdown-menu .dcl-link {
padding: 1px 10px;
}
.navbar-transparent .navbar-nav>li>.on-hover-border {
@ -195,8 +202,8 @@ textarea {
margin-left: 15px;
}
.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
.dropdown-menu>li a:focus,
.dropdown-menu>li a:hover {
background: transparent;
text-decoration: underline !important;
}
@ -237,6 +244,44 @@ textarea {
padding: 5px 10px !important;
}
/* dcl header */
.dcl-header {
padding: 150px 0 150px 0;
text-align: center;
color: #f8f8f8;
background: url(../img/pattern.jpg) no-repeat center center;
background-size: cover;
position: relative;
background-attachment: fixed;
}
.dcl-header::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(90, 116, 175, 0.85);
}
.dcl-header .container {
position: relative;
}
.dcl-header h1 {
font-size: 65px;
margin: 0;
padding: 0;
}
@media(max-width:767px) {
.dcl-header h1 {
font-size: 50px;
}
}
.intro-header {
min-height: 100vh;
text-align: center;
@ -332,6 +377,7 @@ textarea {
.split-section {
padding: 70px 0;
border-top: 1px solid #f6f7f8;
}
.split-section .icon-section {
@ -354,9 +400,10 @@ textarea {
font-weight: 300 !important;
}
.new-lead {
font-weight: 300 !important;
font-size: 21px !important;
.split-section .split-text h2 {
font-size: 40px;
line-height: 50px;
color: #3a3a3a;
}
.split-section .split-text .split-title {
@ -366,13 +413,11 @@ textarea {
.split-section .split-text .split-title h2 {
font-size: 50px;
line-height: 50px;
padding-bottom: 25px;
color: #3a3a3a;
letter-spacing: 3px;
letter-spacing: 2px;
}
.split-section.left {
.section-gradient {
background: -webkit-linear-gradient(#f0f4f7, #fff) no-repeat;
background: -o-linear-gradient(#f0f4f7, #fff) no-repeat;
background: linear-gradient(#f0f4f7, #fff) no-repeat;
@ -394,53 +439,85 @@ textarea {
text-align: left;
}
.split-section.right .split-text {
text-align: right;
}
.split-section.right .split-text ul {
text-align: left;
}
.split-section.right .split-text ul,
.split-section.left .split-text {
text-align: left;
}
.split-section.right .split-text .split-title h2 {
.split-section.right .split-text {
text-align: right;
}
.split-section.left .split-text .split-title h2 {
text-align: left;
}
.split-section.right .split-text .split-title::before {
.split-section .split-text .split-title::before {
content: "";
position: absolute;
bottom: 0;
background: #29427A;
height: 7px;
width: 70px;
left: auto;
}
.split-section.right .split-text .split-title::before {
right: 0;
}
.split-section.left .split-text .split-title::before {
content: "";
position: absolute;
bottom: 0;
background: #29427A;
height: 7px;
width: 70px;
left: 0;
}
.pricing-section {
padding: 80px 0 !important;
background: -webkit-linear-gradient(top, #f0f4f7, #fff) no-repeat;
background: linear-gradient(to bottom, #f0f4f7, #fff) no-repeat;
.section-figure {
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.pricing-section .card {
.section-figure .section-image {
padding: 20px 40px 30px;
flex-basis: 50%;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
@media (max-width: 767px) {
.section-figure .section-image {
flex-basis: 100%;
}
}
.split-section-plain .section-figure .section-image {
flex-grow: 0;
padding: 50px 15px 0;
}
.split-section-plain .section-figure {
justify-content: flex-start;
}
@media (min-width: 768px) {
.split-section-plain .split-figure {
width: 41.66666667%;
}
.split-section-plain .split-text {
width: 58.33333333%;
}
}
.section-image img {
margin: auto;
}
.section-image-caption {
padding-top: 20px;
display: inline-block;
color: #999 !important;
}
.price-calc-section .card {
width: 350px;
margin: 0 auto;
background: #fff;
@ -450,65 +527,33 @@ textarea {
position: relative;
}
.pricing-section .card .img-beta {
position: absolute;
top: 5px;
width: 60px;
left: 3px;
}
.pricing-section .card .title {
.price-calc-section .card .title {
padding: 15px 40px;
}
.pricing-section .card .title h3 {}
.pricing-section .card .price {
.price-calc-section .card .price {
background: #5A74AF;
padding: 22px;
color: #fff;
font-size: 32px;
}
.pricing-section .card .description {
.price-calc-section .card .description {
padding: 12px;
}
.pricing-section .card .descriptions {
.price-calc-section .card .descriptions {
padding: 10px 30px;
}
.pricing-section .card .description p {
.price-calc-section .card .description p {
margin: 0;
}
.pricing-section .card .btn {
.price-calc-section .card .btn {
margin-top: 20px;
}
.pricing-section .text {
text-align: left;
}
.pricing-section .text .section-heading {
font-size: 48px;
line-height: 50px;
padding-bottom: 25px;
color: #3a3a3a;
letter-spacing: 1px;
position: relative;
}
.pricing-section .text .section-heading::before {
content: "";
position: absolute;
bottom: 0;
background: #29427A;
height: 7px;
width: 70px;
left: 0;
}
.contact-section {
padding: 80px 0;
color: rgba(255, 255, 255, 0.9);
@ -672,43 +717,6 @@ textarea {
/*Why DCL*/
.full-whydcl-sec {
color: #fff;
text-align: center;
background-image: -ms-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -moz-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -o-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: -webkit-gradient(linear, right top, left top, color-stop(50, #29427A), color-stop(100, #4F6699));
background-image: -webkit-linear-gradient(right, #29427A 50%, #4F6699 100%);
background-image: linear-gradient(to left, #29427A 50%, #4F6699 100%);
}
.whydcl-header {
padding: 150px 0 150px 0;
text-align: center;
color: #f8f8f8;
background: url(../img/pattern.jpg) no-repeat center center;
background-size: cover;
position: relative;
background-attachment: fixed;
}
.whydcl-header::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(90, 116, 175, 0.85);
}
.single-heading h2 {
font-size: 65px;
margin: 0;
padding: 0;
}
#tech_stack {
background: #fff;
}
@ -759,13 +767,18 @@ tech-sub-sec h2 {
}
.space-middle {
padding: 45px 0;
/* padding: 45px 0; */
display: inline-block;
}
.ssdimg {
vertical-align: middle;
display: inline-block;
margin: 0 15px;
/* vertical-align: middle; */
/* display: inline-block; */
}
.ssdimg img {
max-width: 125px;
}
@media (max-width: 767px) {
@ -775,7 +788,7 @@ tech-sub-sec h2 {
}
.padding-vertical {
padding: 30px 2px;
padding: 30px 2px 20px;
}
.logo-wrap .logo-caption {
@ -792,43 +805,13 @@ tech-sub-sec h2 {
/*Pricing page*/
.price-calc-section {
padding: 80px 40px !important;
background: -webkit-linear-gradient(top, #f0f4f7, #fff) no-repeat;
background: linear-gradient(to bottom, #f0f4f7, #fff) no-repeat;
display: flex;
}
.price-calc-section .text {
width: 50%;
}
.price-calc-section .text .section-heading {
font-size: 48px;
line-height: 48px;
padding-bottom: 27px;
color: #3a3a3a;
letter-spacing: 1px;
position: relative;
text-align: right;
}
.price-calc-section .text .description {
font-size: 20px;
text-align: right;
}
.price-calc-section .text .section-heading::before {
content: "";
position: absolute;
bottom: 0;
background: #29427A;
height: 7px;
width: 70px;
right: 0;
margin-top: 25px;
margin-bottom: 25px;
}
.price-calc-section .card {
width: 50%;
width: 100%;
margin: 0 auto;
background: #fff;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
@ -839,21 +822,6 @@ tech-sub-sec h2 {
position: relative;
}
.price-calc-section .landing {
width: 100% !important;
}
.no-padding {
padding: 0 !important;
}
.price-calc-section .card .img-beta {
position: absolute;
top: 5px;
width: 60px;
left: 3px;
}
.price-calc-section .card .title {
padding: 15px 40px;
}
@ -950,8 +918,6 @@ tech-sub-sec h2 {
}
/*Changed class****.price-calc-section .card .description.input input*/
.price-calc-section .card .description input {
@ -1009,20 +975,20 @@ tech-sub-sec h2 {
}
@media(max-width:991px) {
.pricing-section .text {
text-align: center;
.section-sm-center .split-text {
text-align: center !important;
margin-bottom: 40px;
}
.pricing-section .text .section-heading::before {
left: 50%;
.section-sm-center .split-text .split-title::before {
left: 50% !important;
transform: translate(-50%, 0);
}
.section-sm-center .split-description {
width: 100% !important;
}
}
@media(max-width:767px) {
.single-heading h2 {
font-size: 50px;
}
.logo-wrap {
padding: 10px;
}
@ -1102,7 +1068,7 @@ tech-sub-sec h2 {
background-color: transparent;
}
.split-section {
padding: 10px 0;
padding: 20px 0;
}
.split-section .icon-section {
min-height: 160px;
@ -1110,11 +1076,11 @@ tech-sub-sec h2 {
.split-section .icon-section i {
font-size: 120px;
}
.split-section .split-text .split-title h2 {
font-size: 35px;
.split-section .split-text h2 {
font-size: 30px;
line-height: 35px;
}
.pricing-section .text .section-heading {
.split-section .split-text .split-title h2 {
font-size: 35px;
line-height: 35px;
}
@ -1139,7 +1105,7 @@ tech-sub-sec h2 {
}
.price-calc-section {
flex-direction: column;
padding: 60px 10px !important;
/* padding: 60px 10px !important; */
}
.price-calc-section .card {
width: 90%;
@ -1179,9 +1145,6 @@ tech-sub-sec h2 {
font-weight: normal;
font-size: 37px;
}
.pricing-section .card {
width: 90%;
}
.contact-section .card {
width: 90%;
}
@ -1210,11 +1173,6 @@ tech-sub-sec h2 {
display: block;
}
.content-section-a {
padding: 50px 0;
background-color: #f8f8f8;
}
.section-heading {
margin-bottom: 30px;
}
@ -1237,6 +1195,11 @@ footer {
margin-top: 25px;
}
.flex-row .percent-text {
display: flex;
align-items: center;
}
@media (min-width: 768px) {
.flex-row {
display: flex;
@ -1247,8 +1210,11 @@ footer {
flex-shrink: 0;
padding: 0 15px;
}
.flex-row .percent-text,
.flex-row .desc-text {
.flex-row .desc-text,
.flex-row .percent-text {
max-width: 380px;
}
.flex-row-rev .desc-text {
max-width: 710px;
}
.flex-row-rev .percent-text {
@ -1279,4 +1245,40 @@ footer {
border-width: 0 3px 3px 0;
/*Rotate the L 45 degrees to turn it into a checkmark*/
transform: rotate(45deg);
}
footer .dcl-link-separator {
position: relative;
padding-left: 10px;
}
footer .dcl-link-separator::before {
content: "";
position: absolute;
display: inline-block;
top: 9px;
bottom: 0;
left: -2px;
right: 0;
width: 2px;
height: 2px;
border-radius: 100%;
background: #777;
}
/* new styles for whydcl section cms plugin (to replace older style) */
.banner-list {
border-top: 2px solid #eee;
padding: 50px 0;
}
.banner-list-heading h2 {
font-size: 42px;
}
@media (max-width: 767px) {
.banner-list-heading h2 {
font-size: 30px;
}
}

View file

@ -54,7 +54,7 @@
Nav panel classic
--------------------------------------------- */
if (window.matchMedia("(min-width: 767px)").matches) {
$('ul.nav li.dropdown').hover(function() {
$('ul.nav .dropdown').hover(function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500);
}, function() {
$(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500);