-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
65a8f66
commit ec02b24
Showing
9 changed files
with
52 additions
and
234 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 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 |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array(), 'version' => 'edb8447c446a5b11d4d0'); | ||
<?php return array('dependencies' => array(), 'version' => '1c93ac8929e6033b38e3'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,51 +1,43 @@ | ||
@media (max-width: $break-medium) { | ||
.dswp-horizontal-card-img-1-to-3 { | ||
img { | ||
width: 100% !important; | ||
border-radius: 8px 8px 0px 0px !important; | ||
} | ||
} | ||
|
||
.dswp-horizontal-card-img-1-to-3 { | ||
|
||
img { | ||
width: 100% !important; | ||
border-radius: 8px 8px 0 0 !important; | ||
} | ||
} | ||
} | ||
|
||
.dswp-horizontal-card-img-1-to-3 { | ||
// Base styles | ||
transition: box-shadow 0.3s ease-in; | ||
|
||
&:hover { | ||
transition: box-shadow 0.5s ease-out; | ||
box-shadow: | ||
0 1.2px 3.6px 0 rgba(0, 0, 0, 0.1), | ||
0 6.4px 14.4px 0 rgba(0, 0, 0, 0.13); | ||
} | ||
|
||
gap: 0; | ||
border-radius: 8px; | ||
border: 1px solid var(--dswp-surface-color-border-default) !important; | ||
display: flex; | ||
|
||
.wp-block-columns { | ||
width: 100%; | ||
} | ||
|
||
.wp-block-column:first-child { | ||
position: relative; | ||
min-height: 384px; | ||
|
||
figure { | ||
margin: 0; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
img { | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 8px 0 0 8px; | ||
background: var(--dswp-theme-gray-10); | ||
object-fit: cover; | ||
} | ||
} | ||
} | ||
// Base styles | ||
transition: box-shadow 0.3s ease-in; | ||
|
||
&:hover { | ||
transition: box-shadow 0.5s ease-out; | ||
box-shadow: | ||
0 1.2px 3.6px 0 rgba(0, 0, 0, 0.1), | ||
0 6.4px 14.4px 0 rgba(0, 0, 0, 0.13); | ||
} | ||
|
||
gap: 0; | ||
border-radius: 8px; | ||
overflow: hidden; | ||
border: 1px solid var(--dswp-surface-color-border-default) !important; | ||
display: flex; | ||
|
||
|
||
.wp-block-column { | ||
|
||
figure { | ||
margin: 0; | ||
top: 0; | ||
left: 0; | ||
height: 100%; | ||
} | ||
|
||
img { | ||
object-fit: cover; | ||
} | ||
} | ||
} |