1 Star 0 Fork 4

彬彧/form-render

forked from Vincent/form-render 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.css 6.19 KB
一键复制 编辑 原始数据 按行查看 历史
fateriddle 提交于 2020-04-17 21:08 . list title bigger
/*
用于原有样式的覆盖
*/
.fr-set {
padding: 12px 14px 12px 12px;
margin-bottom: 12px;
border-radius: 4px;
}
.fr-field {
margin-bottom: 24px;
}
.fr-field-object {
margin-bottom: 0;
}
.fr-label {
display: block;
}
.fr-label-title {
display: inline-flex;
color: #333;
font-size: 14px;
min-height: 22px; /* ""的标签页占位 */
line-height: 22px;
}
.fr-label-required {
margin: 1px 4px 0 0;
color: #f5222d;
font-size: 14px;
font-family: SimSun, sans-serif;
}
.fr-label-title::after {
content: ':';
position: relative;
top: -0.5px;
margin: 0 10px 0 2px;
}
.fr-label-title.no-colon::after {
content: '';
margin: 0;
}
.fr-label-object .fr-label-title {
font-size: 16px;
color: #222;
}
.fr-label-array .fr-label-title {
font-size: 16px;
color: #222;
}
.fr-desc {
margin-top: 3px;
font-size: 12px;
word-break: break-all;
color: #888;
}
.fr-validate {
margin-left: 12px;
font-size: 12px;
word-break: break-all;
color: #f5222d;
}
/* Row */
.fr-validate-row {
margin: 3px 0 0 0;
}
.fr-label-row {
text-align: right;
flex-shrink: 0;
}
.fr-field-row .fr-content {
flex: 1;
position: relative;
}
.fr-field-row .fr-tooltip-icon {
margin: 3px 2px 0 0;
}
/* 自定义类 */
.hover-b--black-20:hover {
border-color: rgba(0, 0, 0, 0.3);
}
.pt44 {
padding-top: 46px;
}
.pv12 {
padding-top: 12px;
padding-bottom: 12px;
}
.fr-move-icon {
position: absolute;
top: 0;
right: 0;
padding-top: 2px;
padding-right: 10px;
font-size: 24px;
font-weight: 300;
}
.fr-move-icon:hover {
cursor: move;
}
/* 组件内部样式*/
.fr-color-picker {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
color: #666;
}
.fr-color-picker .rc-color-picker-trigger {
margin-right: 12px;
height: 30px;
width: 60px;
border: 1px solid #e5e5e5;
}
.fr-color-picker > p {
margin: 0;
font-size: 14px;
line-height: 28px;
}
.fr-color-picker .rc-color-picker-wrap {
display: flex;
}
.next-input,
.next-number-picker {
width: 100%;
}
.upload-img {
max-width: 200px;
max-height: 200px;
margin-right: 24px;
}
.fr-preview-image {
width: 160px;
}
.fr-preview {
position: relative;
cursor: pointer;
}
.fr-upload-mod,
.fr-upload-file {
display: flex;
}
.fr-upload-mod {
align-items: center;
}
.fr-upload-mod .fr-upload-preview {
margin: 0 12px;
}
.fr-upload-file .ant-upload-list-item {
margin: 5px 0 0 8px;
}
.fr-upload-file .ant-upload-list-item-name {
margin-right: 6px;
}
.fr-upload-file .ant-upload-list-item-info {
cursor: pointer;
}
.fr-upload-file .next-upload-list-text .next-upload-list-item-done,
.fr-upload-file .next-upload-list-text .next-upload-list-item .next-icon {
height: 28px;
line-height: 28px;
margin-left: 12px;
}
.fr-upload-file .next-upload-list-item-name-wrap {
margin-top: -4px;
}
.fr-sort-help-class {
background: #fff;
}
/* 其他样式 */
.fold-icon.fold-icon-active {
transform: rotate(0deg);
}
.fold-icon {
transform: rotate(-90deg);
transition: transform 0.24s;
cursor: pointer;
position: relative;
}
.fold-icon::after {
content: '';
position: absolute;
top: -20px;
right: -10px;
bottom: -5px;
left: -20px;
}
.fr-tooltip-toggle {
cursor: pointer;
position: relative;
}
.fr-tooltip-toggle:hover .fr-tooltip-container {
opacity: 1;
visibility: visible;
}
.fr-tooltip-icon {
height: 14px;
width: 14px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAEnUlEQVR42u1bS0iUURT+zd4Y9KDosSihNhYUaBE9YKpFDKKOOmOLahtJ2SoxA2fUdUoQJK5qU0ib6LlxUYJpkY0LE3tQZkU7y7A0e1jnA4Of8pz//5373/+BF44Oc+/c853v3nOf5xpup0QiMZ9kD8mxeDzeTHKXP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6GIE10VWV2MBIiALmKWrMfFylJsRgkIAsAp1NojX47hCZn74HdfjficAAzp3PY6rf9g4GyBhw3/6Axoi0yW48IDtcQwBRVIUOHaQfguSAiYpvB42Od1Cxiz8s5tkpdfGAwOwSFhhy0xXUnV+DpSEbmCwwFiXKcPXbYTKpnSHykIndFsYf01JsDRJTxCDpUGU7nB5SKcfwuWLiooWK38wQXLJwcOFtIoHE/Bh5v6SE2DMdvNN4BE3nszQ93szfTJDclTbU7lAP5pSGIxY5eWzOdL/lXrkKW6Fp7M3XPTi4SR0zz6dnX087fOEq2k8hTc/nydJm57Pj3v5fP4PSqRR6oYkTaUAAAAASUVORK5CYII=');
background-size: cover;
display: block;
margin: 4px 0 0 4px;
}
.fr-tooltip-container {
position: absolute;
width: 160px;
left: 50%;
white-space: initial !important;
top: -34px;
text-align: center;
background: #2b222a;
padding: 4px;
margin-left: -77px;
border-radius: 4px;
color: #efefef;
font-size: 13px;
cursor: auto;
z-index: 99999;
transition: all 0.5s ease;
opacity: 0;
visibility: hidden;
}
.fr-tooltip-triangle {
position: absolute;
left: 50%;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #2b222a;
transition: all 0.5s ease;
content: ' ';
font-size: 0;
line-height: 0;
margin-left: -5px;
width: 0;
bottom: -5px;
}
.fr-tooltip-toggle::before,
.fr-tooltip-toggle::after {
color: #efefef;
font-size: 13px;
opacity: 0;
pointer-events: none;
text-align: center;
}
.fr-tooltip-toggle:focus::before,
.fr-tooltip-toggle:focus::after,
.fr-tooltip-toggle:hover::before,
.fr-tooltip-toggle:hover::after {
opacity: 1;
transition: all 0.75s ease;
}
.fr-slider {
display: flex;
width: 100%;
align-items: center;
}
.fr-map {
display: flex;
flex-wrap: wrap;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/a-survey/form-render.git
[email protected]:a-survey/form-render.git
a-survey
form-render
form-render
master

搜索帮助