171 lines
42 KiB
CSS
171 lines
42 KiB
CSS
|
|
*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff;height:100%}#app{height:100%}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5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ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}@media (prefers-color-scheme: dark){html{--UI-BG-COLOR-ACTIVE: #373737;--UI-BORDER-COLOR-1: #373737;--UI-BG: #000;--UI-BG-0: #191919;--UI-BG-1: #1f1f1f;--UI-BG-2: #232323;--UI-BG-3: #2f2f2f;--UI-BG-4: #606060;--UI-BG-5: #2c2c2c;--UI-FG: #fff;--UI-FG-0: hsla(0, 0%, 100%, .8);--UI-FG-HALF: hsla(0, 0%, 100%, .6);--UI-FG-1: hsla(0, 0%, 100%, .5);--UI-FG-2: hsla(0, 0%, 100%, .3);--UI-FG-3: hsla(0, 0%, 100%, .05)}body{background-color:var(--UI-BG-0);color:var(--UI-FG-0)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 这里是uni-app内置的常用样式变量
|
|||
|
|
*
|
|||
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|||
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
/**
|
|||
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|||
|
|
*
|
|||
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|||
|
|
*/
|
|||
|
|
/* 颜色变量 */
|
|||
|
|
/* 行为相关颜色 */
|
|||
|
|
/* 文字基本颜色 */
|
|||
|
|
/* 背景颜色 */
|
|||
|
|
/* 边框颜色 */
|
|||
|
|
/* 尺寸变量 */
|
|||
|
|
/* 文字尺寸 */
|
|||
|
|
/* 图片尺寸 */
|
|||
|
|
/* Border Radius */
|
|||
|
|
/* 水平间距 */
|
|||
|
|
/* 垂直间距 */
|
|||
|
|
/* 透明度 */
|
|||
|
|
/* 文章场景相关 */
|
|||
|
|
.uv-line-1 {
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
display: -webkit-box !important;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
word-break: break-all;
|
|||
|
|
-webkit-line-clamp: 1;
|
|||
|
|
-webkit-box-orient: vertical !important;
|
|||
|
|
}
|
|||
|
|
.uv-line-2 {
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
display: -webkit-box !important;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
word-break: break-all;
|
|||
|
|
-webkit-line-clamp: 2;
|
|||
|
|
-webkit-box-orient: vertical !important;
|
|||
|
|
}
|
|||
|
|
.uv-line-3 {
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
display: -webkit-box !important;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
word-break: break-all;
|
|||
|
|
-webkit-line-clamp: 3;
|
|||
|
|
-webkit-box-orient: vertical !important;
|
|||
|
|
}
|
|||
|
|
.uv-line-4 {
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
display: -webkit-box !important;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
word-break: break-all;
|
|||
|
|
-webkit-line-clamp: 4;
|
|||
|
|
-webkit-box-orient: vertical !important;
|
|||
|
|
}
|
|||
|
|
.uv-line-5 {
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
display: -webkit-box !important;
|
|||
|
|
overflow: hidden;
|
|||
|
|
text-overflow: ellipsis;
|
|||
|
|
word-break: break-all;
|
|||
|
|
-webkit-line-clamp: 5;
|
|||
|
|
-webkit-box-orient: vertical !important;
|
|||
|
|
}
|
|||
|
|
.uv-border {
|
|||
|
|
border-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-border-top {
|
|||
|
|
border-top-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-top-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-border-left {
|
|||
|
|
border-left-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-left-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-border-right {
|
|||
|
|
border-right-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-right-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-border-bottom {
|
|||
|
|
border-bottom-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-bottom-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-border-top-bottom {
|
|||
|
|
border-top-width: 0.5px !important;
|
|||
|
|
border-bottom-width: 0.5px !important;
|
|||
|
|
border-color: #dadbde !important;
|
|||
|
|
border-top-style: solid;
|
|||
|
|
border-bottom-style: solid;
|
|||
|
|
}
|
|||
|
|
.uv-reset-button {
|
|||
|
|
padding: 0;
|
|||
|
|
background-color: transparent;
|
|||
|
|
}
|
|||
|
|
.uv-reset-button::after {
|
|||
|
|
border: none;
|
|||
|
|
}
|
|||
|
|
.uv-hover-class {
|
|||
|
|
opacity: 0.7;
|
|||
|
|
}
|
|||
|
|
.uv-safe-area-inset-top {
|
|||
|
|
padding-top: 0;
|
|||
|
|
padding-top: constant(safe-area-inset-top);
|
|||
|
|
padding-top: env(safe-area-inset-top);
|
|||
|
|
}
|
|||
|
|
.uv-safe-area-inset-right {
|
|||
|
|
padding-right: 0;
|
|||
|
|
padding-right: constant(safe-area-inset-right);
|
|||
|
|
padding-right: env(safe-area-inset-right);
|
|||
|
|
}
|
|||
|
|
.uv-safe-area-inset-bottom {
|
|||
|
|
padding-bottom: 0;
|
|||
|
|
padding-bottom: constant(safe-area-inset-bottom);
|
|||
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|||
|
|
}
|
|||
|
|
.uv-safe-area-inset-left {
|
|||
|
|
padding-left: 0;
|
|||
|
|
padding-left: constant(safe-area-inset-left);
|
|||
|
|
padding-left: env(safe-area-inset-left);
|
|||
|
|
}
|
|||
|
|
::-webkit-scrollbar {
|
|||
|
|
display: none;
|
|||
|
|
width: 0 !important;
|
|||
|
|
height: 0 !important;
|
|||
|
|
-webkit-appearance: none;
|
|||
|
|
background: transparent;
|
|||
|
|
}
|