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

Remove hints on non-tiling components #148

Merged
merged 1 commit into from
Oct 5, 2022
Merged
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
13 changes: 2 additions & 11 deletions prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,17 +712,8 @@ var AppearanceColorSettingsPanel = GObject.registerClass(
// The primary color updates the focus hint:
theme.setCssProperty(selector, "border-color", rgba.to_string());

// Only apply below on the primary/tiled scheme
if (colorScheme === "tiled") {
// Then the overview app icons, search and search results:
theme.setCssProperty(".search-entry:focus", "border-color", rgba.to_string());
theme.setCssProperty(".kbd-shortcut:focus", "border-color", rgba.to_string());
theme.setCssProperty(
".search-provider-icon:focus",
"background-color",
overviewBackgroundRgba.to_string()
);
} else if (colorScheme === "tabbed") {
// Only apply below on the tabbed scheme
if (colorScheme === "tabbed") {
const tabBorderRgba = rgba.copy();
const tabActiveBackgroundRgba = rgba.copy();
tabBorderRgba.alpha = 0.6;
Expand Down
32 changes: 0 additions & 32 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,13 @@
opacity: 1;
}

.window-clone-border,
.window-tiled-border {
border-width: 3px;
border-color: rgba(236, 94, 94, 1);
border-style: solid;
border-radius: 14px;
}

.workspace-thumbnail-indicator {
border-width: 3px;
border-color: rgba(236, 94, 94, 1);
border-style: solid;
border-radius: 6px;
}

.window-split-border {
border-width: 3px;
border-color: rgba(255, 246, 108, 1);
Expand Down Expand Up @@ -138,27 +130,3 @@
border-radius: 14px;
background-color: rgba(17, 199, 224, 0.3);
}

.search-entry:focus {
border-color: rgba(236, 94, 94, 1);
border-width: 2px;
border-style: solid;
}

.kbd-shortcut:focus {
color: rgba(236, 94, 94, 1);
}

.icon-grid .app-well-app:hover,
#searchResultsContent .app-well-app:hover,
.search-section-content-item:hover,
.icon-grid .app-well-app:focus,
#searchResultsContent .app-well-app:focus,
.search-section-content-item:focus,
.list-search-result:hover,
.list-search-result:focus,
.search-provider-icon:hover,
.search-provider-icon:focus {
background-color: rgba(236, 94, 94, 0.5);
border-radius: 14px;
}