Skip to content

Commit

Permalink
The magnifying glass and the name of the person in the chart-box are …
Browse files Browse the repository at this point in the history
…larger (Fixes #9)
  • Loading branch information
06Games committed Feb 10, 2023
1 parent 920380e commit ae3fa4e
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 7 deletions.
15 changes: 13 additions & 2 deletions resources/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -22713,7 +22713,7 @@ caption {
}

.icon-pedigree {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-fa-i2svg='' viewBox='0 0 640 512' height='27'%3E%3Cpath fill='currentColor' d='M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z'/%3E%3C/svg%3E");
content: url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22 standalone%3D%22no%22%3F%3E%3Csvg xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22 xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22 xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22 xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Asodipodi%3D%22http%3A%2F%2Fsodipodi.sourceforge.net%2FDTD%2Fsodipodi-0.dtd%22 xmlns%3Ainkscape%3D%22http%3A%2F%2Fwww.inkscape.org%2Fnamespaces%2Finkscape%22 data-fa-i2svg%3D%22%22 viewBox%3D%220 0 33.75 512%22 height%3D%2227%22 version%3D%221.1%22 id%3D%22svg4%22 sodipodi%3Adocname%3D%22icon-pedigree.svg%22 width%3D%2233.75%22 inkscape%3Aversion%3D%220.92.4 (5da689c313%2C 2019-01-14)%22%3E %3Cmetadata id%3D%22metadata10%22%3E %3Crdf%3ARDF%3E %3Ccc%3AWork rdf%3Aabout%3D%22%22%3E %3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E %3Cdc%3Atype rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22 %2F%3E %3C%2Fcc%3AWork%3E %3C%2Frdf%3ARDF%3E %3C%2Fmetadata%3E %3Cdefs id%3D%22defs8%22 %2F%3E %3Csodipodi%3Anamedview pagecolor%3D%22%23ffffff%22 bordercolor%3D%22%23666666%22 borderopacity%3D%221%22 objecttolerance%3D%2210%22 gridtolerance%3D%2210%22 guidetolerance%3D%2210%22 inkscape%3Apageopacity%3D%220%22 inkscape%3Apageshadow%3D%222%22 inkscape%3Awindow-width%3D%221920%22 inkscape%3Awindow-height%3D%221017%22 id%3D%22namedview6%22 showgrid%3D%22false%22 inkscape%3Azoom%3D%228.925%22 inkscape%3Acx%3D%2210.661658%22 inkscape%3Acy%3D%22-7.5902336%22 inkscape%3Awindow-x%3D%22-8%22 inkscape%3Awindow-y%3D%22-8%22 inkscape%3Awindow-maximized%3D%221%22 inkscape%3Acurrent-layer%3D%22svg4%22 %2F%3E %3Cpath d%3D%22m -175.125%2C352 h -96 c -17.67%2C0 -32%2C14.33 -32%2C32 v 96 c 0%2C17.67 14.33%2C32 32%2C32 h 96 c 17.67%2C0 32%2C-14.33 32%2C-32 v -96 c 0%2C-17.67 -14.33%2C-32 -32%2C-32 z m -24%2C-80 h 192 v 48 h 48 v -48 h 192 v 48 h 48 v -57.59 c 0%2C-21.17 -17.23%2C-38.41 -38.41%2C-38.41 H 40.875 v -64 h 40 c 17.67%2C0 32%2C-14.33 32%2C-32 V 32 c 0%2C-17.67 -14.33%2C-32 -32%2C-32 h -128 c -17.67%2C0 -32%2C14.33 -32%2C32 v 96 c 0%2C17.67 14.33%2C32 32%2C32 h 40 v 64 h -201.59 c -21.18%2C0 -38.41%2C17.23 -38.41%2C38.41 V 320 h 48 z m 264%2C80 h -96 c -17.67%2C0 -32%2C14.33 -32%2C32 v 96 c 0%2C17.67 14.33%2C32 32%2C32 h 96 c 17.67%2C0 32%2C-14.33 32%2C-32 v -96 c 0%2C-17.67 -14.33%2C-32 -32%2C-32 z m 240%2C0 h -96 c -17.67%2C0 -32%2C14.33 -32%2C32 v 96 c 0%2C17.67 14.33%2C32 32%2C32 h 96 c 17.67%2C0 32%2C-14.33 32%2C-32 v -96 c 0%2C-17.67 -14.33%2C-32 -32%2C-32 z%22 id%3D%22path2%22 inkscape%3Aconnector-curvature%3D%220%22 style%3D%22fill%3A%235e72e4%3Bfill-opacity%3A1%22 %2F%3E%3C%2Fsvg%3E");
}

.icon-children {
Expand Down Expand Up @@ -24105,9 +24105,20 @@ table.tv_tree i.dates {
margin-left: 50px;
}

.wt-block-gedcom_favorites .wt-chart-box .wt-chart-box-name,
.wt-family-members .wt-chart-box .wt-chart-box-name {
font-size: 1.1em;
}

.wt-block-gedcom_favorites .wt-chart-box-icon,
.wt-family-members .wt-chart-box-icon {
font-size: 1rem;
vertical-align: middle;
}

.wt-block-gedcom_favorites .wt-chart-box-icon > i,
.wt-family-members .wt-chart-box-icon > i {
width: 1.25rem;
height: 1rem;
}

.wt-block-gedcom_favorites .wt-chart-box-f,
Expand Down
2 changes: 1 addition & 1 deletion resources/css/theme.min.css

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions src/img/icon-pedigree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 14 additions & 4 deletions src/scss/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ select {
}

.icon-pedigree {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-fa-i2svg='' viewBox='0 0 640 512' height='27'%3E%3Cpath fill='currentColor' d='M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z'/%3E%3C/svg%3E");
content: url("../img/icon-pedigree.svg");;
}

// Children column in individual and family lists
Expand Down Expand Up @@ -1583,15 +1583,25 @@ table.tv_tree {

.wt-chart-box-name,
.wt-chart-box-lifespan,
.wt-chart-box-facts{
.wt-chart-box-facts {
margin-left: 50px;
}

.wt-chart-box-name {
font-size: 1.1em;
}
}

.wt-chart-box-icon > i {
width: 1.25rem;
.wt-chart-box-icon {
font-size: 1rem;
vertical-align: middle;

& > i {
height: 1rem;
}
}


.wt-chart-box-f {
background-color: $f-color;
}
Expand Down

0 comments on commit ae3fa4e

Please sign in to comment.