@formInputTextD: @pageTextD;
@formInputSvgN: .color_N(@formInputBgN)[];
@formInputSvgA: @--primary-5;
@formInputSvgD: @pageTextD;
@numberInPutHandleBgA: @pageBodyBg; //数字输入框右侧按钮的背景色
@numberInPutHandleBoderA: @formInputBoderN;
@formInputDropDownBgN: @formInputBgN; // 下拉框DropDown内容的背景色
@formInputDropDownTextN: @pageTextN; // 下拉框DropDown内容的文字色
@formInputDropDownBgA: transparent; // 悬浮时候的背景色(同当前选中时候背景色)
@formMuliInputBgA:@formInputDropDownBgA;//多选项的选中背景色
@formInputDropDownBgSel:@--option-bg-select;//下拉框选中的背景色
@formInputDropDownTextSelectN: .color_N(@formInputDropDownBgSel)[]; //下拉框选中时的文字颜色
@formInputSwitchBgN:@--font-s;// switch组件常态背景色

@formRadioBorderN: .lumaColorSelect(@pageBodyBg, @--font-r, @--font-r-l)[]; // Radio 常态时的边框色（调整为与checkbox一致）
@formCheckboxBorderD: @--placeholder; // Checkbox禁用时的颜色(8/23日部分定制存在问题，UI沟通后调整)
@formCheckboxBorderN: .lumaColorSelect(@pageBodyBg, @--font-r, @--font-r-l)[]; //checkbox比较特殊，只有一个框没有内容，所以考虑不和组件的变量一致
@formCheckboxBorderA: @formInputBorderA; // Checkbox选中后的颜色
@formCheckboxBgA:@formInputBgN;//选中后的背景色

//表格定义
@tableHeadTextN: .color_A(@--bg)[]; //标题文字色(默认同标准文字色)
@tableBgN: @formInputDropDownBgN; //标题背景色 (与人脸特征信息背景色相同,2:视频码流主辅码流panel头部背景色, 3:区域参数头部背景色)
@tableTextN: @pageTextN; // 表格内容默认文字色
@tableTextA: @tableHeadTextN; // 选中时的文字颜色(默认同悬浮文字颜色)
@tableOddBgN: @--bg; ///奇数行背景色
@tableEvenBgN: @--component-bg-disable; //偶数行背景色
@tableBgA: @--option-bg-select; //选中行背景色
@tableBgD: @tableOddBgN; //表格中选中行被禁用的下拉框的背景色,默认同奇数行背景色
@tableBorderN: @pageBorderN; //表格边框

//pagination  todo 待验证
@paginationTextN: @pageTextN;
@paginationTextA: @--primary-5;
@paginationInputTextN: @pageTextN;
@paginationBg: @pageBodyBg;
@paginationBorderA: @--primary-5;

//progress 已确认
@progressBg: @--block;
@progressText: @pageTextN;
@progressBgA:@--primary-6;/* 进度条走过的背景色 */
//button todo 待验证
@buttonNormalBgN: @--component-bg;
@buttonNormalBgD: @buttonNormalBgN;
@buttonNormalTextN: .color_N(@buttonNormalBgD)[];
@buttonNormalTextA: .color_A(@buttonNormalBgN)[];
@buttonNormalTextD: .color_D(@buttonNormalBgN)[];
@buttonNormalBorderN: @pageBorderN;
@buttonNormalBorderD: @buttonNormalTextD;
@buttonActiveBgN: @--primary-6;
@buttonActiveBgD: @buttonNormalBgD;
@buttonActiveBgA: @--primary-5;/* 确认按钮悬浮颜色 */
@buttonActiveTextN: .color_A(@buttonActiveBgN)[];
@buttonActiveTextD: @buttonNormalTextD;
@buttonActiveBorderN: @buttonActiveBgN;
@buttonActiveBorderD: @buttonActiveTextD;

@buttonTestBgN: @buttonNormalBgN;
@buttonTestBgH: @buttonTestBgN;
@buttonTestBgA: @--success-7;
@buttonTestBgD: @buttonNormalBgN;
@buttonTestTextN: @--success-6;
@buttonTestTextH: @--success-6;
@buttonTestTextA: .color_A(@buttonTestBgA)[];
@buttonTestTextD: .color_D(@buttonNormalBgN)[];
@buttonTestBorderN: @--success-6; // 沟通不用--success-border
@buttonTestBorderH: @--success-5;
@buttonTestBorderA: @buttonTestBgA;
@buttonTestBorderD: @buttonNormalTextD;

@buttonDangerBgN: @buttonNormalBgN;
@buttonDangerBgH: @buttonDangerBgN;
@buttonDangerBgA: @errorColor;
@buttonDangerBgD: @buttonNormalBgN;
@buttonDangerTextN: @errorColor;
@buttonDangerTextH: @--error-6;
@buttonDangerTextA: .color_A(@buttonDangerBgA)[];
@buttonDangerTextD: @buttonNormalTextD;
@buttonDangerBorderN: @errorColor;
@buttonDangerBorderH: @--error-5;
@buttonDangerBorderA: @buttonDangerBgA;
@buttonDangerBorderD: @buttonNormalBorderD;

//tab
@tabBgN: @--title;
@tabBgA: @--primary-6;
@tabTextN: .color_N(@--title)[];
@tabTextA: .color_A(@--primary-6)[];
@tabBorder: @--split;
@topTabBgN: @--block;//顶部导航默认背景色
@topTabBgA: @--navTitle-bg; //顶部导航选中背景色
@topTabTextA: .color_A(@topTabBgA)[];//顶部导航栏选中文字
@topTabTextN: .color_A(@topTabBgN)[];//顶部导航栏常规文字
@streamTopTabBgA: @topTabBgA; //编码配置顶部导航选中背景色
//collapse
// @collapseText: @pageTextN;
// @collapseBorder: @pageTextN;
// @collapseBg: @setUpContentBg;

//modal
@modalBg: @--bg;
@modalBorder: @--split;
@modalContentText: @pageTextN;
@modalTitleBg: @--navTitle-bg;
@modalTitleText: .color_A(@modalTitleBg)[];;
@modalTitleBorder: @modalBorder;
@modalFooterBg: @modalBg;
@modalFooterBorder: @dividerColor;
// 弹窗二维码背景色
@QRCodeBg: #fff;

//popover
@popover_TextN: @pageTextN;
@popover_BgN: @--bg-card;
@popover_BorderN: @dropMenuBorder;

// LabelPasswordCheck
@passwordCheckBg: @--block;
@errorColor: #f5222d; // 失败色
@warnColor: @--warning-6; // 警告色
@successColor: #52c41a; // 成功色

// alarmout弹出框
@subtitleColor: .color_A(@pageBodyBg)[]; // 小标题颜色

/**组件类变量 end**/

/**模块类变量 start**/
//插件
@ocxBg: #000000; //插件背景色
@ocxHeaderBg: #414141; //插件工具条背景色 (插件下无法修改，目前仅对无插件有效)
@ocxBorder: @--split; //插件Border
@ocxDownloadBar:@--block;//下载插件底部弹出条的背景
/*login 登录*/
@loginForgetPwdTextN: .color_S(@pageBodyBg)[]; //登录忘记密码字体颜色（沟通使用说明文字）
@loginForgetPwdTextA: @--primary-5; // 登录忘记密码hover字体颜色
@loginIconSvg: @current; // 登录图标颜色
@loginFormInputBg:@formInputBgN;//登录页面的输入框背景色
@loginFormInputBorder:@formInputBoderN;//登录页面的输入框Border
@loginFormInputText:@formInputTextN;//登录页面输入框文字
@loginPrimaryBtnBg: @buttonActiveBgN; //登录按钮背景色
@loginPrimaryBtnBorder:@buttonActiveBorderN;//登录按钮背边框色
@loginActiveBtnBg:@--primary-5; //登录按钮选中背景色
@loginActiveBtnBorder:@--primary-5; //登录按钮选中边框色

