mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-04 02:01:58 -05:00
Added hover states for Resource boxes (#21276)
On Post Analytics, and on the Dashboard, the resource boxes did not have a hover state, making them look very static. They now have a hover state.
This commit is contained in:
parent
598ce03186
commit
2a5ba1c13c
2 changed files with 9 additions and 0 deletions
|
@ -878,6 +878,10 @@
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
.gh-post-analytics-resource:hover {
|
||||
box-shadow: 0 1px 5px -1px rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
.gh-post-analytics-resource .thumbnail {
|
||||
border-radius: var(--border-radius);
|
||||
width: 100%;
|
||||
|
|
|
@ -1594,6 +1594,11 @@ Dashboard Resources */
|
|||
border: none;
|
||||
}
|
||||
|
||||
.gh-dashboard-resources .gh-dashboard-resource-box:hover,
|
||||
.gh-dashboard-newsletter .gh-dashboard-resource-box:hover {
|
||||
box-shadow: 0 1px 5px -1px rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1320px) {
|
||||
.gh-dashboard-resources .gh-dashboard-resource-box {
|
||||
grid-template-columns: 1fr;
|
||||
|
|
Loading…
Add table
Reference in a new issue