fac7fedfd3
We currently avoid previews from overflowing in most setups by artificially limiting them to a maximum of six workspaces. Add some proper handling to also cover cases where space is more limited, and to allow removing the restriction in the future. For that, wrap the previews in an auto-scrolling scroll view and add overflow indicators on each side. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
41 lines
815 B
CSS
41 lines
815 B
CSS
/*
|
|
* SPDX-FileCopyrightText: 2011 Erick Pérez Castellanos <erick.red@gmail.com>
|
|
* SPDX-FileCopyrightText: 2019 Florian Müllner <fmuellner@gnome.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
.workspace-indicator .status-label {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.workspace-indicator .workspaces-view.hfade {
|
|
-st-hfade-offset: 20px;
|
|
}
|
|
|
|
.workspace-indicator .workspaces-box {
|
|
padding: 5px;
|
|
spacing: 3px;
|
|
}
|
|
|
|
.workspace-indicator .workspace {
|
|
width: 52px;
|
|
border: 2px solid transparent;
|
|
border-radius: 4px;
|
|
background-color: #3f3f3f;
|
|
}
|
|
|
|
.workspace-indicator .workspace.active {
|
|
border-color: #9f9f9f;
|
|
}
|
|
|
|
.workspace-indicator-window-preview {
|
|
background-color: #bebebe;
|
|
border: 1px solid #828282;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.workspace-indicator-window-preview.active {
|
|
background-color: #d4d4d4;
|
|
}
|