/* 滚动条宽高 */
@scrollbarHeight: 6 / @px-unit;

/*导航*/
@navBg: @--title; //头部导航背景色
@navDivider: @--split; //头部竖直分割线颜色
@navMenuTextN: @pageTextN; // 头部导航栏未激活颜色
@navMenuTextA: @current; // 头部导航栏激活颜色
@navMenuIconSvgN: .color_N(@topTabBgN)[]; //头部箭头导航图标颜色
@navMenuIconSvgA: @--primary-5; //头部箭头导航图标hover颜色
@navMenuBorderN: @dividerColor; // 顶部导航边框色
@navMenuHeight: 38 / @px-unit; //导航整体高度
@navMenuAddScrollHeight: @navMenuHeight + @scrollbarHeight; //导航整体 + 滚动条 高度
@navMenuLineHeight: calc(@navMenuHeight - 1px); //导航条lineHeight的高度
@navMenuFontN:14px;//导航时间文字大小
/**导航下拉菜单**/
@navDropdownMenuBg: @--component-bg; //头部下拉框背景色
@navDropdownMenuTextN: @pageTextN; //头部下拉菜单未激活颜色
@navDropdownMenuTextA: @current; //头部下拉菜单激活颜色
@navDropdownMenuBgA: inherit; //头部下拉菜单激活背景色
@navDropdownMenusvgA:@current;//头部下拉菜单svg激活色
// @navDrop

/*MenuView主页菜单*/
@MenuViewBg: transparent; //主页菜单背景色
@MenuViewBgA: transparent; //主页菜单背景色
@MenuViewItemTitleTextN: @pageTextN; //主页菜单标题字体颜色
@MenuViewItemTitleTextA: .color_A(@--bg)[]; //主页菜单标题Hover字体颜色
@MenuViewItemContentTextN: .color_S(@--bg)[]; //主页菜单详情字体颜色
@MenuViewItemContentTextA: .color_A(@--bg)[]; //主页菜单详情Hover字体颜色
@MenuViewItemShadowA: @--primary-5; //主页菜单选中Shadow
@MenuViewPageSwiperSvgN: @--primary-6; //主页底部的箭头
@MenuViewPageSwiperSvgD: .color_D(@--bg)[]; // 主页底部的箭头 （禁用状态）
@MenuViewPageSwitchSvgN: .color_D(@--bg)[]; //主页菜单下的非当前页圆圈背景色
@MenuViewPageSwitchSvgA: @--primary-6; //主页菜单下的当前页的圆圈背景色
@MenuViewDivideLine: @dividerColor; //主页菜单底部分割线的颜色

/* 预览 */
@preview_Sider_Bg: @--menu-bg; //预览左右背景色
@preview_Left_Bg: @preview_Sider_Bg; //预览左侧背景色
@preview_Right_Bg: @preview_Sider_Bg; //预览右侧背景色
@ocx_Border: @--split; //预览左右两侧分割线颜色(同时关联回放右侧分割线)
@preview_ChnlTextN: .color_N(@preview_Left_Bg)[]; //预览左侧通道列表文字颜色

/*预览底部*/
@mutilPreview_Bg: @popover_BgN; //多画面预览弹出背景色
@mutilPreview_border: @popover_BorderN; //多画面预览弹出边框颜色

/** 预览-语音对讲 */
@talkAndSound_actBorder: @errorColor; // 边框激活颜色
@talkAndSound_defBorder: @buttonNormalBorderN; // 边框默认颜色
@talkAndSound_actBg: @errorColor; // 背景激活颜色
@talkAndSound_defBg: @buttonNormalBgN; // 背景默认颜色
@talkAndSound_actText: @pageTextA; // 文本激活颜色
@talkAndSound_defText: @pageTextN; // 文本默认颜色
/** 预览-紧急录影 */
@urgentRecord_actBorder: @errorColor; // 边框激活颜色
@urgentRecord_defBorder: @buttonNormalBorderN; // 边框默认颜色
@urgentRecord_actBg: @errorColor; // 背景激活颜色
@urgentRecord_defBg: @buttonNormalBgN; // 背景默认颜色
@urgentRecord_actText: @pageTextA; // 文本激活颜色
@urgentRecord_defText: @pageTextN; // 文本默认颜色
/** 预览-云台 */
@ptz_btnBorder: @buttonNormalBorderN; // 云台按钮边框颜色
@ptz_textColor: @buttonNormalTextA; // 云台按钮字体颜色
@ptz_btnBg: @buttonNormalBgN; // 鼠标滑入背景色

/** 预览-快捷预览 */
@fastPreview_btnActBg: @--primary-5; // 按钮默认色
@fastPreview_border: @--component-border; // 边框默认色
@fastPreview_hoverText: @pageTextA; // hover 文本颜色
/** 预览-鱼眼 */
@fisheye_title: @--navTitle-bg; // 鱼眼标题背景色
@fisheye_iconHover: @--primary-5; // 鱼眼按钮移入背景色
@fisheye_actColor: @current; //鱼眼按钮点击后背景色
/** 预览-报警输出*/
@alramOut_actText: @pageTextA; // 报警输出选中文体颜色
@alramOut_actBorder: @current; // 报警输出选中边框颜色

/* 预览-左侧 */
@preview_ChnlBgA: @--bg; //通道悬浮背景色(如果不变色可以使用 inherit)

/* 预览-中间 */
@preview_center_plugin_Bg: #000000; // 视频窗口背景色
@preview_center_bottom_Bg: @--toolbar-bg; //画面分割底部工具栏背景色
@preview_center_popover_ColorA: @--primary-5; //按钮弹框中选项hover时的颜色
@preview_center_separator_ColorN: @pageTextD; //按钮弹框中竖分割线颜色

/* 预览-右侧 */
@preview_right_tabTitle_Bg: @--navTitle-bg; //右侧tab标题的背景色
@preview_right_ptzStep_Bg: @--bg; //右侧云台滑动条部分的背景色
@preview_right_ptzStepMask_ColorN: @pageTextN; //右侧云台滑动条部分的背景色
@preview_right_ptzZoom_Bg: @--bg; //右侧云台矩形按钮的背景色
@preview_right_ptzZoom_border_ColorN: @--split; //右侧云台矩形按钮之间的边框的颜色
@preview_right_ptz_borderBottom_ColorN: @--split; //右侧云台矩形按钮之间的边框的颜色
@preview_right_ptzBg:@--bg;// 监视云台背景

/* AI预览面板样式 */
@aiPanel_title_bg_color: @preview_right_tabTitle_Bg; //Ai 面板标题的背景色
@aiPanel_box_color: #4c4f54; //AI面板每个事件容器的背景色(人像背景色，暂时写死)
@aiPanel_box_bottom-color: @--navTitle-bg; //AI面板每个事件容器的底部背景色
@aiPanel_box_bordere_color: transparent; //AI面板每个事件容器的边框色(不设置)
@aiPanel_info_bg_color: #393c41; //AI面板显示通道时间信息的背景色 (人像svg颜色，暂时写死）
@aiPanel_details_bottom_bg: @--menu-bg; //AI面板详情通道时间信息背景色
@aiPanel_cardBg:@--bg-card; // ai预览上报图卡片背景色
@aiPanel_bg_color: @preview_Right_Bg; //AI面板整体的背景色
@aiSetPanel_bottom_unSelectBg: @--component-bg-disable;// ai预览下方按钮未选中的背景色（与普通按钮区分开）
// @aiPanel_border_selected_color: @current;//AI面板整体的背景色
@winpreview_footer_Bg: @preview_center_bottom_Bg; // 播放小窗口底部按钮的背景色

