Résolu le 9-08-21 xfce4-notes

Bureaux,conky et autres personnalisations esthétiques.
Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Dernier message de la page précédente :

Bonjour cyrille,

Image

:?:
Asus VivoBook Linux Mint 20.2 Uma Xfce Kernel: 5.4.0-89-generic x86_64

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: xfce4-notes

Message par cyrille »

Et bien c'est dans le CSS
Les feuilles de style en cascade1, généralement appelées CSS de l'anglais Cascading Style Sheets, forment un langage informatique qui décrit la présentation des documents
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message 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;
}
Asus VivoBook Linux Mint 20.2 Uma Xfce Kernel: 5.4.0-89-generic x86_64

Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Bonjour,

alors, on peut changer la couleur de la note dans gtk 2.0 mais pas dans gtk 3.0. :?
Asus VivoBook Linux Mint 20.2 Uma Xfce Kernel: 5.4.0-89-generic x86_64

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: xfce4-notes

Message par cyrille »

alors, on peut changer la couleur de la note dans gtk 2.0 mais pas dans gtk 3.0. :?
C'est une question ou une affirmation ?

SI c'est une affirmation, pourquoi ne pourrait on pas le modifier dans gtk 3 ?
Il suffit de modifier la conf css.

Voici un lien qui t'indique comment le patcher :
https://forum.manjaro.org/t/css-improve ... otes/61477
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message 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
Asus VivoBook Linux Mint 20.2 Uma Xfce Kernel: 5.4.0-89-generic x86_64

Avatar du membre
cyrille
Administrateur du site
Messages : 12285
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: xfce4-notes

Message par cyrille »

tout à fait
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
mylapk
Messages : 617
Enregistré le : dim. 17 avr. 2016 14:22

Re: xfce4-notes

Message par mylapk »

Merci et Bonne Journée :D
Asus VivoBook Linux Mint 20.2 Uma Xfce Kernel: 5.4.0-89-generic x86_64

Avatar du membre
alain
Administrateur du site
Messages : 14704
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: xfce4-notes

Message par alain »

Bonjour.

Sujet archivé (en lecture seule) car résolu.
Si besoin de rouvrir faire un MP à un membre de l'équipe ;)
PC are like air conditioning, they becomes useless when you open Windows (L.T)
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: ATI RX 580-8 Go | OS : LM 20.3 Uma Xfce 4.16 | K: 5.4
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 21.3 Xfce 4.18| K: 6.5
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 10.5 | K: 5.10
In a world without walls and fences, who needs windows and gates?

Répondre