1+ {%- if theme.mainHeaderBackgroundColor %}
12.page-subheader-outer {
2- background-color : {{ theme .mainHeaderBackgroundColor }} !important ;
3+ background-color : {{ theme .mainHeaderBackgroundColor }} !important ;
34}
5+ {%- endif %}
46
7+ {%- if theme.secondaryColor or theme .secondaryTextColor %}
58.theme-secondary , .ui .secondary .button {
6- background-color : {{ theme .secondaryColor }} !important ;
7- color : {{ theme.secondaryTextColor }} !important ;
9+ {% if theme. secondaryColor %} background-color : {{ theme .secondaryColor }} !important ;{% endif %}
10+ {% if theme. secondaryTextColor %} color : {{ theme .secondaryTextColor }} !important ;{% endif %}
811}
912
1013.invenio-page-body .ui .search .button {
11- background-color : {{ theme .secondaryColor }} !important ;
12- color : {{ theme.secondaryTextColor }} !important ;
14+ {% if theme. secondaryColor %} background-color : {{ theme .secondaryColor }} !important ;{% endif %}
15+ {% if theme. secondaryTextColor %} color : {{ theme .secondaryTextColor }} !important ;{% endif %}
1316}
17+ {%- endif %}
1418
19+ {%- if theme.primaryTextColor %}
1520.theme-primary a , .theme-primary h1 , .theme-primary h2 , .theme-primary p {
1621 color : {{ theme .primaryTextColor }} !important ;
1722}
23+ {%- endif %}
1824
25+ {%- if theme.secondaryColor %}
1926.theme-primary .pointing .menu .item .active {
2027 border-color : {{ theme .secondaryColor }} !important ;
2128}
29+ {%- endif %}
2230
31+ {%- if theme.primaryColor %}
2332.theme-primary-menu .item .active {
2433 background-color : {{ theme .primaryColor }} !important ;
2534}
35+ {%- endif %}
2636
27- .theme-primary .item , .theme-primary-menu , .page-subheader-outer {
28- font-family : {{ theme .font .family }} !important ;
29- font- weight: {{ theme.font .weight }} !important ;
30- font- size: {{ theme .font .size }};
37+ {%- if theme.font .family or theme .font .weight or theme .font .size %}
38+ .theme-primary .item , .theme-primary-menu , .page-subheader-outer {
39+ {% if theme.font .family %}font-family : {{ theme .font .family }} !important ;{% endif %}
40+ {% if theme.font .weight %}font-weight : {{ theme .font .weight }} !important ;{% endif %}
41+ {% if theme.font .size %}font-size : {{ theme .font .size }};{% endif %}
3142}
43+ {%- endif %}
3244
45+ {%- if theme.primaryColor %}
3346.theme-primary {
3447 background-color : {{ theme .primaryColor }} !important ;
3548}
3649
37- .theme-primary-text a {
50+ .theme-primary-text a ,
51+ .theme-primary-text h1 {
3852 color : {{ theme .primaryColor }} !important ;
3953}
54+ {%- endif %}
4055
56+ {%- if theme.tertiaryColor or theme .tertiaryTextColor %}
4157.theme-tertiary , .ui .tertiary .button {
42- background-color : {{ theme .tertiaryColor }} !important ;
43- color : {{ theme.tertiaryTextColor }};
58+ {% if theme. tertiaryColor %} background-color : {{ theme .tertiaryColor }} !important ;{% endif %}
59+ {% if theme. tertiaryTextColor %} color : {{ theme .tertiaryTextColor }};{% endif %}
4460}
61+ {%- endif %}
4562
46- .invenio-accordion-field .title , .ui .primary .button {
47- background-color : {{ theme .primaryColor }} !important ;
48- color : {{ theme.primaryTextColor }} !important ;
63+ {%- if theme.primaryColor or theme .primaryTextColor %}
64+ .invenio-accordion-field .title , .ui .primary .button {
65+ {% if theme.primaryColor %}background-color : {{ theme .primaryColor }} !important ;{% endif %}
66+ {% if theme.primaryTextColor %}color : {{ theme .primaryTextColor }} !important ;{% endif %}
4967}
68+ {%- endif %}
5069
70+ {%- if theme.font .weight %}
5171.theme-font h1 {
52- font-weight : {{theme .font .weight }} !important ;
53- }
72+ font-weight : {{ theme .font .weight }} !important ;
73+ }
74+ {%- endif %}
0 commit comments