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:
parent
da9ed5c666
commit
cbcb56972f
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user