appCreate.css 8.7 KB
html, body { height: 100%; overflow: hidden; box-sizing: border-box; }
body { font-size: 10px; font-family: Arial, Microsoft YaHei, Helvetica, sans-serif; margin: 0; padding: 0; }
form { padding-bottom: 90px; height: 100%; box-sizing: border-box; }
    form .step:nth-child(2) { padding: 55px 20px 25px 20px; }

.step-header { list-style: none; padding: 0 8px; margin: 0; width: 100%; box-sizing: border-box; }
    .step-header li { cursor: default; padding: 10px; position: relative; text-align: center; width: 100%; }
    .step-header li.step-active { cursor: pointer; }
    .step-header li:after { content: " "; position: absolute; width: 100%; height: 1px; left: 0; bottom: 0; background: #bbb; }
    .step-header li span { color: #bfbfbf; font-size: 1.4em; letter-spacing: .7px;display: inline-block; vertical-align: middle; }
        .step-header li.step-active:after,
        .step-header li.finish:after { height: 2px; left: 0; bottom: 0; background: #108ee9; }
        .step-header li div { margin: 0 auto; background: #ccc; display: inline-block; color: #fff; width: 1.5em; height: 1.5em; border-radius: 100%; text-align: center; vertical-align: middle; line-height: 1.6em; }
            .step-header li.step-active div,
            .step-header li.finish div { cursor: pointer; background: #108ee9; font-size: 12px; }
            .step-header li.step-active span,
            .step-header li.finish span { color: #333; }

.step { margin: 0 auto; min-width: 200px; height: 100%; border: none; overflow: hidden; clear: left; padding: 20px; box-sizing: border-box; border-radius: 3px; display: none; }
.step:last-child { padding: 0; }
    .step > div { width: calc(60% - 20px); margin: 0 auto; }
    .step.active { display: block; }
    .step input,
    .step textarea,
    .step select { color: #333; font-size: 14px; }
    .step .search input { font-size: 1.2em; }
    .step textarea { height: 100px }
    .step .add-module, 
    .step .tmpls { height: 100%; display: table; width: 100%; }
    .step .tmpls { display: block; padding: 5px 0 5px 5px;}
    .step .tmpls > ul { height: calc(100% - 52px); overflow: hidden; overflow-y: auto;}
    .step .add-module { margin-top: 5px; display: block;}
        .step .add-module .module-content { padding: 5px 7px; min-width: 245px; }
        .step .add-module:after {content: " "; display: table; clear: both;}
        .step .add-module > div { float: left; display: block;overflow: hidden;height: 100%; min-height: 100%; padding: 5px; box-sizing: border-box; vertical-align: top; }
        .step .add-module > div:last-child { float: right;}
        .step .add-module .tags { position: absolute; top: 42px; left: 30px; float: none; height: auto; min-height: auto; padding: 0;}
        .step .add-module .tags ul { width: 750px; }
        .step .add-module .layout { margin-left: 0; }

.step-navigator { position: fixed; left: 0; right: 0; bottom: 10px;}
    .step-navigator .buttons { padding: 10px 15px; text-align: center; }
    .step-navigator .buttons.finish { margin: 0; }
    .step-navigator .buttons.finish .finish { display: block; }

.btn { width: 100px; color: #fff; border: 1px solid transparent; font-weight: 600; background: #108ee9; background: rgb(124, 176, 243); cursor: pointer; font-size: 1.2em; padding: .6em 0; letter-spacing: .7px; text-decoration: none; text-align: center; display: inline-block; box-sizing: border-box; border-radius: 2px; }
.btn.dir-finish { color: #108ee9; border: 1px solid #108ee9; background: #fff; margin-right: 3em;}
.btn.finish { margin: 0 auto; display: none; }
.btn.hide { display: none; }

.tmpls { background: #fff; padding: 5px; }
    .tmpls > ul {position: relative;}
        .tmpls > ul li span { font-size: 12px; position: absolute; right: -4px; top: 15px; color: #fff; transform: rotate(46deg); z-index: 1; display: none; }
        .tmpls > ul li.selected .selected { display: block; }
.tmpls .tmp-card {
    position: relative;
    width: 236px;
    height: 236px;
    background-color: #f0eff4;
    border: 1px solid transparent;
}
.tmpls > ul li.selected .tmp-card {
    border-color: #2690e3;
}
.tmpls .tmp-card > .img-wrapper {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 10;
}
.tmpls .tmp-card.not-only > .img-wrapper:first-child {
    left: 45%;
}
.tmpls .tmp-card > .img-wrapper:nth-child(2) {
    left: 56%;
    z-index: 9;
}
.tmpls > ul li .tmp-card.not-only .default,
.tmpls .tmp-card > .img-wrapper:nth-child(2) img:nth-child(2) {
    height: 150px;
}
.tmpls > ul li {
    position: relative;
    margin-right: 32px;
    display: inline-block;
}
.tmpls > ul li:nth-child(4n + 4) {
    margin-right: 0;
}
.tmpls > ul li .default,
.tmpls > ul li img {
    width: 120px;
    height: 180px;
    margin-top: -1px;
    background-color: #efefef;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    z-index: 11;
}
.tmpls > ul li .tmp-card .default img {
    width: 100% !important;
    height: 100% !important;
}
.tmpls > ul li .tmp-card  img:first-child,
.tmpls > ul li .tmp-card img:nth-child(3) {
    height: 16px;
    width: 120px;
    box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.1);
}
.tmpls > ul li .tmp-card img:nth-child(3),
.tmpls > ul li .tmp-card img:nth-child(4) {
    left: 52px;
    width: 100px;
    z-index: 10;
}
.tmpls > ul li .tmp-card img:nth-child(3) {
    top: 35px;
}
.tmpls > ul li .tmp-card img:nth-child(4) {
    height: 145px;
}
.tmpls > ul li p {
    line-height: 32px;
    text-align: center;
    color: #666;
    display: inline-block;
    vertical-align: baseline;
    font-size: 12px;
}
.tmpls header {
    position: relative;
    line-height: 32px;
    padding-bottom: 25px;
}
.tmpls header h2 {
    color: #aaa;
    font-weight: normal;
    font-size: 20px;
}
.tmpls header .tmpl-filter {
    position: absolute;
    right: 9px;
    top: 0;
    font-size: 12px;
}
.tmpls .search input {
    font-size: 12px;
}
.tmpls .tmpl-check {
    position: relative;
    text-align: center;
}
.tmpl-filter > div {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-right: -4px;
    width: 84px;
}
.tmpl-filter .category .ad-dropdown {
    position: absolute;
    width: 100%;
}
.tmpl-filter .form-control {
    position: relative;
    border-radius: 4px 0 0 4px;
}
.tmpl-filter .form-control:after {
    content: "\ee4e";
    font-family: iconfont;
    position: absolute;
    right: 6px;
    line-height: 1;
    top: 50%;
    transform: translateY(-50%);
}
.tmpl-filter .search {
    width: 336px;
}
.tmpl-filter .search input {
    border-radius: 0 4px 4px 0;
    border-left-color: transparent;
}
.tmpl-filter .search input:focus,
.tmpl-filter .search input:hover {
    border-left-color: #49a9ee;
}
.error { text-align: center; color: red; font-size: 14px; position: absolute; top: 60px; margin: 0 auto; left: 0; right: 0; display: none; }
.error.show { display: block; }

.pagination { margin-top: 2px; text-align: center; }

.upload-img-wrap{
	width: 92px;
    height: 92px;
	border: 1px dashed #d9d9d9;
    background-color: #fbfbfb;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    text-align: center;
}
.upload-img-wrap:before {
	content: "\ee58";
    font-family: iconfont;
    font-size: 30px;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    color: #666;
}
.upload-img-wrap:after {
    content: 'Upload';
    position: relative;
    top: 54px;
    color: #333;
}
.upload-img-wrap.has-value{
	border: 1px dashed #fff;
}
.upload-img-wrap.has-value:before,
.upload-img-wrap.has-value:after{
	display: none;
}
.upload-img-wrap img{
	width: 100%;
	height: 100%;
	border-radius: 4px;
}
.upload-img-wrap input[type='file']{
	position: absolute;
	font-size: 20px;
	width: 92px;
	height: 92px;
	bottom: 0px;
	left: 0px;
	filter: alpha(opacity=0);
	opacity: 0;
	cursor: pointer;
}

.search {
    margin: 0;
    height: 32px;
    position: relative;
    transition: all .3s;}
.search input {
    font-size: 12px;
    display: inline-block;
    border: none;
    width: 100%;
    padding: 0 40px 0 10px;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;}
.search a {
    padding: 0;
    top: 0;
    right: 8px;
    position: absolute;}
.search a i {
    color: #bbb;
    font-size: 14px;}
.search .clean-icon{
    right: 25px;
    color: #aaa;
    text-align: right;
    visibility: hidden;}
.search .clean-icon.visible { visibility: visible;}
.search .clean-icon i { font-size: 12px; }
.search .clean-icon:hover i {color: #000;}
.search .search-icon:hover {
    opacity: 0.8;}

.checkbox-wrapper .checkbox {
    position: relative;
    opacity: 0;
    z-index: 99;
    height: 14px;
    width: 14px;
    display: inline-block;
    top: 3px;
    margin-right: -14px;
    cursor: pointer;
}