xref: /webtrees/resources/css/fab.css (revision 97bf15591a5316b3fa6225165e4d56808b16c5b2)
1/**
2 * webtrees: online genealogy
3 * Copyright (C) 2020 webtrees development team
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
15
16/* The FAB theme */
17@import "_base.css";
18
19/* Colors for chart boxes, etc. */
20:root {
21  --sex-f-fg: #ff8888;
22  --sex-m-fg: #8888ff;
23  --sex-u-fg: #88ff88;
24  --sex-f-bg: #ffdddd;
25  --sex-m-bg: #ddddff;
26  --sex-u-bg: #ddffdd;
27    --chart-line: solid gray thin;
28    --chart-line-radius: 1rem;
29}
30
31/* Override Bootstrap formatting */
32.btn-link {
33    padding-left: 0.25rem;
34    padding-right: 0.25rem;
35}
36
37.table-given-name {
38    overflow-x: hidden;
39}
40
41.container-fluid {
42    padding-left: 5px;
43    padding-right: 5px;
44}
45
46table {
47    border-collapse: separate;
48}
49
50/*
51 * Pages have the following high-level structure:
52 *
53 * wt-global wt-theme-<THEME> wt-route-<ROUTE>
54 * +---wt-header-wrapper
55 * |   +---wt-header-container
56 * |       +---wt-header-content
57 * |           +---wt-accessibility-links
58 * |           +---wt-site-logo
59 * |           +---wt-site-title
60 * |           +---wt-header-search
61 * |           |   +---wt-header-search-form
62 * |           |       +---wt-header-search-field
63 * |           |       +---wt-header-search-button
64 * |           +---wt-secondary-navigation
65 * |           |   +---wt-user-menu
66 * |           +---wt-primary-navigation
67 * |               +---wt-genealogy-menu
68 * +---wt-main-wrapper
69 * |   +---wt-main-container
70 * |       +---wt-main-content
71 * |           +---wt-messages
72 * |           +---wt-page-title
73 * |           +---wt-page-options wt-page-options-xxxxx
74 * |           +---wt-page-content
75 * +---wt-footers
76 *     +---wt-footer wt-footer-xxxxx
77 */
78
79.wt-global {
80    color: #555;
81}
82
83.wt-header-wrapper {
84}
85
86.wt-header-container {
87    background-color: #eee;
88}
89
90.wt-header-content {
91}
92
93.wt-accessibility-links {
94}
95
96.wt-site-logo {
97    display: none;
98}
99
100.wt-site-title {
101    order: 1;
102    flex: 1 1 auto;
103    width: auto;
104    font-size: 1.5rem;
105    color: #888;
106}
107
108.wt-header-search {
109    order: 3;
110    flex: 0 0 15rem;
111}
112
113.wt-header-search-form {
114}
115
116.wt-header-search-field {
117}
118
119.wt-header-search-button {
120}
121
122.wt-secondary-navigation {
123    order: 2;
124    flex: 0 0 auto;
125    width: auto;
126    white-space: nowrap;
127}
128
129.wt-user-menu {
130    flex-wrap: nowrap;
131}
132
133.wt-user-menu .nav-link {
134    display: inline-block;
135    padding: 0.5rem;
136}
137
138.wt-user-menu .nav-item::after {
139    content: "|";
140}
141
142.wt-user-menu .dropdown-toggle::after {
143    display: none;
144}
145
146.wt-primary-navigation {
147    order: 4;
148    flex: 0 0 100%;
149    background-color: #eee;
150}
151
152.wt-genealogy-menu {
153    justify-content: center;
154}
155
156.wt-genealogy-menu .dropdown-toggle::after {
157    display: none;
158}
159
160.wt-genealogy-menu .nav-link {
161    white-space: nowrap;
162    display: inline-block;
163    padding: 0.5rem;
164}
165
166.wt-genealogy-menu .nav-item + .nav-item::before {
167    content: "|";
168}
169
170.wt-main-container {
171    /* Space between the header/footer and the main content. */
172    padding-top: 1rem;
173    padding-bottom: 1rem;
174}
175
176.wt-main {
177}
178
179.wt-messages {
180}
181
182.wt-page-title {
183    text-align: center;
184}
185
186.wt-page-options .form-group {
187    margin-bottom: 0;
188}
189
190.wt-page-options-label {
191    background-color: #ccc;
192    border-left: 2px solid transparent;
193    border-right: 2px solid transparent;
194    Color: #555;
195    font-weight: bold;
196}
197
198.wt-page-options-value {
199    background-color: #ddd;
200    border: 1px solid #fff;
201    border-top: 1px solid #ddd;
202
203    padding: 0.25rem 0.75rem;
204}
205
206.wt-page-content {
207    margin-top: 1rem;
208}
209
210.wt-footers {
211}
212
213.wt-footer {
214}
215
216.wt-footer-contact {
217}
218
219.wt-footer-cookies {
220    background: #aaa;
221    color: #fff;
222    transition: height 0.5s;
223}
224
225.wt-footer-page-views {
226}
227
228.wt-footer-powered-by {
229}
230
231.wt-footer-powered-by-webtrees {
232    width: 100px;
233    height: 21px;
234    content: url(images/powered-by-webtrees.png);
235}
236
237/*
238 * The tree/user home pages
239 *
240 * wt-home-page / wt-user-page
241 * +---wt-main-blocks
242 * |   +---wt-block, wt-block-AAA
243 * |   +---wt-block, wt-block-BBB
244 * |   +---wt-block, wt-block-CCC
245 * +---wt-side-blocks
246 *     +---wt-block, wt-block-XXX
247 *     +---wt-block, wt-block-YYY
248 *     +---wt-block, wt-block-ZZZ
249 *
250 * Each block as the structure
251 * wt-block, wt-block-XXX
252 * +---wt-block-header, wt-block-header-XXX
253 * +---wt-block-content, wt-block-content-XXX
254 */
255
256.wt-block {
257    background-color: #eee;
258    padding: 3px;
259    vertical-align: top;
260}
261
262.wt-block-header {
263    background-color: #eee;
264    border-bottom: 0;
265    font-weight: bold;
266}
267
268.wt-block-content {
269}
270
271.wt-block-content .list_table {
272    border-spacing: 1px;
273    border: solid #000 1px;
274    border-right: 0;
275}
276
277.wt-block-content .list_value,
278.wt-block-content .list_value_wrap {
279    border: 0;
280}
281
282/*
283 * The individual page.
284 *
285 * wt-route-individual
286 * +---wt-header-wrapper
287 */
288
289.wt-individual-silhouette {
290    content: url(images/individual-silhouette-unknown.png);
291}
292
293.wt-individual-silhouette-f {
294    content: url(images/individual-silhouette-female.png);
295}
296
297.wt-individual-silhouette-m {
298    content: url(images/individual-silhouette-male.png);
299}
300
301/*
302 * Chart-boxes are used to build the various charts.
303 * Each type of chart will set its own size and hide/show content.
304 *
305 * wt-chart-box
306 * +--- wt-chart-box-thumbnail
307 * +--- wt-chart-box-extra
308 *      +--- wt-chart-box-zoom
309 *           +--- wt-chart-box-icon
310 *           +--- wt-chart-box-dropdown wt-chart-box-zoom-dropdown
311 *      +--- wt-chart-box-links
312 *           +--- wt-chart-box-icon
313 *           +--- wt-chart-box-dropdown wt-chart-box-links-dropdown
314 * +--- wt-chart-box-name
315 * +--- wt-chart-box-lifespan
316 * +--- wt-chart-box-facts
317 *     +--- wt-chart-box-fact
318 */
319.wt-chart-box,
320.wt-chart-box-menu {
321    background: var(--sex-u-bg);
322    border: dashed var(--sex-u-fg) thin;
323}
324
325.wt-chart-box {
326    height: 5rem;
327    padding: 2px;
328    line-height: 1.1;
329    border: none;
330}
331
332.wt-chart-box-f,
333.wt-chart-box-f .wt-chart-box-dropdown {
334    background: var(--sex-f-bg);
335}
336
337.wt-chart-box-m,
338.wt-chart-box-m .wt-chart-box-dropdown {
339    background: var(--sex-m-bg);
340}
341
342/* ====== Round Corners ======== */
343.border1,
344.block,
345.descriptionbox,
346.list_label,
347.list_label_wrap,
348.list_value,
349.list_value_wrap,
350.messagebox,
351.optionbox,
352.wt-chart-box,
353.person0,
354.person1,
355.person2,
356.person3,
357.person4,
358.person5,
359#indi_main_blocks,
360#tabs,
361.topbottombar {
362    margin: 4px;
363    padding: 4px;
364    border-radius: 4px;
365}
366
367a {
368    text-decoration: none;
369    color: #369;
370}
371
372a:hover,
373a:active {
374    text-decoration: underline;
375}
376
377:focus {
378    outline-style: none;
379}
380
381.flash-messages {
382    clear: both;
383    text-align: center;
384}
385
386dl {
387    margin: 0;
388}
389
390dt {
391    float: left;
392    font-weight: bold;
393    margin-right: 10px;
394}
395
396.button {
397    width: 60px;
398}
399
400.alpha_index {
401    color: #999;
402}
403
404.news_box:target,
405#gedcom_stats:target {
406    background-color: #ffc;
407}
408
409/* families tab person box */
410table.center {
411    margin-left: auto;
412    margin-right: auto;
413}
414
415.list_table {
416    margin: 0 auto;
417}
418
419.list_label,
420.list_label_wrap {
421    background-color: #ccc;
422    font-weight: bold;
423    text-align: center;
424}
425
426.list_value,
427.list_value_wrap {
428    background-color: #ddd;
429    vertical-align: top;
430}
431
432.list_label,
433.list_value {
434    white-space: nowrap;
435}
436
437.list_label_wrap,
438.list_value_wrap {
439    white-space: normal;
440}
441
442div.fact_SHARED_NOTE {
443    clear: both;
444}
445
446/* Table of genealogical facts */
447.wt-facts-table caption {
448    caption-side: top;
449}
450
451.wt-facts-table th {
452    background-color: #ccc;
453    border-radius: 4px;
454    text-align: center;
455    font-weight: normal;
456    min-width: 20%;
457}
458
459.wt-facts-table td {
460    border-radius: 4px;
461    background-color: #ddd;
462}
463
464.wt-facts-table .wt-gender-M td {
465    background-color: #ddf;
466}
467
468.wt-facts-table .wt-gender-F td {
469    background-color: #fdd;
470}
471
472.name1, .name2 {
473    color: #337;
474}
475
476a:hover, a:hover .name1, a:hover .name2 {
477    color: #f00;
478}
479
480.details_label {
481    font-weight: bold;
482}
483
484.date {
485    color: #337;
486}
487
488.label {
489    font-weight: bold;
490}
491
492.error {
493    color: #f00;
494    font-weight: bold;
495}
496
497.largeError {
498    color: #f00;
499    font-weight: bold;
500}
501
502.warning {
503    color: #f00;
504    font-weight: bold;
505}
506
507.indent {
508    padding-left: 7px;
509}
510
511.thumbnail {
512    height: auto;
513    padding: 3px;
514}
515
516.icon {
517    border: 0;
518    padding: 0 5px;
519}
520
521.subheaders {
522    font-weight: bold;
523    font-size: 15px;
524    margin-top: 15px;
525    vertical-align: bottom;
526}
527
528.parentdeath {
529    padding: 1px;
530}
531
532.source_citations {
533    display: none;
534}
535
536.selected-option {
537    background-color: #d6e0ea;
538}
539
540.border1 {
541    border: 0;
542}
543
544.journal_box {
545    padding: 3pt;
546    border: thin solid #aaa;
547    overflow: visible;
548}
549
550.news_box {
551    background-color: #ccc;
552    border-top: none;
553}
554
555.news_title {
556    font-weight: bold;
557    font-size: 14px;
558}
559
560.news_date {
561    margin-bottom: 12px;
562}
563
564.current_day {
565    font-weight: bold;
566    font-size: 16px;
567}
568
569.cal_day {
570    float: left;
571    font-weight: bold;
572}
573
574.rtl_cal_day {
575    direction: rtl;
576    float: right;
577    color: #00f;
578    font-weight: bold;
579}
580
581#user-page h1 {
582    margin: 0.25em auto 0.6em;
583}
584
585.tvertline {
586    vertical-align: bottom;
587}
588
589#childbox {
590    padding: 5px;
591    position: absolute;
592    display: none;
593    text-align: start;
594    white-space: nowrap;
595    top: 20px;
596    left: 0;
597}
598
599.layout3 #childbox {
600    top: auto;
601    bottom: 20px;
602}
603
604#childbox a.name1 {
605    display: block;
606    margin-left: 5px;
607}
608
609.person0 {
610    background-color: #aaf;
611    vertical-align: top;
612}
613
614.person1 {
615    background-color: #afa;
616    vertical-align: top;
617}
618
619.person2 {
620    background-color: #faa;
621    vertical-align: top;
622}
623
624.person3 {
625    background-color: #55f;
626    vertical-align: top;
627}
628
629.person4 {
630    background-color: #f55;
631    vertical-align: top;
632}
633
634.person5 {
635    background-color: #5f5;
636    vertical-align: top;
637}
638
639.starredname {
640    text-decoration: underline;
641}
642
643.search_hit {
644    background-color: #ff0;
645}
646
647.topbottombar,
648.descriptionbox {
649    font-weight: bold;
650    background-color: #ccc;
651    vertical-align: top;
652}
653
654.descriptionbox {
655    font-size: 14px;
656    background-color: #ccc;
657    vertical-align: top;
658    padding: 3px;
659}
660
661.optionbox {
662    background-color: #ddd;
663    color: #000;
664    vertical-align: top;
665    white-space: nowrap;
666    padding: 3px;
667}
668
669.red {
670    color: #f00;
671}
672
673.wt-relation-fact,
674.wt-historic-fact {
675    opacity: 0.8;
676}
677
678.messagebox {
679    background-color: #bce;
680}
681
682/* ---Pending edits--- */
683.wt-new {
684    outline: solid #00f 1px;
685}
686
687.wt-old {
688    outline: solid #f00 1px;
689}
690
691.tag_cloud {
692    text-align: center;
693}
694
695.tag_cloud a {
696    white-space: nowrap;
697}
698
699.nowrap {
700    white-space: nowrap;
701}
702
703.wrap {
704    white-space: normal;
705}
706
707.statistics-page {
708    text-align: center;
709}
710
711.gchart {
712    border: 0;
713}
714
715#facts_content dd {
716    float: left;
717    width: 70%;
718}
719
720/* this keeps the tag color the same when it is a link as when not */
721
722.place {
723    padding-top: 5px;
724}
725
726.filtersH,
727.filtersF {
728    margin: 4px;
729}
730
731.filtersH img {
732    margin-bottom: 2px;
733}
734
735.list-charts {
736    text-align: center;
737}
738
739#place-hierarchy h2,
740#place-hierarchy h4 {
741    text-align: center;
742}
743
744.user_welcome_block table,
745.gedcom_block_block table {
746    margin: auto;
747}
748
749.user_welcome_block td,
750.gedcom_block_block td {
751    width: 33%;
752    text-align: center;
753    vertical-align: top;
754}
755
756/* ==== FAQ table styles ===== */
757table.faq {
758    background-color: #ddd;
759    margin: 5px 0 50px 5px;
760    width: 98%;
761}
762
763table.faq tr:nth-child(odd) td {
764    background-color: #eee;
765}
766
767div.faq_title {
768    background-color: #ddd;
769    margin: 1em 0;
770    padding: .25em;
771    font-weight: bold;
772    width: 98%;
773}
774
775div.faq_body {
776    clear: both;
777    padding: 0 1em;
778}
779
780.faq_top {
781    float: right;
782}
783
784/* === Positioning edit, copy, delete links === */
785/* General use */
786.editfacts {
787    clear: left;
788    padding-top: 15px;
789}
790
791#indi_note {
792    margin: 0 0 5px;
793}
794
795.indi_table {
796    clear: left;
797}
798
799#sex {
800    float: right;
801}
802
803#dates {
804    color: #369;
805    float: right;
806}
807
808#individual-names .wt-icon-edit,
809#individual-names .wt-icon-delete {
810    float: right;
811}
812
813#indi_note .fact_NOTE {
814    float: left;
815    margin: 0 5px 0 0;
816}
817
818#indi_note .fact_SOUR {
819    margin: 3px 0;
820}
821
822#indi_note .fact_SOUR a {
823    font-size: 100%;
824}
825
826#indi_note .fact_NOTE,
827#indi_note .fact_SOUR {
828    clear: both;
829}
830
831/* ===== markdown formatting ===== */
832
833.markdown {
834    /* Tables and pre-formatted text can break the layout. */
835    overflow-x: auto;
836}
837
838.markdown p {
839    margin: 0 0 0.5em;
840    white-space: pre-wrap;
841}
842
843.markdown table {
844    border-collapse: collapse;
845    font-size: 10px;
846    margin-bottom: 8px;
847}
848
849.markdown th {
850    font-weight: bold;
851}
852
853.markdown td,
854.markdown th {
855    border: solid thin #000;
856    padding: 3px;
857}
858
859.odometer {
860    font-family: courier, monospace;
861    font-weight: bold;
862    background: #000;
863    color: #fff;
864}
865
866/* ======== Indi tabs ======== */
867/* Facts & Events tab */
868.media-display-image {
869    float: left;
870}
871
872.media-display-title {
873    float: left;
874    font-style: italic;
875    margin: 10px;
876}
877
878.upcoming_events_block button,
879.todays_events_block button {
880    margin: 0 20px;
881}
882
883/* Sidebar - Family navigator */
884.wt-family-navigator-dropdown {
885    background: #eee;
886}
887
888.wt-family-navigator-dropdown-heading {
889    font-weight: bold;
890    font-size: inherit;
891    color: inherit;
892}
893
894/* Sidebar - Descendants */
895#sb_content_descendancy {
896    margin-top: 5px;
897}
898
899#sb_desc_content {
900    margin-left: 3px;
901    font-size: 0.8em;
902}
903
904#sb_desc_content ul {
905    padding: 0;
906    margin: 0;
907}
908
909.sb_desc_indi_li {
910    list-style-type: none;
911}
912
913/* Individuals and Families */
914#sidebar-content-individuals,
915#sidebar-content-families {
916    margin-top: 5px;
917}
918
919.sb_indi_surname_li,
920.sb_fam_surname_li {
921    list-style-image: url(icons/plus.png);
922}
923
924.name_tree_div ul {
925    padding: 0;
926    margin: 0;
927}
928
929.name_tree_div li {
930    list-style: none;
931    margin: 0;
932    padding: 0;
933}
934
935/* Clippings */
936#sb_clippings_content ul {
937    padding: 0;
938    margin: 0;
939}
940
941#sb_clippings_content li {
942    list-style: none;
943    margin: 0;
944    padding: 0;
945    white-space: nowrap;
946}
947
948/* Stories module */
949.story_title {
950    padding-top: 12px;
951    font-size: 13px;
952    height: 32px;
953    font-weight: bold;
954}
955
956.story_body {
957    padding: 20px;
958    white-space: normal;
959}
960
961.story_edit {
962    padding: 12px;
963}
964
965/*-- Fan chart ---- */
966.fan_chart_menu {
967    background: #fff;
968    position: absolute;
969    display: none;
970    z-index: 100;
971}
972
973#fan_chart ul {
974    list-style-type: none;
975    margin: 0;
976}
977
978/* Lifespans chart */
979.wt-lifespans-subtitle {
980    text-align: center;
981}
982
983.wt-lifespans-scale {
984    white-space: nowrap;
985}
986
987.wt-lifespans-decade {
988    width: 70px;
989    height: 60px;
990    display: inline-block;
991    background-image: url(images/lifespan-decade.png);
992    background-position-y: bottom;
993    background-repeat: no-repeat;
994    background-size: 70px 37px;
995}
996
997.wt-lifespans-individuals {
998    background: #fafafa;
999}
1000
1001.wt-lifespans-individual {
1002
1003}
1004
1005.wt-lifespans-summary {
1006    background: #ffffff;
1007    border: thin solid #000;
1008    z-index: 1;
1009}
1010
1011.wt-lifespans-summary-link {
1012    font-weight: bold;
1013}
1014
1015/*-- timeline  --*/
1016#timeline_chart {
1017    position: relative;
1018    top: 0;
1019    left: 0;
1020}
1021
1022/*-- Relationship ---- */
1023.wt-relationship-chart .hline-text,
1024.wt-relationship-chart .vline-text {
1025    font-size: 12px;
1026}
1027
1028/*
1029 * Any element that is loaded dynamically has the class wt-ajax-load.
1030 * We can provide a "loading" placeholder for empty elements with this class.
1031 */
1032.wt-ajax-load:empty {
1033    height: 32px;
1034    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
1035}
1036
1037/*
1038 * Default icons are provided by FontAwesome.
1039 */
1040.wt-icon-anniversary {
1041}
1042
1043.wt-icon-arrow-down {
1044}
1045
1046a > .wt-icon-arrow-down:hover {
1047}
1048
1049.wt-icon-arrow-left {
1050}
1051
1052a > .wt-icon-arrow-left:hover {
1053}
1054
1055.wt-icon-arrow-right {
1056}
1057
1058a > .wt-icon-arrow-right:hover {
1059}
1060
1061.wt-icon-arrow-up {
1062}
1063
1064a > .wt-icon-arrow-up:hover {
1065}
1066
1067.wt-icon-bing-maps {
1068}
1069
1070.wt-icon-calendar {
1071}
1072
1073.wt-icon-collapse {
1074}
1075
1076.wt-icon-coordinates {
1077}
1078
1079.wt-icon-copy {
1080}
1081
1082.wt-icon-delete {
1083}
1084
1085.wt-icon-edit {
1086}
1087
1088.wt-icon-expand {
1089}
1090
1091.wt-icon-family {
1092}
1093
1094.wt-icon-google-maps {
1095}
1096
1097.wt-icon-help {
1098}
1099
1100.wt-icon-individual {
1101}
1102
1103.wt-icon-keyboard {
1104}
1105
1106.wt-icon-media {
1107}
1108
1109.wt-icon-note {
1110}
1111
1112.wt-icon-openstreetmap {
1113}
1114
1115.wt-icon-preferences {
1116}
1117
1118.wt-icon-reorder {
1119}
1120
1121.wt-icon-repository {
1122}
1123
1124.wt-icon-sex-f {
1125    color: var(--sex-f-fg);
1126}
1127
1128.wt-icon-sex-m {
1129    color: var(--sex-m-fg);
1130}
1131
1132.wt-icon-sex-u {
1133    color: var(--sex-u-fg);
1134}
1135
1136.wt-icon-sex-x {
1137    color: var(--sex-u-fg);
1138}
1139
1140.wt-icon-source {
1141}
1142
1143.wt-icon-submitter {
1144}
1145
1146.wt-icon-warning {
1147}
1148
1149.wt-icon-zoom-in {
1150}
1151
1152.wt-icon-zoom-out {
1153}
1154
1155/* Miscellaneous images */
1156.icon-cfamily {
1157    content: url(fab/images/cfamily.png);
1158}
1159
1160.icon-childless {
1161    content: url(images/childless.png);
1162}
1163
1164.icon-children {
1165    content: url(images/children.png);
1166}
1167
1168.icon-edit_indi {
1169    content: url(fab/images/edit_indi.png);
1170}
1171
1172.icon-fam-list {
1173    content: url(fab/images/sfamily.png);
1174}
1175
1176.icon-indi-list {
1177    content: url(fab/images/indis.png);
1178}
1179
1180.icon-loading-small {
1181    content: url(images/indicator.gif);
1182}
1183
1184.icon-minus {
1185    content: url(icons/minus.png);
1186}
1187
1188.icon-mypage {
1189    content: url(fab/images/mypage.png);
1190}
1191
1192.icon-pin-in {
1193    content: url(fab/images/pin-in.png);
1194}
1195
1196.icon-pin-out {
1197    content: url(fab/images/pin-out.png);
1198}
1199
1200.icon-plus {
1201    content: url(icons/plus.png);
1202}
1203
1204.icon-resn-confidential {
1205    content: url(images/resn_confidential.png);
1206}
1207
1208.icon-resn-locked {
1209    content: url(images/resn_locked.png);
1210}
1211
1212.icon-resn-none {
1213    content: url(images/resn_none.png);
1214}
1215
1216.icon-resn-privacy {
1217    content: url(images/resn_privacy.png);
1218}
1219
1220.icon-rings {
1221    content: url(images/rings.png);
1222}
1223
1224.icon-selected {
1225    content: url(fab/images/selected.png);
1226}
1227
1228/* Silhouettes on charts */
1229.icon-silhouette-F {
1230    content: url(fab/images/silhouette_female_small.png);
1231}
1232
1233.icon-silhouette-M {
1234    content: url(fab/images/silhouette_male_small.png);
1235}
1236
1237.icon-silhouette-U {
1238    content: url(fab/images/silhouette_unknown_small.png);
1239}
1240
1241.menu-language li {
1242    text-align: left; /* The language menu is always LTR, even on RTL pages */
1243}
1244
1245.menu-theme li {
1246    text-align: left; /* The theme menu is always LTR, even on RTL pages */
1247}
1248
1249.icon-indis {
1250    content: url(fab/images/indis.png);
1251}
1252
1253.icon-patriarch {
1254    content: url(fab/images/patriarch.png);
1255}
1256
1257.icon-pedigree {
1258    content: url(fab/images/pedigree.png);
1259}
1260
1261.icon-sfamily {
1262    content: url(fab/images/sfamily.png);
1263}
1264
1265.icon-user_add {
1266    content: url(fab/images/user_add.png);
1267}
1268
1269/* Census assistant */
1270.wt-census-assistant-form-control:focus {
1271    min-width: 12rem;
1272}
1273
1274/* Some blocks show a reduced version on the right-hand side. */
1275.wt-side-blocks .wt-side-block-optional {
1276    display: none !important;
1277}
1278
1279/* my page chart enhancements */
1280.wt-block-content-charts {
1281    overflow: auto;
1282}
1283
1284/* Some charts are wider than the page. */
1285.wt-chart {
1286    overflow-x: auto;
1287    overflow-y: hidden;
1288}
1289
1290/* Fit thumbnail into parent on charts */
1291.select2-selection.select2-selection--single {
1292    min-height: 36px;
1293    height: auto;
1294    padding: 2px 0;
1295}
1296
1297.select2-container .select2-selection--single .select2-selection__rendered {
1298    padding-left: 2px;
1299}
1300
1301.select2-selection--single .NAME {
1302    padding-left: 4px;
1303}
1304
1305/* Some menus (e.g. languages) can be longer than a page */
1306.dropdown-menu {
1307    max-height: 30rem;
1308    overflow-x: hidden;
1309}
1310
1311/* Forms */
1312.col-form-label {
1313    font-weight: bold;
1314}
1315