osd: Restyle OSD display popup
- remove class from label box - new style for label itself Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2277>
This commit is contained in:
parent
851a1e30fa
commit
cb2ee0cf1f
@ -14,8 +14,6 @@ $osd_levelbar_height:6px;
|
|||||||
|
|
||||||
StIcon { icon-size:$large_icon_size;}
|
StIcon { icon-size:$large_icon_size;}
|
||||||
|
|
||||||
.osd-monitor-label { font-size: 3em; }
|
|
||||||
|
|
||||||
StLabel {
|
StLabel {
|
||||||
&:ltr { margin-right: 6px; }
|
&:ltr { margin-right: 6px; }
|
||||||
&:rtl { margin-left: 6px; }
|
&:rtl { margin-left: 6px; }
|
||||||
@ -37,6 +35,17 @@ $osd_levelbar_height:6px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Monitor number label
|
||||||
|
.osd-monitor-label {
|
||||||
|
@extend %osd_panel;
|
||||||
|
border-radius: $modal_radius;
|
||||||
|
font-size: 3em;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: $base_margin * 3;
|
||||||
|
text-align: center;
|
||||||
|
min-width: 1.3em;
|
||||||
|
}
|
||||||
|
|
||||||
/* Pad OSD */
|
/* Pad OSD */
|
||||||
.pad-osd-window {
|
.pad-osd-window {
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
|
@ -13,7 +13,6 @@ class OsdMonitorLabel extends St.Widget {
|
|||||||
this._monitor = monitor;
|
this._monitor = monitor;
|
||||||
|
|
||||||
this._box = new St.BoxLayout({
|
this._box = new St.BoxLayout({
|
||||||
style_class: 'osd-window',
|
|
||||||
vertical: true,
|
vertical: true,
|
||||||
});
|
});
|
||||||
this.add_actor(this._box);
|
this.add_actor(this._box);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user