theme: Update for search redesign

https://bugzilla.gnome.org/show_bug.cgi?id=681797
This commit is contained in:
Tanner Doshier 2012-06-30 10:42:12 -05:00 committed by Jasper St. Pierre
parent 5e96c3dfb4
commit ce2c5106f8

View File

@ -711,7 +711,7 @@ StScrollBar StButton#vhandle:active {
#searchResultsContent { #searchResultsContent {
padding-right: 20px; padding-right: 20px;
spacing: 36px; spacing: 16px;
} }
#searchResultsContent:rtl { #searchResultsContent:rtl {
@ -719,6 +719,17 @@ StScrollBar StButton#vhandle:active {
padding-left: 20px; padding-left: 20px;
} }
.search-section {
/* This should be equal to #searchResultsContent spacing */
spacing: 16px;
}
.search-section-content {
/* This is the space between the provider icon and the results container */
spacing: 25px;
}
.search-statustext,
.search-section-header { .search-section-header {
padding: 4px 12px; padding: 4px 12px;
spacing: 4px; spacing: 4px;
@ -744,6 +755,14 @@ StScrollBar StButton#vhandle:active {
spacing: 4px; spacing: 4px;
} }
.search-providers-box {
spacing: 12px;
}
.results-list {
spacing: 5px;
}
/* Text labels are an odd number of pixels tall. The uneven top and bottom /* Text labels are an odd number of pixels tall. The uneven top and bottom
* padding compensates for this and ensures that the label is vertically * padding compensates for this and ensures that the label is vertically
* centered */ * centered */
@ -824,7 +843,10 @@ StScrollBar StButton#vhandle:active {
.app-well-app > .overview-icon, .app-well-app > .overview-icon,
.show-apps > .overview-icon, .show-apps > .overview-icon,
.search-result-content > .overview-icon { .remove-favorite > .overview-icon,
.search-section-icon-bin,
.search-result,
.grid-search-result-content > .overview-icon {
border-radius: 4px; border-radius: 4px;
padding: 3px; padding: 3px;
border: 1px rgba(0,0,0,0); border: 1px rgba(0,0,0,0);
@ -840,7 +862,10 @@ StScrollBar StButton#vhandle:active {
.app-well-app:hover > .overview-icon, .app-well-app:hover > .overview-icon,
.show-apps:hover > .overview-icon, .show-apps:hover > .overview-icon,
.search-result-content:hover > .overview-icon { .remove-favorite:hover > .overview-icon,
.search-section-icon-bin:hover,
.search-result:hover,
.grid-search-result-content:hover > .overview-icon {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
text-shadow: black 0px 2px 2px; text-shadow: black 0px 2px 2px;
transition-duration: 100; transition-duration: 100;
@ -875,13 +900,39 @@ StScrollBar StButton#vhandle:active {
} }
.app-well-app:focus > .overview-icon, .app-well-app:focus > .overview-icon,
.search-result-content:focus > .overview-icon,
.show-apps:focus > .overview-icon, .show-apps:focus > .overview-icon,
.search-section-icon-bin:focus,
.search-result:focus,
.grid-search-result-content:focus > .overview-icon,
.app-well-app:selected > .overview-icon, .app-well-app:selected > .overview-icon,
.search-result-content:selected > .overview-icon { .search-section-icon-bin:selected,
.search-result:selected,
.grid-search-result-content:selected > .overview-icon {
background-color: rgba(255,255,255,0.33); background-color: rgba(255,255,255,0.33);
} }
/* List Results */
.search-result {
padding: 15px;
}
.search-result-content {
spacing: 12px;
}
.search-result-details {
font-weight: bold;
}
.search-result-details-title {
font-size: 16pt;
}
.search-result-details-description {
font-size: 14pt;
}
/* LookingGlass */ /* LookingGlass */
#LookingGlassDialog { #LookingGlassDialog {