File: /var/www/dk/wp-content/themes/food/tw-config/food/tailwind.css
@tailwind base;
@tailwind components;
@tailwind utilities;
html {
scroll-behavior: smooth;
font-family: Source Han Sans CN;
}
body {
background-color: #FFFFFF;
}
::-webkit-scrollbar {
width: 0.00rem;
height: 0.00rem;
}
.scroll-hidden::-webkit-scrollbar {
display: none;
}
/*外层轨道。可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果*/
::-webkit-scrollbar-track {
width: 0.00rem;
background-color:#F5F5F5;
-webkit-border-radius: 0.04rem;
-moz-border-radius: 0.04rem;
border-radius: 0.04rem;
}
/*滚动条的设置*/
::-webkit-scrollbar-thumb {
background-color:#E6E6E6;
background-clip:padding-box;
min-height: 0rem;
-webkit-border-radius: 0.04rem;
-moz-border-radius: 0.04rem;
border-radius: 0.04rem;
}
/*滚动条移上去的背景*/
::-webkit-scrollbar-thumb:hover {
background-color:#333333;
}
.overflow-ellipsis-1 {
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.overflow-ellipsis-2 {
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.more-line:nth-child(even)::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 0.02rem;
height: 86%;
background: #E6E6E6;
}
.more-line::after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
height: 0.02rem;
width: 86%;
background: #E6E6E6;
}
.ant-comment-inner-padding-top-0 .ant-comment-inner {
padding-top: 0;
}
.yq-ant-input {
width: 1.2rem;
height: 0.4rem;
border-width: 0.01rem;
border-radius: 0.04rem;
box-sizing: content-box;
}
.yq-ant-input .ant-input-number-input-wrap{
height: 0.4rem;
font-size: 0;
}
.yq-ant-input .ant-input-number-input {
height: 0.4rem;
padding: 0 0.1rem;
font-size: 0.2rem;
line-height: 0.2rem;
border-radius: 0.04rem;
}
.ant-checkbox-checked .ant-checkbox-inner,
.ant-checkbox-indeterminate .ant-checkbox-inner {
background-color: #0045C1;
border-color: #0045C1;
}
.fade-enter {
opacity:0;
}
.fade-leave{
opacity:1;
}
.fade-enter-active{
transition:opacity .5s;
}
.fade-leave-active{
opacity:0;
transition:opacity .5s;
}
img {
object-fit: cover;
}
#shop-description div[dir="auto"] {
display: flex;
}
.ant-message-info, .ant-message-error, .ant-message-success, .ant-message-loading {
display: flex;
align-items: center;
}