Compare commits
4 Commits
d5c3a60e37
...
feature/ex
| Author | SHA1 | Date | |
|---|---|---|---|
| 92811693ab | |||
| e3cb3ece45 | |||
| be58a92df3 | |||
| c522059d06 |
@@ -1,5 +1,12 @@
|
||||
$border-width: 1px;
|
||||
$border-color: $gray-300;
|
||||
$border-radius: .4rem;
|
||||
$border-radius-lg: .4rem;
|
||||
$border-radius-sm: .4rem;
|
||||
$border-width: 1px;
|
||||
$border-color: $gray-300;
|
||||
$border-radius: 0.4rem;
|
||||
$border-radius-lg: 0.4rem;
|
||||
$border-radius-sm: 0.4rem;
|
||||
|
||||
$card-border-color: $border-color;
|
||||
$table-border-color: $border-color;
|
||||
$input-border-color: $border-color;
|
||||
|
||||
$input-focus-border-color: $border-color;
|
||||
$form-check-input-border: $border-color;
|
||||
|
||||
@@ -1,28 +1,32 @@
|
||||
// Header selector for interpolation
|
||||
// Example usage: #{$headings} { ... }
|
||||
$headings: "h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6";
|
||||
// Example usage: #{$headers} { ... }
|
||||
$headers: "h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6";
|
||||
|
||||
// All text selector for interpolation
|
||||
$text: "#{$headers}, p, span, a, li";
|
||||
|
||||
// Section Spacers. Just set the two variables below and it is fully responsive!
|
||||
// $section-spacer-small applies on breakpoints lg and below, OR always if specified in the class with --small (ex. section-spacer--small).
|
||||
|
||||
// Section Spacers
|
||||
$section-spacer: rem-calc(50px);
|
||||
$section-spacer-small: rem-calc(25px);
|
||||
|
||||
.section-spacer-both {
|
||||
margin-top: $section-spacer;
|
||||
margin-bottom: $section-spacer;
|
||||
margin-top: $section-spacer-small;
|
||||
margin-bottom: $section-spacer-small;
|
||||
@include bs5-media-breakpoint-up(lg) {
|
||||
margin-top: calc($section-spacer * 1.5);
|
||||
margin-bottom: calc($section-spacer * 1.5);
|
||||
margin-top: $section-spacer;
|
||||
margin-bottom: $section-spacer;
|
||||
}
|
||||
&--small {
|
||||
margin-top: $section-spacer-small;
|
||||
margin-bottom: $section-spacer-small;
|
||||
@include bs5-media-breakpoint-up(lg) {
|
||||
margin-top: calc($section-spacer-small * 2);
|
||||
margin-bottom: calc($section-spacer-small * 2);
|
||||
margin-top: $section-spacer-small;
|
||||
margin-bottom: $section-spacer-small;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.section-spacer {
|
||||
@extend .section-spacer-both;
|
||||
margin-bottom: unset;
|
||||
@@ -30,3 +34,10 @@ $section-spacer-small: rem-calc(25px);
|
||||
margin-bottom: unset;
|
||||
}
|
||||
}
|
||||
.section-spacer-bottom {
|
||||
@extend .section-spacer-both;
|
||||
margin-top: unset;
|
||||
&--small {
|
||||
margin-top: unset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,6 +33,17 @@
|
||||
title="{l s='Log in to your customer account' d='Shop.Theme.Customeraccount'}"
|
||||
{/if}
|
||||
>
|
||||
<span class="d-none d-xl-block text-secondary">
|
||||
{if $logged}
|
||||
{if $customer.firstname}
|
||||
{$customer.firstname|escape:'html':'UTF-8'}
|
||||
{else}
|
||||
{l s='Log out' d='Shop.Theme.Actions'}
|
||||
{/if}
|
||||
{else}
|
||||
{l s='Log in' d='Shop.Theme.Actions'}
|
||||
{/if}
|
||||
</span>
|
||||
<div class="header-top__icon-container">
|
||||
{capture name="svg_output"}{svg_icon file='person.svg'}{/capture}
|
||||
{if $smarty.capture.svg_output}
|
||||
|
||||
Reference in New Issue
Block a user