123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- @import '@/uni_modules/vk-uview-ui/theme.scss';
- $uni-color-primary: #006af4;
- $uni-color-success: #4cd964;
- $uni-color-warning: #f0ad4e;
- $uni-color-error: #FA5151;
- $uni-text-color: #000;
- $uni-text-color-inverse: #fff;
- $uni-text-color-grey: #999;
- $uni-text-color-placeholder: #808080;
- $uni-text-color-disable:#c0c0c0;
- $uni-bg-color:#f7f7f7;
- $uni-bg-color-grey:#ffffff;
- $uni-bg-color-hover:#f1f1f1;
- $uni-bg-color-mask:rgba(0, 0, 0, 0.4);
- $uni-border-color:#c8c7cc;
- $uni-title-font-size-1: 36rpx;
- $uni-title-font-size-2: 26rpx;
- $uni-title-font-size-3: 24rpx;
- $uni-font-size-1: 24rpx;
- $uni-font-size-2: 20rpx;
- $uni-font-size-3: 18rpx;
- $uni-font-size-4: 16rpx;
- $uni-font-size-5: 14rpx;
- $uni-font-size-6: 12rpx;
- $uni-card-border-radius: 20rpx;
- @mixin backgroundImg($url) {
- background-image: url($url);
- background-repeat: no-repeat;
- background-size: 100% 100%;
- }
- @mixin scrollbar() {
-
- &::-webkit-scrollbar {
- width: 6px;
- height: 6px;
- }
-
- &::-webkit-scrollbar-button {
- display: none;
- }
-
- &::-webkit-scrollbar-track {
- background: transparent;
- }
-
- &::-webkit-scrollbar-track-piece {
- background-color: transparent;
- }
-
- &::-webkit-scrollbar-thumb {
- background: rgba(144, 147, 153, 0.3);
- cursor: pointer;
- border-radius: 4px;
- }
-
- &::-webkit-scrollbar-corner {
- display: none;
- }
-
- &::-webkit-resizer {
- display: none;
- }
- }
- @mixin text-overflow() {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- @mixin text-line-overflow($line) {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: $line;
- overflow: hidden;
- }
- @mixin topMagnet() {
- position: sticky;
- top: 0;
- z-index: 999;
- }
- @mixin bottomMagnet() {
- position: fixed;
- bottom: 0;
- width: 100%;
- }
|