Extract re-used box-shadow style

This commit is contained in:
Matt-Yorkley
2020-03-25 11:32:28 +01:00
parent cff8f6dd96
commit a3a26f704f
3 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
$ofn-brand: #f27052;
$distributor-header-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 8px 6px -6px rgba(0, 0, 0, 0.2);
// e.g. australia, uk, norway specific color
$ofn-grey: #808184;

View File

@@ -2,7 +2,7 @@
section {
:not(shop) navigation {
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 8px 6px -6px rgba(0, 0, 0, 0.2)
box-shadow: $distributor-header-shadow;
}
}

View File

@@ -7,7 +7,7 @@
.tab-buttons {
color: $dark-grey;
box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 8px 6px -6px rgba(0, 0, 0, 0.2);
box-shadow: $distributor-header-shadow;
.columns {
display: flex;