2024-09-19 07:20:14 +08:00
|
|
|
|
/* stylelint-disable comment-empty-line-before */
|
|
|
|
|
/**
|
|
|
|
|
* 这里是uni-app内置的常用样式变量
|
|
|
|
|
*
|
|
|
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
|
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
|
|
|
*
|
|
|
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
|
|
|
*/
|
|
|
|
|
/* 颜色变量 */
|
|
|
|
|
/* 行为相关颜色 */
|
|
|
|
|
/* 文字基本颜色 */
|
|
|
|
|
/* 背景颜色 */
|
|
|
|
|
/* 边框颜色 */
|
|
|
|
|
/* 尺寸变量 */
|
|
|
|
|
/* 文字尺寸 */
|
|
|
|
|
/* 图片尺寸 */
|
|
|
|
|
/* Border Radius */
|
|
|
|
|
/* 水平间距 */
|
|
|
|
|
/* 垂直间距 */
|
|
|
|
|
/* 透明度 */
|
|
|
|
|
/* 文章场景相关 */
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 18px;
|
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio .ui-radio-input.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio .ui-radio-input.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: currentColor;
|
|
|
|
|
border-radius: 18px;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
margin: auto;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio .ui-radio-input.cur.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio .ui-radio-input.cur.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.data-v-5633a0fb:last-child {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
margin: 0 0.14286em;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.check .ui-radio-input.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
font-family: "colorui";
|
|
|
|
|
font-size: 0;
|
|
|
|
|
content: "\e69f";
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.check .ui-radio-input.cur.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
font-size: 1em;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
transform: scale(0.8);
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.line .ui-radio-input.cur.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: calc(100% - 2px);
|
|
|
|
|
height: calc(100% - 2px);
|
|
|
|
|
background-color: var(--ui-BG);
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.line .ui-radio-input.cur.data-v-5633a0fb::after {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: inherit;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
margin: auto;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.lg .ui-radio-input.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.img.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
margin: 0 0.28572em 0;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.img .ui-radio-input.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: -1px;
|
|
|
|
|
left: -1px;
|
|
|
|
|
width: 42px;
|
|
|
|
|
height: 42px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
border-radius: 0px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.img .ui-radio-input.data-v-5633a0fb::before {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.img .ui-radio-input.cur.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
top: -2px;
|
|
|
|
|
left: -2px;
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
border-radius: 7px !important;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.img .ui-radio-img.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
display: block;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.card.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
margin: 30rpx;
|
|
|
|
|
border-radius: 10rpx !important;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.card .ui-radio-bg.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
width: 200%;
|
|
|
|
|
height: 200%;
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: var(--ui-BG);
|
|
|
|
|
border-radius: 20rpx !important;
|
|
|
|
|
transform: scale(0.5);
|
|
|
|
|
transform-origin: 0 0;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.card .ui-radio-input.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.card .ui-radio-bg.data-v-5633a0fb::after {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 4px;
|
|
|
|
|
left: 4px;
|
|
|
|
|
z-index: 0;
|
|
|
|
|
width: calc(200% - 16px);
|
|
|
|
|
height: calc(200% - 16px);
|
|
|
|
|
content: "";
|
|
|
|
|
background-color: var(--ui-BG) !important;
|
|
|
|
|
border-radius: 28rpx !important;
|
|
|
|
|
transform: scale(0.5);
|
|
|
|
|
transform-origin: 0 0;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.ui-radio.card .ui-radio-content.data-v-5633a0fb {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|