Add preferences to editor status bar and make allow override browser keymap option

This commit is contained in:
Wu Cheng-Han
2016-12-04 00:56:14 +08:00
parent 778b6f32b3
commit da46a3696b
3 changed files with 75 additions and 2 deletions

View File

@@ -404,16 +404,28 @@ div[contenteditable]:empty:not(:focus):before{
.status-bar .status-indicators .status-keymap > a,
.status-bar .status-indicators .status-theme > a,
.status-bar .status-indicators .status-spellcheck > a {
.status-bar .status-indicators .status-spellcheck > a,
.status-bar .status-indicators .status-preferences > a {
color: inherit;
text-decoration: none;
}
.status-bar .status-indicators .status-theme,
.status-bar .status-indicators .status-spellcheck {
.status-bar .status-indicators .status-spellcheck,
.status-bar .status-indicators .status-preferences {
padding: 0 4.3px;
}
.status-bar .status-indicators .status-preferences .dropdown-menu > li > a {
cursor: default;
}
.status-bar .status-indicators .status-preferences .dropdown-menu label {
font: inherit;
margin-bottom: 0;
cursor: pointer;
}
.ui-theme-toggle,
.ui-spellcheck-toggle {
opacity: 0.2;