push
This commit is contained in:
53
nervui-mobile-application/src/theme/global.scss
Normal file
53
nervui-mobile-application/src/theme/global.scss
Normal file
@@ -0,0 +1,53 @@
|
||||
@font-face {
|
||||
font-family: 'QuartzMS';
|
||||
src: url('/asset/font/QuartzMS.TTF') format('truetype');
|
||||
}
|
||||
|
||||
//侧边导航
|
||||
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
||||
background: #e5f7f9 !important;
|
||||
}
|
||||
|
||||
.ant-menu.ant-menu-dark .ant-menu-item-selected {
|
||||
color: #fff;
|
||||
background: rgba(45, 120, 238, 1) !important;
|
||||
}
|
||||
|
||||
.ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover {
|
||||
background-color: rgba(45, 120, 238, 1) !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ant-menu-inline .ant-menu-item,
|
||||
.ant-menu-inline .ant-menu-submenu-title {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.ns-basic-table .ant-btn:hover {
|
||||
border-color: transparent !important;
|
||||
}
|
||||
|
||||
.ns-basic-table .ant-btn-link:hover {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
// .ns-detail {
|
||||
// padding: 0px 24px 10px 24px !important;
|
||||
// }
|
||||
|
||||
.ant-tabs-nav-wrap {
|
||||
padding: 0 24px; // 列表tab边距
|
||||
}
|
||||
|
||||
.ant-tabs-nav {
|
||||
margin: 0 !important; // 列表tab下边距
|
||||
}
|
||||
|
||||
.ant-input-number {
|
||||
width: 100%; //inputNumber组件宽度
|
||||
}
|
||||
|
||||
// 富文本组件层级
|
||||
.ns-richText-ZIndex {
|
||||
z-index: 1;
|
||||
}
|
2
nervui-mobile-application/src/theme/theme.scss
Normal file
2
nervui-mobile-application/src/theme/theme.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "variable";
|
||||
@import "global";
|
0
nervui-mobile-application/src/theme/variable.css
Normal file
0
nervui-mobile-application/src/theme/variable.css
Normal file
42
nervui-mobile-application/src/theme/variable.less
Normal file
42
nervui-mobile-application/src/theme/variable.less
Normal file
@@ -0,0 +1,42 @@
|
||||
// @import "./global-antd.less";
|
||||
|
||||
@primary-color: rgba(45, 120, 238, 1); // 全局主色
|
||||
// @link-color: #43BB79; // 链接色
|
||||
@layout-header-hover: rgba(45, 120, 238, .7); //hover
|
||||
// @text-color: #323232; // 主文本色
|
||||
|
||||
|
||||
@layout-header-background: rgba(45, 120, 238, 1); // 头部背景色
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//btn
|
||||
// @btn-height-base: 30px;
|
||||
// @btn-height-lg: 30px;
|
||||
// @btn-disable-bg: #dfe3e9; //禁用按钮background
|
||||
// @btn-disable-border: 1px solid #ced0da;
|
||||
|
||||
// @btn-link-hover-bg: #37ABC4;
|
||||
// @btn-text-hover-bg: #46ebdb;
|
||||
|
||||
|
||||
// //input
|
||||
// @input-height-base: 30px;
|
||||
|
||||
|
||||
// //form
|
||||
// @label-color: #52616f; //form-lable颜色
|
||||
|
||||
|
||||
// @form-item-margin-bottom: 16px;
|
||||
|
||||
// //menu
|
||||
|
||||
|
||||
//spin
|
||||
|
||||
|
||||
// @border-width-base: 1px;
|
||||
// @border-style-base: solid;
|
65
nervui-mobile-application/src/theme/variable.scss
Normal file
65
nervui-mobile-application/src/theme/variable.scss
Normal file
@@ -0,0 +1,65 @@
|
||||
// $primary-color: #37ABC4; // 全局主色
|
||||
// $link-color: #37ABC4; // 链接色
|
||||
// $success-color: #17BE6B; // 成功色
|
||||
// $warning-color: #FF9901; // 警告色
|
||||
// $error-color: #FF1744; // 错误色
|
||||
// $font-size-base: 14px; // 主字号
|
||||
// $font-size-lg:14px;
|
||||
// $font-size-lg:14px;
|
||||
// $heading-font-size-lg:16px;//标题字号
|
||||
// $heading-font-weight:600;//标题加粗
|
||||
// $font-line-height:22px;//文字行高
|
||||
// $heading-font-line-height:24px;//标题文字行高
|
||||
// $heading-color: rgba(0, 0, 0, 0.85); // 标题色
|
||||
// $text-color: #323232; // 主文本色
|
||||
// $text-color-secondary: rgba(0, 0, 0, 0.45); // 次文本色
|
||||
// $disabled-color: #BFBFBF; // 失效色
|
||||
// $border-radius-base: 2px; // 组件/浮层圆角
|
||||
// $border-color-base: #dcdfe2; // 边框色
|
||||
// $box-shadow-base: 0 2px 8px rgba(0, 0, 0, 0.15); // 浮层阴影
|
||||
// $layout-body-background: #f0f2f5; //框架背景色
|
||||
// $layout-header-background:#37ABC4; // 头部背景色
|
||||
|
||||
// $layout-sider-width:208px; //侧边导航宽度
|
||||
// $layout-sider-arrow-color:#808d96;//侧边导航箭头颜色
|
||||
// $border-style-base:solid;
|
||||
// $layout-header-height:48px;//头部高度
|
||||
// $line-height-base:22px;
|
||||
|
||||
// //btn
|
||||
// $btn-height-base:30px;
|
||||
// $btn-height-lg: 30px;
|
||||
// $btn-disable-color: #9b9b9b;//禁用按钮color
|
||||
// $btn-disable-bg: #dfe3e9;//禁用按钮background
|
||||
// $btn-disable-border: 1px solid #ced0da;
|
||||
// $btn-border-radius-base: $border-radius-base;//圆角边框
|
||||
// $btn-border-width: 1px;
|
||||
// $btn-border-style: $border-style-base;
|
||||
// $btn-link-hover-bg: #37ABC4;
|
||||
// $btn-text-hover-bg: #46ebdb;
|
||||
// $btn-font-size-lg: $font-size-lg;
|
||||
|
||||
// //input
|
||||
// $input-height-base: 30px;
|
||||
// $input-hover-focus-border-color:#a5a5b5;
|
||||
// // @input-hover-border-color: rgba(0,0,0,.85);//鼠标滑过input边框
|
||||
|
||||
// //form
|
||||
// $label-color:#52616f;
|
||||
// $form-vertical-label-padding: 0;
|
||||
// $form-vertical-label-margin: 0,0,16,0px;
|
||||
// $form-item-label-height:$input-height-base;
|
||||
// $form-item-margin-bottom: 16px;
|
||||
|
||||
// //menu
|
||||
// $menu-item-height: 48px;
|
||||
// $menu-item-active-bg: none;
|
||||
// $menu-item-boundary-margin: 0px;
|
||||
|
||||
// //spin
|
||||
// $spin-dot-size-sm: 14px;
|
||||
// $spin-dot-size: 20px;
|
||||
// $spin-dot-size-lg: 32px;
|
||||
|
||||
// $border-width-base: 1px;
|
||||
// $border-style-base: solid;
|
Reference in New Issue
Block a user