@import "~view-design/src/styles/index.less";
// iview 自定义样式
@primary-color: #1890FF;
@info-color: #fa6419;
@success-color: #68cabe;
@error-color: #ff3c2a;
@table-border-bg: #EBEDF0;
@table-td-border-bg: #f7f8fa;
@table-td-hover-bg: #f7f8fa;
@table-td-highlight-bg: #f7f8fa;
@font-size-base: 14px;
@default-color: #333;
@ivu-menu-dark-bg: #20222A;
@ivu-menu-dark-hover: #000;
body {
  color: @default-color;
}
.ivu-icon {
  font-size: 18px;
}

.primary-icon {
  color: @primary-color
}
// 新菜单样式
.ivu-menu-dark {
  background-color: @ivu-menu-dark-bg !important;
}
.ivu-menu-opened {
  background-color: @ivu-menu-dark-bg !important;
}

.ivu-menu-submenu-title {
  background-color: @ivu-menu-dark-bg !important;
  font-size: 14px;
}
.ivu-menu-submenu-title:hover {
  background-color: @ivu-menu-dark-hover !important;
  color: #fff;
}
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover {
  background-color: @ivu-menu-dark-hover !important;
}
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item, .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title {
  display: flex;
  align-items: center;
  color: #c8c9cc !important;
  font-size: 14px;
}
.ivu-menu-item .ivu-menu-item-active .ivu-menu-item-selected {
  background-color: @ivu-menu-dark-hover !important;
}
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active, .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
  background-color: @ivu-menu-dark-hover !important;
  border-left: 4px solid @primary-color;
  color: #fff !important;
  font-weight: 500;
}


.ivu-table-wrapper {
  border: 1px solid @table-border-bg;
}

.ivu-radio-wrapper-checked {
  color:@primary-color;
}
.ivu-checkbox-wrapper-checked {
  color:@primary-color;
}
.ivu-input {
  color: @default-color;
}
.ivu-select {
  color: @default-color;
}
.ivu-select-item {
  color: @default-color;
}
.ivu-tooltip-light .ivu-tooltip-inner {
  color: @default-color;
}
.ivu-tooltip {
  vertical-align: middle;
}
.ivu-table-border th, .ivu-table-border td {
  border-color: @table-td-border-bg;
}
tr.ivu-table-row-hover td{
  background-color: @table-td-hover-bg;
}
.ivu-table table{
  font-size: 12px;
  width: 100%!important;
}
.ivu-date-picker {
  width: 100%!important;
}

.ivu-tooltip-popper {
  z-index: 1004 !important;
}
