/* Table of Contents ================================================== # Alert # Application # Colors # Media Queries */ /* # Alert ================================================== */ .alert-fixed { left: 0; position: fixed; right: 0; top: 0; z-index: 1040; } .alert { background: $color-gray; border-bottom: 2px solid rgba(0,0,0,0.1); box-sizing: border-box; color: $color-white; display: block; font-size: 16px; line-height: 20px; margin: 0; padding: 10px 20px 9px 20px; width: 100%; } .alert > a { color: $color-white; border-bottom: 1px dotted $color-white; font-style: italic; } .alert-lined { border: 2px solid rgba(0,0,0,0.1); } .alert-close { border: 0 !important; color: $color-white !important; float: right; font-size: 18px; line-height: 24px; } /* # Application ================================================== */ .alert.alert-app { width: calc(100% - 280px); } /* # Colors ================================================== */ .alert-green, .alert-success { background: $color-green; } .alert-orange, .alert-warning { background: $color-orange; } .alert-red, .alert-error, .alert-alert { background: $color-red; } .alert-black, .alert-system { background: $color-gray-dark; } /* # Media Queries ================================================== */ @media only screen and (max-width: 1365px) { .alert.alert-app { width: calc(100% - 250px); } } @media only screen and (max-width: 1199px) { .alert.alert-app { width: calc(100% - 220px); } } @media only screen and (max-width: 959px) { .alert.alert-app { width: 100%; } }