Skip to content

Instantly share code, notes, and snippets.

@mortenpi
Last active November 15, 2015 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mortenpi/4dc1b5f6ba25e2c58a19 to your computer and use it in GitHub Desktop.
Save mortenpi/4dc1b5f6ba25e2c58a19 to your computer and use it in GitHub Desktop.
A better style for the Ubuntu Software Center (/usr/share/software-center/ui/gtk3/css/softwarecenter.css)
@define-color light-aubergine #BBBBBB;
@define-color super-light-aubergine #EDEDED;
/*
do not use text-shadow until bugzilla.gnome.org bug #686209 is
fixed - its leaking memory
*/
#featured-star {
border-color: #F89516; /* yellow */
color: #FFC51D; /* orange */
}
.grid-lines {
border-color: shade (@light-aubergine, 1.025);
}
#screenshot-preview {
border-color: #000;
color: #000;
border-width: 2px;
border-radius: 3px;
}
.backforward-left-button {
border-radius: 3px 0 0 3px;
}
.backforward-right-button {
border-radius: 0 3px 3px 0;
}
.subtle,
#subtle-label {
-GtkWidget-link-color: shade (@super-light-aubergine, 0.5);
-GtkWidget-visited-link-color: shade (@super-light-aubergine, 0.6);
color: shade (@super-light-aubergine, 0.5); /* non-link text color */
}
.cellrenderer-button {
border-radius: 3px;
}
.cellrenderer-avgrating-label {
color: #8E8E8E; /* dark gray */
}
.cellrenderer-avgrating-label:selected {
/*color: white;*/
color: #8E8E8E; /* dark gray */
}
.more-link {
-GtkButton-inner-border: 0;
-GtkButton-default-border: 0;
-GtkButton-default-outside-border: 0;
color: darker (@light-aubergine);
background-color: shade (@super-light-aubergine, 0.925);
border-color: shade (@super-light-aubergine, 0.875);
}
.frame-header-title {
/* intentionally left blank */
}
.item-view-separator {
border-color: shade (@light-aubergine, 0.9);
border-width: 1px;
}
.light-aubergine-bg {
background-color: @light-aubergine;
color: #AAFFAA;
}
.super-light-aubergine-bg {
background-color: @super-light-aubergine;
border-color: shade (@super-light-aubergine, 0.975);
color: #AAAAFF;
}
GtkViewport {
background-color: @super-light-aubergine;
border-width: 0;
padding: 0;
}
GtkTreeView {
background-color: @super-light-aubergine;
color: black;
}
GtkTreeView:selected {
background-color: mix (@super-light-aubergine, #0000FF, 0.05);
color: black;
}
#toolbar-popup {
padding: 0;
}
/*
GtkHBox, GtkLabel
ActionBar
*/
.action-bar {
background-color: @super-light-aubergine;
border: 2px solid darker(@super-light-aubergine);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment