UNPKG

@lxlib/theme

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

79 lines (74 loc) 1.76 kB
// Small screen / tablet @media (min-width: @screen-sm) { .modal-sm .@{ant-prefix}-modal { width: auto !important; max-width: @modal-sm; } } // Medium screen / desktop @media (min-width: @screen-md) { .modal-md .@{ant-prefix}-modal { width: auto !important; max-width: @modal-md; } } // Large screen / wide desktop @media (min-width: @screen-lg) { .modal-lg .@{ant-prefix}-modal { width: auto !important; max-width: @modal-lg; } } // Extra large screen / large descktop @media (min-width: @screen-xxl) { .modal-xl .@{ant-prefix}-modal { width: auto !important; max-width: @modal-xl; } } // 自定义模态框时非常有用,主要运用于查看、编辑页 .modal { &-header { display: flex; justify-content: space-between; margin: -24px -24px 24px -24px; padding: 16px 24px; background: @component-background; border-bottom: @border-width-base @border-style-base @border-color-split; border-radius: @border-radius-base @border-radius-base 0 0; } &-title { color: @heading-color; font-weight: 500; font-size: @font-size-lg; line-height: 22px; small { margin-left: @layout-gutter; color: @muted-color; font-size: 12px; } } &-spin { display: block; min-height: 150px; line-height: 150px; text-align: center; } &-footer { margin: 24px -24px -24px -24px; padding: 10px 16px; text-align: right; border-top: @border-width-base @border-style-base @border-color-split; border-radius: 0 0 @border-radius-base @border-radius-base; } &-include-tabs { nz-tabset { margin-top: -16px; } } &-body-nopadding { .@{ant-prefix}-modal-body { padding: 0 !important; } } }