Use monospace for PAC and rule list textareas. Fix #91.

This commit is contained in:
FelisCatus 2014-12-22 18:21:35 +08:00
parent 1d747a21bd
commit 99061faa5d
5 changed files with 8 additions and 4 deletions

View File

@ -78,3 +78,7 @@ a[role="button"] {
cursor: pointer;
}
}
.monospace {
font-family: Menlo,Monaco,Consolas,"Courier New",monospace !important;
}

View File

@ -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'}")

View File

@ -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')

View File

@ -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')

View File

@ -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')