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;
|
spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// indicator for active
|
// important privacy related indicators
|
||||||
.screencast-indicator,
|
.privacy-indicator { color: $warning_color; }
|
||||||
.remote-access-indicator { color: $warning_color; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// App Menu
|
// App Menu
|
||||||
|
@ -29,7 +29,7 @@ class RemoteAccessApplet extends SystemIndicator {
|
|||||||
|
|
||||||
this._indicator = this._addIndicator();
|
this._indicator = this._addIndicator();
|
||||||
this._indicator.icon_name = 'media-record-symbolic';
|
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) => {
|
controller.connect('new-handle', (o, handle) => {
|
||||||
this._onNewHandle(handle);
|
this._onNewHandle(handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user