// 回放
@playback_Right_Bg: @preview_Right_Bg; //回放右侧面板背景色

//设置界面
@setUpBodyBg: @pageBodyBg; //设置界面的主体背景色
@setUpContentBg: @setUpBodyBg; //设置界面的主体背景色
@setUpContentBorder: @dividerColor; // 设置页面的外边框
@setUpDivider: @dividerColor; // 设置页面内容分割线
@CalibrateSub1: #28DA83; //一鱼一球联动颜色
@CalibrateSub2: aqua; //一鱼二球联动颜色
@CalibrateSub3: #F2913E; //一鱼三球联动颜色

/*sideMenu二级导航*/
@SideMenuBg: @--menu-bg; //设置界面的菜单栏背景色
@SideMenuItemBg: @--bg; //二级导航选中色
@SideMenuBorder: @dividerColor; //右侧的border
@SideMenuTextN: .color_N(@SideMenuBg)[]; //设置界面的菜单栏字体颜色
@SideMenuTextA: .color_A(@SideMenuBg)[]; //设置界面的菜单栏Hover字体颜色
@sideMenuItemTextN: .color_N(@SideMenuItemBg)[];// 菜单展开后的文字颜色
@sideMenuItemTextA: .color_A(@SideMenuItemBg)[];// 菜单展开后的文字hover颜色
@SideMenuArrowSvgA: .color_A(@SideMenuBg)[]; //设置界面的子菜单展开的向上箭头
@MenuViewSubItemSvgA: .color_A(@SideMenuBg)[]; // 设置左侧展开菜单模块图标颜色
@SideMenuItemSelectSvgA: @current; // 设置左侧选中菜单项的> 图标
@SideMenuItemSelectTextA:@current; // 设置左侧选中菜单项的文字颜色
@SideMenuSubItemSelectTextA:@current; // 设置左侧有子菜单的选中菜单项的文字颜色
@SideMenuSubItemSelectSvgA:.color_A(@SideMenuBg)[]; // 设置左侧有子菜单的选中菜单项的图标颜色
/**FixButton**/
@BottomBarBg: @formInputDropDownBgN; //设置界面底部按钮栏背景色
@BottomBarBorder: @dividerColor; //上测的border

/**表格单元格状态**/
@successIcon: #20d878;
@errorIcon: #ff514b;

/**录制计划奇偶行背景色**/
@schedulePlanEvenBg: @--block; // 布撤防计划的奇数行的背景色
@schedulePlanOddBg: @--bg; // 布撤防计划的偶数行的背景色

/**spin**/
@SpinBg: @--bg;
@SpinTextBg: @--block;
@SpinTextA: .color_N(@SpinTextBg)[];

/**录制计划悬浮颜色**/
@timePlanBorderN: .color_S(@pageBodyBg)[];
@planGeneral:.subColor(@general)[@deep];// #2e784f;
@planDetect: .subColor(@detect)[@deep];// #8a8a3d;
@planAlarm: .subColor(@alarm)[@deep];// #822c31;
@planDetectalarm: .subColor(@detectalarm)[@deep];// #906c29;
@planIvs: .subColor(@ivs)[@deep]; //#3c7ea8;
@planPos: .subColor(@pos)[@deep];//#50598a;
@planSmd:.subColor(@smd)[@deep]; //#0ebbaa81;
@planFaceRecognition: .subColor(@faceRecognition)[@deep]; //#ff4bdb81;
/**模块类变量 end**/
/**@sdd-web/design**/
@textColorNo5: @pageTextN; // 正文文字颜色

/**三方库的变量需要如下用标签包裹起来**/
/**antd**/
@font-size-base: 14px;
@font-huge: 20px; //超大字体
// @text-color: @pageTextN;
// @primary-color: @current;
/**antd**/
// antd picker
@PickerHeaderBg: @--navTitle-bg; //dataPicker头部背景颜色
@PickerHeaderTextN: .color_N(@PickerHeaderBg)[]; //dataPicker头部字体颜色
@PickerBodyBg: @--component-bg; //dataPicker主体背景颜色
@PickerBodyTextN: .color_N(@--component-bg)[]; //dataPicker主体字体颜色
@PickerBodyTextA: .color_A(@--component-bg)[]; //dataPicker主体hover字体颜色
@PickerHeaderButtonN: @PickerHeaderTextN; //dataPicker头部按钮颜色
@pickerBorder: @--component-border; //日期组件的边框

/*智能方案*/
@ai_scene_bg: @--menu-bg; //智能方案预置点标题背景色

/*人脸搜索*展示搜索页面的弹窗组件*/
@ai_search_bg: @pageBodyBg; //人脸搜索数据弹窗整体图片数据背景色
@ai_DataItem_bd: @--split; //人脸搜索数据弹窗单个图片数据边框色
@ai_DataItem_bg: @aiPanel_cardBg; //人脸搜索数据弹窗单个图片数据背景色
@ai_progress_default: @progressBg; //人脸搜索数据弹窗单个图片数据进度条背景色
@ai_progress_red: #c45453; //人脸搜索数据弹窗单个图片数据红色进度条颜色
@ai_progress_orange: #d08d42; //人脸搜索数据弹窗单个图片数据黄色进度条颜色
@ai_progress_blue: #3d88bd; //人脸搜索数据弹窗单个图片数据蓝色进度条颜色
@ai_labelCheck_bg: @aiPanel_box_bottom-color; //人脸搜索数据弹窗单个图片数据开始时间与checkbox背景色
@ai_rightPanel_bg: @--menu-bg; //人脸搜索右侧窗口整体背景色
/*车辆检测变量*/
@vehicle_whiteplate_bgColor: #296331; //白名单框背景颜色
@vehicle_whiteplate_borderColor: #1f812b; //白名单框边框颜色
@vehicle_blackplate_bgColor: #940000; //黑名单框背景颜色
@vehicle_blackplate_borderColor: #e20607; //黑名单框边框颜色

@com_facesmallpics_border: @pageBorderN; //人脸小图集合组件边框
@com_detectsmallPic_bd: @pageBorderN; //人脸库检测小图组件边框
@com_detectsmallPic_select_bd: @current; //人脸库检测小图组件选中边框

@com_faceRegister_edit_bg: #000000; //人脸注册组件人脸图片编辑的背景(背景颜色 暂时写死实际还有透明度)
@files_upload_box_bg: @--menu-bg;; //人脸图片批量上传：选择图片/选择文件夹box的背景色
@files_upload_box_border_color: @--split; //人脸图片批量上传：选择图片/选择文件夹box的边框色

/*info中的version页面*/
@achor_infoColor:#ff0000;//info页面是否有新版本字体颜色
@achor_infoHoverColor:#00ff00;//info页面是否有新版本悬浮时字体颜色

/* 辅助色定义 */
@aiDisplayNumCheck:#39d67f;// 智能报表显示数组的checkbox颜色
@scroll_bar_base:.lumaColorSelect(@pageBodyBg,@scroll-bar,@scroll-bar-l)[];
@page_scroll_barH:fadeout(@scroll_bar_base, 50%);
@page_scroll_bar:fadeout(@scroll_bar_base, 75%);
@page_scroll_track:@pageTextD;

/* pos设置页面的颜色 */
@posCheckbox:{
    // 字体颜色 名称和对应的色值
    // 颜色名称(会加到css类名上): 基础背景， 勾勾颜色， hover边框颜色（后面两个颜色可以不指定，不指定则根据规范计算得到对应值）
    white: #ffffff, #A6A6A6, #737373; // 白色
    black: #121212, #737373, #A6A6A6; // 黑色
    red: #fb549c;// 红色
    orange: #f35900; // 橙色
    yellow: #fdfc00; // 黄色
    green: #1ee17f; // 绿色
    dodgerblue: #009cfd; // 蓝色
    pos: #5772ff; // 蓝紫
    purple: #c46cf1; // 紫色
};

