App.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* App.css */
  2. page{
  3. --main: #DF230F;
  4. --minor: #1890FF;
  5. color: #333;
  6. background: #f5f5f5;
  7. -webkit-user-select: text;
  8. }
  9. button {background: none;border-radius: 0;margin: 0;padding: 0;line-height: initial;}
  10. button::after {border: none;border-radius: 0;}
  11. image{display: block;}
  12. .tover{text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
  13. .tovers{overflow : hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
  14. .dflex{display: flex;display: -webkit-flex;align-items: center;}
  15. .flex{flex: 1;-webkit-flex: 1;overflow: hidden;}
  16. .ddflex{display: flex;display: -webkit-flex;align-items: center;}
  17. .fflex{flex: 1;-webkit-flex: 1;overflow: hidden;}
  18. input,textarea{caret-color: var(--main);}
  19. .navigator-hover{background-color: rgba(0, 0, 0, 0.1); opacity: 1;}
  20. a{text-decoration: none;}
  21. /* 暂无数据 */
  22. .nodata{text-align: center;padding: 300rpx 0 80rpx;}
  23. .nodata image{width: 223px;height: 197px;margin: 0 auto 15px;}
  24. .nodata view{font-size: 14px;color: #999;}
  25. /* ios底部安全距离-padding */
  26. .savepadding{
  27. padding-bottom: constant(safe-area-inset-bottom);
  28. padding-bottom: env(safe-area-inset-bottom);
  29. /* box-sizing: content-box; */
  30. }
  31. /* ios底部安全距离-bottom */
  32. .savebottom{
  33. bottom: constant(safe-area-inset-bottom);
  34. bottom: env(safe-area-inset-bottom);
  35. }
  36. .placeholder-view{height: 52px;}
  37. .wrap{margin: 0 auto;}
  38. .align-start{align-items: flex-start;}
  39. .max{width: 575px;}
  40. .large{width: 375px;}
  41. .small{width: 165px;}
  42. .btn-type{cursor: pointer;}
  43. .uni-modal .uni-modal__hd {
  44. padding: 0.2rem 0.16rem 0.1rem !important;
  45. }