Rearrange some of these rules.

This commit is contained in:
voussoir 2019-12-21 14:50:38 -08:00
parent fcce2a55a2
commit b7f745443b

View file

@ -74,6 +74,10 @@
{ {
background-color: var(--color_theme_secondary); background-color: var(--color_theme_secondary);
} }
.photo_card:hover
{
box-shadow: 2px 2px 5px 0px var(--color_site_dropshadow);
}
.photo_card_list .photo_card_list
{ {
display: grid; display: grid;
@ -84,10 +88,6 @@
margin: 8px; margin: 8px;
padding: 4px; padding: 4px;
} }
.photo_card:hover
{
box-shadow: 2px 2px 5px 0px var(--color_site_dropshadow);
}
.photo_card_list .photo_card_selector_checkbox .photo_card_list .photo_card_selector_checkbox
{ {
grid-area: checkbox; grid-area: checkbox;
@ -152,16 +152,16 @@
background-color: inherit; background-color: inherit;
word-break: break-word; word-break: break-word;
} }
.photo_card_list .photo_card_filename
{
align-self: center;
}
.photo_card_grid .photo_card_filename .photo_card_grid .photo_card_filename
{ {
align-self: start; align-self: start;
max-height: 30px; max-height: 30px;
font-size: 12.8px; font-size: 12.8px;
} }
.photo_card_list .photo_card_filename
{
align-self: center;
}
.photo_card_grid .photo_card_filename:hover .photo_card_grid .photo_card_filename:hover
{ {
overflow: visible; overflow: visible;