Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt nemo desktop item text shadow for brighter wallpapers #466

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/Mint-X/theme/Mint-X/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3559,11 +3559,12 @@ popover.emoji-completion .emoji:hover {

.caja-desktop.caja-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.caja-desktop.caja-canvas-item:selected {
background-color: rgba(255, 255, 255, 0.8);
color: #ffffff;
box-shadow: none; }
box-shadow: none;
text-shadow: none; }

.caja-side-pane notebook treeview.view,
.caja-side-pane notebook textview.view text,
Expand Down Expand Up @@ -3651,11 +3652,12 @@ popover.emoji-completion .emoji:hover {

.nemo-desktop .nemo-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.nemo-desktop .nemo-canvas-item:selected {
background-color: rgba(255, 255, 255, 0.8);
color: #ffffff;
box-shadow: none; }
box-shadow: none;
text-shadow: none; }

/**********
* Panels *
Expand Down
10 changes: 6 additions & 4 deletions src/Mint-X/theme/Mint-X/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3568,11 +3568,12 @@ popover.emoji-completion .emoji:hover {

.caja-desktop.caja-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.caja-desktop.caja-canvas-item:selected {
background-color: rgba(255, 255, 255, 0.8);
color: #ffffff;
box-shadow: none; }
box-shadow: none;
text-shadow: none; }

.caja-side-pane notebook treeview.view,
.caja-side-pane notebook textview.view text,
Expand Down Expand Up @@ -3660,11 +3661,12 @@ popover.emoji-completion .emoji:hover {

.nemo-desktop .nemo-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.nemo-desktop .nemo-canvas-item:selected {
background-color: rgba(255, 255, 255, 0.8);
color: #ffffff;
box-shadow: none; }
box-shadow: none;
text-shadow: none; }

/**********
* Panels *
Expand Down
8 changes: 6 additions & 2 deletions src/Mint-X/theme/Mint-X/gtk-3.0/sass/_applications.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ $dark_sidebar_fg: #dadada;
.caja-desktop {
&.caja-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2);
text-shadow: 1px 1px 0px transparentize(black, 0.05),
0px 0px 2px transparentize(black, 0.20);

&:selected {
background-color: transparentize($selected_fg_color, 0.2);
color: $selected_fg_color;
box-shadow: none;
text-shadow: none;
}
}
}
Expand Down Expand Up @@ -145,12 +147,14 @@ $dark_sidebar_fg: #dadada;
.nemo-desktop {
.nemo-canvas-item {
color: #eeeeee;
text-shadow: 1px 1px transparent(black, 0.2);
text-shadow: 1px 1px 0px transparentize(black, 0.05),
0px 0px 2px transparentize(black, 0.20);

&:selected {
background-color: transparentize($selected_fg_color, 0.2);
color: $selected_fg_color;
box-shadow: none;
text-shadow: none;
}
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/Mint-Y/gtk-3.0/gtk-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3085,13 +3085,17 @@ vte-terminal {
.nemo-desktop.nemo-canvas-item,
.nautilus-desktop.nautilus-canvas-item {
color: #ffffff;
text-shadow: 1px 1px rgba(0, 0, 0, 0.6); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.nemo-desktop.nemo-canvas-item:hover,
.nautilus-desktop.nautilus-canvas-item:hover {
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.85); }
.nemo-desktop.nemo-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:active {
color: rgba(255, 255, 255, 0.87); }
.nemo-desktop.nemo-canvas-item:selected,
.nautilus-desktop.nautilus-canvas-item:selected {
color: #ffffff; }
color: #ffffff;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.85); }

.nautilus-canvas-item.dim-label, label.nautilus-canvas-item.separator,
.nautilus-list-dim-label {
Expand Down
8 changes: 6 additions & 2 deletions src/Mint-Y/gtk-3.0/gtk.css
Original file line number Diff line number Diff line change
Expand Up @@ -3090,13 +3090,17 @@ vte-terminal {
.nemo-desktop.nemo-canvas-item,
.nautilus-desktop.nautilus-canvas-item {
color: #ffffff;
text-shadow: 1px 1px rgba(0, 0, 0, 0.6); }
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.95), 0px 0px 2px rgba(0, 0, 0, 0.8); }
.nemo-desktop.nemo-canvas-item:hover,
.nautilus-desktop.nautilus-canvas-item:hover {
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.85); }
.nemo-desktop.nemo-canvas-item:active,
.nautilus-desktop.nautilus-canvas-item:active {
color: rgba(0, 0, 0, 0.87); }
.nemo-desktop.nemo-canvas-item:selected,
.nautilus-desktop.nautilus-canvas-item:selected {
color: #ffffff; }
color: #ffffff;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.85); }

.nautilus-canvas-item.dim-label, label.nautilus-canvas-item.separator,
.nautilus-list-dim-label {
Expand Down
10 changes: 7 additions & 3 deletions src/Mint-Y/gtk-3.0/sass/_applications.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,14 @@ vte-terminal {
%nautilus_canvas_item,
.nautilus-desktop.nautilus-canvas-item {
color: $selected_fg_color;
text-shadow: 1px 1px transparentize(black, 0.4);

text-shadow: 1px 1px 0px transparentize(black, 0.05),
0px 0px 2px transparentize(black, 0.20);
&:hover { text-shadow: 1px 1px 0px transparentize(black, 0.15); }
&:active { color: $fg_color; }
&:selected { color: $selected_fg_color; }
&:selected {
color: $selected_fg_color;
text-shadow: 1px 1px 0px transparentize(black, 0.15);
}
}

.nautilus-canvas-item.dim-label,
Expand Down