@notice-prefix-cls: ~"@{css-prefix}notice"; @icon-prefix-cls: ~"@{css-prefix}icon"; @notice-width: 335px; @notice-padding: 16px; @notice-margin-bottom: 10px; .@{notice-prefix-cls} { position: fixed; z-index: @zindex-notification; width: @notice-width; margin-right: 24px; &-notice { padding: @notice-padding; border-radius: @border-radius-base; box-shadow: @shadow-base; border: 1px solid @border-color-base; background: #fff; line-height: 1.5; position: relative; margin-bottom: @notice-margin-bottom; overflow: hidden; &-close { position: absolute; right: 16px; top: 10px; color: #999; outline: none; i{ .close-base(-3px); } } } &-title { font-size: @font-size-base; color: @text-color; margin-bottom: 4px; } &-desc { font-size: 12px; color: @legend-color; text-align: justify; } &-with-icon &-title{ margin-left: 51px; margin-bottom: 4px; } &-with-icon &-desc { margin-left: 51px; } &-icon { position: absolute; left: 21px; top: 50%; margin-top: -21px; font-size: 28px; &-success { color: @success-color; } &-info { color: @primary-color; } &-warning { color: @warning-color; } &-error { color: @error-color; } } }