Commit 24f70b8c authored by Nameer AS's avatar Nameer AS

language bar added/mobile issue fixed/auto fill form fixed

parent d565222b
...@@ -52,10 +52,14 @@ $(document).ready(function() { ...@@ -52,10 +52,14 @@ $(document).ready(function() {
}, 600); }, 600);
}); });
$('.overview-column ').hoverdir({ $('.overview-column ').hoverdir({
speed: 500, speed: 500,
}); });
$('header .login>a.button').click(function(e) {
e.preventDefault();
$(this).toggleClass('active');
$('header .form-wrap').slideToggle();
});
function mobileMenuAdj() { function mobileMenuAdj() {
$(window).scroll(function() { $(window).scroll(function() {
......
// Default //Font
body { @font-face {
font-family: 'Bahij Insan';
src: url('../fonts/BahijInsan.woff2') format('woff2'), url('../fonts/BahijInsan.woff') format('woff');
font-weight: normal;
font-style: normal;
}
// Default
body {
overflow-x: hidden; overflow-x: hidden;
color: #000; color: #000;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-animation: autofill 0s forwards;
animation: autofill 0s forwards;
}
@keyframes autofill {
100% {
background: transparent;
color: #fff;
} }
}
@mixin placeholder { @-webkit-keyframes autofill {
100% {
background: transparent;
color: #fff;
}
}
@mixin placeholder {
::-webkit-input-placeholder { ::-webkit-input-placeholder {
@content @content
} }
...@@ -17,11 +47,11 @@ ...@@ -17,11 +47,11 @@
:-ms-input-placeholder { :-ms-input-placeholder {
@content @content
} }
} }
$highlight-color: #cb022c; $highlight-color: #cb022c;
$red-font: #cd202f; $red-font: #cd202f;
.button { .button {
background-color: $highlight-color; background-color: $highlight-color;
border-radius: 50px; border-radius: 50px;
border: none; border: none;
...@@ -43,38 +73,38 @@ ...@@ -43,38 +73,38 @@
background-color: #8c0a25; background-color: #8c0a25;
} }
} }
} }
h1 { h1 {
font-size: 39px; font-size: 39px;
line-height: 51px; line-height: 51px;
text-align: center; text-align: center;
font-weight: normal; font-weight: normal;
margin-bottom: 70px; margin-bottom: 70px;
} }
h2 { h2 {
margin: 0 0 20px; margin: 0 0 20px;
} }
h6 { h6 {
font-size: 20px; font-size: 20px;
} }
p { p {
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
a { a {
font-weight: bold; font-weight: bold;
text-decoration: underline; text-decoration: underline;
} }
} }
a:hover { a:hover {
color: #cb022c; color: #cb022c;
} }
ul { ul {
li { li {
margin: 0 0 7px; margin: 0 0 7px;
} }
...@@ -82,9 +112,9 @@ ...@@ -82,9 +112,9 @@
list-style: none; list-style: none;
margin: 0; margin: 0;
} }
} }
footer { footer {
ul.def-list { ul.def-list {
li { li {
&:after { &:after {
...@@ -92,9 +122,9 @@ ...@@ -92,9 +122,9 @@
} }
} }
} }
} }
ul.def-list { ul.def-list {
margin: 0; margin: 0;
li { li {
margin: 0 0 7px; margin: 0 0 7px;
...@@ -111,9 +141,9 @@ ...@@ -111,9 +141,9 @@
background: url(../img/list-style-default.png) no-repeat; background: url(../img/list-style-default.png) no-repeat;
} }
} }
} }
.list-style { .list-style {
list-style: none; list-style: none;
margin: 0; margin: 0;
li { li {
...@@ -129,17 +159,17 @@ ...@@ -129,17 +159,17 @@
height: 7px; height: 7px;
} }
} }
} }
.custom-gutter { .custom-gutter {
margin: 0 -5px; margin: 0 -5px;
.medium-6 { .medium-6 {
margin: 5px; margin: 5px;
width: calc(50% - 10px); width: calc(50% - 10px);
} }
} }
.img-overlay { .img-overlay {
position: relative; position: relative;
&:after { &:after {
content: ""; content: "";
...@@ -154,10 +184,10 @@ ...@@ -154,10 +184,10 @@
position: relative; position: relative;
z-index: 1; z-index: 1;
} }
} }
// Header // Header
header { header {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
...@@ -166,6 +196,7 @@ ...@@ -166,6 +196,7 @@
z-index: 9999; z-index: 9999;
padding: 10px 0 18px; padding: 10px 0 18px;
.logo { .logo {
align-self: flex-end;
img { img {
width: auto; width: auto;
transition: all ease 0.5s; transition: all ease 0.5s;
...@@ -178,6 +209,9 @@ ...@@ -178,6 +209,9 @@
max-width: 120px; max-width: 120px;
} }
} }
.navigation-wrap .language-bar {
top: -5px;
}
} }
.top-block { .top-block {
display: -webkit-box; display: -webkit-box;
...@@ -201,19 +235,22 @@ ...@@ -201,19 +235,22 @@
} }
.header-form { .header-form {
padding-top: 18px; padding-top: 18px;
display: none;
} }
.login { .login {
height: 37px; height: 37px;
position: relative; position: relative;
margin: 0 55px 0 40px; margin: 0;
&:hover { a {
.header-form { &:focus {
display: block; background-color: #cb022c;
}
&.active {
background-color: #261b1b;
} }
} }
} }
.form-wrap { .form-wrap {
display: none;
position: absolute; position: absolute;
min-width: 221px; min-width: 221px;
top: calc(100% + 18px); top: calc(100% + 18px);
...@@ -224,7 +261,9 @@ ...@@ -224,7 +261,9 @@
z-index: 99; z-index: 99;
right: 0; right: 0;
&:before { &:before {
@include css-triangle(14px, #cb022c, up); @include css-triangle(14px,
#cb022c,
up);
position: absolute; position: absolute;
top: -14px; top: -14px;
left: 0; left: 0;
...@@ -242,9 +281,9 @@ ...@@ -242,9 +281,9 @@
} }
} }
} }
} }
.form-wrap { .form-wrap {
padding-top: 15px; padding-top: 15px;
padding-bottom: 15px; padding-bottom: 15px;
background: $highlight-color; background: $highlight-color;
...@@ -293,13 +332,18 @@ ...@@ -293,13 +332,18 @@
} }
} }
} }
} }
.hamburger-menu { .hamburger-menu {
@include hamburger(#2c2020, #2c2020, 41px, 21px, 5px, 3); @include hamburger(#2c2020,
} #2c2020,
41px,
21px,
5px,
3);
}
nav { nav {
z-index: 999; z-index: 999;
position: absolute; position: absolute;
right: 0.9375rem; right: 0.9375rem;
...@@ -377,22 +421,72 @@ ...@@ -377,22 +421,72 @@
color: #cb022c; color: #cb022c;
} }
} }
} }
.navigation-wrap { .navigation-wrap {
-ms-flex-item-align: end; -ms-flex-item-align: end;
align-self: flex-end; align-self: flex-end;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
>div { >div {
display: inline-block; margin: 0 0 0 35px;
vertical-align: middle; }
.language-bar {
flex: 1 0 100%;
position: relative;
top: -15px;
transition: all ease 0.5s;
ul {
display: flex;
margin: 0;
align-items: center;
justify-content: flex-end;
font-size: 14px;
li {
list-style: none;
margin: 0;
padding: 0 10px 0 0;
&.ar {
font-family: 'Bahij Insan';
font-size: 16px;
}
&+li {
padding: 0 0 0 10px;
position: relative;
&:before {
content: "";
position: absolute;
top: 5px;
bottom: 5px;
width: 2px;
left: 0;
background: #261b1b;
}
}
a {
color: #261b1b;
font-weight: 700;
&:hover {
color: #cb022c;
}
}
&.active {
a {
color: #cb022c;
}
}
} }
} }
}
}
.red { .red {
color: $red-font; color: $red-font;
} }
.carousel { .carousel {
position: relative; position: relative;
figure.orbit-figure { figure.orbit-figure {
.orbit-caption { .orbit-caption {
...@@ -556,13 +650,13 @@ ...@@ -556,13 +650,13 @@
-webkit-animation-fill-mode: forwards; -webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards; animation-fill-mode: forwards;
} }
} }
.overview { .overview {
padding: 50px 0 80px; padding: 50px 0 80px;
} }
.overview-column { .overview-column {
height: 495px; height: 495px;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
...@@ -618,13 +712,13 @@ ...@@ -618,13 +712,13 @@
height: 100%; height: 100%;
background: $highlight-color; background: $highlight-color;
} }
} }
.fixed-bg { .fixed-bg {
background-attachment: fixed; background-attachment: fixed;
} }
.what-virtualx { .what-virtualx {
background-image: url('../img/startup-photos-7356.jpg'); background-image: url('../img/startup-photos-7356.jpg');
background-size: cover; background-size: cover;
position: relative; position: relative;
...@@ -644,25 +738,25 @@ ...@@ -644,25 +738,25 @@
-moz-animation: rotate infinite 30s linear; -moz-animation: rotate infinite 30s linear;
animation: rotate infinite 30s linear; animation: rotate infinite 30s linear;
} }
} }
.box-content { .box-content {
background: #cb022c; background: #cb022c;
width: 478px; width: 478px;
color: #fff; color: #fff;
padding: 60px 25px 30px; padding: 60px 25px 30px;
position: relative; position: relative;
top: -40px; top: -40px;
} }
.sub-text { .sub-text {
margin: 0 0 40px; margin: 0 0 40px;
display: block; display: block;
font-size: 24px; font-size: 24px;
color: #9a9a9a; color: #9a9a9a;
} }
.milestones { .milestones {
color: #fff; color: #fff;
i { i {
position: absolute; position: absolute;
...@@ -694,9 +788,9 @@ ...@@ -694,9 +788,9 @@
font-weight: normal; font-weight: normal;
display: block; display: block;
} }
} }
.demo-account { .demo-account {
&:before { &:before {
content: ""; content: "";
position: absolute; position: absolute;
...@@ -809,16 +903,16 @@ ...@@ -809,16 +903,16 @@
} }
} }
} }
} }
.fade-title { .fade-title {
font-size: 250px; font-size: 250px;
font-weight: bold; font-weight: bold;
opacity: 0.04; opacity: 0.04;
text-align: center; text-align: center;
} }
.unique-feature { .unique-feature {
.content { .content {
z-index: 3; z-index: 3;
position: relative; position: relative;
...@@ -881,9 +975,9 @@ ...@@ -881,9 +975,9 @@
background: #d4032f; background: #d4032f;
} }
} }
} }
.service { .service {
padding: 50px 0 30px; padding: 50px 0 30px;
h2 { h2 {
margin-bottom: 0; margin-bottom: 0;
...@@ -908,9 +1002,9 @@ ...@@ -908,9 +1002,9 @@
display: inline-block; display: inline-block;
} }
} }
} }
.plans-price { .plans-price {
background: #261b1b; background: #261b1b;
color: #fff; color: #fff;
padding: 70px 0; padding: 70px 0;
...@@ -931,19 +1025,19 @@ ...@@ -931,19 +1025,19 @@
.sub-text { .sub-text {
margin: 15px 0 60px; margin: 15px 0 60px;
} }
} }
.custom-gutter-2 { .custom-gutter-2 {
margin: 0 -33px; margin: 0 -33px;
} }
.custom-gutter-2 .large-4 { .custom-gutter-2 .large-4 {
width: calc(33.33% - 66px); width: calc(33.33% - 66px);
margin-left: 33px; margin-left: 33px;
margin-right: 33px; margin-right: 33px;
} }
.price { .price {
padding: 5px 0 20px; padding: 5px 0 20px;
position: relative; position: relative;
text-align: center; text-align: center;
...@@ -1075,9 +1169,9 @@ ...@@ -1075,9 +1169,9 @@
color: #000; color: #000;
} }
} }
} }
.benefits { .benefits {
position: relative; position: relative;
&:before { &:before {
content: ""; content: "";
...@@ -1103,9 +1197,9 @@ ...@@ -1103,9 +1197,9 @@
.benefit-box { .benefit-box {
margin-top: 35px; margin-top: 35px;
} }
} }
.client { .client {
padding: 35px 0; padding: 35px 0;
border-top: solid 1px #f2f2f2; border-top: solid 1px #f2f2f2;
margin: 0 0 1px; margin: 0 0 1px;
...@@ -1131,9 +1225,9 @@ ...@@ -1131,9 +1225,9 @@
} }
} }
} }
} }
footer { footer {
.cell { .cell {
position: relative; position: relative;
} }
...@@ -1181,20 +1275,20 @@ ...@@ -1181,20 +1275,20 @@
} }
} }
} }
} }
.sub-footer { .sub-footer {
font-size: 12px; font-size: 12px;
color: #574f4d; color: #574f4d;
margin-bottom: 95px; margin-bottom: 95px;
padding: 25px 0; padding: 25px 0;
} }
#search-block { #search-block {
display: none; display: none;
position: absolute; position: absolute;
bottom: 18px; bottom: 18px;
right: 255px; right: 222px;
input[type="search"] { input[type="search"] {
margin: 0; margin: 0;
padding-right: 40px; padding-right: 40px;
...@@ -1237,9 +1331,13 @@ ...@@ -1237,9 +1331,13 @@
height: 39px; height: 39px;
cursor: pointer; cursor: pointer;
} }
} }
@keyframes floater { .js-off-canvas-overlay.is-overlay-fixed {
margin: 0;
}
@keyframes floater {
0% { 0% {
transform: translate3d(0px, -10px, 0px); transform: translate3d(0px, -10px, 0px);
} }
...@@ -1249,13 +1347,13 @@ ...@@ -1249,13 +1347,13 @@
100% { 100% {
transform: translate3d(0px, -10px, 0px); transform: translate3d(0px, -10px, 0px);
} }
} }
@keyframes rotate { @keyframes rotate {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -183,8 +183,11 @@ ...@@ -183,8 +183,11 @@
nav.off-canvas.is-open { nav.off-canvas.is-open {
transform: translate(0, 0) transform: translate(0, 0)
} }
.navigation-wrap>div {
margin: 0 0 0 20px;
}
header .login { header .login {
margin: 0 30px 0 20px; margin: 0 0 0 20px;
} }
header .logo img { header .logo img {
max-width: 180px; max-width: 180px;
...@@ -265,10 +268,7 @@ ...@@ -265,10 +268,7 @@
#search-block { #search-block {
display: none; display: none;
position: absolute; position: absolute;
right: 210px; right: 187px;
}
header .form-wrap {
left: 0;
} }
.demo-account { .demo-account {
h2 { h2 {
...@@ -500,22 +500,35 @@ ...@@ -500,22 +500,35 @@
width: 100%; width: 100%;
margin: 0; margin: 0;
text-align: right; text-align: right;
margin: 0 0 10px; margin: 0 0 20px;
>div {
margin: 0 0 0 35px;
}
.login {
position: absolute;
bottom: 13px;
right: 60px;
}
.language-bar {
flex: 0;
order: 3;
top: 0;
}
} }
.logo { .logo {
order: 2; order: 2;
position: relative; position: relative;
top: -20px; top: -20px;
img { img {
width: 70%; width: 60%;
} }
} }
.login { .login {
margin: 0 0 0 20px; margin: 0 0 0 20px;
} }
#search-block { #search-block {
right: 120px; right: 126px;
top: -2px; top: -8px;
bottom: inherit; bottom: inherit;
} }
.top-block { .top-block {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<h2>Most easy and scalable software to conduct exams at schools, colleges, universities and companies in 3 easy steps</h2> <h2>Most easy and scalable software to conduct exams at schools, colleges, universities and companies in 3 easy steps</h2>
<strong><span class="red">3</span>Easy Steps</strong> <strong><span class="red">3</span>Easy Steps</strong>
<ul class="number-list"> <ul class="number-list">
<li> <li class="active">
<a href="#pricing" class="smooth-scroll"> <a href="#pricing" class="smooth-scroll">
<i class="icon-lock"></i> Sign Up <i class="icon-lock"></i> Sign Up
</a> </a>
......
...@@ -7,6 +7,12 @@ ...@@ -7,6 +7,12 @@
</a> </a>
</div> </div>
<div class="navigation-wrap"> <div class="navigation-wrap">
<div class="language-bar">
<ul>
<li class="active"><a href="">English</a></li>
<li class="ar"><a href="">العربية</a></li>
</ul>
</div>
<div class="search"> <div class="search">
<span class="search-top"> <span class="search-top">
<i class="icon-search"></i> <i class="icon-search"></i>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment