theme - split up contacts and app launcher styles

Put the contact and application launcher styling into separate
sections.

https://bugzilla.gnome.org/show_bug.cgi?id=668209
This commit is contained in:
Allan Day 2012-02-23 18:23:49 +01:00
parent e2b80658ca
commit 46ebe9ffc5

View File

@ -693,12 +693,6 @@ StScrollBar StButton#vhandle:hover
-shell-grid-vertical-item-size: 118px; -shell-grid-vertical-item-size: 118px;
} }
.contact-grid {
spacing: 36px;
-shell-grid-horizontal-item-size: 272px; /* 2 * -shell-grid-horizontal-item-size + spacing */
-shell-grid-vertical-item-size: 118px;
}
.icon-grid .overview-icon { .icon-grid .overview-icon {
icon-size: 96px; icon-size: 96px;
} }
@ -764,6 +758,32 @@ StScrollBar StButton#vhandle:hover
text-align: center; text-align: center;
} }
.app-well-app.running > .overview-icon {
text-shadow: black 0px 2px 2px;
background-image: url("running-indicator.svg");
background-size: contain;
}
.app-well-app:hover > .overview-icon,
.remove-favorite:hover > .overview-icon,
.search-result-content:hover > .overview-icon {
background-color: rgba(255,255,255,0.1);
text-shadow: black 0px 2px 2px;
transition-duration: 100;
}
.app-well-menu {
font-size: 9pt;
}
/* Contacts */
.contact-grid {
spacing: 36px;
-shell-grid-horizontal-item-size: 272px; /* 2 * -shell-grid-horizontal-item-size + spacing */
-shell-grid-vertical-item-size: 118px;
}
.contact { .contact {
width: 272px; /* Same width as two normal results + spacing */ width: 272px; /* Same width as two normal results + spacing */
height: 118px; /* Aspect ratio = 1.75. Normal US business card ratio */ height: 118px; /* Aspect ratio = 1.75. Normal US business card ratio */
@ -808,36 +828,18 @@ StScrollBar StButton#vhandle:hover
transition-duration: 100; transition-duration: 100;
} }
.app-well-app.running > .overview-icon {
text-shadow: black 0px 2px 2px;
background-image: url("running-indicator.svg");
background-size: contain;
}
.contact:selected, .contact:selected,
.app-well-app:selected > .overview-icon, .app-well-app:selected > .overview-icon,
.search-result-content:selected > .overview-icon { .search-result-content:selected > .overview-icon {
background-color: rgba(255,255,255,0.33); background-color: rgba(255,255,255,0.33);
} }
.app-well-app:hover > .overview-icon,
.remove-favorite:hover > .overview-icon,
.search-result-content:hover > .overview-icon {
background-color: rgba(255,255,255,0.1);
text-shadow: black 0px 2px 2px;
transition-duration: 100;
}
.contact:focus, .contact:focus,
.app-well-app:focus > .overview-icon, .app-well-app:focus > .overview-icon,
.search-result-content:focus > .overview-icon { .search-result-content:focus > .overview-icon {
border: 1px solid #cccccc; border: 1px solid #cccccc;
} }
.app-well-menu {
font-size: 9pt;
}
/* LookingGlass */ /* LookingGlass */
#LookingGlassDialog #LookingGlassDialog