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