forked from ontoportal/ontoportal_web_ui
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update browse page design with the new design on figma
- Loading branch information
1 parent
d43f30b
commit f5b8a65
Showing
5 changed files
with
455 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,315 @@ | ||
|
||
.browse-container p{ | ||
margin: unset; | ||
} | ||
.browse-container h2{ | ||
margin: unset; | ||
line-height: unset; | ||
} | ||
.browse-container hr{ | ||
margin: unset; | ||
} | ||
|
||
|
||
a{ | ||
text-decoration: none !important; | ||
} | ||
.browse-center{ | ||
display: flex; | ||
justify-content: center; | ||
margin: 50px 0; | ||
} | ||
.browse-title{ | ||
font-size: 18px; | ||
font-weight: 700; | ||
} | ||
.browse-upload-ontology-button{ | ||
margin: 20px 0; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
font-size: 15px; | ||
font-weight: 500; | ||
color: var(--primary-color); | ||
width: 226px; | ||
padding: 15px 25px; | ||
border: 1px solid var(--primary-color); | ||
border-radius: 40px; | ||
} | ||
.browse-desc-text{ | ||
font-size: 16px; | ||
color: #666666; | ||
font-weight: 400; | ||
margin: 5px 0 !important; | ||
} | ||
.browse-ontology-container{ | ||
border: 1px solid #DFDFDF; | ||
border-radius: 5px; | ||
padding: 15px 20px; | ||
margin-bottom: 20px; | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
.browse-ontology-description{ | ||
width: 540px; | ||
} | ||
.browse-ontology-title{ | ||
color: var(--primary-color); | ||
font-weight: 600; | ||
font-size: 18px; | ||
} | ||
.browse-fair{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 400px; | ||
} | ||
|
||
.browse-sub-container{ | ||
display: flex; | ||
} | ||
.browse-first-row{ | ||
width: 300px; | ||
margin-right: 20px; | ||
|
||
} | ||
|
||
.browse-second-row{ | ||
width: 846px; | ||
|
||
} | ||
|
||
#browse-title-line{ | ||
width: 55px; | ||
margin-top: 3px; | ||
border: 0.5px solid var(--primary-color); | ||
border-radius: 5px; | ||
} | ||
.browse-fair-title{ | ||
font-size: 16px; | ||
color: #666666; | ||
font-weight: 400; | ||
} | ||
.browse-progress-bar{ | ||
width: 154px; | ||
height: 10px; | ||
border-radius: 20px; | ||
background-color: #E7E7E7; | ||
|
||
} | ||
.browse-faire-progress{ | ||
width: 100%; | ||
height: 10px; | ||
background-color: var(--primary-color); | ||
border-radius: 20px 0px 0px 20px; | ||
} | ||
.browse-fair-score{ | ||
font-size: 14px; | ||
font-weight: 500; | ||
color: #666666; | ||
} | ||
.browse-fair-details{ | ||
font-size: 14px; | ||
font-weight: 400; | ||
color: var(--primary-color); | ||
} | ||
.browse-uploaded{ | ||
font-size: 13px; | ||
height: 37px; | ||
width: 160px; | ||
background-color: #E7E7E7; | ||
border-radius: 5px; | ||
display: flex; | ||
padding: 2px 15px; | ||
justify-content: space-between; | ||
align-items: center; | ||
color: #666666; | ||
margin-top: 15px; | ||
} | ||
.browse-uploaded-date{ | ||
font-weight: 600; | ||
} | ||
.browse-ontology-cards{ | ||
display: grid; | ||
grid-template-columns: 113px 113px; | ||
grid-template-rows: 78px 78px; | ||
grid-column-gap: 15px; | ||
grid-row-gap: 15px; | ||
direction: rtl; | ||
} | ||
.browse-onology-card{ | ||
border: 0.5px solid var(--primary-color); | ||
border-radius: 5px; | ||
height: 78px; | ||
width: 113px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
color: var(--primary-color); | ||
} | ||
.browse-card-number{ | ||
font: 17px; | ||
font-weight: 700; | ||
} | ||
.browse-card-text{ | ||
font-size: 15px; | ||
font-weight: 500; | ||
} | ||
#browse-sub-title-line{ | ||
width:20px; | ||
margin-top: 3px; | ||
border: 0.5px solid var(--primary-color); | ||
border-radius: 5px; | ||
margin-bottom: 15px; | ||
} | ||
.browse-filters-title{ | ||
font-weight: 600; | ||
font-size: 16px; | ||
} | ||
.browse-search-bar{ | ||
display: flex; | ||
|
||
} | ||
.browse-search-bar input{ | ||
border: none; | ||
border-radius: 14px; | ||
width: 100%; | ||
box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 29px 0px; | ||
padding: 20px 20px; | ||
margin-bottom: 20px; | ||
font-size: 16px; | ||
position: absolute; | ||
width: 972px; | ||
z-index: 1; | ||
|
||
} | ||
.browse-search-bar input:focus{ | ||
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; | ||
outline: none; | ||
} | ||
|
||
.browse-search-bar select{ | ||
border: none; | ||
background-color: white; | ||
padding: 20px 20px; | ||
font-size: 16px; | ||
background-image: url("data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>"); | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
background-repeat: no-repeat; | ||
background-position-x: 90%; | ||
background-position-y: 50%; | ||
|
||
} | ||
.browse-search-bar select:focus{ | ||
outline: none; | ||
box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 29px 0px; | ||
} | ||
|
||
.browse-search-bar .browse-format-filter{ | ||
position: absolute; | ||
margin-left: 526px; | ||
z-index: 2; | ||
width: 150px; | ||
} | ||
.browse-search-bar .browse-sort-by-filter{ | ||
position: absolute; | ||
margin-left: 676px; | ||
z-index: 2; | ||
width: 296px; | ||
border-radius: 0 14px 14px 0; | ||
} | ||
.browse-search-button{ | ||
margin-left: 85%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
border-radius: 14px; | ||
padding: 20px; | ||
background-color: var(--primary-color); | ||
width: 160px; | ||
height: 62px; | ||
cursor: pointer; | ||
} | ||
.browse-search-button p{ | ||
font-size: 16px; | ||
color: white; | ||
margin-left: 15px; | ||
} | ||
.browse-filter{ | ||
border: 1px solid #DFDFDF; | ||
border-radius: 5px; | ||
padding: 14px 20px; | ||
margin-bottom: 10px; | ||
|
||
|
||
} | ||
.browse-filter-checks-container{ | ||
display: flex; | ||
flex-wrap: wrap; | ||
margin-top: 10px; | ||
} | ||
.browse-filter-title-bar{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
font-size: 14px; | ||
font-weight: 400; | ||
color: #666666; | ||
cursor: pointer; | ||
} | ||
|
||
|
||
|
||
/* Toggle switch css */ | ||
.switch { | ||
position: relative; | ||
display: inline-block; | ||
width: 40px; | ||
height: 20px; | ||
} | ||
.switch input { | ||
opacity: 0; | ||
width: 0; | ||
height: 0; | ||
} | ||
.slider { | ||
position: absolute; | ||
cursor: pointer; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-color: #ccc; | ||
-webkit-transition: .4s; | ||
transition: .4s; | ||
border-radius: 34px; | ||
} | ||
.slider:before { | ||
position: absolute; | ||
content: ""; | ||
height: 13px; | ||
width: 13px; | ||
left: 4px; | ||
bottom: 4px; | ||
background-color: white; | ||
-webkit-transition: .4s; | ||
transition: .4s; | ||
border-radius: 50%; | ||
} | ||
input:checked + .slider { | ||
background-color: var(--primary-color); | ||
} | ||
input:focus + .slider { | ||
box-shadow: 0 0 1px var(--primary-color); | ||
} | ||
input:checked + .slider:before { | ||
-webkit-transform: translateX(19px); | ||
-ms-transform: translateX(19px); | ||
transform: translateX(19px); | ||
} | ||
.account-page-subscribe-button{ | ||
|
||
} |
Oops, something went wrong.