Changeset - 53c9f8051498
[Not reviewed]
0 3 0
Tobias - 6 years ago 2018-10-06 20:42:47
tobias@localhost.localdomain
Nav fixes
3 files changed with 6 insertions and 20 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/nav.html
Show inline comments
...
 
@@ -9,14 +9,14 @@
 
    <img src="{% static 'assets/LCA_logo.svg' %}" alt="LCA2019 Logo">
 
    {% endif %}
 
  </a>
 
  
 

 
  <button class="navbar-toggler {% if color == 'green' %}white{% else %}green{% endif %}-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
 
    <span class="navbar-toggler-icon"></span>
 
  </button>
 

	
 
  {% sitetree_menu from "main" include "trunk" template "sitetree_header.html" %}
 
  
 
  <!-- <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
 

	
 
  <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex ml-3">
 
    <li class="nav-item">
 
      <a class="nav-link" href="https://twitter.com/linuxconfau2019" target="_blank" rel="noopener" aria-label="Twitter">
 
        <svg class="navbar-nav-svg {% if color == 'green' %} text-white{% endif %}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 416.32" focusable="false"><title>Twitter</title>
...
 
@@ -24,14 +24,5 @@
 
        </svg>
 
      </a>
 
    </li>
 
    <li class="nav-item">
 
      <a class="nav-link" href="https://twitter.com/linuxconfau2019" target="_blank" rel="noopener" aria-label="Twitter">
 
        {% if color == 'green' %}
 
        <img src="{% static 'assets/tux_white.svg' %}" alt="Tux" class="navbar-nav-svg">
 
        {% else %}
 
        <img src="{% static 'assets/tux.svg' %}" alt="Tux" class="navbar-nav-svg">
 
        {% endif %}
 
      </a>
 
    </li>
 
  </ul> -->
 
  </ul>
 
</nav>
pinaxcon/templates/sitetree_header.html
Show inline comments
...
 
@@ -20,7 +20,7 @@
 
      </a>
 
    </li>
 
    {% endif %}
 
    {% endif %} 
 
    {% endif %}
 
    {% endfor %}
 
  </ul>
 
</div>
...
 
\ No newline at end of file
static/src/scss/app.scss
Show inline comments
...
 
@@ -21,7 +21,6 @@ body {
 
}
 

	
 

	
 

	
 
.text-page {
 
    h2 {
 
        padding-top: 3rem;
...
 
@@ -37,10 +36,6 @@ body {
 
    text-transform: uppercase;
 
}
 

	
 
.navbar-collapse {
 
    margin-left: $padding-left-default;
 
}
 

	
 

	
 
.navbar-toggler {
 
    border: 0 !important;
...
 
@@ -110,7 +105,7 @@ footer {
 
}
 

	
 
li.nav-item {
 
    height: 2.75rem;
 
    min-height: 2.75rem;
 

	
 
    &.active > a.nav-link {
 
        font-weight: 700;
0 comments (0 inline, 0 general)