app.less 1.34 KB
@tailwind base;
@tailwind components;
@tailwind utilities;

/* 修复 NutUI 图标字体样式 */
.nut-icon {
  font-style: normal !important;
  font-weight: normal !important;
}

/* 修复所有可能的图标字体 */
[class*="nut-icon"] {
  font-style: normal !important;
  font-weight: normal !important;
}

.nut-textarea {
  padding: 20rpx 30rpx !important;
}

button {
    margin: 0;
    padding: 0;
    background-color: inherit;
    position: static;
}

button:after {
    content: none;
}
button::after {
    border: none;
}

.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 24rpx 32rpx;
    border-top: 1rpx solid #f3f4f6;
    z-index: 100;
}

.input-placeholder, .textarea-placeholder {
    color: #9ca3af;
}

/* 覆盖 NutUI Tabs 组件的 width: 0 样式 */
.nut-tabs.horizontal .nut-sticky__box > .nut-tabs__titles .nut-tabs__titles-item,
.nut-tabs.horizontal > .nut-tabs__titles .nut-tabs__titles-item {
    width: auto !important;
}

.bg-orange-400 {
    background-color: #fb923c;
}

.no-more-text {
  font-size: 24rpx;
  color: #999;
  position: relative;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60rpx;
    height: 1rpx;
    background: #ddd;
  }

  &::before {
    left: -80rpx;
  }

  &::after {
    right: -80rpx;
  }
}