206 lines
5.4 KiB
Plaintext
206 lines
5.4 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 */
|
|||
|
/* 水平间距 */
|
|||
|
/* 垂直间距 */
|
|||
|
/* 透明度 */
|
|||
|
/* 文章场景相关 */
|
|||
|
.icon-box.data-v-f9f9d438 {
|
|||
|
width: 134rpx;
|
|||
|
height: 56rpx;
|
|||
|
margin-left: 8rpx;
|
|||
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
|||
|
border-radius: 30rpx;
|
|||
|
box-shadow: 0px 0px 4rpx rgba(51, 51, 51, 0.08), 0px 4rpx 6rpx 2rpx rgba(102, 102, 102, 0.12);
|
|||
|
}
|
|||
|
.icon-box .line.data-v-f9f9d438 {
|
|||
|
width: 2rpx;
|
|||
|
height: 24rpx;
|
|||
|
background: #e5e5e7;
|
|||
|
}
|
|||
|
.icon-box .sicon-back.data-v-f9f9d438 {
|
|||
|
font-size: 32rpx;
|
|||
|
}
|
|||
|
.icon-box .sicon-home.data-v-f9f9d438 {
|
|||
|
font-size: 32rpx;
|
|||
|
}
|
|||
|
.icon-box .sicon-more.data-v-f9f9d438 {
|
|||
|
font-size: 32rpx;
|
|||
|
}
|
|||
|
.icon-box .icon-button.data-v-f9f9d438 {
|
|||
|
width: 67rpx;
|
|||
|
height: 56rpx;
|
|||
|
}
|
|||
|
.icon-box .icon-button-left.data-v-f9f9d438:hover {
|
|||
|
background: rgba(0, 0, 0, 0.16);
|
|||
|
border-radius: 30rpx 0px 0px 30rpx;
|
|||
|
}
|
|||
|
.icon-box .icon-button-right.data-v-f9f9d438:hover {
|
|||
|
background: rgba(0, 0, 0, 0.16);
|
|||
|
border-radius: 0px 30rpx 30rpx 0px;
|
|||
|
}
|
|||
|
.navbar-title.data-v-f9f9d438 {
|
|||
|
font-size: 36rpx;
|
|||
|
}
|
|||
|
.tools-icon.data-v-f9f9d438 {
|
|||
|
font-size: 40rpx;
|
|||
|
}
|
|||
|
.ui-navbar-box.data-v-f9f9d438 {
|
|||
|
width: 100%;
|
|||
|
background-color: transparent;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
z-index: 2;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
white-space: nowrap;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .back.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .back .back-icon.data-v-f9f9d438 {
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
width: 56rpx;
|
|||
|
height: 56rpx;
|
|||
|
margin: 0 10rpx;
|
|||
|
font-size: 46rpx !important;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .back .back-icon.opacityIcon.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
background-color: rgba(127, 127, 127, 0.5);
|
|||
|
border-radius: 50%;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .back .back-icon.opacityIcon.data-v-f9f9d438::after {
|
|||
|
position: absolute;
|
|||
|
top: 0;
|
|||
|
left: 0;
|
|||
|
display: block;
|
|||
|
width: 200%;
|
|||
|
height: 200%;
|
|||
|
pointer-events: none;
|
|||
|
content: "";
|
|||
|
border: 1px solid currentColor;
|
|||
|
border-radius: inherit;
|
|||
|
opacity: 0.1;
|
|||
|
transform: scale(0.5);
|
|||
|
transform-origin: 0 0;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .back .back-icon.opacityIcon.data-v-f9f9d438::before {
|
|||
|
transform: scale(0.9);
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
position: relative;
|
|||
|
border-radius: 100px;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.dark.data-v-f9f9d438 {
|
|||
|
background-color: rgba(255, 255, 255, 0.5);
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.light.data-v-f9f9d438 {
|
|||
|
background-color: rgba(0, 0, 0, 0.15);
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.data-v-f9f9d438::after {
|
|||
|
position: absolute;
|
|||
|
top: 20%;
|
|||
|
left: 50%;
|
|||
|
display: block;
|
|||
|
width: 1px;
|
|||
|
height: 60%;
|
|||
|
pointer-events: none;
|
|||
|
content: "";
|
|||
|
background-color: currentColor;
|
|||
|
opacity: 0.1;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.data-v-f9f9d438::before {
|
|||
|
position: absolute;
|
|||
|
top: 0;
|
|||
|
left: 0;
|
|||
|
display: block;
|
|||
|
width: 200%;
|
|||
|
height: 200%;
|
|||
|
pointer-events: none;
|
|||
|
content: "";
|
|||
|
border: 1px solid currentColor;
|
|||
|
border-radius: inherit;
|
|||
|
opacity: 0.1;
|
|||
|
transform: scale(0.5);
|
|||
|
transform-origin: 0 0;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule .capsule-back.data-v-f9f9d438,
|
|||
|
.ui-navbar-box .ui-bar .left .capsule .capsule-home.data-v-f9f9d438 {
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
flex: 1;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .left .capsule.isFristPage .capsule-back.data-v-f9f9d438, .ui-navbar-box .ui-bar .left .capsule.isFristPage.data-v-f9f9d438::after {
|
|||
|
display: none;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .right.data-v-f9f9d438 {
|
|||
|
position: relative;
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: space-between;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .right .right-content.data-v-f9f9d438 {
|
|||
|
display: flex;
|
|||
|
flex-direction: row;
|
|||
|
flex-direction: row-reverse;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .center.data-v-f9f9d438 {
|
|||
|
display: flex;
|
|||
|
align-items: center;
|
|||
|
justify-content: center;
|
|||
|
position: absolute;
|
|||
|
left: 50%;
|
|||
|
text-overflow: ellipsis;
|
|||
|
transform: translateX(-50%);
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar .center .image.data-v-f9f9d438 {
|
|||
|
display: block;
|
|||
|
max-width: calc(100vw - 200px);
|
|||
|
height: 36px;
|
|||
|
}
|
|||
|
.ui-navbar-box .ui-bar-bg.data-v-f9f9d438 {
|
|||
|
position: absolute;
|
|||
|
top: 0;
|
|||
|
z-index: 1;
|
|||
|
width: 100%;
|
|||
|
height: 100%;
|
|||
|
pointer-events: none;
|
|||
|
}
|