style: Generalize sharing indicator class

To have a shared style for various privacy related indicators.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2840>
This commit is contained in:
robert.mader@collabora.com 2023-07-28 12:12:49 +03:00
parent da9ed5c666
commit cbcb56972f
2 changed files with 3 additions and 4 deletions

View File

@ -100,9 +100,8 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
spacing: 0;
}
// indicator for active
.screencast-indicator,
.remote-access-indicator { color: $warning_color; }
// important privacy related indicators
.privacy-indicator { color: $warning_color; }
}
// App Menu

View File

@ -29,7 +29,7 @@ class RemoteAccessApplet extends SystemIndicator {
this._indicator = this._addIndicator();
this._indicator.icon_name = 'media-record-symbolic';
this._indicator.add_style_class_name('screencast-indicator');
this._indicator.add_style_class_name('privacy-indicator');
controller.connect('new-handle', (o, handle) => {
this._onNewHandle(handle);