0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Added in a basic community hover state

refs: https://github.com/TryGhost/Team/issues/1531
This commit is contained in:
James Morris 2022-05-11 17:39:46 +01:00
parent 221d520d11
commit 2b69ec2cf3

View file

@ -1398,11 +1398,19 @@ Dashboard v5 Community */
.gh-dashboard5-community .gh-dashboard5-resource-box { .gh-dashboard5-community .gh-dashboard5-resource-box {
background: transparent; background: transparent;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: 50% 50%;
background-size: cover; background-size: auto 105%;
background-image: url(img/community-background.jpg); background-image: url(img/community-background.jpg);
color: var(--white); color: var(--white);
padding-top: 32px; padding-top: 32px;
transition: all .5s ease-in-out;
border: 0 none;
}
.gh-dashboard5-community .gh-dashboard5-resource-box:hover {
box-shadow: 0 54px 80px rgb(0 0 0 / 7%), 0 19.7109px 29.2013px rgb(0 0 0 / 5%), 0 9.56927px 14.1767px rgb(0 0 0 / 4%), 0 4.69103px 6.94968px rgb(0 0 0 / 3%), 0 1.85484px 2.74791px rgb(0 0 0 / 2%);
transform: translateY(-4px);
background-size: auto 108%;
} }
.gh-dashboard5-community .gh-dashboard5-list-body p { .gh-dashboard5-community .gh-dashboard5-list-body p {