提交 6f8bd003 编写于 作者: J Joao Moreno

global search clear button

上级 e7aaeeae
<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M6.5 0C2.91 0 0 2.91 0 6.5S2.91 13 6.5 13 13 10.09 13 6.5 10.09 0 6.5 0zm3.9 9.1l-1.3 1.3-2.6-2.6-2.6 2.6-1.3-1.3 2.6-2.635L2.6 3.9l1.3-1.3 2.6 2.6 2.6-2.6 1.3 1.3-2.6 2.565L10.4 9.1z" fill="#aaa"/></g></svg>
\ No newline at end of file
......@@ -62,6 +62,21 @@
opacity: 1 !important;
}
.monaco-shell.vs input[type="search"]::-webkit-search-decoration,
.monaco-shell.vs input[type="search"]::-webkit-search-results-button,
.monaco-shell.vs input[type="search"]::-webkit-search-results-decoration {
display: none;
}
.monaco-shell.vs input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
height: 18px;
width: 18px;
background-image: url('clear.svg');
background-repeat: no-repeat;
background-position: center center;
}
.monaco-shell.vs-dark [tabindex="0"]:focus,
.monaco-shell.vs-dark .synthetic-focus,
.monaco-shell.vs-dark select:focus,
......
......@@ -22,16 +22,6 @@
-webkit-appearance: textfield;
}
.extensions-viewlet > .header > .search-box::-webkit-search-decoration,
.extensions-viewlet > .header > .search-box::-webkit-search-results-button,
.extensions-viewlet > .header > .search-box::-webkit-search-results-decoration {
display: none;
}
.extensions-viewlet > .header > .search-box:focus {
outline: none;
}
.extensions-viewlet > .extensions {
height: calc(100% - 38px);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册