-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
194 additions
and
241 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
100 changes: 49 additions & 51 deletions
100
frontend/public/scss/product-page/product-faculty-members.scss
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,72 +1,70 @@ | ||
// sass-lint:disable mixins-before-declarations | ||
|
||
body.new-design { | ||
.faculty-section { | ||
margin: 0 0 35px; | ||
|
||
.faculty-section { | ||
h2 { | ||
margin: 0 0 35px; | ||
|
||
h2 { | ||
margin: 0 0 35px; | ||
|
||
@include media-breakpoint-down(sm) { | ||
margin: 0 0 27px; | ||
} | ||
@include media-breakpoint-down(sm) { | ||
margin: 0 0 27px; | ||
} | ||
} | ||
|
||
.faculty-members { | ||
li { | ||
width: calc(50% - 20px); | ||
margin: 0 10px 10px; | ||
min-width: 275px; | ||
.faculty-members { | ||
li { | ||
width: calc(50% - 20px); | ||
margin: 0 10px 10px; | ||
min-width: 275px; | ||
|
||
img { | ||
border-radius: 5px; | ||
object-position: 50% 0; | ||
margin: 0 15px 0 0; | ||
float: left; | ||
height: 110px; | ||
width: 110px; | ||
object-fit: cover; | ||
img { | ||
border-radius: 5px; | ||
object-position: 50% 0; | ||
margin: 0 15px 0 0; | ||
float: left; | ||
height: 110px; | ||
width: 110px; | ||
object-fit: cover; | ||
|
||
@include media-breakpoint-down(sm) { | ||
display: block; | ||
float: none; | ||
} | ||
@include media-breakpoint-down(sm) { | ||
display: block; | ||
float: none; | ||
} | ||
} | ||
.member-card { | ||
padding: 15px; | ||
border-radius: 4px !important; | ||
box-shadow: 0 1px 0 0 rgb(0 0 0 / 12%); | ||
display: flex; | ||
} | ||
.member-card { | ||
padding: 15px; | ||
border-radius: 4px !important; | ||
box-shadow: 0 1px 0 0 rgb(0 0 0 / 12%); | ||
display: flex; | ||
|
||
.member-info { | ||
overflow: hidden; | ||
margin: 0; | ||
display: flow-root; | ||
.member-info { | ||
overflow: hidden; | ||
margin: 0; | ||
display: flow-root; | ||
|
||
button { | ||
font-size: 16px; | ||
font-weight: 700; | ||
line-height: normal; | ||
border: 0; | ||
background-color: white; | ||
padding: 0 0 8px 0; | ||
text-align: left; | ||
button { | ||
font-size: 16px; | ||
font-weight: 700; | ||
line-height: normal; | ||
border: 0; | ||
background-color: white; | ||
padding: 0 0 8px 0; | ||
text-align: left; | ||
|
||
&:hover { | ||
color: $brand-button-bg; | ||
} | ||
&:hover { | ||
color: $brand-button-bg; | ||
} | ||
} | ||
|
||
.title { | ||
font-size: 13px; | ||
font-weight: 400; | ||
line-height: normal; | ||
margin-bottom: 0; | ||
} | ||
.title { | ||
font-size: 13px; | ||
font-weight: 400; | ||
line-height: normal; | ||
margin-bottom: 0; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.