Commit 5d6123a1 authored by Andrew O. Shadura's avatar Andrew O. Shadura Committed by Package Import Robot

Import upstream version 3.0.5

parent 69205d96
This diff is collapsed.
......@@ -2,11 +2,9 @@
## Overview
The Clearlooks-Phenix project (formerly known as Clearwaita) aims at creating a GTK3 port of Clearlooks, the default theme for Gnome 2. Files for GTK3 correspond to significant changes of Adwaita, the default Gnome 3 theme. Files for GTK2 come from the unmodified Clearlooks theme.
The Clearlooks-Phenix project (formerly known as Clearwaita) aims at creating a GTK3 port of Clearlooks, the default theme for Gnome 2. Style is also included for GTK2, Unity and for Metacity, Openbox and Xfwm4 window managers.
Also, files for Metacity, Openbox and Xfwm4 window managers are included.
Here are two screenshots (if applicable, click to download the original image):
Here are screenshots (if applicable, click to download the original image):
<a href="http://jpfleury.indefero.net/p/clearlooks-phenix/source/tree/master/doc/exemple1.png"><img src="http://jpfleury.indefero.net/p/clearlooks-phenix/source/tree/master/doc/exemple1.png" alt="Screenshot of a Gnome 3 desktop (fallback mode) with the Clearlooks-Phenix theme" width="658" height="493" /></a>
......@@ -16,23 +14,49 @@ Here are two screenshots (if applicable, click to download the original image):
## Requirements
- Requirements for Clearlooks-Phenix 1: package `gnome-themes-standard`.
- Requirements for Clearlooks-Phenix 1: packages `gtk2-engines` (if GTK2 applications are used) and `gnome-themes-standard`.
- Requirements for Clearlooks-Phenix 2: packages `gtk2-engines` (if GTK2 applications are used), `gnome-themes-standard` and `gtk3-engines-unico`.
- Requirements for Clearlooks-Phenix 2: packages `gnome-themes-standard` and `gtk3-engines-unico`.
- Requirements for Clearlooks-Phenix 3: package `gtk2-engines` (if GTK2 applications are used).
## Installation
- Download the appropriate version according to your situation:
Regardless of the installation method chosen, the theme must be selected once the installation is complete:
- for GTK 3.0 and 3.2: [download Clearlooks-Phenix 1](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/1.0.1/);
- On Gnome: with [gnome-tweak-tool](https://live.gnome.org/GnomeTweakTool), by setting *Theme > Window theme* and *Theme > GTK+ theme*, or in a terminal:
dconf write /org/gnome/desktop/wm/preferences/theme \'Clearlooks-Phenix\'
dconf write /org/gnome/desktop/interface/gtk-theme \'Clearlooks-Phenix\'
- for GTK 3.4 and newer: [download Clearlooks-Phenix 2](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/master/).
- On Xfce: by going to *Settings > Appearence > Style* in the main menu for the GTK theme, and to *Settings > Window Manager > Style* for the Xfwm4 theme, or in a terminal:
xfconf-query -s Clearlooks-Phenix -c xfwm4 -p /general/theme
xfconf-query -s Clearlooks-Phenix -c xsettings -p /Net/ThemeName
### Manually
**Manual installation ensures you get the latest version of the theme.** See below for other installation methods.
- Download the appropriate version according to your situation:
- for GTK 3.0 and 3.2: [download Clearlooks-Phenix 1](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v1/);
- for GTK 3.4: [download Clearlooks-Phenix 2](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/v2/).
- for GTK 3.6 and newer: [download Clearlooks-Phenix 3](http://jpfleury.indefero.net/p/clearlooks-phenix/source/download/master/).
To find your GTK version:
- you can check in your package manager the version of the package `libgtk-3-0`;
- You can check in your package manager the version of the package `libgtk-3-0`.
- If you use a Gnome application (gedit, Nautilus, File Roller, Evince, etc.), you can open it and go to *Help > About*. For example, if you have gedit 3.2.3, then you have GTK 3.2.
- if you use a Gnome application (gedit, Nautilus, File Roller, Evince, etc.), you can open it and go to *Help > About*. For example, if you have gedit 3.2.3, then you have GTK 3.2.
- If you use Ubuntu, here's a correspondence between its versions and those of GTK (for a default installation of Ubuntu):
- Ubuntu 11.10: GTK 3.2
- Ubuntu 12.04: GTK 3.4
- Ubuntu 12.10: GTK 3.6
- Extract the archive.
......@@ -44,14 +68,64 @@ Here are two screenshots (if applicable, click to download the original image):
- `/usr/share/themes/` for all users, including style for programs ran with root privileges (e.g. Synaptic).
- Then, choose Clearlooks-Phenix theme:
### Arch Linux
- on Gnome: with [gnome-tweak-tool](https://live.gnome.org/GnomeTweakTool);
- on Xfce: by going to *Settings > Appearence* in the main menu for the GTK theme, and to *Settings > Window Manager* for the Xfwm4 theme.
An [AUR package](https://aur.archlinux.org/packages.php?ID=60380) is maintained by eworm.
### Debian
The package [`clearlooks-phenix-theme`](http://packages.debian.org/sid/clearlooks-phenix-theme) can be installed on Debian unstable.
### Gentoo
The following `ebuild` can be used:
http://bbgentoo.ilb.ru/repos/bbgentoo/bbgentoo_overlay/tags/current/x11-themes/clearlooks-phenix/clearlooks-phenix-2.0.10.ebuild
### Ubuntu
The package [`clearlooks-phenix-theme`](http://packages.ubuntu.com/quantal/clearlooks-phenix-theme) can be installed on Ubuntu 12.10 and newer.
#### PPA du site NoobsLab
NoobsLab provides a PPA allowing to install Clearlooks-Phenix. See the article [Install Clearlooks-Phenix GTK theme on Ubuntu 12.10/12.04/11.10/Linux Mint](http://www.noobslab.com/2012/10/install-clearlooks-phenix-gtk-theme-on.html) for more details.
## Configuration
### Wallpaper
The wallpaper used for the Gnome 3 desktop screenshot is available in the folder `wallpapers`.
### Icons
The icon theme used for the same screenshot is Mist, installed with the package [`gnome-themes`](http://packages.ubuntu.com/oneiric/gnome-themes), under LGPL. However, this package is no longer available with last Ubuntu versions. Here's an easy way to install Mist:
- [Download the archive of the Mist icon theme.](http://www.jpfleury.net/site/fichiers/Mist.tar)
- Extract the archive.
- Copy the folder `Mist` in one of the following two locations:
- `~/.icons/` for the current user;
- `/usr/share/icons/` for all users.
- Then, choose Mist:
- on Gnome: with gnome-tweak-tool by setting *Theme > Icon theme*;
- on Xfce: by going to *Settings > Appearence > Icons* in the main menu.
Also, color schemes were made by DDZ to fit with Clearlooks-Phenix:
- [Gnome-Colors-Clearlooks](http://opendesktop.org/content/show.php?content=151907), color scheme for the icon theme Gnome-Colors;
- [Humanities-Clearlooks](http://opendesktop.org/content/show.php?content=151908), color scheme for the icon theme Humanities.
- [KDE3-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151994), color scheme for KDE 3.
- [KDE4-Clearlooks-Colors](http://opendesktop.org/content/show.php?content=151993), color scheme for KDE 4.
### Desktop managed by Nautilus
By default, the font color on a desktop managed by Nautilus is black. To set it to white, open the file `gtk-3.0/applications.css` with a text editor, find the code relative to Nautilus:
......@@ -78,28 +152,29 @@ and uncomment it, as follows:
To get a custom color, change the color directly in the file `gtk-3.0/applications.css`.
### Window buttons layout
### Color variants
If after installing or updating Ubuntu, the window buttons are on the left side, but you want them to the right, run the following command in a terminal:
It's very easy to create color variants of the GTK3 theme. Only a few color declarations must be changed in the first section of the file `gtk-3.0/gtk.css`.
gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close"
About button borders, they come from SVG files. [Inkscape](http://inkscape.org/) can be used to modify them. For more details, see the screencast [Utiliser Inkscape pour modifier la couleur de la bordure d'un bouton](http://www.youtube.com/watch?v=DWJHDS5hQsw). A Bash script is also shipped with Clearlooks-Phenix to assist the modification of SVG and PNG files. To use it, copy the file `doc/images.sh.txt`, paste it in the root folder of your development theme (same emplacement as the file `index.theme`) and rename it `images.sh`. Then, change variables in the first section of the file according to the color variant desired and run the script in a terminal (`bash images.sh`). The package `imagemagick` is required.
## Icons and wallpaper
### Window buttons layout
On screenshots, the icon theme used is Mist, installed with the package [`gnome-themes`](http://packages.ubuntu.com/oneiric/gnome-themes).
If after installing or updating Ubuntu, the window buttons are on the left side, but you want them to the right, run the following command in a terminal:
The wallpaper is a slightly modified version of an [image from volvoguy](http://www.volvoguy.net/ubuntu/).
gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close"
## Development
Last version: 2.0.5 (2012-06-26)
Last version: 3.0.5 (2012-11-02)
Git is used for revision control. [Repository can be browsed online or cloned.][git]
Clearlooks-Phenix has an [issue tracker], on which bug reports and feature requests can be submitted.
Clearlooks-Phenix has an [issue tracker], on which bug reports and feature requests can be submitted. Comments can also be posted on the webpage [Clearlooks-Phenix on GNOME-Look.org][gnome-look].
[git]: http://jpfleury.indefero.net/p/clearlooks-phenix/source/tree/master/
[issue tracker]: http://jpfleury.indefero.net/p/clearlooks-phenix/issues/
[gnome-look]: http://gnome-look.org/content/show.php?content=145210
## License
......@@ -131,3 +206,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- [Clearlooks XFWM4](http://xfce-look.org/content/show.php/Clearlooks+for+XFWM4?content=137055) theme, under GPL.
- Files in `wallpapers`, based on an [image from volvoguy](http://gnome-look.org/content/show.php?content=22210), under GPL.
doc/exemple3.png

74.8 KB | W: | H:

doc/exemple3.png

91.1 KB | W: | H:

doc/exemple3.png
doc/exemple3.png
doc/exemple3.png
doc/exemple3.png
  • 2-up
  • Swipe
  • Onion skin
#!/bin/bash
# Script d'assistance à la modification des images du thème Clearlooks-Phénix
# dans le but de créer une variante de couleurs.
#
# Placer ce script à la racine du thème (c'est-à-dire au même emplacement que
# le fichier «index.theme»), personnaliser la section «Variables à modifier.»
# et lancer le script dans une console:
#
# $ bash images.sh
########################################################################
##
## Variables à modifier.
##
########################################################################
# Variation de la luminosité, de la saturation et de la teinte des fichiers PNG
# pour le style «hover». Pour plus de détails, voir le lien suivant:
# <http://www.imagemagick.org/script/command-line-options.php#modulate>.
pngVariation=100,100,300
# Liste des fichiers SVG à modifier.
# Fichier «border.svg».
svgBcouleurBordure=918e8c
svgBcouleurBordureExterneBas=ffffff
# Fichier «border-error.svg».
svgBeCouleurBordure=9b3636
svgBeCouleurBordureExterneBas=ffffff
# Fichier «border-focused.svg».
svgBfCouleurBordure=4b6e99
svgBfCouleurBordureInterne=c8daef
svgBfCouleurBordureExterneBas=ffffff
# Fichier «border-focused-ptb.svg».
svgBfCouleurBordure=869bb7
svgBfCouleurBordureInterne=cccccc
# Fichier «border-focused-switch.svg».
svgBfScouleurBordure=4b6e99
svgBfScouleurBordureExterneBas=ffffff
# Fichier «border-gnome-panel-button.svg».
svgBgPbCouleurBordure=918e8c
# Fichier «border-inline-button.svg».
svgBiBcouleurBordure=918e8c
svgBiBcouleurBordureExterneBas=ffffff
# Fichier «border-insensitive.svg».
svgBiCouleurBordure=a9a5a2
svgBiCouleurBordureExterneBas=ffffff
########################################################################
##
## Code principal. Ne pas modifier.
##
########################################################################
# Dépendances.
if ! type convert > /dev/null 2>&1; then
echo "Veuillez installer le paquet «imagemagick»" >&2
exit 1
fi
if ! type sed > /dev/null 2>&1; then
echo "Veuillez installer le paquet «sed»" >&2
exit 1
fi
# Dossier de sauvegarde des images modifiées.
dossierSauv=gtk-3.0/img/modif
i=0
while ! mkdir "$dossierSauv" > /dev/null 2>&1 && ((i < 100)); do
((++i))
dossierSauv=gtk-3.0/img/modif-$i
done
if [[ ! -d $dossierSauv ]]; then
echo "Impossible de créer un dossier de sauvegarde pour y déplacer les images modifiées." >&2
exit 1
fi
# Modification des images PNG.
png=(
gtk-3.0/img/checkbox-checked-hover.png
gtk-3.0/img/checkbox-mixed-hover.png
gtk-3.0/img/checkbox-unchecked-hover.png
gtk-3.0/img/menuitem-checkbox-checked-hover.png
gtk-3.0/img/menuitem-checkbox-hover.png
gtk-3.0/img/menuitem-checkbox-mixed-hover.png
gtk-3.0/img/menuitem-radio-checked-hover.png
gtk-3.0/img/menuitem-radio-hover.png
gtk-3.0/img/radio-checked-hover.png
gtk-3.0/img/radio-mixed-hover.png
gtk-3.0/img/radio-unchecked-hover.png
)
for image in "${png[@]}"; do
convert "$image" -modulate "$pngVariation" "$dossierSauv/${image##*/}"
done
# Modification des images SVG.
svgB=gtk-3.0/img/border.svg
cp "$svgB" "$dossierSauv"
sed -i "s/#918e8c;/#$svgBcouleurBordure;/" "$dossierSauv/${svgB##*/}"
sed -i "s/#ffffff;/#$svgBcouleurBordureExterneBas;/" "$dossierSauv/${svgB##*/}"
svgBe=gtk-3.0/img/border-error.svg
cp "$svgBe" "$dossierSauv"
sed -i "s/#9b3636;/#$svgBeCouleurBordure;/" "$dossierSauv/${svgBe##*/}"
sed -i "s/#ffffff;/#$svgBeCouleurBordureExterneBas;/" "$dossierSauv/${svgBe##*/}"
svgBf=gtk-3.0/img/border-focused.svg
cp "$svgBf" "$dossierSauv"
sed -i "s/#4b6e99;/#$svgBfCouleurBordure;/" "$dossierSauv/${svgBf##*/}"
sed -i "s/#c8daef;/#$svgBfCouleurBordureInterne;/" "$dossierSauv/${svgBf##*/}"
sed -i "s/#ffffff;/#$svgBfCouleurBordureExterneBas;/" "$dossierSauv/${svgBf##*/}"
svgBfPtb=gtk-3.0/img/border-focused-ptb.svg
cp "$svgBfPtb" "$dossierSauv"
sed -i "s/#869bb7;/#$svgBfCouleurBordure;/" "$dossierSauv/${svgBfPtb##*/}"
sed -i "s/#cccccc;/#$svgBfCouleurBordureInterne;/" "$dossierSauv/${svgBfPtb##*/}"
svgBfS=gtk-3.0/img/border-focused-switch.svg
cp "$svgBfS" "$dossierSauv"
sed -i "s/#4b6e99;/#$svgBfScouleurBordure;/" "$dossierSauv/${svgBfS##*/}"
sed -i "s/#ffffff;/#$svgBfScouleurBordureExterneBas;/" "$dossierSauv/${svgBfS##*/}"
svgBgPb=gtk-3.0/img/border-gnome-panel-button.svg
cp "$svgBgPb" "$dossierSauv"
sed -i "s/#918e8c;/#$svgBgPbCouleurBordure;/" "$dossierSauv/${svgBgPb##*/}"
svgBiB=gtk-3.0/img/border-inline-button.svg
cp "$svgBiB" "$dossierSauv"
sed -i "s/#918e8c;/#$svgBiBcouleurBordure;/" "$dossierSauv/${svgBiB##*/}"
sed -i "s/#ffffff;/#$svgBiBcouleurBordureExterneBas;/" "$dossierSauv/${svgBiB##*/}"
svgBi=gtk-3.0/img/border-insensitive.svg
cp "$svgBi" "$dossierSauv"
sed -i "s/#a9a5a2;/#$svgBiCouleurBordure;/" "$dossierSauv/${svgBi##*/}"
sed -i "s/#ffffff;/#$svgBiCouleurBordureExterneBas;/" "$dossierSauv/${svgBi##*/}"
# Fin du script.
echo "Les images ont été modifiées."
2.0.5 (2012-06-26)
3.0.5 (2012-11-02)
# Workaround for the evolution ETable (bug #527532)
widget_class "*.<ETable>.<ECanvas>" style "treeview_header"
# Workaround for the evolution ETree
widget_class "*.<ETree>.<ECanvas>" style "treeview_header"
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the base color.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
# See the documentation of the style.
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
##########################################################################
# Chromium.
##########################################################################
style "chromium_toolbar_button" {
engine "clearlooks" {
colorize_scrollbar = TRUE
reliefstyle = 1
menubarstyle = 2
toolbarstyle = 1
animation = FALSE
radius = 3.0
style = GUMMY
# Set a hint to disable backward compatibility fallbacks.
hint = "use-hints"
}
}
style "chrome-hacks"
{
ChromeGtkFrame::frame-color = "#86abd9"
ChromeGtkFrame::frame-gradient-color = "#8cb0dc"
ChromeGtkFrame::frame-gradient-size = 16
ChromeGtkFrame::inactive-frame-color = "#dedcda"
ChromeGtkFrame::inactive-frame-gradient-color = "#e3e2e0"
ChromeGtkFrame::incognito-frame-color = "#4b6e99"
ChromeGtkFrame::incognito-frame-gradient-color = shade (1.02, "#4b6e99")
ChromeGtkFrame::incognito-inactive-frame-color = "#d5d3d1"
ChromeGtkFrame::incognito-inactive-frame-gradient-color = shade (1.02, "#d5d3d1")
ChromeGtkFrame::scrollbar-trough-color = shade (0.9, "#edeceb")
ChromeGtkFrame::scrollbar-slider-prelight-color = shade (1.05, "#86abd9")
ChromeGtkFrame::scrollbar-slider-normal-color = "#86abd9"
}
class "ChromeGtkFrame" style "chrome-hacks"
widget_class "*Chrom*Button*" style "chromium_toolbar_button"
# Please keep this gtkrc in sync with the other ones from Clearlooks based themes.
gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#F5F5B5"
gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86abd9\nselected_fg_color:#ffffff\ntext_color:#1a1a1a\nbg_color:#edeceb\ntooltip_bg_color:#f5f5b5\nlink_color:#0000ee\nvisited_link_color:#551a8b"
style "default" {
xthickness = 1
......@@ -45,6 +45,9 @@ style "default" {
GtkEntry::progress-border = { 2, 2, 2, 2 }
GtkWidget::link-color = @link_color
GtkWidget::visited-link-color = @visited_link_color
####################
# Color Definitions
####################
......@@ -329,7 +332,6 @@ style "evo_new_button_workaround" {
}
}
###############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################
......@@ -399,28 +401,5 @@ widget "gtk-tooltip*" style "tooltips"
# Following are special cases and workarounds for issues in applications.
##########################################################################
# Workaround for the evolution ETable (bug #527532)
widget_class "*.<ETable>.<ECanvas>" style "treeview_header"
# Workaround for the evolution ETree
widget_class "*.<ETree>.<ECanvas>" style "treeview_header"
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the base color.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
# See the documentation of the style.
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
include "applications.rc"
......@@ -15,6 +15,11 @@
}
*/
.nautilus-desktop .entry {
background-image: none;
border-image: none;
}
/*********
* gedit *
*********/
......@@ -23,6 +28,44 @@ GeditFloatingSlider .entry.not-found:focus {
border-image: url("img/border-error.svg") 3 3 4 3 / 3px 3px 4px 3px repeat;
}
/*******************
* gnome-documents *
*******************/
.documents-scrolledwin.frame {
border-width: 1px 0 0 0;
border-radius: 0;
}
.documents-main-view.view {
background-color: @theme_base_color;
}
GtkIconView.documents-main-view.check {
background-repeat: no-repeat;
background-position: center;
background-color: @theme_base_color;
}
.documents-selection-mode.toolbar {
border-width: 0;
}
.documents-selection-mode.toolbar .dim-label {
color: @theme_fg_color;
}
.documents-icon-bg {
background-color: @switch_trough_active_gradient_a;
border-radius: 3px;
color: @theme_base_color;
}
.documents-collection-icon {
background-color: @theme_bg_color;
border-radius: 3px;
}
/***************
* gnome-panel *
***************/
......@@ -37,6 +80,14 @@ PanelApplet {
color: @os_chrome_fg_color;
}
.gnome-panel-menu-bar,
PanelApplet > GtkMenuBar.menubar,
PanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar,
PanelMenuBar.menubar.menuitem {
-PanelMenuBar-icon-visible: true;
}
PanelAppletFrame {
background-color: @applet_frame_bg_color;
background-image: none;
......@@ -47,7 +98,20 @@ PanelApplet .button,
PanelApplet .button:active,
PanelApplet .button:hover,
PanelApplet .button:hover:active {
border-image: url("img/border-gnome-panel-button.svg") 3 / 3 repeat;
border-image: url("img/border-gnome-panel-button.svg") 3 3 4 3 / 3px 3px 4px 3px repeat;
}
PanelApplet .menu .menuitem *:active {
color: @theme_text_color;
}
PanelApplet .menu .menuitem *:selected {
color: @theme_selected_fg_color;
}
PanelWidget > .button
{
padding: 0;
}
WnckPager {
......@@ -65,3 +129,35 @@ GsmFailWhaleDialog {
color: @os_chrome_fg_color;
}
/* gnome-terminal */
TerminalScreen {
background-color: @theme_base_color;
color: @theme_fg_color;
}
/* Unity */
UnityPanelWidget,
.unity-panel {
background-image: none;
background-color: @theme_bg_color;
color: @theme_fg_color;
border-width: 0;
}
.unity-panel.menubar.menuitem:hover {
background-color: @menu_bg_color;
border-style: solid;
border-width: 1px 1px 0px;
border-color: @menubar_menuitem_hover_border_color;
border-radius: 3px 3px 0 0;
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@menubar_menuitem_hover_gradient_a),
color-stop (0.50, @menubar_menuitem_hover_gradient_b),
color-stop (0.50, @menubar_menuitem_hover_gradient_c),
to (@menubar_menuitem_hover_gradient_d));
}
/***********************************************************************
* This section can be modified to create color variants of the theme. *
***********************************************************************/
/****************
* color scheme *
****************/
@define-color theme_base_color #ffffff;
@define-color theme_bg_color #edeceb;
@define-color theme_fg_color #000000;
@define-color theme_selected_bg_color #86abd9;
@define-color theme_selected_fg_color #ffffff;
@define-color theme_tooltip_bg_color #f5f5b5;
@define-color theme_tooltip_fg_color #000000;
@define-color theme_text_color #1a1a1a;
@define-color link_color #0000ee;
@define-color visited_link_color #551a8b;
/*****************
* error/warning *
*****************/
@define-color error_color #cc0000;
@define-color warning_bg_color #faad3d;
/***************
* core colors *
***************/
/* Core colors are only used in the current file, as bases for other
color declarations. */
@define-color core_color_a #a4c2e8; /* Core color for blue widgets in Clearlooks-Phenix. */
@define-color core_color_b #edeceb; /* Core color for gray widgets in Clearlooks-Phenix. */
/********************************************
* End of configuration for color variants. *
********************************************/
......@@ -2,6 +2,30 @@
* Assets *
**********/
/*************
* GtkSwitch *
*************/
GtkSwitch.slider {
background-image: linear-gradient(to bottom,
alpha (@switch_slider_gradient_a, 0.5),
alpha (@switch_slider_gradient_b, 0.5) 50%,
alpha (@switch_slider_gradient_c, 0.5) 50%,
alpha (@switch_slider_gradient_d, 0.5)),
url("img/slider-horz-grip.png");
background-repeat: no-repeat;
background-position: center center;
}
GtkSwitch.slider:insensitive {
background-image: linear-gradient(to bottom,
alpha (@switch_slider_insensitive_gradient_a, 0.8),
alpha (@switch_slider_insensitive_gradient_b, 0.8) 50%,
alpha (@switch_slider_insensitive_gradient_c, 0.8) 50%,
alpha (@switch_slider_insensitive_gradient_d, 0.8)),
url("img/slider-horz-grip.png");
}
/***************
* Resize grip *
***************/
......@@ -14,14 +38,53 @@
* Scrollbar *
***************/
.scrollbar.vertical {
engine: unico;
-unico-centroid-texture: url("img/slider-vert-grip.png");
}
.scrollbar.horizontal {
engine: unico;
-unico-centroid-texture: url("img/slider-horz-grip.png");
.scrollbar.slider {
background-repeat: no-repeat;
background-position: center center;
}
.scrollbar.slider.vertical {
background-image: linear-gradient(to right,
alpha (@scrollbar_slider_inner_border_color, 0.5),
alpha (@scrollbar_slider_gradient_a, 0.5) 1px,
alpha (@scrollbar_slider_gradient_b, 0.5) 50%,
alpha (@scrollbar_slider_gradient_c, 0.5) 50%,
alpha (@scrollbar_slider_gradient_d, 0.5) 95%,
alpha (@scrollbar_slider_inner_border_color, 0.5)),
url("img/slider-vert-grip.png");
}
.scrollbar.slider.horizontal {
background-image: linear-gradient(to bottom,
alpha (@scrollbar_slider_inner_border_color, 0.5),
alpha (@scrollbar_slider_gradient_a, 0.5) 1px,
alpha (@scrollbar_slider_gradient_b, 0.5) 50%,
alpha (@scrollbar_slider_gradient_c, 0.5) 50%,
alpha (@scrollbar_slider_gradient_d, 0.5) 95%,
alpha (@scrollbar_slider_inner_border_color, 0.5)),
url("img/slider-horz-grip.png");
}
.scrollbar.slider.vertical:hover {
background-image: linear-gradient(to right,
alpha (@scrollbar_slider_inner_border_color, 0.5),
alpha (@scrollbar_slider_hover_gradient_a, 0.5) 1px,
alpha (@scrollbar_slider_hover_gradient_b, 0.5) 50%,
alpha (@scrollbar_slider_hover_gradient_c, 0.5) 50%,
alpha (@scrollbar_slider_hover_gradient_d, 0.5) 95%,
alpha (@scrollbar_slider_inner_border_color, 0.5)),
url("img/slider-vert-grip.png");
}
.scrollbar.slider.horizontal:hover {
background-image: linear-gradient(to bottom,
alpha (@scrollbar_slider_inner_border_color, 0.5),
alpha (@scrollbar_slider_hover_gradient_a, 0.5) 1px,
alpha (@scrollbar_slider_hover_gradient_b, 0.5) 50%,
alpha (@scrollbar_slider_hover_gradient_c, 0.5) 50%,
alpha (@scrollbar_slider_hover_gradient_d, 0.5) 95%,
alpha (@scrollbar_slider_inner_border_color, 0.5)),
url("img/slider-horz-grip.png");
}
/*************************
......@@ -136,26 +199,6 @@
background-image: url("img/radio-mixed-insensitive.png");
}
.sidebar .radio:active,
.sidebar .radio:active:focus,
.sidebar .radio:active:hover {
background-image: url("img/sidebar-radio-checked.svg");
}
.sidebar .radio:hover {