@@ -12,41 +12,27 @@ Voici quelques captures d'écran (s'il y a lieu, cliquer pour voir l'image au fo | |||
## Dépendances | |||
- Dépendances de Clearlooks-Phénix 1: paquets `gtk2-engines` (si des logiciels GTK2 sont utilisés) et `gnome-themes-standard`. | |||
- Dépendances de Clearlooks-Phénix v1: paquets `gtk2-engines` (si des logiciels GTK2 sont utilisés) et `gnome-themes-standard`. | |||
- Dépendances de Clearlooks-Phénix 2: paquets `gtk2-engines` (si des logiciels GTK2 sont utilisés), `gnome-themes-standard` et `gtk3-engines-unico`. | |||
- Dépendances de Clearlooks-Phénix v2: paquets `gtk2-engines` (si des logiciels GTK2 sont utilisés), `gnome-themes-standard` et `gtk3-engines-unico`. | |||
- Dépendances de Clearlooks-Phénix 3 et versions suivantes: paquet `gtk2-engines` (si des logiciels GTK2 sont utilisés). | |||
- Dépendances de Clearlooks-Phénix v3 et versions suivantes: paquet `gtk2-engines` (si des logiciels GTK2 sont utilisés). | |||
## Installation | |||
Peu importe la méthode d'installation choisie, le thème devra être sélectionné une fois l'installation terminée: | |||
- Sous Gnome: avec le logiciel [gnome-tweak-tool](https://live.gnome.org/GnomeTweakTool), en paramétrant *Theme > Window theme* et *Theme > GTK+ theme*, ou en console: | |||
dconf write /org/gnome/desktop/wm/preferences/theme \'Clearlooks-Phenix\' | |||
dconf write /org/gnome/desktop/interface/gtk-theme \'Clearlooks-Phenix\' | |||
- Sous Xfce: en allant dans *Paramètres > Apparence > Style* du menu principal pour le thème GTK, et dans *Paramètres > Gestionnaire de fenêtres > Style* pour le thème de Xfwm4, ou en console: | |||
xfconf-query -s Clearlooks-Phenix -c xfwm4 -p /general/theme | |||
xfconf-query -s Clearlooks-Phenix -c xsettings -p /Net/ThemeName | |||
### Manuellement | |||
**La méthode manuelle assure d'installer la dernière version du thème.** Voir plus bas pour d'autres méthodes d'installation. | |||
- Télécharger l'archive de la version correspondant à votre situation: | |||
- pour GTK 3.0 et 3.2: [télécharger Clearlooks-Phénix 1](https://github.com/jpfleury/clearlooks-phenix/archive/v1.zip); | |||
- pour GTK 3.0 et 3.2: [télécharger Clearlooks-Phénix v1](https://github.com/jpfleury/clearlooks-phenix/archive/v1.zip); | |||
- pour GTK 3.4: [télécharger Clearlooks-Phénix 2](https://github.com/jpfleury/clearlooks-phenix/archive/v2.zip); | |||
- pour GTK 3.4: [télécharger Clearlooks-Phénix v2](https://github.com/jpfleury/clearlooks-phenix/archive/v2.zip); | |||
- pour GTK 3.6: [télécharger Clearlooks-Phénix 3](https://github.com/jpfleury/clearlooks-phenix/archive/v3.zip); | |||
- pour GTK 3.6: [télécharger Clearlooks-Phénix v3](https://github.com/jpfleury/clearlooks-phenix/archive/v3.zip); | |||
- pour GTK 3.8: [télécharger Clearlooks-Phénix 4](https://github.com/jpfleury/clearlooks-phenix/archive/v4.zip); | |||
- pour GTK 3.8: [télécharger Clearlooks-Phénix v4](https://github.com/jpfleury/clearlooks-phenix/archive/v4.zip); | |||
- pour GTK 3.10 et versions suivantes: [télécharger Clearlooks-Phénix 5](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip). | |||
- pour GTK 3.10 et 3.12: [télécharger Clearlooks-Phénix v5](https://github.com/jpfleury/clearlooks-phenix/archive/v5.zip); | |||
- pour GTK 3.14: [télécharger Clearlooks-Phénix v6](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip). | |||
Pour connaître sa version de GTK: | |||
@@ -71,50 +57,22 @@ Peu importe la méthode d'installation choisie, le thème devra être sélection | |||
- `/usr/share/themes/` pour tous les utilisateurs, incluant le style des logiciels lancés en tant que superutilisateur (par exemple Synaptic). | |||
### Arch Linux | |||
Un [paquet AUR](https://aur.archlinux.org/packages.php?ID=60380) est maintenu par eworm. | |||
### Sélection du thème | |||
### Debian | |||
Le thème doit être sélectionné une fois l'installation terminée: | |||
Le paquet [`clearlooks-phenix-theme`](http://packages.debian.org/sid/clearlooks-phenix-theme) peut être installé sous Debian unstable. | |||
### Gentoo | |||
Voir le paquet suivant: | |||
- Sous Gnome: avec le logiciel [gnome-tweak-tool](https://live.gnome.org/GnomeTweakTool), en paramétrant *Theme > Window theme* et *Theme > GTK+ theme*, ou en console: | |||
http://packages.gentoo.org/package/x11-themes/clearlooks-phenix | |||
dconf write /org/gnome/desktop/wm/preferences/theme \'Clearlooks-Phenix\' | |||
dconf write /org/gnome/desktop/interface/gtk-theme \'Clearlooks-Phenix\' | |||
### Ubuntu | |||
- Sous Xfce: en allant dans *Paramètres > Apparence > Style* du menu principal pour le thème GTK, et dans *Paramètres > Gestionnaire de fenêtres > Style* pour le thème de Xfwm4, ou en console: | |||
Le paquet [`clearlooks-phenix-theme`](http://packages.ubuntu.com/search?keywords=clearlooks-phenix-theme) peut être installé sous Ubuntu 12.10 ou toute version ultérieure. | |||
xfconf-query -s Clearlooks-Phenix -c xfwm4 -p /general/theme | |||
xfconf-query -s Clearlooks-Phenix -c xsettings -p /Net/ThemeName | |||
## Configuration | |||
### Arrière-plan | |||
L'arrière-plan utilisé dans la capture d'écran du bureau de Gnome est disponible dans le dossier `wallpapers`. | |||
### Icônes | |||
Le thème d'icônes utilisé dans la même capture d'écran est Mist, installé avec le paquet [`gnome-themes`](http://packages.ubuntu.com/oneiric/gnome-themes), sous licence LGPL. Cependant, ce paquet n'est plus disponible pour les dernières versions d'Ubuntu. Voici une méthode simple pour installer Mist: | |||
- [Télécharger l'archive du thème d'icônes Mist.](http://www.jpfleury.net/site/fichiers/Mist.tar) | |||
- Extraire l'archive. | |||
- Copier le dossier `Mist` dans un des deux emplacements suivants: | |||
- `~/.icons/` pour l'utilisateur courant; | |||
- `/usr/share/icons/` pour tous les utilisateurs. | |||
- Ensuite, choisir le thème d'icônes Mist: | |||
- sous Gnome: avec le logiciel gnome-tweak-tool en paramétrant *Theme > Icon theme*; | |||
- sous Xfce: en allant dans *Paramètres > Apparence > Icônes* du menu principal. | |||
### Bureau géré par Nautilus | |||
Par défaut, le texte des icônes sur un bureau géré par Nautilus est noir. Pour afficher le texte en blanc, ouvrir le fichier `gtk-3.0/applications.css` dans un éditeur de texte, trouver le code relatif à Nautilus: | |||
@@ -141,18 +99,36 @@ et le décommenter, ce qui donne: | |||
Pour avoir une couleur personnalisée, modifier la couleur directement dans le fichier `gtk-3.0/applications.css`. | |||
### Variantes de couleurs | |||
À partir de Clearlooks-Phénix 2, il est possible de créer une variante de couleurs du thème GTK3. Seulement quelques déclarations de couleur doivent être modifiées dans le fichier `gtk-3.0/gtk-variant.css`. | |||
En ce qui concerne la bordure des boutons, elle provient de fichiers au format SVG, qui peuvent être modifiés avec [Inkscape](http://inkscape.org/). Pour plus de détails, voir la capture vidéo [Utiliser Inkscape pour modifier la couleur de la bordure d'un bouton](http://www.youtube.com/watch?v=DWJHDS5hQsw). Un script Bash est également inclus avec Clearlooks-Phénix dans le but d'accélérer la modification des images SVG et PNG. Pour l'utiliser, copier le fichier `doc/images.sh.txt`, le coller à la racine du thème en cours de développement (au même emplacement que le fichier `index.theme`) et le renommer `images.sh`. Ensuite, il ne reste plus qu'à modifier les variables dans la première section du fichier selon la variante de couleurs voulue et à lancer le script dans une console (`bash images.sh`). Le paquet `imagemagick` est requis. | |||
### Emplacement des boutons de fenêtres | |||
Si après une installation ou une mise à jour d'Ubuntu, les boutons de fenêtres se trouvent à gauche, mais que vous les voulez à droite, lancez la commande suivante dans une console: | |||
gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close" | |||
### Arrière-plan | |||
L'arrière-plan utilisé dans la capture d'écran du bureau de Gnome est disponible dans le dossier `wallpapers`. | |||
### Icônes | |||
Le thème d'icônes utilisé dans la même capture d'écran est Mist, installé avec le paquet [`gnome-themes`](http://packages.ubuntu.com/oneiric/gnome-themes), sous licence LGPL. Cependant, ce paquet n'est plus disponible pour les dernières versions d'Ubuntu. Voici une méthode simple pour installer Mist: | |||
- [Télécharger l'archive du thème d'icônes Mist.](http://www.jpfleury.net/site/fichiers/Mist.tar) | |||
- Extraire l'archive. | |||
- Copier le dossier `Mist` dans un des deux emplacements suivants: | |||
- `~/.icons/` pour l'utilisateur courant; | |||
- `/usr/share/icons/` pour tous les utilisateurs. | |||
- Ensuite, choisir le thème d'icônes Mist: | |||
- sous Gnome: avec le logiciel gnome-tweak-tool en paramétrant *Theme > Icon theme*; | |||
- sous Xfce: en allant dans *Paramètres > Apparence > Icônes* du menu principal. | |||
## Développement | |||
Le logiciel Git est utilisé pour la gestion de versions. [Le dépôt peut être consulté en ligne ou récupéré en local.](https://github.com/jpfleury/clearlooks-phenix) | |||
@@ -160,7 +136,8 @@ Le logiciel Git est utilisé pour la gestion de versions. [Le dépôt peut être | |||
## Licence | |||
Auteur: Jean-Philippe Fleury (<http://www.jpfleury.net/contact.php>) | |||
Copyright © Jean-Philippe Fleury, 2011. | |||
Copyright © Jean-Philippe Fleury, 2011-2014. | |||
Copyright © Andrew Shadura, 2013-2014. | |||
Ce programme est un logiciel libre; vous pouvez le redistribuer ou le | |||
modifier suivant les termes de la GNU General Public License telle que | |||
@@ -178,13 +155,13 @@ ce programme; si ce n'est pas le cas, consultez | |||
### Matériel tiers | |||
- Thème Adwaita, provenant du paquet [`gnome-themes-standard`](http://packages.ubuntu.com/oneiric/gnome-themes-standard), sous licence LGPL. | |||
- Thème Adwaita, provenant du paquet [`gnome-themes-standard`](http://packages.ubuntu.com/search?keywords=gnome-themes-standard), sous licence LGPL. | |||
- Fichier `gtk-2.0/gtkrc`, provenant du paquet [`gtk2-engines`](http://packages.ubuntu.com/oneiric/gtk2-engines), sous licence LGPL. | |||
- Fichier `gtk-2.0/gtkrc`, provenant du paquet [`gtk2-engines`](http://packages.ubuntu.com/search?keywords=gtk2-engines), sous licence LGPL. | |||
- Fichier `metacity-1/metacity-theme-1.xml`, provenant du paquet [`gnome-themes-selected`](http://packages.ubuntu.com/oneiric/gnome-themes-selected), sous licence LGPL. | |||
- Fichier `metacity-1/metacity-theme-1.xml`, provenant du paquet [`gnome-themes-selected`](http://packages.ubuntu.com/search?keywords=gnome-themes-selected), sous licence LGPL. | |||
- Fichier `openbox-3/themerc`, provenant du paquet [`openbox`](http://packages.ubuntu.com/oneiric/openbox), sous licence GPL. | |||
- Fichier `openbox-3/themerc`, provenant du paquet [`openbox`](http://packages.ubuntu.com/search?keywords=openbox), sous licence GPL. | |||
- Thème [Clearlooks XFWM4](http://xfce-look.org/content/show.php/Clearlooks+for+XFWM4?content=137055), sous licence GPL. | |||
@@ -1,52 +1,38 @@ | |||
## Overview | |||
The Clearlooks-Phenix project 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. | |||
The Clearlooks-Phénix project 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. | |||
Here are screenshots (if applicable, click to see the original image): | |||
<a href="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple1.png"><img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple1.png" alt="Screenshot of a Gnome 3 desktop (fallback mode) with the Clearlooks-Phenix theme" width="658" height="493" /></a> | |||
<a href="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple1.png"><img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple1.png" alt="Screenshot of a Gnome 3 desktop (fallback mode) with the Clearlooks-Phénix theme" width="658" height="493" /></a> | |||
<img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple2.png" alt="Screenshot of gedit 3 with the Clearlooks-Phenix theme" width="659" height="537" /> | |||
<img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple2.png" alt="Screenshot of gedit 3 with the Clearlooks-Phénix theme" width="659" height="537" /> | |||
<a href="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple3.png"><img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple3.png" alt="Screenshot of GTK+ Widget Factory with the Clearlooks-Phenix theme" width="658" height="435" /></a> | |||
<a href="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple3.png"><img src="https://raw.githubusercontent.com/jpfleury/clearlooks-phenix/master/doc/exemple3.png" alt="Screenshot of GTK+ Widget Factory with the Clearlooks-Phénix theme" width="658" height="435" /></a> | |||
## Requirements | |||
- Requirements for Clearlooks-Phenix 1: packages `gtk2-engines` (if GTK2 applications are used) and `gnome-themes-standard`. | |||
- Requirements for Clearlooks-Phénix v1: 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-Phénix v2: packages `gtk2-engines` (if GTK2 applications are used), `gnome-themes-standard` and `gtk3-engines-unico`. | |||
- Requirements for Clearlooks-Phenix 3 and newer: package `gtk2-engines` (if GTK2 applications are used). | |||
- Requirements for Clearlooks-Phénix v3 and newer: package `gtk2-engines` (if GTK2 applications are used). | |||
## Installation | |||
Regardless of the installation method chosen, the theme must be selected once the installation is complete: | |||
- 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\' | |||
- 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](https://github.com/jpfleury/clearlooks-phenix/archive/v1.zip); | |||
- for GTK 3.0 and 3.2: [download Clearlooks-Phénix v1](https://github.com/jpfleury/clearlooks-phenix/archive/v1.zip); | |||
- for GTK 3.4: [download Clearlooks-Phenix 2](https://github.com/jpfleury/clearlooks-phenix/archive/v2.zip); | |||
- for GTK 3.4: [download Clearlooks-Phénix v2](https://github.com/jpfleury/clearlooks-phenix/archive/v2.zip); | |||
- for GTK 3.6: [download Clearlooks-Phenix 3](https://github.com/jpfleury/clearlooks-phenix/archive/v3.zip); | |||
- for GTK 3.6: [download Clearlooks-Phénix v3](https://github.com/jpfleury/clearlooks-phenix/archive/v3.zip); | |||
- for GTK 3.8: [download Clearlooks-Phenix 4](https://github.com/jpfleury/clearlooks-phenix/archive/v4.zip); | |||
- for GTK 3.8: [download Clearlooks-Phénix v4](https://github.com/jpfleury/clearlooks-phenix/archive/v4.zip); | |||
- for GTK 3.10 and newer: [download Clearlooks-Phenix 5](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip). | |||
- for GTK 3.10 and 3.12: [download Clearlooks-Phénix v5](https://github.com/jpfleury/clearlooks-phenix/archive/v5.zip); | |||
- for GTK 3.14: [download Clearlooks-Phénix v6](https://github.com/jpfleury/clearlooks-phenix/archive/master.zip). | |||
To find your GTK version: | |||
@@ -71,50 +57,22 @@ Regardless of the installation method chosen, the theme must be selected once th | |||
- `/usr/share/themes/` for all users, including style for programs ran with root privileges (e.g. Synaptic). | |||
### Arch Linux | |||
An [AUR package](https://aur.archlinux.org/packages.php?ID=60380) is maintained by eworm. | |||
### Selection | |||
### Debian | |||
The theme must be selected once the installation is complete: | |||
The package [`clearlooks-phenix-theme`](http://packages.debian.org/sid/clearlooks-phenix-theme) can be installed on Debian unstable. | |||
### Gentoo | |||
See the following package: | |||
- On Gnome: with [gnome-tweak-tool](https://live.gnome.org/GnomeTweakTool), by setting *Theme > Window theme* and *Theme > GTK+ theme*, or in a terminal: | |||
http://packages.gentoo.org/package/x11-themes/clearlooks-phenix | |||
dconf write /org/gnome/desktop/wm/preferences/theme \'Clearlooks-Phenix\' | |||
dconf write /org/gnome/desktop/interface/gtk-theme \'Clearlooks-Phenix\' | |||
### Ubuntu | |||
- 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: | |||
The package [`clearlooks-phenix-theme`](http://packages.ubuntu.com/search?keywords=clearlooks-phenix-theme) can be installed on Ubuntu 12.10 and newer. | |||
xfconf-query -s Clearlooks-Phenix -c xfwm4 -p /general/theme | |||
xfconf-query -s Clearlooks-Phenix -c xsettings -p /Net/ThemeName | |||
## 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. | |||
### 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: | |||
@@ -141,18 +99,36 @@ and uncomment it, as follows: | |||
To get a custom color, change the color directly in the file `gtk-3.0/applications.css`. | |||
### Color variants | |||
From Clearlooks-Phenix 2, it's possible to create color variants of the GTK3 theme. Only a few color declarations must be changed in the file `gtk-3.0/gtk-variant.css`. | |||
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. | |||
### Window buttons layout | |||
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: | |||
gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close" | |||
### 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. | |||
## Development | |||
Git is used for revision control. [Repository can be browsed online or cloned.](https://github.com/jpfleury/clearlooks-phenix) | |||
@@ -160,7 +136,8 @@ Git is used for revision control. [Repository can be browsed online or cloned.]( | |||
## License | |||
Author: Jean-Philippe Fleury (<http://www.jpfleury.net/en/contact.php>) | |||
Copyright © 2011 Jean-Philippe Fleury | |||
Copyright © 2011-2014 Jean-Philippe Fleury | |||
Copyright © 2013-2014 Andrew Shadura | |||
This program is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | |||
@@ -177,13 +154,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
### Third-party code | |||
- Adwaita theme, from the package [`gnome-themes-standard`](http://packages.ubuntu.com/oneiric/gnome-themes-standard), under LGPL. | |||
- Adwaita theme, from the package [`gnome-themes-standard`](http://packages.ubuntu.com/search?keywords=gnome-themes-standard), under LGPL. | |||
- File `gtk-2.0/gtkrc`, from the package [`gtk2-engines`](http://packages.ubuntu.com/oneiric/gtk2-engines), under LGPL. | |||
- File `gtk-2.0/gtkrc`, from the package [`gtk2-engines`](http://packages.ubuntu.com/search?keywords=gtk2-engines), under LGPL. | |||
- File `metacity-1/metacity-theme-1.xml`, from the package [`gnome-themes-selected`](http://packages.ubuntu.com/oneiric/gnome-themes-selected), under LGPL. | |||
- File `metacity-1/metacity-theme-1.xml`, from the package [`gnome-themes-selected`](http://packages.ubuntu.com/search?keywords=gnome-themes-selected), under LGPL. | |||
- File `openbox-3/themerc`, from the package [`openbox`](http://packages.ubuntu.com/oneiric/openbox), under GPL. | |||
- File `openbox-3/themerc`, from the package [`openbox`](http://packages.ubuntu.com/search?keywords=openbox), under GPL. | |||
- [Clearlooks XFWM4](http://xfce-look.org/content/show.php/Clearlooks+for+XFWM4?content=137055) theme, under GPL. | |||
@@ -1 +0,0 @@ | |||
doc/README.mkd |
@@ -1,3 +1,9 @@ | |||
clearlooks-phenix-theme (6.0.3-1) unstable; urgency=medium | |||
* New upstream release. | |||
-- Andrew Shadura <andrewsh@debian.org> Wed, 08 Oct 2014 16:18:44 +0200 | |||
clearlooks-phenix-theme (6.0.1-1) unstable; urgency=medium | |||
* New upstream release. | |||
@@ -1,207 +0,0 @@ | |||
#!/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. | |||
# Fichiers SVG à modifier pour une variante de couleurs. | |||
# Fichier «border-focused.svg». | |||
svgBfCouleurBordure=4b6e99 | |||
svgBfCouleurBordureInterne=c8daef | |||
svgBfCouleurBordureExterneBas=ffffff | |||
# Fichier «border-focused-ptb.svg». | |||
svgBfPtbCouleurBordure=869bb7 | |||
svgBfPtbCouleurBordureInterne=cccccc | |||
# Fichier «border-focused-switch.svg». | |||
svgBfScouleurBordure=4b6e99 | |||
svgBfScouleurBordureExterneBas=ffffff | |||
# Fichiers SVG ne devant pas nécessairement être modifiés pour une variante | |||
# de couleurs. | |||
# Fichier «border.svg». | |||
svgBcouleurBordure=918e8c | |||
svgBcouleurBordureExterneBas=ffffff | |||
# Fichier «border-error.svg». | |||
svgBeCouleurBordure=9b3636 | |||
svgBeCouleurBordureExterneBas=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. | |||
couleur1=918e8c | |||
couleur2=ffffff | |||
if [[ $svgBcouleurBordure != $couleur1 \ | |||
|| $svgBcouleurBordureExterneBas != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBcouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBcouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=9b3636 | |||
couleur2=ffffff | |||
if [[ $svgBeCouleurBordure != $couleur1 \ | |||
|| $svgBeCouleurBordureExterneBas != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border-error.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBeCouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBeCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=4b6e99 | |||
couleur2=c8daef | |||
couleur3=ffffff | |||
if [[ $svgBfCouleurBordure != $couleur1 || $svgBfCouleurBordureInterne != $couleur2 \ | |||
|| $svgBfCouleurBordureExterneBas != $couleur3 ]]; then | |||
fichier=gtk-3.0/img/border-focused.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBfCouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBfCouleurBordureInterne;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur3;/#$svgBfCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=869bb7 | |||
couleur2=cccccc | |||
if [[ $svgBfPtbCouleurBordure != $couleur1 \ | |||
|| $svgBfPtbCouleurBordureInterne != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border-focused-ptb.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBfPtbCouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBfPtbCouleurBordureInterne;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=4b6e99 | |||
couleur2=ffffff | |||
if [[ $svgBfScouleurBordure != $couleur1 \ | |||
|| $svgBfScouleurBordureExterneBas != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border-focused-switch.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBfScouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBfScouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=918e8c | |||
if [[ $svgBgPbCouleurBordure != $couleur1 ]]; then | |||
fichier=gtk-3.0/img/border-gnome-panel-button.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBgPbCouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=918e8c | |||
couleur2=ffffff | |||
if [[ $svgBiBcouleurBordure != $couleur1 \ | |||
|| $svgBiBcouleurBordureExterneBas != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border-inline-button.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBiBcouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBiBcouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
couleur1=a9a5a2 | |||
couleur2=ffffff | |||
if [[ $svgBiCouleurBordure != $couleur1 \ | |||
|| $svgBiCouleurBordureExterneBas != $couleur2 ]]; then | |||
fichier=gtk-3.0/img/border-insensitive.svg | |||
cp "$fichier" "$dossierSauv" | |||
sed -i "s/#$couleur1;/#$svgBiCouleurBordure;/" "$dossierSauv/${fichier##*/}" | |||
sed -i "s/#$couleur2;/#$svgBiCouleurBordureExterneBas;/" "$dossierSauv/${fichier##*/}" | |||
fi | |||
# Fin du script. | |||
echo "Les images ont été modifiées." | |||
@@ -20,6 +20,11 @@ | |||
border-image: none; | |||
} | |||
NautilusToolbar .linked.raised GtkToggleButton.button:first-child, | |||
NautilusToolbar .linked.raised GtkToggleButton.button:first-child:active:hover { | |||
border-right-width: 1px; | |||
} | |||
/********* | |||
* gedit * | |||
*********/ | |||
@@ -33,7 +38,8 @@ GeditMenuStackSwitcher.button.flat { | |||
} | |||
.gedit-side-panel-paned, | |||
.gedit-bottom-panel-paned { | |||
.gedit-bottom-panel-paned, | |||
.gedit-bottom-panel-stack-switcher .notebook GtkBox.vertical { | |||
border-style: solid; | |||
border-color: @toolbar_border_top_color; | |||
} | |||
@@ -46,6 +52,10 @@ GeditMenuStackSwitcher.button.flat { | |||
border-width: 1px 0px 0px 0px; | |||
} | |||
.gedit-bottom-panel-stack-switcher .notebook GtkBox.vertical { | |||
border-width: 1px; | |||
} | |||
.gedit-menu-stack-switcher { | |||
padding: 15px 15px 2px 15px; | |||
} | |||
@@ -70,6 +80,14 @@ GeditStatusbar .frame.flat { | |||
border: none; | |||
} | |||
/********** | |||
* evince * | |||
**********/ | |||
EvPageActionWidget .linked .entry:first-child { | |||
border-right-width: 0px; | |||
} | |||
/******************* | |||
* gnome-documents * | |||
*******************/ | |||
@@ -1,46 +0,0 @@ | |||
/*********************************************************************** | |||
* 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. * | |||
********************************************/ | |||
@@ -720,3 +720,30 @@ column-header:last-child .button:active:focus { | |||
border-width: 1px; | |||
padding: 1px 2px; | |||
} | |||
/* Dialog Action Area */ | |||
/* Leftmost button */ | |||
.dialog-action-area.linked .button:first-child, | |||
.dialog-action-area.linked .button:active:first-child, | |||
.dialog-action-area.linked .button:active:hover:first-child, | |||
.dialog-action-area.linked .button:focus:first-child, | |||
.dialog-action-area.linked .button:focus:active:first-child, | |||
.dialog-action-area.linked .button:insensitive:first-child, | |||
/* Middle button */ | |||
.dialog-action-area.linked .button, | |||
.dialog-action-area.linked .button:active, | |||
.dialog-action-area.linked .button:active:hover, | |||
.dialog-action-area.linked .button:focus, | |||
.dialog-action-area.linked .button:focus:active, | |||
.dialog-action-area.linked .button:insensitive, | |||
/* Rightmost button */ | |||
.dialog-action-area.linked .button:last-child, | |||
.dialog-action-area.linked .button:active:last-child, | |||
.dialog-action-area.linked .button:active:hover:last-child, | |||
.dialog-action-area.linked .button:focus:last-child, | |||
.dialog-action-area.linked .button:focus:active:last-child, | |||
.dialog-action-area.linked .button:insensitive:last-child { | |||
border-radius: 3px; | |||
border-width: 1px; | |||
} |
@@ -31,6 +31,12 @@ | |||
-GtkWidget-focus-padding: 2; | |||
-GtkWidget-focus-line-width: 1; | |||
outline-color: @focus_border_color; | |||
outline-style: dashed; | |||
outline-offset: -2px; | |||
outline-width: 1px; | |||
outline-radius: 2px; | |||
-GtkWindow-resize-grip-width: 11; | |||
-GtkWindow-resize-grip-height: 11; | |||
} | |||
@@ -448,6 +454,10 @@ GtkScrolledWindow.frame { | |||
padding: 0; | |||
} | |||
GtkScrolledWindow GtkViewport { | |||
background-color: @theme_bg_color; | |||
} | |||
/* avoid double borders when a viewport is | |||
* packed into a GtkScrolledWindow */ | |||
GtkScrolledWindow GtkViewport.frame { | |||
@@ -460,10 +470,24 @@ GtkScrolledWindow GtkViewport.frame { | |||
.button, | |||
.button.menuitem.menubar, | |||
.combobox-entry .button { | |||
.combobox-entry .button, | |||
.inline-toolbar.toolbar .button, | |||
.primary-toolbar.toolbar.horizontal .button, | |||
.primary-toolbar.toolbar.horizontal .button:active, | |||
.toolbar.horizontal .button, | |||
.toolbar.horizontal .button:active, | |||
.titlebar .linked.raised .button, | |||
.titlebar .linked.raised .button:active { | |||
padding: 5px 8px 6px; | |||
} | |||
GtkComboBox GtkToggleButton.button, | |||
GtkComboBoxText GtkToggleButton.button, | |||
.toolbar.horizontal GtkComboBox GtkToggleButton.button, | |||
.toolbar.horizontal GtkComboBoxText GtkToggleButton.button { | |||
padding: 2px; | |||
} | |||
.path-bar .button, | |||
.path-bar .button GtkImage, | |||
.path-bar .button GtkLabel { | |||
@@ -478,8 +502,20 @@ GtkScrolledWindow GtkViewport.frame { | |||
border-left-width: 1px; | |||
} | |||
.path-bar .button.image-button:first-child { | |||
border-right: none; | |||
.path-bar .button:first-child, | |||
.path-bar .button:first-child:hover:active { | |||
border-right-width: 0px; | |||
} | |||
.path-bar .button:only-child, | |||
.path-bar .button:only-child:hover:active { | |||
border-radius: 3px; | |||
border-right-width: 1px; | |||
} | |||
.linked.raised .button:first-child, | |||
.linked.raised .button:first-child:hover:active { | |||
border-right-width: 0px; | |||
} | |||
.button { | |||
@@ -505,27 +541,6 @@ GtkMenuToolButton *, | |||
background-color: transparent; | |||
} | |||
GtkListBoxRow.button.list-row { | |||
color: @theme_text_color; | |||
background-color: @theme_base_color; | |||
border: none; | |||
} | |||
GtkListBoxRow.button.list-row:selected { | |||
color: @theme_selected_fg_color; | |||
border-style: solid; | |||
border-width: 1px; | |||
border-radius: 0px; | |||
border-color: @menubar_menuitem_hover_border_color; | |||
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)); | |||
} | |||
.primary-toolbar .button { | |||
border-image: none; | |||
border-style: solid; | |||
@@ -646,6 +661,38 @@ GtkColorChooserWidget #add-color-button { | |||
background-color: transparent; | |||
} | |||
GtkListBoxRow.button.list-row:hover { | |||
background-image: linear-gradient(to bottom, | |||
shade(@button_active_gradient_a, 1.20), | |||
shade(@button_active_gradient_b, 1.20) 3px, | |||
shade(@button_active_gradient_c, 1.20) 4px, | |||
shade(@button_active_gradient_d, 1.20) 50%, | |||
shade(@button_active_gradient_e, 1.20) 50%, | |||
shade(@button_active_gradient_f, 1.20)); | |||
background-color: transparent; | |||
} | |||
GtkListBoxRow.button.list-row { | |||
color: @theme_text_color; | |||
background-color: @theme_base_color; | |||
border-radius: 0px; | |||
border: none; | |||
} | |||
GtkListBoxRow.button.list-row:selected { | |||
color: @theme_selected_fg_color; | |||
border-style: solid; | |||
border-width: 1px; | |||
border-color: @menubar_menuitem_hover_border_color; | |||
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)); | |||
} | |||
.trough, | |||
.trough.highlight, | |||
.trough row, | |||
@@ -1192,6 +1239,10 @@ GtkTreeMenu .menuitem { | |||
border-radius: 3px; | |||
} | |||
.menuitem.button.flat:focus { | |||
color: @theme_text_color; | |||
} | |||
.menubar .menuitem *:hover { | |||
border-width: 1px; | |||
color: @menubar_menuitem_hover_color; | |||
@@ -1553,7 +1604,15 @@ GtkTreeView:insensitive { | |||
color: @insensitive_fg_color; | |||
} | |||
GtkTreeView:selected:focus { | |||
GtkTreeView:hover { | |||
background-image: linear-gradient(to bottom, | |||
shade(@button_active_gradient_a, 1.20), | |||
shade(@button_active_gradient_b, 1.20) 3px, | |||
shade(@button_active_gradient_c, 1.20) 4px, | |||
shade(@button_active_gradient_d, 1.20) 50%, | |||
shade(@button_active_gradient_e, 1.20) 50%, | |||
shade(@button_active_gradient_f, 1.20)); | |||
background-color: transparent; | |||
} | |||
column-header.button, | |||
@@ -1829,10 +1888,10 @@ GtkInfoBar:last-child, | |||
@theme_base_color, | |||
@theme_bg_color); | |||
background-color: transparent; | |||
border-radius: 7px 7px 0px 0px; | |||
border-radius: 0px; | |||
border-bottom: 1px solid; | |||
border-color: shade(@border_color, 1.30); | |||
padding: 2px; | |||
padding: 5px 4px 4px 4px; | |||
} | |||
.titlebar > * { | |||
@@ -1851,9 +1910,9 @@ GtkInfoBar:last-child, | |||
font: Bold; | |||
} | |||
.titlebar :first-child { | |||
padding: 5px 5px 6px 5px; | |||
} | |||
/*.titlebar :first-child {*/ | |||
/* padding: 5px 5px 6px 5px;*/ | |||
/*}*/ | |||
.titlebar .titlebutton { | |||
background: none; | |||
@@ -1881,7 +1940,7 @@ GtkInfoBar:last-child, | |||
**************/ | |||
GtkHeaderBar .header-bar { | |||
padding: 3px; | |||
padding: 5px 4px 4px 4px; | |||
} | |||
/************ | |||
@@ -1890,7 +1949,7 @@ GtkHeaderBar .header-bar { | |||
GtkPopover { | |||
border: 1px solid; | |||
border-radius: 7px; | |||
border-radius: 0px; | |||
border-color: @border_color; | |||
background-color: @theme_bg_color; | |||
background-clip: border-box; | |||
@@ -1,6 +1,6 @@ | |||
[Desktop Entry] | |||
Type=X-GNOME-Metatheme | |||
Name=Clearlooks-Phenix | |||
Name=Clearlooks-Phénix | |||
Name[fr]=Clearlooks-Phénix | |||
Comment=GTK3 port of Clearlooks | |||
Comment[fr]=Version GTK3 de Clearlooks | |||