/**录像类型颜色定义**/
@general: #39d67f;
@alarm: #ff4f4f;
@detect: #e9d760;
@detectalarm: #f1910a;/* 智能分时的人脸检测共用橙色 */
@ivs: #39adf6;
@jpg: #3ae8f8;
@pos: #788ae3;
@card: #7debf7;
@smd:#0ebba9;
@faceRecognition:#ff4bdb;
@whiteMode: #FFFF00;
/* 回放不同类型录像的颜色 */
@recordBox:{
    general:@general;
    alarm:@alarm;
    detect:@detect;
    detectalarm:@detectalarm;
    ivs:@ivs;
    jpg:@jpg;
    pos:@pos;
    card:@card;
}
/* 安全中心 */
@iconListColorN: #1890FF;  //安全状态模块圆圈背景色
@safeSecurityStatusColor:#40a9ff;
.svgFont(@fontSize:30) {
    font-size: if((@fontSize = 0), inherit, @fontSize / @px-unit);
}
/**
Icon组件增加svg 大小设置， 增加hover处理
*@normalColor 默认纯色颜色， 不需要指定为0
*@lineStart 渐变起始颜色
*@lineStop 渐变停止颜色
*/
.svgOut
    (@normalColor:@iconColorN , @lineStart:@iconLinearStartColorN , @lineStop:@iconLinearStopColorN) {
    &:not(.disabled_icons) {
        svg {
            & + {
                path:first-child {
                    fill: if((@normalColor = 0), @iconColorN, @normalColor); // 默认图标颜色
                }
            }
            // 带渐变的默认图标颜色
            & + {
                linearGradient {
                    stop:first-child {
                        stop-color: @lineStart; // 起始渐变色
                    }
                    stop:last-child {
                        stop-color: @lineStop; // 渐变停止色
                    }
                }
            }
        }
    }
}
/* 悬浮后图标样式 */
.svgHover
    (@hoverColor:@--primary-5 , @lineHoverStart:@iconLinearStartColorA , @lineHoverStop:@iconLinearStopColorA) {
    &:not(.disabled_icons):not(.noHover) {
        &.active,
        &:hover {
            svg {
                & + {
                    path:first-child {
                        fill: if(
                            (@hoverColor = 0),
                            @--primary-5,
                            @hoverColor
                        ); // 纯色图标悬浮后的默认颜色
                    }
                }
                /* 悬浮后带渐变效果颜色 */
                linearGradient stop:first-child {
                    stop-color: @lineHoverStart; // 起始渐变色
                }
                linearGradient stop:last-child {
                    stop-color: @lineHoverStop; // 渐变停止色
                }
            }
        }
    }
}
/* 图标禁用颜色 */
.svgDisabled (@disableColor:@iconColorD) {
    svg {
        & + {
            path:first-child {
                fill: @disableColor;
            }
        }
    }
    cursor: not-allowed;
    // opacity: 0.5;
}
/* 设置图标的背景色和边框， 任何一项不需要则指定 0 */
.svgBoder (@borderColor:@buttonNormalBorderN , @bgColor:@buttonNormalBgN) {
    .bg (@color) when (isColor(@color)) {
        background-color: @color;
    }
    .border (@color) when (isColor(@color)) {
        border: 1 / @px-unit solid @color;
    }
    .bg(@bgColor);
    .border(@borderColor);
}
//设置透明度 (0-1)
.opacity (@opacity) {
    @IEOpacity: @opacity * 100;
    -moz-opacity: @opacity;
    opacity: @opacity;
    filter: alpha(opacity= @IEOpacity);
}

.colorSvg (@svgId, @hoverColor:@--primary-5) {
    &:not(.disabled_icons):not(.noHover) {
        &:hover {
            .@{svgId} {
                path {
                    fill: @hoverColor !important;
                }
            }
        }
    }
}
.lumaValue(@bg){
    @redV:red(@bg);
    @greenV:green(@bg);
    @blueV:blue(@bg);
    @lumaV:(@redV * 0.2126 + @greenV * 0.7152 + @blueV * 0.0722) / 255 * 100%;
}
/* 根据背景色亮度情况 返回指定状态的颜色文字 */
.lumaColor(@bg:@--bg, @state){
    /* 深色下的白色文字 */
    @deepFont:@--font-l,@--font-r,@--placeholder,@--font-s;
    /* 亮色下的黑色文字 */
    @lightFont:@--font-l-l,@--font-r-l,@--placeholder-l,@--font-s-l;
    @result:(if((.lumaValue(@bg)[] >= 60%),extract(@lightFont,@state),extract(@deepFont,@state)));
}
/* 根据背景色， 返回使用深色 或浅色 颜色色值 */
.lumaColorSelect(@bg:@--bg, @deepColor, @lightColor){
    @result:(if((.lumaValue(@bg)[] >= 60%),@lightColor,@deepColor));
}

.subColor(@base6){
    @h:hue(@base6);
    @s:round(hsvsaturation(@base6));
    @v:round(hsvvalue(@base6));

    // @s-4:round(@s - (@s / 5)*3);
    // @v-4:round(@v + ((100%- @v) / 5)*3);

    /* hover */
    @s-5:round(@s - @s / 5);
    @v-5:round(@v + (100%- @v) / 5);

    /* click */
    @s-7:round(@s + (100% - @s) / 5);
    @v-7:round(@v - @v / 5);

    /* 8 是checkbox使用的勾勾  */
    @s-8:round(@s + ((100% - @s) / 5) * 2);
    @v-8:round(@v - (@v / 5) * 2);

    // @hover4:hsv(@h,@s-4,@v-4);
    @hover:hsv(@h,@s-5,@v-5);
    @click:hsv(@h,@s-7,@v-7);
    @deep:hsv(@h, @s-8 , @v-8);
}
.color_A(@bg:@--bg){
    .lumaColor(@bg, 1);
}

.color_N(@bg:@--bg){
    .lumaColor(@bg, 2);
}

.color_D(@bg:@--bg){
    .lumaColor(@bg, 3);
}

.color_S(@bg:@--bg){
    .lumaColor(@bg, 4);
}

.colorBox(@colorMap){
    each(@colorMap, {
            @base: extract(@value , 1);
            @base_H: if(length(@value) >= 2 ,extract(@value , 2) ,.subColor(@base)[@hover]);
            @base_C: if(length(@value) >= 3 ,extract(@value , 3) ,.subColor(@base)[@deep]);
            .sdd-checked-@{key} {
                &.ant-checkbox-wrapper:hover .ant-checkbox-inner{
                    /* 去掉通用蓝色 */  
                    border-color: @base_H !important;
                }
                .ant-checkbox-inner {
                    border-color: @base_C !important;
                    background-color: @base !important;
                    &:after{
                        /* 勾勾的颜色 */
                        border-color: @base_C;
                    }
                }
                .ant-checkbox-checked::after{
                    border-color: @base_C !important;
                }
            }
    });
}
@--primary-6:#009CFF; // 品牌色
@--primary-5:#33B0FF; // 品牌色-hover
@--primary-7:#007DCC; // 品牌色-click
// 预览视频底部工具栏背景
// 回放工具栏（播放、暂停、音量调节等）背景
// 时间刻度背景
@--toolbar-bg:#4C5054; // 工具类（视频播放器）背景

// 主界面背景色，时间轴背景色
// 回放日期选择器背景
// 回放通道列表背景
// 表格单数列背景
// 弹窗背景
// 二级菜单选中项背景
// 二级菜单展开菜单背景
@--bg:#2A2E33; 

// 下拉菜单背景
// 回放剪辑器背景
// 常规按钮背景
// checkbox背景
// 单选项背景
@--component-bg:#2a2e33; // 组件背景
@--component-border: #606366; //组件边框
// 表格偶数行背景
@--component-bg-disable:#32373C; // 组件置灰后的背景色

