forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from ontoportal-lirmm/bug/fix-responsiveness-…
…issues Bug: Fix responsiveness issues
- Loading branch information
1 parent
e675042
commit 4a77c29
Showing
5 changed files
with
317 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
.legal-text { | ||
font-size: 0.9rem; | ||
} | ||
} | ||
footer{ | ||
width: 1248px; | ||
background-color: var(--primary-color); | ||
padding: 40px 50px; | ||
} | ||
|
||
.footer-header{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 40px; | ||
} | ||
.footer-logo{ | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
} | ||
.footer-logo p{ | ||
margin-bottom: 0; | ||
font-weight: 700; | ||
font-size: 18px; | ||
margin-left: 20px; | ||
} | ||
.footer-social-media-links a{ | ||
margin-left: 20px; | ||
} | ||
.footer-nav-links{ | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
} | ||
.footer-nav-links div h2{ | ||
font-size: 21px; | ||
font-weight: 700; | ||
color: white; | ||
margin-bottom: 10px; | ||
} | ||
.footer-nav-links div div{ | ||
display:flex; | ||
flex-direction: column; | ||
} | ||
.footer-nav-links div a{ | ||
font-size: 16px; | ||
font-weight: 400; | ||
color: white !important; | ||
margin-bottom: 10px; | ||
opacity: 60%; | ||
} | ||
.footer-nav-links div a:hover{ | ||
opacity: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,190 @@ | ||
.nav-container{ | ||
display: flex; | ||
justify-content: center; | ||
background-color: var(--primary-color); | ||
} | ||
.top-nav{ | ||
display: flex !important; | ||
background-color: var(--primary-color); | ||
align-items: center; | ||
height: 62px; | ||
padding: 8px 42px; | ||
width: 1248px; | ||
} | ||
.nav-responsiveness-container{ | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
.nav-logo{ | ||
display: flex; | ||
align-items: center; | ||
} | ||
.nav-logo p{ | ||
margin-left: 10px; | ||
color: white; | ||
font-size: 16px; | ||
font-weight: 700; | ||
margin-bottom: 0; | ||
} | ||
.nav-items{ | ||
display: flex; | ||
justify-content: space-between; | ||
align-items:center; | ||
width: 1020px; | ||
} | ||
.nav-items > ul { | ||
display: flex; | ||
list-style: none; | ||
margin-bottom: 0; | ||
padding: 0; | ||
} | ||
|
||
.nav-items > ul > li { | ||
margin-left: 20px; | ||
} | ||
|
||
.nav-items > ul > li > a { | ||
color: white !important; | ||
font-size: 15px; | ||
opacity: 60%; | ||
font-weight: 300; | ||
transition: opacity 0.2s ease-in-out; | ||
} | ||
.nav-items > ul > li > a:hover{ | ||
opacity: 100%; | ||
} | ||
.nav-items > ul > li > a.active{ | ||
opacity: 100%; | ||
font-weight: 500; | ||
} | ||
|
||
.nav-search-container { | ||
width: 50% ; | ||
} | ||
.nav-search-container div > input { | ||
height: 33px; | ||
width: 100%; | ||
outline: none; | ||
opacity: 60%; | ||
border: 1px solid white; | ||
background-color: var(--primary-color); | ||
color: white; | ||
border-radius: 5px; | ||
font-size: 14px; | ||
padding: 0 10px; | ||
} | ||
.nav-search-container div > input:focus{ | ||
opacity: 100%; | ||
border-radius: 5px 5px 0 0; | ||
} | ||
.nav-search-container div > input::placeholder{ | ||
color: white; | ||
opacity: 60%; | ||
} | ||
.nav-search-container div > input::-ms-input-placeholder{ | ||
color: white; | ||
opacity: 60%; | ||
} | ||
|
||
.nav-search-container #home-search-drop-down{ | ||
position: absolute; | ||
z-index: 9999; | ||
font-size: 12px !important; | ||
width: 228px !important; | ||
} | ||
|
||
.nav-language{ | ||
background-color: transparent; | ||
width: 47px; | ||
color: white; | ||
border: none; | ||
outline: none; | ||
cursor: pointer; | ||
|
||
} | ||
.nav-language option{ | ||
background-color: white; | ||
color: black; | ||
} | ||
.nav-items .nav-a{ | ||
padding: 3px 34px; | ||
border: 1px solid white; | ||
border-radius: 5px; | ||
color: white !important; | ||
transition: background-color 0.2s ease-in-out; | ||
} | ||
.nav-items .nav-a:hover{ | ||
background-color: rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
.top-nav .menu-btn i{ | ||
color: #fff; | ||
font-size: 22px; | ||
cursor: pointer; | ||
display: none; | ||
} | ||
.top-nav input[type="checkbox"]{ | ||
display: none; | ||
} | ||
|
||
.top-nav-nav-link{ | ||
color: white !important; | ||
padding: 0 !important; | ||
} | ||
|
||
|
||
@media (max-width: 1300px){ | ||
.top-nav .menu-btn i{ | ||
display: block; | ||
} | ||
#nav-menu:checked ~ .menu-btn i:before{ | ||
content: "\f00d"; | ||
} | ||
.nav-items{ | ||
display: none; | ||
} | ||
.menu-btn{ | ||
position: absolute; | ||
right: 40px; | ||
} | ||
.right-nav-items{ | ||
flex-direction: column; | ||
align-items: baseline !important; | ||
} | ||
.nav-search-container .nav-input{ | ||
margin-bottom: 0 !important; | ||
|
||
} | ||
|
||
} | ||
.top-nav.show-responsive { | ||
display: block !important; | ||
background-color: var(--primary-color); | ||
height: unset; | ||
} | ||
|
||
.top-nav-ul.show-responsive { | ||
display: block; | ||
} | ||
|
||
.nav-items.show-responsive { | ||
flex-direction: column; | ||
width: unset; | ||
display: flex; | ||
align-items: flex-start; | ||
} | ||
|
||
.show-responsive { | ||
margin: 15px 0 !important; | ||
} | ||
|
||
.supportMenuDropdownLink.show-responsive { | ||
margin-bottom: 15px; | ||
} | ||
|
||
.right-nav-items{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 50% | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.