adjust UI to new text styles
With the new text styles, some UI needs to adjusted, primarily to accommodate larger heading text.
This commit is contained in:
parent
40a772c884
commit
34e9513e1f
@ -252,6 +252,7 @@ StScrollBar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.end-session-dialog-layout {
|
.end-session-dialog-layout {
|
||||||
|
spacing: 12px;
|
||||||
padding-left: 17px;
|
padding-left: 17px;
|
||||||
&:rtl { padding-right: 17px; }
|
&:rtl { padding-right: 17px; }
|
||||||
}
|
}
|
||||||
@ -1092,10 +1093,10 @@ StScrollBar {
|
|||||||
|
|
||||||
.message-secondary-bin > .event-time {
|
.message-secondary-bin > .event-time {
|
||||||
@extend %caption;
|
@extend %caption;
|
||||||
color: $fg_color;
|
color: darken($fg_color,40%);
|
||||||
/* HACK: the label should be baseline-aligned with a 1em label,
|
/* HACK: the label should be baseline-aligned with a 1em label,
|
||||||
fake this with some bottom padding */
|
fake this with some bottom padding */
|
||||||
padding-bottom: 0.13em;
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-secondary-bin > StIcon {
|
.message-secondary-bin > StIcon {
|
||||||
|
@ -310,7 +310,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
|
|||||||
case '802-11-wireless':
|
case '802-11-wireless':
|
||||||
wirelessSetting = this._connection.get_setting_wireless();
|
wirelessSetting = this._connection.get_setting_wireless();
|
||||||
ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
|
ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
|
||||||
content.title = _("Authentication required by wireless network");
|
content.title = _("Authentication required");
|
||||||
content.message = _("Passwords or encryption keys are required to access the wireless network “%s”.").format(ssid);
|
content.message = _("Passwords or encryption keys are required to access the wireless network “%s”.").format(ssid);
|
||||||
this._getWirelessSecrets(content.secrets, wirelessSetting);
|
this._getWirelessSecrets(content.secrets, wirelessSetting);
|
||||||
break;
|
break;
|
||||||
@ -338,7 +338,7 @@ class NetworkSecretDialog extends ModalDialog.ModalDialog {
|
|||||||
// fall through
|
// fall through
|
||||||
case 'cdma':
|
case 'cdma':
|
||||||
case 'bluetooth':
|
case 'bluetooth':
|
||||||
content.title = _("Mobile broadband network password");
|
content.title = _("Mobile broadband password");
|
||||||
content.message = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
|
content.message = _("A password is required to connect to “%s”.").format(connectionSetting.get_id());
|
||||||
this._getMobileSecrets(content.secrets, connectionType);
|
this._getMobileSecrets(content.secrets, connectionType);
|
||||||
break;
|
break;
|
||||||
@ -683,7 +683,7 @@ var NetworkAgent = class {
|
|||||||
case '802-11-wireless':
|
case '802-11-wireless':
|
||||||
let wirelessSetting = connection.get_setting_wireless();
|
let wirelessSetting = connection.get_setting_wireless();
|
||||||
let ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
|
let ssid = NM.utils_ssid_to_utf8(wirelessSetting.get_ssid().get_data());
|
||||||
title = _("Authentication required by wireless network");
|
title = _("Authentication required");
|
||||||
body = _("Passwords or encryption keys are required to access the wireless network “%s”.").format(ssid);
|
body = _("Passwords or encryption keys are required to access the wireless network “%s”.").format(ssid);
|
||||||
break;
|
break;
|
||||||
case '802-3-ethernet':
|
case '802-3-ethernet':
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
|
||||||
const { Clutter, Gio, GLib, GObject, Soup, St } = imports.gi;
|
const { Clutter, Gio, GLib, GObject, Pango, Soup, St } = imports.gi;
|
||||||
|
|
||||||
const Config = imports.misc.config;
|
const Config = imports.misc.config;
|
||||||
const Dialog = imports.ui.dialog;
|
const Dialog = imports.ui.dialog;
|
||||||
|
Loading…
Reference in New Issue
Block a user