[KiRi][Fixed] Missing icon for not modified commits
This commit is contained in:
parent
303bedb88f
commit
7f8828ad3f
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m16.192 6.344l-4.243 4.242l-4.242-4.242l-1.414 1.414L10.535 12l-4.242 4.242l1.414 1.414l4.242-4.242l4.243 4.242l1.414-1.414L13.364 12l4.242-4.242z"/></svg>
|
||||||
|
After Width: | Height: | Size: 269 B |
|
|
@ -273,7 +273,7 @@ hr {
|
||||||
*/
|
*/
|
||||||
.icon-sheet-page, .icon-commits, .icon-control-sch, .icon-control-pcb, .icon-control-zin, .icon-control-zout, .icon-control-center,
|
.icon-sheet-page, .icon-commits, .icon-control-sch, .icon-control-pcb, .icon-control-zin, .icon-control-zout, .icon-control-center,
|
||||||
.icon-control-info, .icon-commit1, .icon-commit1-fs, .icon-commit2, .icon-commit2-fs, .icon-commit3, .icon-commit3-fs,
|
.icon-control-info, .icon-commit1, .icon-commit1-fs, .icon-commit2, .icon-commit2-fs, .icon-commit3, .icon-commit3-fs,
|
||||||
.icon-sch-modif, .icon-pcb-modif, .icon-sheets, .icon-layers, .layer_color_margin, .icon-commit {
|
.icon-sch-modif, .icon-pcb-modif, .icon-sheets, .icon-layers, .layer_color_margin, .icon-commit, .icon-x-modif {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: currentColor;
|
background-color: currentColor;
|
||||||
-webkit-mask-image: var(--svg);
|
-webkit-mask-image: var(--svg);
|
||||||
|
|
@ -297,7 +297,6 @@ hr {
|
||||||
margin-right:0.5em;
|
margin-right:0.5em;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
/* Add mask image, use variable to reduce duplication */
|
|
||||||
--svg: url('./images/code-branch-solid.svg');
|
--svg: url('./images/code-branch-solid.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -380,7 +379,7 @@ hr {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.icon-sch-modif, .icon-pcb-modif {
|
.icon-sch-modif, .icon-pcb-modif, .icon-x-modif {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
|
|
@ -397,6 +396,11 @@ hr {
|
||||||
color: #F92672;
|
color: #F92672;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-x-modif {
|
||||||
|
--svg: url('./images/x.svg');
|
||||||
|
color: #FF0000;
|
||||||
|
}
|
||||||
|
|
||||||
.icon-sheets, .icon-layers {
|
.icon-sheets, .icon-layers {
|
||||||
margin-right:0.5em;
|
margin-right:0.5em;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,8 @@ var current_layers_list = [];
|
||||||
const SCH_IMG = '<span class="icon-sch-modif"></span>';
|
const SCH_IMG = '<span class="icon-sch-modif"></span>';
|
||||||
// Icon to indicate the PCB was changed in a commit
|
// Icon to indicate the PCB was changed in a commit
|
||||||
const PCB_IMG = '<span class="icon-pcb-modif"></span>';
|
const PCB_IMG = '<span class="icon-pcb-modif"></span>';
|
||||||
|
// Icon to indicate no change in a commit
|
||||||
|
const EMPTY_IMG = '<span class="icon-x-modif"></span>';
|
||||||
// Color for the commit1
|
// Color for the commit1
|
||||||
var commit1_legend_color;
|
var commit1_legend_color;
|
||||||
// Color for the commit2
|
// Color for the commit2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue