Browse Source

style fixes

version-14
Rushabh Mehta 11 years ago
parent
commit
8a20bead1c
3 changed files with 8 additions and 4 deletions
  1. +5
    -3
      frappe/templates/includes/navbar.html
  2. +1
    -1
      frappe/templates/pages/style_settings.css
  3. +2
    -0
      frappe/website/doctype/website_settings/website_settings.py

+ 5
- 3
frappe/templates/includes/navbar.html View File

@@ -23,7 +23,7 @@
{%- endfor %}
</ul>
{%- endif %}
<ul class="logged-in nav navbar-nav navbar-right" style="display: none;">
<ul class="nav navbar-nav navbar-right">
{%- for page in top_bar_items -%}
{% if not page.parent_label and page.right -%}
{% include "templates/includes/navbar_link.html" %}
@@ -31,9 +31,11 @@
{%- endfor %}
<!-- post login tools -->
{% if not disable_signup %}
<li class="dropdown" id="website-post-login" data-label="website-post-login">
<li class="dropdown logged-in" id="website-post-login"
data-label="website-post-login" style="display: none">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img class="user-picture" style="min-width: 20px; max-height: 20px; border-radius: 4px"/>
<img class="user-picture"
style="min-width: 20px; max-height: 20px; border-radius: 4px"/>
<b class="full-name"></b><b class="caret"></b>
</a>
<ul class="dropdown-menu">


+ 1
- 1
frappe/templates/pages/style_settings.css View File

@@ -61,7 +61,7 @@ div.outer {

.web-footer, .web-footer a {
font-size: 90%;
color: #{{ doc.background_color | get_hex_shade(70) }};
color: #{{ doc.background_color | get_hex_shade(100) }};
}

/* Bootstrap Navbar */


+ 2
- 0
frappe/website/doctype/website_settings/website_settings.py View File

@@ -104,4 +104,6 @@ def get_website_settings():
context.web_include_js = hooks.web_include_js or []
context.web_include_css = hooks.web_include_css or []

print context.disable_signup

return context

Loading…
Cancel
Save