Skip to content

initial commit #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 35 additions & 62 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/assets/css/app-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ $light-orange: #FFE9E4;
$orange: #E75639;
$light-blue: #E1E6FF;
$dark-blue: #19117A;

$dark-blue2: #18097c;
$purple: #4039F6;

// primary and secondary colors
Expand Down
34 changes: 20 additions & 14 deletions src/assets/css/main.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
@import './app-colors.scss';
@import './app-misc.scss';
@import './app-spacing.scss';
@import './app-typography.scss';
@import './banner.scss';
@import './carousel.scss';
@import './commons.scss';
@import './commons-cis.scss';
@import './custom-bulma.scss';
@import './footer.scss';
@import './http-errors.scss';
@import './navbar.scss';
@import './rem.scss';
@import './search-bar.scss';
@import "./app-colors.scss";
@import "./app-misc.scss";
@import "./app-spacing.scss";
@import "./app-typography.scss";
@import "./banner.scss";
@import "./carousel.scss";
@import "./commons.scss";
@import "./commons-cis.scss";
@import "./custom-bulma.scss";
@import "./footer.scss";
@import "./http-errors.scss";
@import "./navbar.scss";
@import "./rem.scss";
@import "./search-bar.scss";

.columns {
margin-left: 0 !important;
margin-right: 0 !important;
}

41 changes: 22 additions & 19 deletions src/assets/css/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@
display: flex;
justify-content: space-between;
padding: 10px 25px;
background-color: $light-orange;

background-color: $dark-blue2;

.logo-enthic {
margin: 0.3rem 0 0 1rem;
width: 60px;
// transform: scale(0.2);
font-weight: bold;
width: 100px;
height: 49px;
font-family: Poppins;
font-size: 30px;
color: #fff;
}

#navMenu {
.navbar-item {
color: $purple;
font-size: 17px;

&:hover {
color: #3d3a39;
}
color: #fff;
font-family: Poppins;
font-size: 14px;
font-weight: bold;
}
}
}
Expand All @@ -36,10 +37,12 @@
display: flex;
justify-content: center;
align-items: center;
color: $purple;
//color: $purple;
color: #fff;

.burger-size {
font-size: 30px; }
font-size: 30px;
}
}
}

Expand All @@ -48,19 +51,22 @@
width: 100vw;
top: 80px;
right: 0;
background-color: $light-orange;
background-color: $dark-blue2;
box-shadow: none;

.navbar-item {
color: $purple;
// color: $purple;
color: #fff;
text-align: center;
&:hover {
background-color: inherit !important;
color: #fff !important;
}
}
}
}

}


// ----- UNUSED CSS FOR NAVBAR -----

// .nav {
Expand All @@ -77,7 +83,6 @@
// color: #2c3e5085;
// }


// html[lang="fr"] nav #navbar-main .navbar-item [lang="fr"],
// html[lang="en"] nav #navbar-main .navbar-item [lang="en"]{
// text-decoration: underline;
Expand All @@ -100,13 +105,11 @@
// }
// }


// #navbar-top {
// height: $app-navbar-height;
// z-index:10;
// }


// .skip-navbar {
// padding-top: $app-navbar-height;
// }
Expand Down
79 changes: 59 additions & 20 deletions src/assets/css/search-bar.scss
Original file line number Diff line number Diff line change
@@ -1,53 +1,92 @@
.search-bar{
.search-text {
margin-top: 1rem;
margin-bottom: 1rem;
}
.search-bar {
display: flex;
flex-direction: column;
align-items: center;
background-color: $light-orange;

.control {
width: 40%;
margin: 0 auto 20px auto;
}

.search-box {
width: 100%;
height: 50px;
// margin: auto;
background-color: $light-blue;
border: none;
box-shadow: none;
text-align: center;
padding: 0!important;
border-radius: 10px;
font-size: 16px;
font-family: Poppins;
font-size: 16px;
font-weight: bold;
padding: 13px 0px 11px 16px;
color: #18097c;
&:focus {
border: 1px solid #536dfc;
}
}

#search-icon {
color: $dark-blue;
padding-left: 25px;
font-size: 16px;
}

.search-box::placeholder {
font-family: 'Open Sans';
color: $dark-blue;
input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button {
display: none;
}
.search-clear {
cursor: pointer;
position: absolute;
right: 1rem;
top: 35%;
background-color: #9ca4d1;
border-radius: 50%;
color: white;
width: 20px;
height: 20px;
display: flex;
justify-content: center;
align-items: center;
.dashs-container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
.dash-1,
.dash-2 {
width: 2px;
height: 12px;
background-color: white;
position: absolute;
}
.dash-1 {
transform: rotate(315deg);
}
.dash-2 {
transform: rotate(45deg);
}
}
}

.search-btn {
background-color: $orange;
opacity: 0.8;
border: none;
padding: 10px 20px;
border-radius: 10px;
width: 122px;
height: 50px;
padding: 16px 12px 15px;
border-radius: 3px;
background-color: #dfe4ff;
cursor: pointer;
margin-left: 10px;

&:hover {
opacity: 1;
}

.search-btn-as-text {
font-size: 16px;
color: white;
font-family: 'Open Sans';
font-size: 12px;
font-weight: bold;
color: #536dfc;
font-family: "Open Sans";
}
}
}
Expand Down
Loading