配餐项目前端文件
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
2.3 KiB

2 years ago
// Custom Theming for NG-ZORRO
// For more information: https://ng.ant.design/docs/customize-theme/en
@import "../../../node_modules/ng-zorro-antd/ng-zorro-antd.less";
// Override less variables to here
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
// @primary-color: #1890ff;
/* You can add global styles to this file, and also import other style files */
@tailwind utilities;
html,
body {
height: 100vh;
}
ul,
li {
list-style: none;
margin: 0;
padding: 0;
}
.upload-btn {
position: relative;
input {
display: block;
height: 100%;
background-color: red;
position: absolute;
inset: 0;
opacity: 0;
font-size: 0;
cursor: pointer;
}
}
.fixed-footter {
box-shadow: 0 0 10px -2px rgba(0, 0, 0, .25)
}
.scroll-card-body {
height: 100%;
&>.ant-card-body {
overflow: auto;
height: calc(100% - 60px);
padding: 0
}
&>.ant-card-head {
position: relative;
z-index: 10;
}
2 years ago
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
background-color: rgba(240, 240, 240, 1);
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5);
border-radius: 10px;
background-color: rgba(240, 240, 240, 0.5);
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
border-radius: 10px;
box-shadow: inset 0 0 0px rgba(240, 240, 240, 0.5);
background-color: rgba(0, 0, 0, 0.171);
}
@media print {
#root {
display: none;
}
@page {
size: auto;
width: 100vw;
margin: 5mm auto !important;
}
body {
background-color: transparent !important;
}
* {
color: #000 !important;
}
}
.print-table {
width: 100%;
margin-bottom: 12px;
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #e8e8e8;
td,
th {
padding: 6px 12px;
border: 1px solid #000;
font-weight: normal;
}
2 years ago
}
.analysis-drawer {
.ant-drawer-header-title {
position: absolute;
right: 0;
top: 24px;
}
.ant-drawer-body {
padding-top: 0;
}
2 years ago
}