Theme adjustments

This commit is contained in:
Vassili Minaev 2026-03-24 17:22:39 -06:00
parent 21417c67b1
commit 6b5a69b9da
11 changed files with 26 additions and 76 deletions

View file

@ -1,8 +1,6 @@
.web-footer {
padding: 3rem 0;
min-height: 140px;
background-color: var(--fg-color);
border-top: 1px solid $border-color;
margin-top: auto;
}
@ -21,11 +19,11 @@
.footer-child-item a {
font-size: $font-size-sm;
font-weight: 500;
color: $gray-700;
color: var(--body-text-color);
&:hover {
color: $primary;
text-decoration: none;
color: var(--body-text-color);
text-decoration: underline;
}
}
@ -81,7 +79,7 @@
}
.footer-info {
color: $text-muted;
color: var(--body-text-color);
font-size: $font-size-sm;
}

View file

@ -2,9 +2,9 @@
<div class="container">
{% include "templates/includes/footer/footer_logo_extension.html" %}
{% if footer_items -%}
<!-- {% if footer_items -%}
{% include "templates/includes/footer/footer_grouped_links.html" %}
{% endif %}
{% endif %} -->
{% include "templates/includes/footer/footer_links.html" %}
{% include "templates/includes/footer/footer_info.html" %}

View file

@ -1,6 +1,7 @@
<div class="footer-info">
<div class="row">
<div class="footer-col-left col-sm-6 col-12">
<!-- <div class="footer-col-left col-sm-6 col-12"> -->
<div class="col-12">
{% if copyright %}
&copy; {{ copyright }}
{% endif %}
@ -10,6 +11,7 @@
{% endif %}
</div>
{# powered #}
<!--
<div class="footer-col-right col-sm-6 col-12 footer-powered">
{% block powered %}
{%- if footer_powered -%}
@ -19,5 +21,6 @@
{%- endif -%}
{% endblock %}
</div>
-->
</div>
</div>

View file

@ -9,16 +9,18 @@
{% endmacro %}
<div class="footer-links">
<div class="row">
<div class="footer-col-left col-sm-6">
<!-- <div class="footer-col-left col-sm-6"> -->
<div class="col-12">
{%- for item in footer_items if item.label and not (item.parent_label or item.child_items) and not item.right %}
{{ footer_link(item) }}
{{ "|" if not loop.last }}
{% endfor -%}
</div>
<div class="footer-col-right col-sm-6">
<!-- <div class="footer-col-right col-sm-6">
{%- for item in footer_items if item.label and not (item.parent_label or item.child_items) and item.right %}
{{ footer_link(item) }}
{% endfor -%}
</div>
</div> -->
</div>
</div>

View file

@ -1,29 +0,0 @@
<nav class="navbar navbar-primary navbar-expand-lg">
<div class="container">
<a class="navbar-brand" href="{{ url_prefix }}{{ home_page or "/" }}">
{%- if brand_html -%}
{{ brand_html }}
{%- elif banner_image -%}
<img src='{{ banner_image }}'>
{%- else -%}
<span>{{ (frappe.get_hooks("brand_html") or [_("Home")])[0] }}</span>
{%- endif -%}
</a>
<button class="navbar-toggler" type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation">
<span>
<svg class="icon icon-lg">
<use href="#icon-menu"></use>
</svg>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
{% include "templates/includes/navbar/navbar_items.html" %}
</div>
</div>
</nav>

View file

@ -1,17 +0,0 @@
{
"__islocal": true,
"__unsaved": 1,
"creation": "2021-01-20 13:20:46.147656",
"docstatus": 0,
"doctype": "Web Template",
"fields": [],
"idx": 0,
"modified": "2021-01-20 13:20:46.147656",
"modified_by": "Administrator",
"module": "Website",
"name": "Primary Navbar",
"owner": "Administrator",
"standard": 1,
"template": "",
"type": "Navbar"
}

View file

@ -1 +0,0 @@
{% include "templates/includes/navbar/navbar.html" %}

View file

@ -1,13 +0,0 @@
{
"creation": "2020-08-19 17:49:37.288380",
"docstatus": 0,
"doctype": "Web Template",
"fields": [],
"idx": 0,
"modified": "2020-08-19 17:50:44.342765",
"modified_by": "Administrator",
"name": "Standard Navbar",
"owner": "Administrator",
"standard": 1,
"type": "Navbar"
}

View file

@ -1,20 +1,27 @@
{
"background_color": "Background",
"button_gradients": 0,
"button_rounded_corners": 1,
"button_shadows": 0,
"creation": "2015-02-19 13:37:33.925909",
"custom": 0,
"custom_overrides": "",
"dark_color": "Primary",
"docstatus": 0,
"doctype": "Website Theme",
"font_properties": "wght:400;500;600;700;800",
"google_font": "Ethnocentric",
"idx": 28,
"modified": "2020-06-15 13:10:16.618476",
"ignored_apps": [],
"light_color": "Gold Text",
"modified": "2026-03-17 20:45:47.424219",
"modified_by": "Administrator",
"module": "Website",
"name": "Standard",
"owner": "Administrator",
"primary_color": "Primary",
"text_color": "Gold Text",
"theme": "Standard",
"theme_scss": "$enable-shadows: false;\n$enable-gradients: false;\n$enable-rounded: true;\n\n// Bootstrap Variable Overrides\n\n\n@import \"frappe/public/scss/website\";\n\n\n\n// Custom Theme\n",
"theme_url": "/assets/css/standard_style.css"
}
"theme_scss": "\n@import url(\"https://fonts.googleapis.com/css2?family=Ethnocentric:wght:400;500;600;700;800&display=swap\");\n// backward compatibility. deprecated in v15\n$font-family-sans-serif: \"Ethnocentric\", \"InterVariable\", \"Inter\", -apple-system, BlinkMacSystemFont,\n\t\"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\",\n\t\"Droid Sans\", \"Helvetica Neue\", sans-serif;\n\n// override font stack if custom font is set in website theme\n:root {\n\t--font-stack: \"Ethnocentric\", \"InterVariable\", \"Inter\", -apple-system, BlinkMacSystemFont,\n\t\"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\",\n\t\"Droid Sans\", \"Helvetica Neue\", sans-serif !important;\n}\n$primary: #8139c4;$dark: #8139c4;$body-text-color: #e6c96c;$body-bg: #4e3269;$enable-shadows: false;\n$enable-gradients: false;\n$enable-rounded: true;\n\n// Bootstrap Variable Overrides\n\n\n// Import themes from installed apps\n@import \"frappe/public/scss/website.bundle\";\n\n\n\n// Custom Theme\n\n\n:root {\n\t\n\t--primary: #{$primary};\n\t--primary-color: #{$primary};\n\t\n\t--bg-color: #{$body-bg};\n\t\n\t--text-color: #{$body-text-color};\n\t--text-light: #{$body-text-color};\n\t}\n",
"theme_url": "/files/website_theme/standard_style.css"
}