[dash] Make the style for places and recent items similar to apps
Change the style rules so that the style for places and recent items matches the style for applications in a couple of aspects: * Use a gradient on hover * Use consistent padding and spacing https://bugzilla.gnome.org/show_bug.cgi?id=610393
This commit is contained in:
parent
6e2ec7291e
commit
39a24b9a6d
@ -500,6 +500,9 @@ StTooltip {
|
|||||||
|
|
||||||
.app-well-app:hover {
|
.app-well-app:hover {
|
||||||
border: 1px solid #666666;
|
border: 1px solid #666666;
|
||||||
|
background-gradient-direction: vertical;
|
||||||
|
background-gradient-start: rgba(61,61,61,0.8);
|
||||||
|
background-gradient-end: rgba(24,24,24,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-well-app:active {
|
.app-well-app:active {
|
||||||
@ -540,33 +543,43 @@ StTooltip {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.places-item-box {
|
.places-item-box {
|
||||||
spacing: 4px;
|
spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.places-item {
|
.places-item {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border: 1px solid #181818;
|
border: 1px solid #181818;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.places-item:hover {
|
.places-item:hover {
|
||||||
border: 1px solid #666666;
|
border: 1px solid #666666;
|
||||||
|
background-gradient-direction: vertical;
|
||||||
|
background-gradient-start: rgba(61,61,61,0.8);
|
||||||
|
background-gradient-end: rgba(24,24,24,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recent items */
|
/* Recent items */
|
||||||
|
|
||||||
.recent-docs-item-box {
|
.recent-docs-item-box {
|
||||||
spacing: 4px;
|
spacing: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recent-docs-item {
|
.recent-docs-item {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border: 1px solid #181818;
|
border: 1px solid #181818;
|
||||||
|
padding-left: 4px;
|
||||||
|
padding-right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recent-docs-item:hover {
|
.recent-docs-item:hover {
|
||||||
border: 1px solid #666666;
|
border: 1px solid #666666;
|
||||||
|
background-gradient-direction: vertical;
|
||||||
|
background-gradient-start: rgba(61,61,61,0.8);
|
||||||
|
background-gradient-end: rgba(24,24,24,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* LookingGlass */
|
/* LookingGlass */
|
||||||
|
Loading…
Reference in New Issue
Block a user