解决在码云项目里的文件未显示对应图标的问题
This commit is contained in:
parent
683c3d9305
commit
488ac98cbe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -71,18 +71,21 @@
|
|||
top: 2px;
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/git-branch.svg');
|
||||
}
|
||||
.jstree-icon {
|
||||
.jstree-icon.tree, .jstree-icon.commit, .jstree-icon.blob.file-generic {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.jstree-icon.tree:before {
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/file-directory.svg');
|
||||
}
|
||||
.jstree-icon.blob:before {
|
||||
.jstree-icon.file-generic:before {
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/file-text.svg');
|
||||
}
|
||||
.jstree-node.jstree-leaf:hover {
|
||||
.jstree-icon.blob:before {
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/cloud-download.svg');
|
||||
.jstree-icon.blob {
|
||||
margin-top: 1px;
|
||||
&:before {
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/cloud-download.svg');
|
||||
}
|
||||
}
|
||||
}
|
||||
.jstree-icon.commit:before {
|
||||
|
@ -134,7 +137,7 @@
|
|||
&:not(.octotree_loading):hover > span:after {
|
||||
content: data-uri('image/svg+xml;charset=UTF-8', './octicons/chevron-right-hover.svg');
|
||||
}
|
||||
&.btn{
|
||||
&.btn{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding: 6px 12px;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="arrow"></div>
|
||||
<div class="content">
|
||||
GitCodeTree 在该页面已经启用,点击该按钮或者按下
|
||||
<kbd>cmd shift s</kbd> (or <kbd>ctrl shift s</kbd>)
|
||||
<kbd>cmd shift s</kbd> (或 <kbd>ctrl shift s</kbd>)
|
||||
来显示它。
|
||||
</div>
|
||||
</div>
|
||||
|
@ -29,11 +29,11 @@
|
|||
<form class="octotree_view_body">
|
||||
<div class="message"></div>
|
||||
<div>
|
||||
<input name="token" type="text" placeholder="Paste access token here" autocomplete="off">
|
||||
<input name="token" type="text" placeholder="将访问令牌填写在此处" autocomplete="off">
|
||||
</div>
|
||||
<div>
|
||||
<button type="submit" class="btn">保存</button>
|
||||
<a href="https://gitee.com/oschina/GitCodeTree#access-token" target="_blank" tabIndex="-1">为什么它是必须的?</a>
|
||||
<a href="https://gitee.com/oschina/GitCodeTree#access-token" target="_blank" tabIndex="-1">为什么它是必填的?</a>
|
||||
</div>
|
||||
<div class="error"></div>
|
||||
</form>
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
<div>
|
||||
<div>
|
||||
<label>Hotkeys</label>
|
||||
<label>热键</label>
|
||||
</div>
|
||||
<input type="text" data-store="HOTKEYS">
|
||||
</div>
|
||||
|
@ -74,11 +74,11 @@
|
|||
<!-- @endif -->
|
||||
|
||||
<div>
|
||||
<label><input type="checkbox" data-store="REMEMBER"> 记住侧边栏可见性</label>
|
||||
<label><input type="checkbox" data-store="REMEMBER"> 记住展开/收起状态</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label><input type="checkbox" data-store="NONCODE"> 显示在在非代码页面里</label>
|
||||
<label><input type="checkbox" data-store="NONCODE"> 在没有代码的页面也显示</label>
|
||||
</div>
|
||||
|
||||
<div class="octotree_github_only">
|
||||
|
|
Loading…
Reference in New Issue