mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
dd91d9660c
* Select Options等组件样式对齐4.0 * 更新测试快照 * 修改部分测试用例 * feat:4.0样式修改 * 修改checkboxes hover问题 * Feat image 4.0 (#4242) * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * feat: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * fix: 点状步骤条样式修改 * fix: inputTree组件对齐4.0标准 * fix: textarea组件对齐4.0标准 * fix: textarea组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: image组件样式优化 * fix: image组件样式优化 * fix: image组件样式优化 * fix: image组件样式优化 Co-authored-by: qiaoganggang <qiaoganggang@baidu.com> * fix: textarea组件对齐4.0标准 (#4149) * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * feat: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * fix: 点状步骤条样式修改 * fix: inputTree组件对齐4.0标准 * fix: inputTree组件对齐4.0标准 * fix: textarea组件对齐4.0标准 * fix: textarea组件对齐4.0标准 Co-authored-by: qiaoganggang <qiaoganggang@baidu.com> * fix: inputTree 组价对齐4.0标准 (#4148) * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * feat: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * fix: 点状步骤条样式修改 * fix: inputTree组件对齐4.0标准 * fix: inputTree组件对齐4.0标准 * fix: inputtree组件图标颜色修改 Co-authored-by: qiaoganggang <qiaoganggang@baidu.com> * feat: 部分组件样式问题修复 (#4154) * feat: input-text 样式 * feat: input-range 样式 * feat: table 样式 1 * feat: search-box * feat: curd icon * feat: table 空状态 * feat: input-text 多选,最大宽度设置 * feat: search-box 搜索图标颜色 * feat: crud 编辑、过滤、搜索、排序 图标样式修改 * feat: 更新快照 * feat: 更新快照 2 * feat: curd fix * feat: curd edit icon fix * feat: input-password 不可见 icon 修改 * feat: input-password snapshot update * docs:完善对话框size参数说明 * feat: Log 组件支持虚拟渲染及限制最大行数 * 修复不支持 loading 问题 * 换一下名字 Co-authored-by: liuzedong02 <liuzedong02@baidu.com> Co-authored-by: liweijian <liweijian@hkmtl.com> Co-authored-by: wuduoyi <wuduoyi@baidu.com> Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com> * fix:修复删除图标颜色问题 (#4245) * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * feat: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * faet: Step组件支持点状步骤条、指定标签放置位置、新增超出内容显示浮层 * fix: 点状步骤条样式修改 * fix: inputTree组件对齐4.0标准 * fix: textarea组件对齐4.0标准 * fix: textarea组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: inputImage组件对齐4.0标准 * fix: image组件样式优化 * fix: image组件样式优化 * fix: image组件样式优化 * fix: image组件样式优化 * fix: 修复conditionbuilder组价图标颜色问题 Co-authored-by: qiaoganggang <qiaoganggang@baidu.com> * form表单对齐云社4.0 (#4248) * feat: form增加表单项 label文本对齐方式选项 * fix: remark 支持在表单内配置 * style: form 间距对齐云社4.0 Co-authored-by: sarding <hongfuquan@baidu.com> * Fix chart radios name (#4251) * fix: Chart 单选框 修改为 ChartRadios 图表单选框 * fix: input-password 修改 可见 图标 Co-authored-by: liuzedong02 <liuzedong02@baidu.com> * feat: checkboxes内边距&nestedSelect箭头修改 (#4254) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * Feature style 4.0 cxd (#4261) * feat: 日期&折叠面板&提示样式对齐 * fix:测试用例修复 * feat: timeRange开始和结束分开&日期样式优化 * styles: 日历样式修复 Co-authored-by: hongyang03 <hongyang03@baidu.com> * 整体字体大小调整 (#4264) * feat: form增加表单项 label文本对齐方式选项 * fix: remark 支持在表单内配置 * style: form 间距对齐云社4.0 * 修改表单的字体 Co-authored-by: sarding <hongfuquan@baidu.com> * inputfile 和 drawer对齐云社4.0 (#4249) * fix: drawer 和 inputfile 关闭图标对齐云社4.0 * fix:修改 drawer的图标大小 和边框圆角 * drawer 样式调整 Co-authored-by: sarding <hongfuquan@baidu.com> * Fix style (#4265) * fix: input-password icon 高度 * fix: input-password icon 换行问题 Co-authored-by: liuzedong02 <liuzedong02@baidu.com> * fix: curd 图标垂直居中 (#4271) Co-authored-by: liuzedong02 <liuzedong02@baidu.com> * fix:修复nestedSelect无法动态调整位置及溢出问题 (#4292) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: 优化switch组件动效 (#4302) * style:优化date组件最小宽度 (#4303) * style:cxd主题移动端基础字号调整为16px (#4305) * style:switch调整动效速度 * chore:更新快照 * chore:更新快照 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> Co-authored-by: qiaogg <43558337+qiaogg@users.noreply.github.com> Co-authored-by: qiaoganggang <qiaoganggang@baidu.com> Co-authored-by: sansiro <sansiro@sansiro.me> Co-authored-by: liuzedong02 <liuzedong02@baidu.com> Co-authored-by: liweijian <liweijian@hkmtl.com> Co-authored-by: wuduoyi <wuduoyi@baidu.com> Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com> Co-authored-by: sarding <37691952+sarding@users.noreply.github.com> Co-authored-by: sarding <hongfuquan@baidu.com> Co-authored-by: 徐佳豪 <53201551+blue-squirrel@users.noreply.github.com> Co-authored-by: HongYang <33488114+hy993658052@users.noreply.github.com> Co-authored-by: hongyang03 <hongyang03@baidu.com>
248 lines
4.1 KiB
SCSS
248 lines
4.1 KiB
SCSS
/*!
|
|
* https://github.com/arqex/react-datetime
|
|
*/
|
|
|
|
.rdt {
|
|
position: relative;
|
|
}
|
|
.rdtPicker {
|
|
display: none;
|
|
position: absolute;
|
|
width: 240px;
|
|
padding: 4px;
|
|
margin-top: 1px;
|
|
z-index: 99999 !important;
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #f9f9f9;
|
|
}
|
|
.rdtOpen .rdtPicker {
|
|
display: block;
|
|
}
|
|
.rdtStatic .rdtPicker {
|
|
box-shadow: none;
|
|
position: static;
|
|
}
|
|
|
|
.rdtPicker .rdtTimeToggle {
|
|
text-align: center;
|
|
}
|
|
|
|
.rdtPicker table {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0 12px;
|
|
border-spacing: 0 8px;
|
|
}
|
|
|
|
.rdtMonths,
|
|
.rdtYears {
|
|
table {
|
|
border-spacing: 0 12px;
|
|
}
|
|
.headerTable {
|
|
border-spacing: 0;
|
|
border-bottom: 1px solid #E8E9EB;
|
|
}
|
|
}
|
|
.rdtPicker td,
|
|
.rdtPicker th {
|
|
text-align: center;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
width: 24px;
|
|
}
|
|
.rdtPicker td {
|
|
cursor: pointer;
|
|
> span {
|
|
display: inline-block;
|
|
border-radius: 2px;
|
|
height: 100%;
|
|
width: 24px;
|
|
}
|
|
}
|
|
.rdtPicker td.rdtDay:hover,
|
|
.rdtPicker td.rdtHour:hover,
|
|
.rdtPicker td.rdtMinute:hover,
|
|
.rdtPicker td.rdtSecond:hover,
|
|
.rdtPicker .rdtTimeToggle:hover {
|
|
background: #eeeeee;
|
|
cursor: pointer;
|
|
}
|
|
.rdtPicker td.rdtOld,
|
|
.rdtPicker td.rdtNew {
|
|
color: #B8BABF;
|
|
}
|
|
.rdtPicker td.rdtToday {
|
|
position: relative;
|
|
> span {
|
|
border: 1px solid #2468F2;
|
|
}
|
|
}
|
|
.rdtPicker td.rdtActive,
|
|
.rdtPicker td.rdtActive:hover {
|
|
background-color: #428bca;
|
|
color: #fff;
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
}
|
|
.rdtPicker td.rdtActive.rdtToday:before {
|
|
border-bottom-color: #fff;
|
|
}
|
|
.rdtPicker td.rdtDisabled,
|
|
.rdtPicker td.rdtDisabled:hover {
|
|
background: none;
|
|
color: #B8BABF;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.rdtPicker td span.rdtOld {
|
|
color: #B8BABF;
|
|
}
|
|
.rdtPicker td span.rdtDisabled,
|
|
.rdtPicker td span.rdtDisabled:hover {
|
|
background: none;
|
|
color: #B8BABF;
|
|
cursor: not-allowed;
|
|
> span {
|
|
border-color: #E8E9EB;
|
|
}
|
|
}
|
|
.rdtPicker th {
|
|
border-bottom: 1px solid #f9f9f9;
|
|
}
|
|
.rdtPicker .dow {
|
|
width: 14.2857%;
|
|
border-bottom: none;
|
|
cursor: default;
|
|
}
|
|
.rdtPicker th.rdtSwitch {
|
|
width: 100px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
.rdtPicker th.rdtNext,
|
|
.rdtPicker th.rdtPrev {
|
|
font-size: 21px;
|
|
vertical-align: top;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.rdtPrev span,
|
|
.rdtNext span {
|
|
display: block;
|
|
-webkit-touch-callout: none; /* iOS Safari */
|
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
-khtml-user-select: none; /* Konqueror */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
user-select: none;
|
|
}
|
|
|
|
.rdtPicker th.rdtDisabled,
|
|
.rdtPicker th.rdtDisabled:hover {
|
|
background: none;
|
|
color: #B8BABF;
|
|
cursor: not-allowed;
|
|
}
|
|
.rdtPicker thead tr:first-of-type th {
|
|
cursor: pointer;
|
|
}
|
|
.rdtPicker thead tr:first-of-type th:hover {
|
|
background: #eeeeee;
|
|
}
|
|
|
|
.rdtPicker tfoot {
|
|
border-top: 1px solid #f9f9f9;
|
|
}
|
|
|
|
.rdtPicker button {
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
}
|
|
.rdtPicker button:hover {
|
|
background-color: #eee;
|
|
}
|
|
|
|
.rdtPicker thead button {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
td.rdtMonth,
|
|
td.rdtYear,
|
|
td.rdtQuarter {
|
|
height: 24px;
|
|
width: 48px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
|
|
> span {
|
|
width: 48px;
|
|
}
|
|
}
|
|
td.rdtMonth:hover,
|
|
td.rdtYear:hover,
|
|
td.rdtQuarter:hover {
|
|
background: #eee;
|
|
}
|
|
|
|
.rdtCounters {
|
|
display: inline-block;
|
|
}
|
|
|
|
.rdtCounters > div {
|
|
float: left;
|
|
}
|
|
|
|
.rdtCounter {
|
|
height: 100px;
|
|
}
|
|
|
|
.rdtCounter {
|
|
width: 40px;
|
|
}
|
|
|
|
.rdtCounterSeparator {
|
|
line-height: 100px;
|
|
}
|
|
|
|
.rdtCounter .rdtBtn {
|
|
height: 40%;
|
|
line-height: 40px;
|
|
cursor: pointer;
|
|
display: block;
|
|
|
|
-webkit-touch-callout: none; /* iOS Safari */
|
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
-khtml-user-select: none; /* Konqueror */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
user-select: none;
|
|
}
|
|
.rdtCounter .rdtBtn:hover {
|
|
background: #eee;
|
|
}
|
|
.rdtCounter .rdtCount {
|
|
height: 20%;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.rdtMilli {
|
|
vertical-align: middle;
|
|
padding-left: 8px;
|
|
width: 48px;
|
|
}
|
|
|
|
.rdtMilli input {
|
|
width: 100%;
|
|
font-size: 1.2em;
|
|
margin-top: 37px;
|
|
}
|
|
|
|
.rdtTime td {
|
|
cursor: default;
|
|
}
|