diff --git a/omega-web/src/less/common.less b/omega-web/src/less/common.less index f2897df..bd67b16 100644 --- a/omega-web/src/less/common.less +++ b/omega-web/src/less/common.less @@ -78,3 +78,7 @@ a[role="button"] { cursor: pointer; } } + +.monospace { + font-family: Menlo,Monaco,Consolas,"Courier New",monospace !important; +} diff --git a/omega-web/src/partials/profile_fixed.jade b/omega-web/src/partials/profile_fixed.jade index 1a9d040..3fdbc0f 100644 --- a/omega-web/src/partials/profile_fixed.jade +++ b/omega-web/src/partials/profile_fixed.jade @@ -46,4 +46,4 @@ div(ng-controller='FixedProfileCtrl') p.help-block a(href='https://developer.chrome.com/extensions/proxy#bypass_list' target='_blank') | {{'options_bypassListHelpLinkText' | tr}} - textarea.form-control.width-limit(rows='10' ng-model='bypassList' ng-model-options="{updateOn:'blur'}") + textarea.monospace.form-control.width-limit(rows='10' ng-model='bypassList' ng-model-options="{updateOn:'blur'}") diff --git a/omega-web/src/partials/profile_pac.jade b/omega-web/src/partials/profile_pac.jade index f9d053d..b4e2268 100644 --- a/omega-web/src/partials/profile_pac.jade +++ b/omega-web/src/partials/profile_pac.jade @@ -14,5 +14,5 @@ section.settings-group button.btn.btn-default(ng-disabled='!profile.pacUrl' ng-click='updateProfile(profile.name)' ladda='updatingProfile[profile.name]' data-spinner-color="#000000") | #[span.glyphicon.glyphicon-download-alt] {{'options_downloadProfileNow' | tr}} - textarea.form-control.width-limit(ng-model='profile.pacScript' rows=20 + textarea.monospace.form-control.width-limit(ng-model='profile.pacScript' rows=20 ng-disabled='!!profile.pacUrl') diff --git a/omega-web/src/partials/profile_rule_list.jade b/omega-web/src/partials/profile_rule_list.jade index f42063f..1d895ce 100644 --- a/omega-web/src/partials/profile_rule_list.jade +++ b/omega-web/src/partials/profile_rule_list.jade @@ -27,6 +27,6 @@ div(ng-controller='RuleListProfileCtrl') button.btn.btn-default(ng-disabled='!profile.sourceUrl' ng-click='updateProfile(profile.name)' ladda='updatingProfile[profile.name]' data-spinner-color="#000000") | #[span.glyphicon.glyphicon-download-alt] {{'options_downloadProfileNow' | tr}} - textarea.form-control.width-limit(ng-model='profile.ruleList' rows=20 + textarea.monospace.form-control.width-limit(ng-model='profile.ruleList' rows=20 ng-disabled='!!profile.sourceUrl') diff --git a/omega-web/src/partials/profile_switch.jade b/omega-web/src/partials/profile_switch.jade index 45eb4d6..c9ebe29 100644 --- a/omega-web/src/partials/profile_switch.jade +++ b/omega-web/src/partials/profile_switch.jade @@ -123,5 +123,5 @@ div(ng-controller='SwitchProfileCtrl') button.btn.btn-default(ng-disabled='!attached.sourceUrl' ng-click='updateProfile(attached.name)' ladda='updatingProfile[attached.name]' data-spinner-color="#000000") | #[span.glyphicon.glyphicon-download-alt] {{'options_downloadProfileNow' | tr}} - textarea.form-control.width-limit(ng-model='attached.ruleList' rows=20 + textarea.monospace.form-control.width-limit(ng-model='attached.ruleList' rows=20 ng-disabled='!!attached.sourceUrl')