xref: /webtrees/resources/css/fab.css (revision af7b1f136d0947b42fda7a736f4b48319cc835dd)
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 <https://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.parentdeath {
522    padding: 1px;
523}
524
525.selected-option {
526    background-color: #d6e0ea;
527}
528
529.border1 {
530    border: 0;
531}
532
533.journal_box {
534    padding: 3pt;
535    border: thin solid #aaa;
536    overflow: visible;
537}
538
539.news_box {
540    background-color: #ccc;
541    border-top: none;
542}
543
544.news_title {
545    font-weight: bold;
546    font-size: 14px;
547}
548
549.news_date {
550    margin-bottom: 12px;
551}
552
553.current_day {
554    font-weight: bold;
555    font-size: 16px;
556}
557
558.cal_day {
559    font-weight: bold;
560}
561
562.rtl_cal_day {
563    color: #00f;
564    font-weight: bold;
565}
566
567#user-page h1 {
568    margin: 0.25em auto 0.6em;
569}
570
571.tvertline {
572    vertical-align: bottom;
573}
574
575#childbox {
576    padding: 5px;
577    position: absolute;
578    display: none;
579    text-align: start;
580    white-space: nowrap;
581    top: 20px;
582    left: 0;
583}
584
585.layout3 #childbox {
586    top: auto;
587    bottom: 20px;
588}
589
590#childbox a.name1 {
591    display: block;
592    margin-left: 5px;
593}
594
595.person0 {
596    background-color: #aaf;
597    vertical-align: top;
598}
599
600.person1 {
601    background-color: #afa;
602    vertical-align: top;
603}
604
605.person2 {
606    background-color: #faa;
607    vertical-align: top;
608}
609
610.person3 {
611    background-color: #55f;
612    vertical-align: top;
613}
614
615.person4 {
616    background-color: #f55;
617    vertical-align: top;
618}
619
620.person5 {
621    background-color: #5f5;
622    vertical-align: top;
623}
624
625.starredname {
626    text-decoration: underline;
627}
628
629.search_hit {
630    background-color: #ff0;
631}
632
633.topbottombar,
634.descriptionbox {
635    font-weight: bold;
636    background-color: #ccc;
637    vertical-align: top;
638}
639
640.descriptionbox {
641    font-size: 14px;
642    background-color: #ccc;
643    vertical-align: top;
644    padding: 3px;
645}
646
647.optionbox {
648    background-color: #ddd;
649    color: #000;
650    vertical-align: top;
651    white-space: nowrap;
652    padding: 3px;
653}
654
655.red {
656    color: #f00;
657}
658
659.wt-associate-fact,
660.wt-relation-fact,
661.wt-historic-fact {
662    opacity: 0.8;
663}
664
665.messagebox {
666    background-color: #bce;
667}
668
669/* ---Pending edits--- */
670.wt-new {
671    outline: solid #00f 1px;
672}
673
674.wt-old {
675    outline: solid #f00 1px;
676}
677
678.tag_cloud {
679    text-align: center;
680}
681
682.tag_cloud a {
683    white-space: nowrap;
684}
685
686.nowrap {
687    white-space: nowrap;
688}
689
690.wrap {
691    white-space: normal;
692}
693
694.statistics-page {
695    text-align: center;
696}
697
698.gchart {
699    border: 0;
700}
701
702#facts_content dd {
703    float: left;
704    width: 70%;
705}
706
707/* this keeps the tag color the same when it is a link as when not */
708
709.place {
710    padding-top: 5px;
711}
712
713.filtersH,
714.filtersF {
715    margin: 4px;
716}
717
718.filtersH img {
719    margin-bottom: 2px;
720}
721
722.list-charts {
723    text-align: center;
724}
725
726#place-hierarchy h2,
727#place-hierarchy h4 {
728    text-align: center;
729}
730
731.user_welcome_block table,
732.gedcom_block_block table {
733    margin: auto;
734}
735
736.user_welcome_block td,
737.gedcom_block_block td {
738    width: 33%;
739    text-align: center;
740    vertical-align: top;
741}
742
743/* ==== FAQ table styles ===== */
744table.faq {
745    background-color: #ddd;
746    margin: 5px 0 50px 5px;
747    width: 98%;
748}
749
750table.faq tr:nth-child(odd) td {
751    background-color: #eee;
752}
753
754div.faq_title {
755    background-color: #ddd;
756    margin: 1em 0;
757    padding: .25em;
758    font-weight: bold;
759    width: 98%;
760}
761
762div.faq_body {
763    clear: both;
764    padding: 0 1em;
765}
766
767.faq_top {
768    float: right;
769}
770
771/* === Positioning edit, copy, delete links === */
772/* General use */
773.editfacts {
774    clear: left;
775    padding-top: 15px;
776}
777
778#indi_note {
779    margin: 0 0 5px;
780}
781
782.indi_table {
783    clear: left;
784}
785
786#indi_note .fact_NOTE {
787    float: left;
788    margin: 0 5px 0 0;
789}
790
791#indi_note .fact_SOUR {
792    margin: 3px 0;
793}
794
795#indi_note .fact_SOUR a {
796    font-size: 100%;
797}
798
799#indi_note .fact_NOTE,
800#indi_note .fact_SOUR {
801    clear: both;
802}
803
804.odometer {
805    font-family: courier, monospace;
806    font-weight: bold;
807    background: #000;
808    color: #fff;
809}
810
811.upcoming_events_block button,
812.todays_events_block button {
813    margin: 0 20px;
814}
815
816/* Sidebar - Family navigator */
817.wt-family-navigator-dropdown {
818    background: #eee;
819}
820
821.wt-family-navigator-dropdown-heading {
822    font-weight: bold;
823    font-size: inherit;
824    color: inherit;
825}
826
827/* Sidebar - Descendants */
828#sb_content_descendancy {
829    margin-top: 5px;
830}
831
832#sb_desc_content {
833    margin-left: 3px;
834    font-size: 0.8em;
835}
836
837#sb_desc_content ul {
838    padding: 0;
839    margin: 0;
840}
841
842.sb_desc_indi_li {
843    list-style-type: none;
844}
845
846/* Individuals and Families */
847#sidebar-content-individuals,
848#sidebar-content-families {
849    margin-top: 5px;
850}
851
852.sb_indi_surname_li,
853.sb_fam_surname_li {
854    list-style-image: url(icons/plus.png);
855}
856
857.name_tree_div ul {
858    padding: 0;
859    margin: 0;
860}
861
862.name_tree_div li {
863    list-style: none;
864    margin: 0;
865    padding: 0;
866}
867
868/* Clippings */
869#sb_clippings_content ul {
870    padding: 0;
871    margin: 0;
872}
873
874#sb_clippings_content li {
875    list-style: none;
876    margin: 0;
877    padding: 0;
878    white-space: nowrap;
879}
880
881/* Stories module */
882.story_title {
883    padding-top: 12px;
884    font-size: 13px;
885    height: 32px;
886    font-weight: bold;
887}
888
889.story_body {
890    padding: 20px;
891    white-space: normal;
892}
893
894.story_edit {
895    padding: 12px;
896}
897
898/*-- Fan chart ---- */
899.fan_chart_menu {
900    background: #fff;
901    position: absolute;
902    display: none;
903    z-index: 100;
904}
905
906#fan_chart ul {
907    list-style-type: none;
908    margin: 0;
909}
910
911/* Lifespans chart */
912.wt-lifespans-subtitle {
913    text-align: center;
914}
915
916.wt-lifespans-scale {
917    white-space: nowrap;
918}
919
920.wt-lifespans-decade {
921    width: 70px;
922    height: 60px;
923    display: inline-block;
924    background-image: url(images/lifespan-decade.png);
925    background-position-y: bottom;
926    background-repeat: no-repeat;
927    background-size: 70px 37px;
928}
929
930.wt-lifespans-individuals {
931    background: #fafafa;
932}
933
934.wt-lifespans-individual {
935
936}
937
938.wt-lifespans-summary {
939    background: #ffffff;
940    border: thin solid #000;
941    z-index: 1;
942}
943
944.wt-lifespans-summary-link {
945    font-weight: bold;
946}
947
948/*-- timeline  --*/
949#timeline_chart {
950    position: relative;
951    top: 0;
952    left: 0;
953}
954
955/*-- Relationship ---- */
956.wt-relationship-chart .hline-text,
957.wt-relationship-chart .vline-text {
958    font-size: 12px;
959}
960
961/*
962 * Any element that is loaded dynamically has the class wt-ajax-load.
963 * We can provide a "loading" placeholder for empty elements with this class.
964 */
965.wt-ajax-load:empty {
966    height: 32px;
967    background: url(images/loading-32x32.gif) no-repeat 50% 50%;
968}
969
970/*
971 * Default icons are provided by FontAwesome.
972 */
973.wt-icon-anniversary {
974}
975
976.wt-icon-arrow-down {
977}
978
979a > .wt-icon-arrow-down:hover {
980}
981
982.wt-icon-arrow-left {
983}
984
985a > .wt-icon-arrow-left:hover {
986}
987
988.wt-icon-arrow-right {
989}
990
991a > .wt-icon-arrow-right:hover {
992}
993
994.wt-icon-arrow-up {
995}
996
997a > .wt-icon-arrow-up:hover {
998}
999
1000.wt-icon-bing-maps {
1001}
1002
1003.wt-icon-calendar {
1004}
1005
1006.wt-icon-collapse {
1007}
1008
1009.wt-icon-coordinates {
1010}
1011
1012.wt-icon-copy {
1013}
1014
1015.wt-icon-delete {
1016}
1017
1018.wt-icon-edit {
1019}
1020
1021.wt-icon-expand {
1022}
1023
1024.wt-icon-family {
1025}
1026
1027.wt-icon-google-maps {
1028}
1029
1030.wt-icon-help {
1031}
1032
1033.wt-icon-individual {
1034}
1035
1036.wt-icon-keyboard {
1037}
1038
1039.wt-icon-media {
1040}
1041
1042.wt-icon-note {
1043}
1044
1045.wt-icon-openstreetmap {
1046}
1047
1048.wt-icon-preferences {
1049}
1050
1051.wt-icon-reorder {
1052}
1053
1054.wt-icon-repository {
1055}
1056
1057.wt-icon-sex-f {
1058    color: var(--sex-f-fg);
1059}
1060
1061.wt-icon-sex-m {
1062    color: var(--sex-m-fg);
1063}
1064
1065.wt-icon-sex-u {
1066    color: var(--sex-u-fg);
1067}
1068
1069.wt-icon-sex-x {
1070    color: var(--sex-u-fg);
1071}
1072
1073.wt-icon-source {
1074}
1075
1076.wt-icon-submitter {
1077}
1078
1079.wt-icon-warning {
1080}
1081
1082.wt-icon-zoom-in {
1083}
1084
1085.wt-icon-zoom-out {
1086}
1087
1088/* Miscellaneous images */
1089.icon-cfamily {
1090    content: url(fab/images/cfamily.png);
1091}
1092
1093.icon-childless {
1094    content: url(images/childless.png);
1095}
1096
1097.icon-children {
1098    content: url(images/children.png);
1099}
1100
1101.icon-edit_indi {
1102    content: url(fab/images/edit_indi.png);
1103}
1104
1105.icon-fam-list {
1106    content: url(fab/images/sfamily.png);
1107}
1108
1109.icon-indi-list {
1110    content: url(fab/images/indis.png);
1111}
1112
1113.icon-loading-small {
1114    content: url(images/indicator.gif);
1115}
1116
1117.icon-minus {
1118    content: url(icons/minus.png);
1119}
1120
1121.icon-mypage {
1122    content: url(fab/images/mypage.png);
1123}
1124
1125.icon-pin-in {
1126    content: url(fab/images/pin-in.png);
1127}
1128
1129.icon-pin-out {
1130    content: url(fab/images/pin-out.png);
1131}
1132
1133.icon-plus {
1134    content: url(icons/plus.png);
1135}
1136
1137.icon-resn-confidential {
1138    content: url(images/resn_confidential.png);
1139}
1140
1141.icon-resn-locked {
1142    content: url(images/resn_locked.png);
1143}
1144
1145.icon-resn-none {
1146    content: url(images/resn_none.png);
1147}
1148
1149.icon-resn-privacy {
1150    content: url(images/resn_privacy.png);
1151}
1152
1153.icon-rings {
1154    content: url(images/rings.png);
1155}
1156
1157.icon-selected {
1158    content: url(fab/images/selected.png);
1159}
1160
1161/* Silhouettes on charts */
1162.icon-silhouette-F {
1163    content: url(fab/images/silhouette_female_small.png);
1164}
1165
1166.icon-silhouette-M {
1167    content: url(fab/images/silhouette_male_small.png);
1168}
1169
1170.icon-silhouette-U {
1171    content: url(fab/images/silhouette_unknown_small.png);
1172}
1173
1174.menu-language li {
1175    text-align: left; /* The language menu is always LTR, even on RTL pages */
1176}
1177
1178.menu-theme li {
1179    text-align: left; /* The theme menu is always LTR, even on RTL pages */
1180}
1181
1182.icon-indis {
1183    content: url(fab/images/indis.png);
1184}
1185
1186.icon-patriarch {
1187    content: url(fab/images/patriarch.png);
1188}
1189
1190.icon-pedigree {
1191    content: url(fab/images/pedigree.png);
1192}
1193
1194.icon-sfamily {
1195    content: url(fab/images/sfamily.png);
1196}
1197
1198.icon-user_add {
1199    content: url(fab/images/user_add.png);
1200}
1201
1202/* Census assistant */
1203.wt-census-assistant-form-control:focus {
1204    min-width: 12rem;
1205}
1206
1207/* Some blocks show a reduced version on the right-hand side. */
1208.wt-side-blocks .wt-side-block-optional {
1209    display: none !important;
1210}
1211
1212/* my page chart enhancements */
1213.wt-block-content-charts {
1214    overflow: auto;
1215}
1216
1217/* Some charts are wider than the page. */
1218.wt-chart {
1219    overflow-x: auto;
1220    overflow-y: hidden;
1221}
1222
1223/* Fit thumbnail into parent on charts */
1224.select2-selection.select2-selection--single {
1225    min-height: 36px;
1226    height: auto;
1227    padding: 2px 0;
1228}
1229
1230.select2-container .select2-selection--single .select2-selection__rendered {
1231    padding-left: 2px;
1232}
1233
1234.select2-selection--single .NAME {
1235    padding-left: 4px;
1236}
1237
1238/* Some menus (e.g. languages) can be longer than a page */
1239.dropdown-menu {
1240    max-height: 30rem;
1241    overflow-x: hidden;
1242}
1243
1244/* Forms */
1245.col-form-label {
1246    font-weight: bold;
1247}
1248