css: dashlet finetuning

This commit is contained in:
Thomas Gelf 2017-07-20 13:52:32 +02:00
parent 3279080300
commit 7bfdeabe46

View File

@ -584,29 +584,29 @@ ul.main-actions {
font-weight: bold; font-weight: bold;
display: block; display: block;
text-decoration: none; text-decoration: none;
height: 12em; height: 13em;
overflow: hidden; overflow: hidden;
&.active { &.active {
color: inherit; color: inherit;
background-color: @gray-lightest; background-color: @gray-lightest;
-webkit-box-shadow: inset 1px 1px 2px 1px rgba(0,0,0,0.25); -webkit-box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.25);
-moz-box-shadow: inset 1px 1px 2px 1px rgba(0,0,0,0.25); -moz-box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.25);
box-shadow: inset 1px 1px 2px 1px rgba(0,0,0,0.25); box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.25);
} }
&:hover { &:hover {
background-color: #666; background-color: #666;
color: white; color: white;
text-decoration: none; text-decoration: none;
-webkit-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.35); -webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.35);
-moz-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.35); -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.35);
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.35); box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.35);
&.active { &.active {
color: inherit; -webkit-box-shadow: none;
background-color: @gray-lightest; -moz-box-shadow: none;
box-shadow: none;
} }
} }
@ -640,6 +640,7 @@ ul.main-actions {
> a > p { > a > p {
padding-left: 3em; padding-left: 3em;
} }
margin-bottom: 0.5em;
} }
} }