160 lines
3.9 KiB
Plaintext
160 lines
3.9 KiB
Plaintext
|
/* stylelint-disable comment-empty-line-before */
|
|||
|
/**
|
|||
|
* 这里是uni-app内置的常用样式变量
|
|||
|
*
|
|||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|||
|
*
|
|||
|
*/
|
|||
|
/**
|
|||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|||
|
*
|
|||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|||
|
*/
|
|||
|
/* 颜色变量 */
|
|||
|
/* 行为相关颜色 */
|
|||
|
/* 文字基本颜色 */
|
|||
|
/* 背景颜色 */
|
|||
|
/* 边框颜色 */
|
|||
|
/* 尺寸变量 */
|
|||
|
/* 文字尺寸 */
|
|||
|
/* 图片尺寸 */
|
|||
|
/* Border Radius */
|
|||
|
/* 水平间距 */
|
|||
|
/* 垂直间距 */
|
|||
|
/* 透明度 */
|
|||
|
/* 文章场景相关 */
|
|||
|
.bg-main.data-v-23167941 {
|
|||
|
background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient)) !important;
|
|||
|
color: #fff !important;
|
|||
|
}
|
|||
|
.icon-box.data-v-23167941 {
|
|||
|
background: #ffffff;
|
|||
|
box-shadow: 0px 0px 4rpx rgba(51, 51, 51, 0.08), 0px 4rpx 6rpx 2rpx rgba(102, 102, 102, 0.12);
|
|||
|
border-radius: 30rpx;
|
|||
|
width: 134rpx;
|
|||
|
height: 56rpx;
|
|||
|
margin-left: 8rpx;
|
|||
|
}
|
|||
|
.icon-box .line.data-v-23167941 {
|
|||
|
width: 2rpx;
|
|||
|
height: 24rpx;
|
|||
|
background: #e5e5e7;
|
|||
|
}
|
|||
|
.icon-box .sicon-back.data-v-23167941 {
|
|||
|
font-size: 32rpx;
|
|||
|
color: #000;
|
|||
|
}
|
|||
|
.icon-box .sicon-home.data-v-23167941 {
|
|||
|
font-size: 32rpx;
|
|||
|
color: #000;
|
|||
|
}
|
|||
|
.icon-box .sicon-more.data-v-23167941 {
|
|||
|
font-size: 32rpx;
|
|||
|
color: #000;
|
|||
|
}
|
|||
|
.icon-box .icon-button.data-v-23167941 {
|
|||
|
width: 67rpx;
|
|||
|
height: 56rpx;
|
|||
|
}
|
|||
|
.icon-box .icon-button-left.data-v-23167941:hover {
|
|||
|
background: rgba(0, 0, 0, 0.16);
|
|||
|
border-radius: 30rpx 0px 0px 30rpx;
|
|||
|
}
|
|||
|
.icon-box .icon-button-right.data-v-23167941:hover {
|
|||
|
background: rgba(0, 0, 0, 0.16);
|
|||
|
border-radius: 0px 30rpx 30rpx 0px;
|
|||
|
}
|
|||
|
.fixed-bg.data-v-23167941 {
|
|||
|
position: absolute;
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
top: 0;
|
|||
|
z-index: 1;
|
|||
|
pointer-events: none;
|
|||
|
}
|
|||
|
.uni-nav-bar-text.data-v-23167941 {
|
|||
|
font-size: 14px;
|
|||
|
}
|
|||
|
.uni-nav-bar-right-text.data-v-23167941 {
|
|||
|
font-size: 12px;
|
|||
|
}
|
|||
|
.uni-navbar__content.data-v-23167941 {
|
|||
|
position: relative;
|
|||
|
background-color: transparent;
|
|||
|
}
|
|||
|
.uni-navbar-btn-text.data-v-23167941 {
|
|||
|
display: flex;
|
|||
|
flex-direction: column;
|
|||
|
justify-content: flex-start;
|
|||
|
align-items: center;
|
|||
|
line-height: 18px;
|
|||
|
}
|
|||
|
.uni-navbar__header.data-v-23167941 {
|
|||
|
display: flex;
|
|||
|
padding: 0 10px;
|
|||
|
flex-direction: row;
|
|||
|
justify-content: space-between;
|
|||
|
height: 44px;
|
|||
|
font-size: 12px;
|
|||
|
position: relative;
|
|||
|
z-index: 2;
|
|||
|
}
|
|||
|
.uni-navbar__header-btns.data-v-23167941 {
|
|||
|
overflow: hidden;
|
|||
|
display: flex;
|
|||
|
flex-wrap: nowrap;
|
|||
|
flex-direction: row;
|
|||
|
min-width: 40rpx;
|
|||
|
justify-content: center;
|
|||
|
align-items: center;
|
|||
|
}
|
|||
|
.uni-navbar__header-btns-left.data-v-23167941 {
|
|||
|
display: flex;
|
|||
|
width: 120rpx;
|
|||
|
justify-content: flex-start;
|
|||
|
align-items: center;
|
|||
|
}
|
|||
|
.uni-navbar__header-btns-right.data-v-23167941 {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
justify-content: flex-end;
|
|||
|
align-items: center;
|
|||
|
}
|
|||
|
.uni-navbar__header-container.data-v-23167941 {
|
|||
|
position: absolute;
|
|||
|
left: 50%;
|
|||
|
transform: translateX(-50%) translateY(-50%);
|
|||
|
top: 50%;
|
|||
|
}
|
|||
|
.uni-navbar__header-container-inner.data-v-23167941 {
|
|||
|
display: flex;
|
|||
|
flex: 1;
|
|||
|
flex-direction: row;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
font-size: 12px;
|
|||
|
overflow: hidden;
|
|||
|
}
|
|||
|
.uni-navbar__placeholder-view.data-v-23167941 {
|
|||
|
height: 44px;
|
|||
|
}
|
|||
|
.uni-navbar--fixed.data-v-23167941 {
|
|||
|
position: fixed;
|
|||
|
z-index: 998;
|
|||
|
left: 0;
|
|||
|
right: 0;
|
|||
|
}
|
|||
|
.uni-navbar--shadow.data-v-23167941 {
|
|||
|
box-shadow: 0 1px 6px #ccc;
|
|||
|
}
|
|||
|
.uni-navbar--border.data-v-23167941 {
|
|||
|
border-bottom-width: 1rpx;
|
|||
|
border-bottom-style: solid;
|
|||
|
border-bottom-color: #eee;
|
|||
|
}
|
|||
|
.uni-ellipsis-1.data-v-23167941 {
|
|||
|
overflow: hidden;
|
|||
|
white-space: nowrap;
|
|||
|
text-overflow: ellipsis;
|
|||
|
}
|