UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

42 lines (41 loc) 1.02 kB
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ .ant-code-editor { display: block; position: relative; height: 100%; width: 100%; background-color: #fff; } .ant-code-editor .ant-code-editor-loading { position: absolute; display: flex; justify-content: center; height: 100%; width: 100%; z-index: 100; background-color: #fff; } .ant-code-editor .ant-code-editor-toolkit { top: 20px; right: 160px; position: absolute; height: 24px; z-index: 2; min-width: 100px; background: transparent; text-align: right; } .ant-code-editor .ant-code-editor-toolkit i { position: relative; right: 4px; cursor: pointer; } .ant-code-editor .ant-code-editor-toolkit i:not(:last-child) { padding-right: 4px; } .ant-code-editor .ant-code-editor-toolkit i.active { color: #1890ff; }