Page 1 sur 2
xfce4-notes
Posté : jeu. 5 août 2021 16:20
par mylapk
Bonjour,
Arghlub me suggérait xfce4-notes.
Comment changer la couleur des notes si c'est possible?
Merci
Re: xfce4-notes
Posté : jeu. 5 août 2021 16:35
par arghlub
Salut,
Je n'ai pas de XFCE sous la main en ce moment mais ça doit être en faisant un clic-droit sur le plugin>paramètres ou propriétés :

Re: xfce4-notes
Posté : jeu. 5 août 2021 17:16
par mylapk
Bonjour,
j'ai cherché mais j'ai pas trouvé...
Peut-être que ça se fait pas.

Re: xfce4-notes
Posté : jeu. 5 août 2021 22:41
par mylapk
Bonjour cyrille,
j'te jure que j'ai cherché. Voici ce que j'ai

Re: xfce4-notes
Posté : ven. 6 août 2021 00:33
par mylapk
Re: xfce4-notes
Posté : ven. 6 août 2021 13:02
par mylapk
Bonjour cyrille,

Re: xfce4-notes
Posté : ven. 6 août 2021 14:34
par mylapk
Salut,
je te mets ce que j'ai en ouvrant le css dans root mais je sais pas quoi faire d'autre. Mais j'aimerais bien comprendre quoi faire. Merci
Code : Tout sélectionner
@define-color theme_base_color @notes_bg_color;
@define-color theme_text_color shade (@theme_base_color, 0.4);
@define-color theme_bg_color @theme_base_color;
@define-color theme_fg_color shade (@theme_base_color, 0.3);
@define-color theme_selected_bg_color shade (@theme_base_color, 0.8);
@define-color theme_selected_fg_color shade (@theme_base_color, 1.4);
@define-color insensitive_bg_color shade (@theme_bg_color, 1.1);
@define-color insensitive_fg_color shade (@theme_fg_color, 1.8);
@define-color borders shade (@theme_base_color, 0.8);
@define-color frame_color shade (@theme_base_color, 0.7);
@define-color notebook_active_tab_border shade (@theme_base_color, 1.1);
@define-color notebook_selected_tab_color shade (@theme_base_color, 0.9);
* {
border-width: 0px;
}
/* window and frame */
window {
background-image: linear-gradient(to bottom,
shade (@theme_base_color, 0.8),
shade (@theme_base_color, 0.95) 87px);
}
window frame {
padding: 1px 2px 4px 2px;
border: 1px solid shade (@theme_base_color, 0.7);
}
/* icon buttons in window title bar */
window widget#notes-icon-button {
color: black;
background-color: transparent;
}
window widget#notes-icon-button:active {
color: darker (@theme_fg_color);
text-shadow: 1px 1px lighter (@theme_bg_color);
}
window widget#notes-icon-button:disabled {
color: shade (@insensitive_fg_color, 1.2);
}
window widget#notes-icon-button:hover {
color: shade (@insensitive_fg_color, 0.8);
}
/* notebook */
notebook > header {
background: transparent;
}
notebook > header.top {
border-bottom: 2px solid @theme_selected_bg_color;
}
notebook > header.bottom {
border-top: 2px solid @theme_selected_bg_color;
}
notebook > header.left {
border-right: 2px solid @theme_selected_bg_color;
}
notebook > header.right {
border-left: 2px solid @theme_selected_bg_color;
}
/* notebook tab style */
notebook > header.top tab, notebook > header.bottom tab {
padding: 0px 4px;
}
notebook > header.right tab, notebook > header.left tab {
padding: 4px 0px;
}
notebook > header tab {
box-shadow: none;
color: @insensitive_fg_color;
background: transparent;
}
notebook > header tab:checked {
color: shade (@theme_text_color, 0.8);
}
notebook > header tab.dnd {
background: @theme_selected_bg_color;
}
notebook > header.top > tabs > tab:checked {
box-shadow: inset 0px -3px shade (@theme_selected_bg_color, 1.3), 0px 2px 3px @theme_selected_bg_color;
}
notebook > header.top > tabs > tab:checked:hover {
box-shadow: inset 0px -2px shade (@theme_selected_bg_color, 1.3), 0px 2px 3px @theme_selected_bg_color;
background: @theme_selected_bg_color; /* NOTE: must be set before .dnd */
}
notebook > header.top > tabs > tab:hover {
box-shadow: inset 0px -2px shade (@theme_selected_bg_color, 1.3);
}
notebook > header.bottom > tabs > tab:checked {
box-shadow: inset 0px 3px shade (@theme_selected_bg_color, 1.3), 0px -2px 3px @theme_selected_bg_color;
}
notebook > header.bottom > tabs > tab:checked:hover {
box-shadow: inset 0px 2px shade (@theme_selected_bg_color, 1.3), 0px -2px 3px @theme_selected_bg_color;
background: @theme_selected_bg_color;
}
notebook > header.bottom > tabs > tab:hover {
box-shadow: inset 0px 2px shade (@theme_selected_bg_color, 1.3);
}
notebook > header.left > tabs > tab:checked {
box-shadow: inset -3px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
}
notebook > header.left > tabs > tab:checked:hover {
box-shadow: inset -2px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
background: @theme_selected_bg_color;
}
notebook > header.left > tabs > tab:hover {
box-shadow: inset -2px 0px shade (@theme_selected_bg_color, 1.3);
}
notebook > header.right > tabs > tab:checked {
box-shadow: inset 3px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
}
notebook > header.right > tabs > tab:checked:hover {
box-shadow: inset 2px 0px shade (@theme_selected_bg_color, 1.3), 0px 0px 3px @theme_selected_bg_color;
background: @theme_selected_bg_color;
}
notebook > header.right > tabs > tab:hover {
box-shadow: inset 2px 0px shade (@theme_selected_bg_color, 1.3);
}
textview > text {
color: @theme_text_color;
background-image: linear-gradient(to bottom,
shade (@theme_bg_color, 1.2),
shade (@theme_bg_color, 1.3) 20em);
}
textview > text > selection {
color: @theme_selected_fg_color;
background-color: @theme_selected_bg_color;
}
scrollbar {
background-color: transparent;
}
scrollbar slider {
background-color: shade (@theme_bg_color, 0.55);
min-width: 8px;
}
scrollbar slider:hover {
background-color: shade (@theme_bg_color, 0.7);
transition: 400ms;
}
scrollbar slider:hover:active {
background-color: shade (@theme_bg_color, 0.55);
transition: 200ms;
}
tooltip, tooltip * {
margin: 0px;
padding: 0px;
}
Re: xfce4-notes
Posté : dim. 8 août 2021 17:01
par mylapk
Bonjour,
alors, on peut changer la couleur de la note dans gtk 2.0 mais pas dans gtk 3.0.

Re: xfce4-notes
Posté : lun. 9 août 2021 00:14
par mylapk
Bonjour cyrille,
c'était une affirmation. Dans la fenêtre de settings des préférences, il n'y a pas de choix de couleurs de changement de la note. Et ce, dans gtk3.
Dans le lien que tu m'as offert, j'ai parcouru tout ça et de ce que j'en comprend, ça ne va pas insérer un setting de changement de couleur mais que je devrai modifier le css à chaque fois que je voudrai changer de couleur. Est-ce exact selon toi? Ai-je bien saisi? Si je dois modifier le fichier css à chaque fois, je verrai...
Merci
Re: xfce4-notes
Posté : lun. 9 août 2021 13:40
par mylapk
Merci et Bonne Journée
