diff --git a/falcon/_dev/css/theme/custom/_custom.scss b/falcon/_dev/css/theme/custom/_custom.scss index 42b25c6..4dd3e49 100644 --- a/falcon/_dev/css/theme/custom/_custom.scss +++ b/falcon/_dev/css/theme/custom/_custom.scss @@ -1,13 +1,19 @@ -// NOTE: All bootstrap overrides have been configured under themes/falcon/_dev/css/abstracts/variables/bootstrap +/* +This is the main custom SCSS file for the Falcon theme. + +I am loosely following the 7 in 1 structure for better organization of the styles. Learn more here: +https://medium.com/@diyorbekjuraev77/be-a-master-at-creating-the-7-1-sass-pattern-776fdfb5a3b1 + +⚠️NOTE: All bootstrap overrides have been configured under themes/falcon/_dev/css/abstracts/variables/bootstrap +*/ //Abstracts: Things used throughout the site such as utility classes and generic overrides. +@import "abstracts/utilities"; //@import "abstracts/base"; @import "abstracts/functions"; @import "abstracts/mixins"; -//@import "abstracts/utilities"; // Components: parts of the theme itself that are not associated with a module. -//@import "components/"; @import "components/forms"; // Modules: Styling for specific modules. diff --git a/falcon/_dev/css/theme/custom/abstracts/_utilities.scss b/falcon/_dev/css/theme/custom/abstracts/_utilities.scss index cf456a8..af19738 100644 --- a/falcon/_dev/css/theme/custom/abstracts/_utilities.scss +++ b/falcon/_dev/css/theme/custom/abstracts/_utilities.scss @@ -1,3 +1,7 @@ +// Header selector for interpolation +// Example usage: #{$headings} { ... } +$headings: "h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6"; + // Color utility classes @each $name, $color in $theme-colors { .bg-#{$name} { diff --git a/falcon/_dev/img/checkmark.svg b/falcon/_dev/img/checkmark.svg new file mode 100644 index 0000000..87168de --- /dev/null +++ b/falcon/_dev/img/checkmark.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl b/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl index 4cda15b..d51da7d 100644 --- a/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl +++ b/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl @@ -9,7 +9,12 @@ name="s" value="{$search_string}"> diff --git a/falcon/templates/_partials/header.tpl b/falcon/templates/_partials/header.tpl index 24a382c..a6fb96e 100644 --- a/falcon/templates/_partials/header.tpl +++ b/falcon/templates/_partials/header.tpl @@ -33,11 +33,24 @@ {/block} {block name='header_top'} + {* Optional: Add USP bar at the top of the header + Uncomment the code below to enable it + Use the uspanywhere module and hook to "displayHeaderTopUsps" *} + + {* +