Files
jeecg-uniapp/src/style/index.scss
2025-03-10 21:42:13 +08:00

88 lines
1.6 KiB
SCSS

// @import './iconfont.css';
@import '../static/iconfont/iconfont.css';
@import './chat/style.scss';
.test {
// 可以通过 @apply 多个样式封装整体样式
@apply mt-4 ml-4;
padding-top: 4px;
color: red;
}
:root,
page {
.uni-tabbar__label {
margin-top: 1px !important;
}
background-color: #f1f1f1;
--UI-BG: #fff;
--UI-BG-1: #f7f7f7;
--UI-BG-2: #fff;
--UI-BG-3: #f7f7f7;
--UI-BG-4: #4c4c4c;
--UI-BG-5: #fff;
--UI-FG: #000;
--UI-FG-0: rgba(0, 0, 0, 0.9);
--UI-FG-HALF: rgba(0, 0, 0, 0.9);
--UI-FG-1: rgba(0, 0, 0, 0.5);
--UI-FG-2: rgba(0, 0, 0, 0.3);
--UI-FG-3: rgba(0, 0, 0, 0.1);
--color-gray: #8799a3;
.text-grey,
.line-grey,
.lines-grey {
color: var(--color-gray);
}
// 主题色
--wot-color-theme: #0081ff;
// 导航
--wot-navbar-color: #fff;
--wot-navbar-desc-font-color: #fff;
// 文字
--wot-text-info-color: var(--UI-FG-0);
// 输入框
--wot-input-color: #555;
// cell
// 重置 wot-design-uni
.wd-button {
&.is-round {
border-radius: 4px !important;
}
&.is-plain {
overflow: visible;
}
}
.wd-cell__left {
align-items: center;
}
.wd-popup {
&.wd-popup--right,
&.wd-popup--left {
top: 44px;
height: calc(100vh - 44px);
}
}
.wd-input {
&.is-cell {
--wot-cell-title-color: var(--UI-FG-0);
--wot-input-cell-padding: 14px;
--wot-input-fs: 15px;
.wd-input__label.is-required::after {
top: 6px;
}
}
}
// 万年历组件
.uni-calendar {
.uni-calendar__header-text {
text-align: center;
width: 100px;
font-size: 24px;
color: #333;
}
}
}