Implement Web Assets' theme system and selection, and add 'light' theme #118
17
common/static/common/styles/_navigation_global.sass
Normal file
17
common/static/common/styles/_navigation_global.sass
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.nav-global
|
||||||
|
--nav-global-border-radius: var(--border-radius)
|
||||||
|
--nav-global-border-radius-lg: var(--border-radius-lg)
|
||||||
|
--nav-global-button-height: calc(var(--spacer) * 2.5)
|
||||||
|
--nav-global-font-size: var(--fs-sm)
|
||||||
|
--nav-global-link-padding-y: var(--nav-global-spacer-xs);
|
||||||
|
--nav-global-navbar-height: var(--navbar-primary-height, var(--spacer-6));
|
||||||
|
--nav-global-spacer: var(--spacer)
|
||||||
|
--nav-global-spacer-sm: var(--spacer-2)
|
||||||
|
--nav-global-spacer-xs: var(--spacer-1)
|
||||||
|
|
||||||
|
.btn-primary
|
||||||
|
color: var(--color-accent) !important
|
||||||
|
|
||||||
|
input,
|
||||||
|
.form-control
|
||||||
|
height: var(--nav-global-button-height)
|
@ -26,6 +26,7 @@ $container-width: map-get($container-max-widths, 'xl')
|
|||||||
@import '_galleria.sass'
|
@import '_galleria.sass'
|
||||||
@import '_hero.sass'
|
@import '_hero.sass'
|
||||||
@import '_list.sass'
|
@import '_list.sass'
|
||||||
|
@import '_navigation_global.sass'
|
||||||
@import '_table.sass'
|
@import '_table.sass'
|
||||||
@import 'ratings/static/ratings/styles/_review.sass'
|
@import 'ratings/static/ratings/styles/_review.sass'
|
||||||
@import 'ratings/static/ratings/styles/_stars.sass'
|
@import 'ratings/static/ratings/styles/_stars.sass'
|
||||||
|
@ -125,7 +125,7 @@
|
|||||||
|
|
||||||
{% block nav-upload %}
|
{% block nav-upload %}
|
||||||
<li class="me-2">
|
<li class="me-2">
|
||||||
<a href="{% url 'extensions:submit' %}" class="btn btn-primary text-primary">
|
<a href="{% url 'extensions:submit' %}" class="btn btn-primary">
|
||||||
<i class="i-upload"></i>
|
<i class="i-upload"></i>
|
||||||
<span>Upload Extension</span>
|
<span>Upload Extension</span>
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user