// This is a hack to have the newer looking callouts on order-history .od-callout:not(.hide) { margin-bottom: 1rem; &.od-callout-error .error { display: contents; } &.od-callout-success .success { display: contents; } } $grid-breakpoints: ( xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1440px ) !default; // breakpoint-min(md) resolves to the md min-width from $grid-breakpoints above. // Use map-get(...) so changes to the breakpoint map don't require updating this value. $md: map-get($grid-breakpoints, md); .od-callout { &, * { box-sizing: border-box; } font-size: $base-font-size; display: flex; border-radius: 4px; border: 1px solid $gray-medium; background-color: rgba(190, 192, 195, 0.05); border-left-width: 4px; @media screen and (min-width: $md) { border: 2px solid $gray-medium; border-left-width: 6px; } padding: 1rem 4px; position: relative; > * { flex: 1 1 auto; } &-icon { flex: 0 0 auto; display: flex; align-items: center; margin: 0 8px; } &-content { width: 100%; height: 100%; display: flex; align-items: center; } &-content:not(:first-child):not(:last-child) { padding: 0 4px; } &-content:last-child:not(:first-child) { padding-right: 0; font-size: 14px; } &-content:first-child:not(:last-child) { padding-left: 0; padding-right: 4px; } &-title { font-weight: $font-weight-semi-bold; } &-transparent { border-color: $gray-medium; } &#{&}-info { background-color: rgba(30, 90, 153, 0.05); border-color: $blue; .od-icon { color: $blue; } } &-sm { font-size: 0.75rem; border-left-width: 4px; .od-callout-title { font-size: $base-font-size; } } &#{&}-success { border-color: $green; background-color: rgba(0, 136, 0, 0.05); .od-icon { color: $green; } } &#{&}-warning { border-color: $yellow; background-color: rgba(211, 128, 3, 0.05); .od-icon { color: $yellow; } } &#{&}-warning65 { border-color: $black; fill: $black; stroke: $black; stroke-width: 1.3px; .od-icon { color: #ffff00; } } &#{&}-error { border-color: $red; background-color: rgba(179, 0, 0, 0.05); .od-icon { color: $red; } } &#{&}-default { border-color: $gray-medium; .show-icon { circle { stroke: $gray-medium; } path { stroke: $gray-medium; } } } &-close { display: flex; align-items: flex-start; } .od-callout-loader { position: absolute; top: 0; left: 0; background: $green; height: 2px; width: 0; } .od-callout-closer { font-weight: 500; cursor: pointer; position: absolute; top: 0; right: 5px; padding: 5px; } }