blob: a499b1690d3a783c4c6b0231e3d036281e6a50e2 [file]
// You can directly set the default theme
// - `default` Default theme
// - `dark` Import the official dark less style file
// - `compact` Import the official compact less style file
@import '@delon/theme/theme-default.less';
@import "ng-zorro-antd/code-editor/style/entry.less";
// ==========The following is the custom theme variable area==========
// The theme parameters can be generated at https://ng-alain.github.io/ng-alain/
// @primary-color: #f50;
@primary-color: #3f51b5;
@secondary-color: #8c8c8c;
@highlight-blue: #d6e4ff;
@success-green: #52c41a;
@error-red: #f5222d;
@font-size-base: 14px;
@nz-table-rep-padding-vertical: 3px;
@nz-table-rep-padding-horizontal: 3px;
@alain-default-header-hg: 52px;
@alain-default-header-bg: #3f51b5;
@alain-default-header-padding: 8px;
@alain-default-aside-nav-text-hover-color: #3f51b5;
@alain-default-aside-nav-selected-text-color: #3f51b5;
//@scrollbar-table-enabled: true;
@router-animation-enabled: true;
@common-background-color: #fff;
@common-background-color-dark: #141414;
@common-tint-gray: #f2f2f2;
@common-tint-gray-dark: #333;
@common-tint-border: #eee;
.br-4,
.ant-btn,
.ant-tag,
.ant-card,
.ant-picker,
.ant-collapse,
.ant-select-selector,
.ant-pagination-item,
.ant-pagination-item-link,
.ant-input, .ant-input-number, .ant-input-affix-wrapper {
border-radius: 4px!important;
}
.ant-radio-button-wrapper:first-child {
border-radius: 4px 0 0 4px!important;
}
.ant-radio-button-wrapper:last-child {
border-radius: 0 4px 4px 0!important;
}
.br-8, .ant-modal-header, .ant-modal-content {
border-radius: 8px;
}
// bugfix https://github.com/apache/hertzbeat/issues/133
.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover, .ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
background: inherit;
}
.ant-radio-wrapper:hover .ant-radio,
.ant-radio:hover .ant-radio-inner,
.ant-radio-input:focus + .ant-radio-inner {
background: #ff4081;
border-color: #ff4081;
}
.ant-btn-dangerous.ant-btn-primary {
background: #ff4081;
border-color: #ff4081;
}
.ant-modal-footer {
text-align: center;
}
.ant-modal-confirm .ant-modal-confirm-btns {
display: flex;
justify-content: center;
float: none;
}
.ant-tabs-content-holder {
flex: auto;
min-width: 0;
min-height: 0;
overflow: hidden;
}
.hoverClass {
&:hover {
transform: scale(114%);
transition: 0.2s;
}
}
.ant-divider-horizontal {
margin: 12px 0;
}
.sidebar-nav__sub-arrow::before, .sidebar-nav__sub-arrow::after {
height: 2.5px
}
.content_bg_color {
background-color: white;
}
.actions {
display: flex;
align-items: center;
justify-content: center;
}
.alain-default__header-logo-expanded, .alain-default__header-logo-collapsed {
max-width: 90%;
max-height: 46px;
}