/*doc --- title: ActionBar name: action_bar category: Patterns --- ```html_example
Advanced
``` ```sass_file_example src/settings/bigcommerce/actionBar/_settings.scss ``` */ // ============================================================================= // ACTION BAR (CSS) // ============================================================================= // Bigcommerce Component // ----------------------------------------------------------------------------- // // The Bigcommerce Coding Standards, coupled with Foundation. // If any library overrides or extra CSS is needed, declare it here. // // 1. If set to false, there is no outputted CSS for this component. // 2. Scss-lint seems to be triggered by the nesting, even though this is a // pseudoselector. Disabling for this statement only. // // ----------------------------------------------------------------------------- @if $exportCSS--actionBar { // 1 .actionBar { @include clearfix; margin: $actionBar-margin; .button { margin-bottom: $actionBar-button-margin; } .buttonGroup { vertical-align: middle; } } .actionBar-link { display: block; padding: $actionBar-text-padding; } .actionBar-section { @include clearfix; @include breakpoint("small") { float: $actionBar-section-float; .form-label { display: inline-block; margin: 0 $actionBar-form-label-margin 0 0; } .form-select, .form-input { display: inline-block; width: $actionBar-form-input-width; } } } .actionBar-section--alt { @include breakpoint("small") { float: $actionBar-section-float--alt; } } .actionBar-item { margin-bottom: $actionBar-item-margin; @include breakpoint("small") { display: inline-block; margin-bottom: 0; margin-#{$actionBar-section-float--alt}: $actionBar-item-margin; vertical-align: middle; // 2 //scss-lint:disable NestingDepth &:last-child { margin-#{$actionBar-section-float--alt}: 0; } //scss-lint:enable } } }