Dropped support for Granite widgets

It's too complicated to make wingpanel and popovers look good. Most other granite widgets look fine in Greybird. So better to drop the additional code to reduce workload.
pull/45/head
Satyajit Sahoo 2013-06-19 06:57:13 +05:30
parent 62b8f970d6
commit 677c03991c
2 changed files with 0 additions and 406 deletions

View File

@ -1,405 +0,0 @@
/********************
* dynamic notebook *
********************/
.dynamic-notebook {
background-color: shade(@theme_bg_color, 1.08);
background-image: none;
}
.dynamic-notebook GtkLabel,
.dynamic-notebook GtkImage {
color: alpha(@theme_fg_color, 0.5);
}
.dynamic-notebook .notebook {
-GtkNotebook-tab-overlap: 3px;
-GtkNotebook-initial-gap: 12px;
border-width: 1px 0 0 0;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
padding: 0;
}
.dynamic-notebook .notebook tab {
padding: 3px;
border-color: shade(@theme_bg_color, 0.85);
border-radius: 2px;
background-color: shade(@theme_bg_color, 0.9);
background-image: none;
}
.dynamic-notebook .notebook tab:nth-child(first) {
border-width: 0 1px 0 1px;
}
.dynamic-notebook .notebook tab:active {
border-width: 1px;
border-color: shade(@theme_bg_color, 0.8);
border-radius: 2px;
background-color: shade(@theme_bg_color, 1.08);
color: @theme_fg_color;
}
.dynamic-notebook .notebook tab .entry {
border-radius: 2px;
padding: 4px 3px;
}
.dynamic-notebook .button:hover,
.dynamic-notebook .button:hover:active,
.dynamic-notebook .notebook .button,
.dynamic-notebook .notebook .button:hover,
.dynamic-notebook .notebook .button:hover:active {
border-color: shade(@theme_bg_color, 0.7);
background-color: shade(@theme_bg_color, 1.10);
background-image: none;
}
.dynamic-notebook .button:hover:active,
.dynamic-notebook .notebook .button:hover:active {
border-color: shade(@theme_bg_color, 0.7);
color: shade(@theme_fg_color, 0.7);
}
/****************
* content view *
****************/
.content-view-window {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_base_color, 0.8);
border-radius: 2px;
background-color:@theme_base_color;
color: @theme_text_color;
}
.content-view,
.content-view GtkViewport {
background-color: @theme_base_color;
}
.content-view * {
background-color: transparent;
background-image: none;
}
.content-view .entry {
background-color: @theme_base_color;
background-image: none;
color: @theme_text_color;
}
.content-view .button {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_base_color, 0.8);
border-radius: 2px;
background-color: shade(@theme_base_color, 1.08);
background-image: none;
color: @theme_text_color;
}
.content-view .button:hover {
border-color: shade(@theme_base_color, 0.7);
background-color: shade(@theme_base_color, 1.10);
background-image: none;
}
.content-view .button:active {
border-color: shade(@theme_base_color, 0.8);
background-color: shade(@theme_base_color, 0.95);
background-image: none;
}
.content-view .button:active:hover {
border-color: shade(@theme_base_color, 0.7);
color: shade(@theme_text_color, 0.7);
}
.content-view .button:insensitive {
background-color: shade(@theme_base_color, 0.9);
background-image: none;
}
.content-view .help_button * {
color: @theme_text_color;
}
.content-view .toolbar {
-GtkWidget-window-dragging: true;
padding: 1px;
border-width: 0 0 1px 0;
border-style: solid;
border-color: shade(@theme_base_color, 0.8);
background-color: @theme_base_color;
background-image: none;
}
/**************
* sourcelist *
*************/
.source-list,
.source-list.view {
border-radius: 0;
background-color: @theme_bg_color;
color: mix(@theme_fg_color, @theme_bg_color, 0.1);
}
.source-list {
-GtkTreeView-horizontal-separator: 1;
-GtkTreeView-vertical-separator: 1;
}
.source-list.view:selected,
.source-list.view:prelight:selected {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
.source-list.view:prelight {
background-color: shade(@theme_bg_color, 1.08);
}
.source-list.badge,
.source-list.badge:prelight,
.source-list.badge:selected,
.source-list.badge:prelight:selected {
margin: 0 3px;
padding: 0 6px;
border-width: 0;
border-radius: 10px;
background-color: @theme_selected_bg_color;
background-image: none;
color: @theme_selected_fg_color;
}
/*************
* statusbar *
*************/
GraniteWidgetsStatusBar {
padding: 1px;
background-color: @theme_bg_color;
background-image: none;
box-shadow: inset 0 1px shade(@theme_bg_color, 0.8);
}
/***********
* popover *
***********/
GraniteWidgetsPopOver {
-GraniteWidgetsPopOver-arrow-width: 21;
-GraniteWidgetsPopOver-arrow-height: 12;
-GraniteWidgetsPopOver-border-radius: 2px;
-GraniteWidgetsPopOver-border-width: 1;
-GraniteWidgetsPopOver-shadow-size: 12;
margin: 0;
border-style: solid;
border-color: shade(@menu_bg_color, 0.8);
color: @menu_fg_color;
}
.popover_bg {
background-color: transparent;
background-image: -gtk-gradient(linear,
left top, left bottom,
from (@menu_bg_color),
to (@menu_bg_color));
}
GraniteWidgetsPopOver .sidebar.view,
GraniteWidgetsPopOver * {
background-color: transparent;
color: @menu_fg_color;
}
GraniteWidgetsPopOver .sidebar.view:selected,
GraniteWidgetsPopOver .sidebar.view:selected:focus,
GraniteWidgetsPopOver *:selected,
GraniteWidgetsPopOver *:selected:focus {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
GraniteWidgetsPopOver .button {
border-color: shade(@menu_bg_color, 0.8);
background-color: shade(@menu_bg_color, 1.08);
background-image: none;
color: @menu_fg_color;
}
GraniteWidgetsPopOver .button:hover {
border-color: shade(@menu_bg_color, 0.7);
background-color: shade(@menu_bg_color, 1.10);
background-image: none;
color: shade(@menu_fg_color, 0.7);
}
GraniteWidgetsPopOver .button:active {
border-color: shade(@menu_bg_color, 0.8);
background-color: shade(@menu_bg_color, 0.95);
background-image: none;
}
GraniteWidgetsPopOver .button:active:hover {
border-color: shade(@menu_bg_color, 0.7);
color: shade(@menu_fg_color, 0.7);
}
GraniteWidgetsPopOver .entry {
border-color: shade(@menu_bg_color, 0.7);
background-color: @menu_bg_color;
background-image: none;
color: @menu_fg_color;
}
GraniteWidgetsPopOver .entry:active,
GraniteWidgetsPopOver .entry:focus {
border-color: shade(@menu_bg_color, 0.7);
}
GraniteWidgetsPopOver *.separator {
border-color: shade(@menu_bg_color, 0.9);
color: transparent;
}
.button.app {
border-width: 0;
border-radius: 2px;
background-color: transparent;
}
.button.app:hover {
border-color: shade(@theme_selected_bg_color, 0.9);
background-color: @theme_selected_bg_color;
background-image: none;
color: @theme_selected_fg_color;
}
.button.app:focus {
border-color: shade(@theme_selected_bg_color, 0.9);
background-color: @theme_selected_bg_color;
background-image: none;
color: @theme_selected_fg_color;
}
/********
* gala *
*******/
.gala-workspaces-background {
border-width: 1px 0 0 0;
border-color: shade(@panel_bg_color, 0.8);
background-color: @panel_bg_color;
background-image: none;
}
.gala-workspace-selected {
border-width: 1px;
border-radius: 2px;
border-color: shade(@theme_selected_bg_color, 0.9);
background-color: @theme_selected_bg_color;
background-image: none;
}
/*********
* files *
********/
.files-overlay-bar {
margin: 3px;
padding: 3px 6px;
border-width: 0;
border-radius: 2px;
background-color: @theme_tooltip_bg_color;
}
.files-overlay-bar* {
color: @theme_tooltip_fg_color;
}
/*********
* noise *
********/
.album-list-view,
.album-list-view * {
border-color: shade(@theme_bg_color, 0.8);
border-radius: 0;
background-color: @theme_base_color;
color: @theme_fg_color;
}
.album-list-view GtkTreeView {
-GtkTreeView-vertical-separator: 1;
-GtkTreeView-grid-line-width: 0;
background-color: @theme_base_color;
color: @theme_fg_color;
}
.album-list-view GtkTreeView row:nth-child(even) {
border-width: 0;
border-style: none;
background-color: shade(@theme_base_color, 0.97);
}
.album-list-view GtkTreeView row:nth-child(odd) {
border-width: 0;
border-style: none;
background-color: shade(@theme_base_color, 1.0);
}
.album-list-view GtkTreeView row:selected {
background-color: @selected_bg_color;
color: @selected_fg_color;
}
/**********
* notify *
**********/
.notify {
border-width: 1px;
border-style: solid;
border-color: shade(@theme_base_color, 0.7);
border-radius: 2px;
background-color: @theme_base_color;
color: @theme_text_color;
}
.notify .low {
}
.notify .critical {
}
/*********
* panel *
********/
.panel {
background-color: @panel_bg_color;
color: @panel_fg_color;
}
.shadow {
background-color: transparent;
background-image: -gtk-gradient(linear,
left top, left bottom,
from (rgba(0, 0, 0, 0.3)),
to (transparent));
}
.composited-indicator,
.wingpanel-app-button,
.wingpanel-indicator-button {
padding: 0 2px;
background-color: transparent;
color: @panel_fg_color;
}
.composited-indicator.menuitem:active,
.composited-indicator.menuitem:prelight {
border-style: none;
background-image: none;
}

View File

@ -60,5 +60,4 @@
@import url("gtk-widgets.css");
@import url("gtk-widgets-assets.css");
@import url("apps/gnome-applications.css");
@import url("apps/granite-widgets.css");
@import url("apps/unity.css");