提交 6a6a09cf 编写于 作者: B Benjamin Pasero

outline: solid

上级 ba0315c5
......@@ -184,6 +184,7 @@ export class DropdownMenuActionItem extends BaseActionItem {
this.builder = $('a.action-label').attr({
tabIndex: '0',
role: 'button',
'aria-haspopup': 'true',
title: this._action.label || '',
class: this.clazz
});
......
......@@ -24,8 +24,8 @@ a:focus,
input:focus,
select:focus,
textarea:focus {
outline: 2px auto -webkit-focus-ring-color;
outline-offset: -2px;
outline: 1px solid -webkit-focus-ring-color;
outline-offset: -1px;
}
hr {
......
......@@ -39,11 +39,11 @@
}
.monaco-workbench.vs > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
border-left-color: #1E8AE5;
border-left-color: #007ACC;
}
.monaco-workbench.vs-dark > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
border-left-color: #1E8AE5;
border-left-color: #007ACC;
}
.monaco-workbench.hc-black > .activitybar > .content .monaco-action-bar .action-item .action-label:focus:before {
......
......@@ -54,8 +54,8 @@
.monaco-shell.vs input[type="button"]:focus,
.monaco-shell.vs input[type="submit"]:focus,
.monaco-shell.vs input[type="checkbox"]:focus {
outline: 1px auto #1E8AE5;
outline-offset: -3px;
outline: 1px solid rgba(0, 122, 204, 0.4);
outline-offset: -1px;
opacity: 1 !important; /* prevent components from dimming focus feedback */
}
......@@ -64,8 +64,8 @@
.monaco-shell.vs-dark input[type="button"]:focus,
.monaco-shell.vs-dark input[type="submit"]:focus,
.monaco-shell.vs-dark input[type="checkbox"]:focus {
outline: 1px auto #1E8AE5;
outline-offset: -3px;
outline: 1px solid rgba(14, 99, 156, 0.6);
outline-offset: -1px;
opacity: 1 !important; /* prevent components from dimming focus feedback */
}
......@@ -74,25 +74,25 @@
.monaco-shell.hc-black input[type="button"]:focus,
.monaco-shell.hc-black input[type="submit"]:focus,
.monaco-shell.hc-black input[type="checkbox"]:focus {
outline: 2px auto #DF740C;
outline: 2px solid #DF740C;
outline-offset: -2px;
}
.monaco-shell.vs .monaco-tree.focused:focus .monaco-tree-rows:empty,
.monaco-shell.vs .monaco-tree.focused:focus.no-item-focus .monaco-tree-rows {
outline: 1px auto #1E8AE5; /* we still need to handle the empty tree or no focus item case */
outline-offset: -2px;
outline: 1px solid rgba(0, 122, 204, 0.4); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px;
}
.monaco-shell.vs-dark .monaco-tree.focused:focus .monaco-tree-rows:empty,
.monaco-shell.vs-dark .monaco-tree.focused.no-item-focus:focus .monaco-tree-rows {
outline: 1px auto #1E8AE5; /* we still need to handle the empty tree or no focus item case */
outline-offset: -2px;
outline: 1px solid rgba(14, 99, 156, 0.6); /* we still need to handle the empty tree or no focus item case */
outline-offset: -1px;
}
.monaco-shell.hc-black .monaco-tree.focused:focus .monaco-tree-rows:empty,
.monaco-shell.hc-black .monaco-tree.focused.no-item-focus:focus .monaco-tree-rows {
outline: 2px auto #DF740C; /* we still need to handle the empty tree or no focus item case */
outline: 2px solid #DF740C; /* we still need to handle the empty tree or no focus item case */
outline-offset: -2px;
}
......
......@@ -844,6 +844,7 @@ export class SearchViewlet extends Viewlet {
actions: [this.instantiationService.createInstance(ConfigureGlobalExclusionsAction)]
});
this.inputPatternGlobalExclusions.inputElement.readOnly = true;
$(this.inputPatternGlobalExclusions.inputElement).attr('aria-readonly', 'true');
$(this.inputPatternGlobalExclusions.inputElement).addClass('disabled');
}).hide();
}).getHTMLElement();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册