// 表格选中列背景
// 下拉菜单选中列背景
// 预览通道列表悬浮
@--option-bg-select: #55585D; //选中项背景

// 回放右侧功能区背景
// 预览右侧功能区背景
// 预览左侧功能区背景
@--menu-bg:#393c41;//二级菜单背景

// 预览右侧功能区标题栏背景
// 回放右侧功能区标题栏背景
// 表格标题栏背景
// 弹窗标题栏背景
// 顶部导航页签选中背景
@--navTitle-bg:#4c4f54; //标题栏背景
// 表格边框
// 设置页页签栏常规状态边框
// 设置页页签边框
// 设置页底部区域边框
// 预览右侧功能区边框
// 预览底部工具栏边框
// 预览左侧区边框
// 二级菜单边框
// 回放右侧功能区边框
// 回放日期选择器边框
// 回放通道列表边框
// 回放工具栏边框
// 回放时间轴功能区边框
// 顶部导航边框
// 顶部导航页签常规状态边框
// 分割线
// 弹窗边框
// 弹窗底部区域边框
@--split: #606366;//分割线、页面边框
// 浮窗背景
// 卡片背景
@--bg-card: #56585B;//浮窗背景、卡片背景
// 顶部导航页签常规状态
// switch背景常规状态
// 滑动条背景
@--block: #17181C;//覆盖背景

// 设置页页签栏背景
// 设置页页签常规背景
// 设置页底部区域背景
// 弹窗底部区域背景
@--title:#313439; //顶部导航背景

@--font-l:#FFFFFF; //高亮选中文字
@--font-r: #a6aab2; //主要(常规)文字 #FFFFFF,0.65
@--placeholder: #5d6263;//失效（置灰）文字
@--font-s: #7c8284; //次要（说明）文字

@--font-l-l:#000000; //亮色模式--高亮选中文字
@--font-r-l: #262626; //亮色模式--主要(常规)文字 #FFFFFF,0.85
@--placeholder-l: #BFBFBF;//失效（置灰）文字
@--font-s-l: #8C8C8C; //次要（说明）文字

//警告
@--warning-6:#ffd304;// 图标和文字的常规状态
@--warning-border: #B59914; //边框
@--warning-bg: #44422D; //背景
@--warning-5:#ffdc38; //hover
@--warning-7:#cca903; //click

//成功
@--success-6:#29d67d;
@--success-border: #299B64;
@--success-bg: #2A423C;
@--success-5:#4bd690; //hover
@--success-7:#21ab65; //click

//错误
@--error-6:	#ff4f4f;
@--error-border: #B54345;
@--error-bg: #443136;
@--error-5: #ff7272; // hover
@--error-7: #cc3f3f; // click

//页面滚动条
@scroll-bar:rgb(255, 255, 255);// 深色皮肤下页面的滚动条 normal状态透明度 25%， hover透明度 50%
@scroll-bar-l:rgb(0,0,0);// 亮色皮肤下页面的滚动条 normal状态透明度 25%， hover透明度 50%

.site-calendar-demo-card {
    // width: 290px;
    border: 1px solid @pageBorderN;
    border-radius: 2px;
    .calender-point {
        position: absolute;
        background-color: @pageTextN;
        width: 4px;
        height: 4px;
        border: 1px solid @pageTextN;
        border-radius: 100%;
        left: 46%;
        bottom: -1px;
        transform: translate(0, -50%);
    }
}
.ant-picker-calendar {
    background-color: @preview_center_bottom_Bg !important;
    .ant-picker-content {
        color: @pageTextN !important;
    }
    .ant-picker-panel {
        border-top: 1px solid @pageBorderN;
        background-color: @formInputBgN !important;
    }
    .ant-picker-cell {
        color: @pageTextD !important;
    }
    .ant-picker-cell-in-view {
        color: @pageTextN !important;
    }
    .ant-picker-content th {
        color: @pageTextN;
    }
    .ant-select-selector {
        width: 100 / @px-unit !important;
    }
    // .ant-picker-calendar-date-content {
    //   position: absolute !important;
    //   top: 12px !important;
    //   left: 6px !important;
    // }
}


._ChannelGroup_ {
    display: flex;
    .ant-space{
        gap:0 !important;
        .ant-space-item {
            .label-normal-wrapper {
                // DTS003617565 去掉自带的 line-height 属性
                line-height: 0 !important;
            }
        }
    }
    .checkbox {
        display: inline-block;
    }
    .label {
        display: inline-block;
        height: 40/@px-unit;
        line-height: 40/@px-unit;
    }
    .btn-link{
        padding-top: 10/@px-unit;
    }
    .chn_btn {
        color: @buttonNormalTextN;
        background-color: transparent;
        width: 35/@px-unit;
        height: 25/@px-unit;
        padding: 0;
        margin: 5/@px-unit;
        text-align: center;

        &.selected {
            color: @buttonNormalTextA;
            border-color: @formInputBgA;
            &:focus {
                color: @buttonNormalTextA;
                border-color: @formInputBgA;
            }
        }
        &.allbtn {
            width: 40/@px-unit !important;
            font-size: 10/@px-unit;
        }
        &[disabled] {
            opacity: .5;
            background-color: @buttonNormalBgN !important;
            color: @buttonNormalTextN !important;
            border: 1px solid @buttonNormalBorderN !important;

            &:hover,
            &:active,
            &.active{
                opacity: .5;
            }
        
        }
    }
}

._ChannelGroupModal_ {}
.ChannelGroupModal_textlabel{
    user-select: none
}


._ColorCheckGroup_ {
    display: flex;
    flex-direction: row;
    // align-items: center;
    .color_checkbox_all_box {
        height: 28px;
        line-height: 28px;
    }
    // 'normal', 'alarm', 'detect', 'ivs', 'pos', 'card'
    &alarm {
        .ant-checkbox-inner {
            background-color: @alarm !important;
        }
    }
    &general {
        .ant-checkbox-inner {
            background-color: @general !important;
        }
    }
    &detect {
        .ant-checkbox-inner {
            background-color: @detect !important;
        }
    }
    &ivs {
        .ant-checkbox-inner {
            background-color: @ivs !important;
        }
    }
    &pos {
        .ant-checkbox-inner {
            background-color: @pos !important;
        }
    }
    &card {
        .ant-checkbox-inner {
            background-color: @card !important;
        }
    }
}



._TopTitleDivider_{
    height: 22px;
    line-height: 22px;
    margin: 0 0 8px;
    font-weight: bold;
}
._FirstTitleDivider_{
    height: 22px;
    line-height: 22px;
    margin: 0 0 8px;
    font-weight: bold;
    font-size: 18px;
}
._MidTitleDivider_  {
    height: 22px;
    line-height: 22px;
    margin: 36px 0 8px;
    font-weight: bold;
}
._HighDivider_{
    height: 28px;
    margin: 0 0;
}

.cus_icons {
    .svgFont();
    .svgOut();
    .svgHover();
    &.disabled_icons {
        .svgDisabled();
    }
    &.active_icons {
        .svgOut(@current, @iconLinearStartColorA, @iconLinearStopColorA);
    }

    .colorSvg(action_red, @errorColor);
}


