配餐项目前端文件
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.

95 lines
1.7 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;
}
2 years ago
}
2 years ago
.dropUpload {
position: relative;
padding: 36px 0;
text-align: center;
font-size: 24px;
color: rgba(0, 0, 0, 0.35);
border: 1px dashed #e8e8e8;
border-radius: 4px;
background-color: #fafafa;
cursor: pointer;
}
.upload-area {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 160px;
border: 1px dashed #e8e8e8;
border-radius: 10px;
input {
width: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
z-index: 2;
cursor: pointer;
}
}
2 years ago
.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
}