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