@keyframes arcSlideUpIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.8;
    }
}
.iconDropBtn {
    background-color:@navBg;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    // height: @navMenuLineHeight;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    
    &:hover{
        color:@navMenuTextA;
    }
    .cus_icons{
        margin: 0 5/@px-unit;
    }
    span{
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}
.iconDropMenu {
    /* -webkit-animation-name: arcSlideUpIn;
    animation-name: arcSlideUpIn; */
    min-width: 200/@px-unit !important;
    border: 1px solid @dropMenuBorder;
    pointer-events:auto !important;
    .cus_icons{
        font-size: 30/@px-unit;
        vertical-align:middle;
        margin-right: 15/@px-unit;
    }
    .ant-dropdown-menu-item{
        padding:5/@px-unit 15/@px-unit;
    }
    .iconDropitem_name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}
.iconDropitem {
    display: flex;
    align-items: center;
}
.centerItem{
    justify-content: center;
}



.DefaultImgClass{
    width: 100%;
    height: 100%;
    object-fit: fill;
}


.label-button {
    max-width: 150/@px-unit;
    min-width: 100/@px-unit;
    .ant-btn {
        padding: 4/@px-unit 4/@px-unit;
    }
}
.labelText-wrapper{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.label-date-picker {
    .ant-picker {
        width: 100%;
    }
}


.autoComplete {
    .ant-select-selector {
        &:hover {
            border-color: @current !important;
        }
    }
}

.autoComplete-error {
    .ant-select-selector {
        border: 1px solid @errorColor;
    }
}

.error-text {
    color: @errorColor;
}


.pageLine {
    display: flex;
    float: left;
    margin-top: 10 / @px-unit;
    width: 100%;
    min-width: 600 / @px-unit;
    justify-content: space-between;
    align-items: center;
    
    .pageLineLeft {
        .ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,
        .ant-pagination-simple .ant-pagination-next .ant-pagination-item-link{
            height: 100%;
        }
        button,
        & span.anticon {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .ant-btn-default{
            width: 46 / @px-unit;
            height: 32 / @px-unit;
        }
        display: flex;
        .ant-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            .ant-pagination-prev,
            .ant-pagination-next,
            .ant-pagination-disabled {
                padding: 4 / @px-unit 4 / @px-unit;
                border: 1 / @px-unit solid @buttonNormalBorderD;
                width: 32 / @px-unit;
                height: 32 / @px-unit;
                margin: 0 10 / @px-unit;
            }
            .ant-pagination-disabled {
                border: 1 / @px-unit solid @buttonNormalBorderD;
                background-color: @buttonNormalBgD;
                svg {
                    & + {
                        path:first-child {
                            fill: @buttonNormalBorderD; // 纯色图标悬浮后的默认颜色
                        }
                    }
                }
            }
        }
        .anticon-left,
        .ant-pagination-simple-pager,
        .anticon-right {
            color: @pageTextA;
        }
        .ant-pagination-simple-pager input {
            background-color: @pageBodyBg;
            border-color: @pageBorderN;
        }
        .ant-pagination-simple-pager {
            height: 32 / @px-unit;
        }
    }
    .pageLineRight {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}



.popover_list {
    display: flex;
    &_item {
        cursor: pointer;
        &:hover {
            color: @preview_center_popover_ColorA;
        }
        &_active {
            color: @preview_center_popover_ColorA;
        }
    }
    &_separator {
        margin: 0 5 / @px-unit;
        color: @preview_center_separator_ColorN;
    }
}
.popover_icon {
    cursor: pointer;
    &:hover {
        .svgHover(@current);
    }
}



.similarity-progress{
    display: flex;
    height: 100%;
    align-items: center;
    .temp-picData-progress{
        height: 18/@px-unit;
        width: 100%;
        padding: 0/@px-unit 15/@px-unit;
        display: flex;
        .temp-progress-bar-swrap{
            width: 67%;
            display: flex;
            align-items: center;
            padding: 0/@px-unit 5/@px-unit 0/@px-unit 0/@px-unit;
            .temp-progress-bar{
                background-color: @progressBg;
                height: 8/@px-unit;
                width: 100%;
                border-radius: 5/@px-unit;
            }
        }

        .temp-progress-similar{
            display: flex;
            align-items: center;
            width: 33%;
        }
    }
    /* 人脸比对那的 */
    .picData-progress {
        // margin: 0 8/@px-unit 7/@px-unit 5/@px-unit;
        display: flex;
        width: 100%;
        align-items: center;
        background: @ai_progress_default;
        height: 14/@px-unit;
        position: relative;
        color: @pageTextA;

        .progress-item {
            display: inline-block;
            height: 100%;
        }

        .progress-red {
            background: @ai_progress_red;
        }

        .progress-orange {
            background: @ai_progress_orange;
        }

        .progress-blue {
            background: @ai_progress_blue;
        }

        .progress-label {
            position: absolute;
            right: 0;
            line-height: 14/@px-unit;
            top: 0;
        }
    }
}



.subtitle {
    margin: 0;
    font-weight: bold;
    color: @subtitleColor;
    width: 100%;
}
.native-tooltip{
    display: inline;
}


.virtual-table {
    .ant-table-header {
        th{
            border-right: 1/@px-unit solid;
        }
    }
    .ant-empty-normal {
        height: 180/@px-unit;
        margin: 0 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .ant-table-tbody { 
        height: 180/@px-unit;
    }
    .ZD-showZebraPattern-even {
        background-color: @tableOddBgN;
    }
    .ZD-showZebraPattern-odd {
        background-color: @tableEvenBgN;
    }
    .ZD-selected-row {
        background-color: @tableBgA;
    }
    .virtual-table-cell {
        display: flex;
        align-items: center;
        justify-content: center;
        color: @tableTextN;
    }
    .center {
        text-align: center;
    }
}



.labelSlider-float-center{
    width: 50/@px-unit;
}
._PtzZoom_{
    background-color: @preview_right_ptzStep_Bg;
    width: 180 / @px-unit;
    .labelSlider{
        padding: 10px 0 ;
    }
    .labelSlider-float{
        width: 2rem;
        cursor: pointer;
        border-radius: 15px;
        background: @--font-r;
        width: 1.4rem;
        height: 1.4rem;
    }
    .labelSlider-float:hover{
        background-color: @--primary-6;
    }
    .labelSlider-float-right {
        float: right;
        margin-right: 15px;
    }
    .labelSlider-float-left{
        float: left;
        margin-left: 15px;
    }
    .labelSlider-float-center{
        display: inline-block;
        width: 6.571429rem;
        text-align: center;
    }
    .cus_icons:not(.disabled_icons) svg path:first-child{
        fill:@--font-l;
    }
    .cus_icons:not(.disabled_icons):not(.noHover).active svg path:first-child, .cus_icons:not(.disabled_icons):not(.noHover):hover svg path:first-child{
        fill:@--font-l;
    }
}

._PtzZoom_ ._PtzZoom_Icon{
    font-size: 1.4rem;
}



._Update_ {
    .remote_upgrade {
        width: 1000 / @px-unit;
        .upgrade_curVersion_tip {
            display: flex;
        }
        .remote_upgrade_info {
            height: 260 / @px-unit;
            margin: 20 / @px-unit 0;
            .update_info {
                display: flex;
                margin-bottom: 20 / @px-unit;
                .update_info_btns {
                    display: flex;
                    .update_info_btn {
                        margin-right: 10 / @px-unit;
                    }
                }
            }
        }
    }
}


._PtzStep_{
    height: 75 / @px-unit;
    .ptzsteptop{
        padding-top:5 / @px-unit ;
        padding-left: 10/@px-unit;
        .label-div-Container{
            margin-top: 15/@px-unit;
        }
    }
    .labelSlider-center{
        width: 170 / @px-unit;
        height: 70 / @px-unit;
    }
    .ant-slider-tooltip{
        left: 100/@px-unit !important;
        top: -30 / @px-unit !important;
        .ant-tooltip-content{
            line-height: 9px;
        }
        .ant-tooltip-inner{
            background-image: url('/static/media/sliderTip.png');
            height: 20px;
            width: 20px;
            background-size: 22px 22px;
            bottom: 4px;
            color: @--font-l !important;
            background-color: @--component-bg;
            background-repeat: no-repeat;
        }
        .ant-tooltip-arrow{
            display: none;
        }
    }
}

@close :40/@px-unit;
.home_settingBtn {
    width: 180 / @px-unit;
    border-radius:15px;
    background-color:#606468 !important;
    height: calc(@navMenuHeight - 24px);
    > span:first-child{
        width: 100/@px-unit;
    }
}
.home_settingBtn:hover {
    background-color:@--option-bg-select !important;
    .cus_icons{
        .svgOut(#fff) !important;
    }
    color: #fff !important;
}
.desktop_right_icon{
    border-radius:21px;
    background-color:#606468 !important;
    height: calc(@navMenuHeight - 20px);
    width: calc(@navMenuHeight - 20px);
    margin-left:15px;
    text-align: center;
    line-height: calc(@navMenuHeight - 7px);
    .live{
        margin-top: -3px;
        margin-left: 1px;
    }
}
.desktop_right_icon:hover{
    background-color:@--option-bg-select !important;
    .task_userBtn{
        background-color:@--option-bg-select !important;
    }
    .cus_icons{
        .svgOut(#fff) !important;
    }
}
.task_userBtn{
    border-radius:21px;
    background-color:#606468 !important;
    height: calc(@navMenuHeight - 27px);
    min-width: calc(@navMenuHeight - 20px);
    width: calc(4.28571429rem - 20px);
    padding: 0 5px;
    .cus_icons{
        margin:0 0;
        padding: 0 0;
    }
}
.navcenter{
    height: @close;
    background-color: #1B1E20;
    display: flex;
    width: 100%;
    justify-content:space-between;
    line-height: @close;
    .navcenterleft{
        padding-left: 15/@px-unit;
        font-size: 16/@px-unit;
        color: @pageTextA;
    }
    .navcenterright{
        padding-right: 15/@px-unit;
    }
}
._SideView_{
    height: calc(~"100% - @{close}");
}

/* 首页覆盖样式 */
.login-container {
    .login-backgroundImage{
        background-image:url();
        background-color:#272b2f;
    }
    .login-box {
        .login-logo{
            margin:0 auto;
            margin-bottom: 25/@px-unit;
            width: 100%;
            height: 80 / @px-unit;
        }
        top: 45%;
        .Login-Form{
            .ant-row, .NamePwdInput .ant-row{
                height: 70/@px-unit;
                line-height:70/@px-unit;
            }
            width: 420/@px-unit;
            height: 310/@px-unit;
            right: auto;
            left: 0px;
            top: 110/@px-unit;
            margin: 0/@px-unit;
            background: #2a2e33;
            border: 1px solid #4b515c;
            .ant-row .ant-col, .NamePwdInput .ant-row .ant-col{
                padding-bottom:16/@px-unit !important;
            }
            .login-forget, .NamePwdInput .login-forget {
                float: none;
                margin-left: 200/@px-unit;;
            }
            .login_btnDiv{
                width: 330 / @px-unit;
                display: inline-flex;
                 .label-normal-wrapper {
                     width: 150/@px-unit !important;
                 }
            }
            .login-button{
                font-size: 20 / @px-unit; //按钮文字大小
                width: 100%;
                height: 40 / @px-unit;
            }
        }
    }
}
._MenuView_.bgImage{
    background-image:none;
    background-color: #272b2f;
    .MenuView-Carousel{
        width: 100%;
    }
    .MenuView-Carousel-Page{
        padding: 1vh 1%;
    }
    .ant-card-grid{
        width:31% !important;
        height: 29%;
        margin: 1%;
        background-color: #2d3135;
        border-radius: 15px;
    }
}
._MenuView_  {
    .pageContain {
        top: 85vh;
    }
    .MenuView-Carousel{
        margin-left: 0%;
    }
    .ViewItem-CardItem-Icon{
        opacity: 0.6;
    }
    .ant-card-grid-hoverable:hover {
        .ViewItem-CardItem-Icon{
            opacity: 1;
        }
    }

}

.ant-btn:not(.btn-link):not(.ant-btn-link) {
    &:focus {
        background-color: @buttonNormalBgN;
        color: @buttonNormalTextN;
        border-color: @buttonNormalBorderN;

        &.active,
        &:active {
            color: @buttonActiveTextN;
            background-color: @buttonActiveBgN;
            border-color: @buttonActiveBorderN;
        }
    }

    &:hover,
    &:hover:not(:focus) {
        color: @buttonActiveTextN !important;
        background-color: @buttonActiveBgA !important;
        border-color: @buttonActiveBorderN !important;
    }

    &:hover,
    &:hover:not(:focus) {
        color: @buttonNormalTextA;
        background-color: @buttonNormalBgN;
        border-color: @buttonActiveBorderN !important;
    }
    &[disabled],
    &[disabled]:hover,
    &[disabled]:focus,
    &[disabled]:active {
        background-color: @buttonNormalBgD !important;
        color: @buttonNormalTextD !important; 
        border-color: @buttonNormalBorderD !important;
    }
    &.ant-btn-primary,
    &.ant-btn-test {
        background-color: @buttonNormalBgN;
        color: @buttonNormalTextN;
        border: 1px solid @buttonNormalBorderN;

        &:focus {
            background-color: @buttonNormalBgN;
            color: @buttonNormalTextN;
            border-color: @buttonNormalBorderN;

            &.active,
            &:active {
                color: @buttonActiveTextN;
                background-color: @buttonActiveBgN;
                border-color: @buttonActiveBorderN;
            }
        }

        &:hover,
        &:hover:not(:focus) {
            color: @buttonActiveTextN !important;
            background-color: @buttonActiveBgA !important;
            border-color: @buttonActiveBorderN !important;
        }

        &[disabled],
        &[disabled]:hover,
        &[disabled]:focus,
        &[disabled]:active {
            background-color: @buttonNormalBgD !important;
            color: @buttonNormalTextD !important; 
            border-color: @buttonNormalBorderD !important;
        }
    }
}
.button-group{
    .ant-btn-primary {
        background-color: @buttonActiveBgN !important;
        color: @buttonActiveTextN !important;
        border-color: @buttonActiveBorderN !important;
    }
}
._ChannelGroup_{
    .ant-btn:not(.btn-link):not(.ant-btn-link):hover, .ant-btn:not(.btn-link):not(.ant-btn-link):hover:not(:focus){
        color: @buttonNormalTextA !important;
        border-color: @formInputBgA !important;
        background-color: @buttonNormalBgN !important;
    }
    .selected{
        color: @buttonNormalTextA !important;
        border-color: @formInputBgA !important;
        background-color: @buttonNormalBgN !important;
    }
        
}
._PreviewIndexView_ {
    ._ChannelGroup_ div:nth-child(2) .chn_btn {
        margin-left: 10/@px-unit !important;
    }
    .selected{
        color: @--font-l !important;
    }
}
._AlarmOut_right_header_title {
    color: @--font-l !important;
}
.header-tabMenu {
    line-height: 50 / @px-unit;

    .ant-tabs {
        &.ant-tabs {
            & > .ant-tabs-nav {
                .ant-tabs-nav-list {
                    .ant-tabs-tab {
                        
                        border-left:1px solid #abacae!important;
                        border-right:1px solid #abacae!important;
                        &.ant-tabs-tab-active {
                            border-left:1px solid #abacae!important;
                            border-right:1px solid #abacae!important;
                        }
                    }
                }
            }
        }
    }
    .ant-tabs-tab{
        .ant-image-img{
            width: 30/@px-unit !important;
        }
        .tab-item{
            .tab-text{
                font-size: 18 / @px-unit;
            }
        }
    }
}
.ant-checkbox-checked {
    .ant-checkbox-inner {
        border:none;
    }
}
.ant-checkbox-disabled {
    .ant-checkbox-inner {
        border-color: @formCheckboxBorderD !important;
        background-color:@formInputBgN !important;
    }

    .ant-checkbox-inner::after {
        border-color: @formCheckboxBorderD !important;
    }
}
._PtzZoom_ {
    margin: 2 / @px-unit 0 0 7.5 / @px-unit;
}
._PtzCtrl_header_el{
    background-image: url('/static/media/ptz-background.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
._ColorCheckGroup_ {
    .ant-checkbox-checked .ant-checkbox-inner{
        border:none;
    }
}
._OpenAll_start:hover,
&._TalkAndSound_start:hover,
&._TalkAndSound_box:hover,
&._UrgentRecord_box:hover,
&._LocalPlay_box:hover
{
    background-color: @talkAndSound_actBg;
    border-right: 1px solid @talkAndSound_defBorder;
    color: .color_A(@talkAndSound_actBg)[];
}
.header-tabMenu .ant-tabs-tab .tab-item .tabIcon{
    font-size: 30/@px-unit;
}
.ant-modal-confirm-info .ant-modal-confirm-body .anticon-info-circle{
    color: @current;
}
.ant-pagination-next,
.ant-pagination-prev {
    &:hover {
        svg {
            fill: @iconColorA !important;
        }
    }
}
.pageLineLeft{
    .ant-btn:not(.btn-link):not(.ant-btn-link):hover, .ant-btn:not(.btn-link):not(.ant-btn-link):hover:not(:focus)
{
    svg {
        fill: @iconColorA !important;
    }
    background-color:@--component-bg !important;
    border-color: @pageBorderN !important;;
}
}
._PtzCtrl_header_el .anticon {
    font-size: 49.8 / @px-unit !important;
}


@pdEyeIconA:#fff;
@loginPrimaryBtnBg:#32373c;
@loginPrimaryBtnBorder:#666b74;
@loginActiveBtnBg:@--primary-6;
@loginActiveBtnBorder:@--primary-6;
@formInputDropDownBgA:@formInputDropDownBgSel;
@formMuliInputBgA:@formInputBgN;
@loginForgetPwdTextA:@--font-l;
@MenuViewBgA: @--primary-6; //主页菜单背景色
@MenuViewItemShadowA: @--primary-6;
@MenuViewItemTitleTextN: #fef29d; //主页菜单标题字体颜色
@navMenuHeight: 60 / @px-unit; //导航整体高度
@navMenuFontN:17px;
@navDropdownMenuTextA: @--font-l; //头部下拉菜单激活颜色
@navDropdownMenuBgA: @--option-bg-select; //头部下拉菜单激活背景色
@navDropdownMenusvgA:@--font-l;//头部下拉菜单svg激活色
@SideMenuItemSelectSvgA:@sideMenuItemTextA;// 设置左侧选中菜单项的> 图标
@SideMenuItemSelectTextA:@sideMenuItemTextA; // 设置左侧选中菜单项的文字颜色
@buttonActiveBgA:@--primary-6;
@buttonActiveBorderN:@--primary-6;
@topTabBgA: @--primary-6; //顶部导航选中背景色
@tabBgN: @--menu-bg;
@tableHeadTextN:#fef29d;//标题文字色(默认同标准文字色)
@formCheckboxBorderA:@--font-l;//Checkbox选中后的颜色
@formCheckboxBgA:@--primary-6;
@tableTextA:@--font-l;//表格选中时的文字颜色(默认同悬浮文字颜色)
@tableBgA: #52555a; //选中行背景色
@navMenuIconSvgN: @--font-l; //头部箭头导航图标颜色
@SideMenuSubItemSelectTextA:@--primary-6; // 设置左侧有子菜单的选中菜单项的文字颜色
@SideMenuSubItemSelectSvgA:@--primary-6; // 设置左侧有子菜单的选中菜单项的图标颜色
@streamTopTabBgA: @--menu-bg; //编码配置顶部导航选中背景色
@talkAndSound_actBg:@--primary-6;
@talkAndSound_actBg:@--primary-6;
@iconListColorN: #4E922D;  //安全状态模块圆圈背景色
@safeSecurityStatusColor:@--primary-6;
@formInputBorderA:@--primary-6;
@formCheckboxInnerA:@--font-l;//Checkbox选中后的颜色
@navcenterColor:#1B1E20;
@--primary-6:#C40222; // 品牌色
@--primary-5:#D12C47; // 品牌色-hover
@--primary-7:#9E001A; // 品牌色-click
// 预览视频底部工具栏背景
// 回放工具栏（播放、暂停、音量调节等）背景
// 时间刻度背景
@--toolbar-bg:#4C5054; // 工具类（视频播放器）背景

// 主界面背景色，时间轴背景色
// 回放日期选择器背景
// 回放通道列表背景
// 表格单数列背景
// 弹窗背景
// 二级菜单选中项背景
// 二级菜单展开菜单背景
@--bg:#2A2E33; 

// 下拉菜单背景
// 回放剪辑器背景
// 常规按钮背景
// checkbox背景
// 单选项背景
@--component-bg:#2a2e33; // 组件背景
@--component-border: #4b515c; //组件边框
// 表格偶数行背景
@--component-bg-disable:#32373C; // 组件置灰后的背景色

// 表格选中列背景
// 下拉菜单选中列背景
// 预览通道列表悬浮
@--option-bg-select:#C40222; //选中项背景
// 回放右侧功能区背景
// 预览右侧功能区背景
// 预览左侧功能区背景
@--menu-bg:#393c41;//二级菜单背景

// 预览右侧功能区标题栏背景
// 回放右侧功能区标题栏背景
// 表格标题栏背景
// 弹窗标题栏背景
// 顶部导航页签选中背景
@--navTitle-bg:#4c4f54; //标题栏背景
// 表格边框
// 设置页页签栏常规状态边框
// 设置页页签边框
// 设置页底部区域边框
// 预览右侧功能区边框
// 预览底部工具栏边框
// 预览左侧区边框
// 二级菜单边框
// 回放右侧功能区边框
// 回放日期选择器边框
// 回放通道列表边框
// 回放工具栏边框
// 回放时间轴功能区边框
// 顶部导航边框
// 顶部导航页签常规状态边框
// 分割线
// 弹窗边框
// 弹窗底部区域边框
@--split:#5c5d62;//分割线、页面边框
// 浮窗背景
// 卡片背景
@--bg-card:#424347;//浮窗背景、卡片背景
// 顶部导航页签常规状态
// switch背景常规状态
// 滑动条背景
@--block:#17181C;//覆盖背景

// 设置页页签栏背景
// 设置页页签常规背景
// 设置页底部区域背景
// 弹窗底部区域背景
@--title:#3c4348; //顶部导航背景

@--font-l:#FFFFFF; //高亮选中文字
@--font-r:#a6aab2; //主要(常规)文字 #FFFFFF,0.65
@--placeholder:#5d6263;//失效（置灰）文字
@--font-s:#7c8284; //次要（说明）文字

@--font-l-l:#000000; //亮色模式--高亮选中文字
@--font-r-l:#262626; //亮色模式--主要(常规)文字 #FFFFFF,0.85
@--placeholder-l:#BFBFBF;//失效（置灰）文字
@--font-s-l:#8C8C8C; //次要（说明）文字

//警告
@--warning-6:#ffd304;// 图标和文字的常规状态
@--warning-border:#B59914; //边框
@--warning-bg:#44422D; //背景
@--warning-5:#ffdc38; //hover
@--warning-7:#cca903; //click

//成功
@--success-6:#29d67d;
@--success-border:#299B64;
@--success-bg:#2A423C;
@--success-5:#4bd690;
@--success-7:#21ab65;

//错误
@--error-6:#ff4f4f;
@--error-border:#B54345;
@--error-bg:#443136; //0.12
@--error-5:#ff7272;
@--error-7:#cc3f3f;
