From 962983e8019817afae63807459eeaf3ff50eab03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 21 Feb 2024 12:48:43 +0100 Subject: [PATCH 03/28] window-list: Use consistent style class prefix This will eventually allow us to re-use the workspace-indicator extension without changing anything but the used prefix. Part-of: --- extensions/window-list/stylesheet-dark.css | 4 ++-- extensions/window-list/stylesheet-light.css | 4 ++-- extensions/window-list/workspaceIndicator.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/window-list/stylesheet-dark.css b/extensions/window-list/stylesheet-dark.css index b4c0a3b4..fbadf4d0 100644 --- a/extensions/window-list/stylesheet-dark.css +++ b/extensions/window-list/stylesheet-dark.css @@ -102,12 +102,12 @@ background-color: #3f3f3f; } -.window-list-window-preview { +.window-list-workspace-indicator-window-preview { background-color: #bebebe; border-radius: 1px; } -.window-list-window-preview.active { +.window-list-workspace-indicator-window-preview.active { background-color: #d4d4d4; } diff --git a/extensions/window-list/stylesheet-light.css b/extensions/window-list/stylesheet-light.css index e4d3a36c..e9352362 100644 --- a/extensions/window-list/stylesheet-light.css +++ b/extensions/window-list/stylesheet-light.css @@ -61,11 +61,11 @@ border-color: #888; } -.window-list-window-preview { +.window-list-workspace-indicator-window-preview { background-color: #ededed; border: 1px solid #ccc; } -.window-list-window-preview.active { +.window-list-workspace-indicator-window-preview.active { background-color: #f6f5f4; } diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js index 62ebffbd..5b11fe88 100644 --- a/extensions/window-list/workspaceIndicator.js +++ b/extensions/window-list/workspaceIndicator.js @@ -27,7 +27,7 @@ class WindowPreview extends St.Button { constructor(window) { super({ - style_class: 'window-list-window-preview', + style_class: 'window-list-workspace-indicator-window-preview', }); this._delegate = this; -- 2.44.0