skinDesigner.css 6.07 KB
html, body { height: 100%;}
body {
    font: 12px Microsoft YaHei,Tahoma,Helvetica,Arial,"\5b8b\4f53",sans-serif;
    background: url(/mobilemode/admin/img/bg.jpg) no-repeat;
    background-size: cover;
}

/* 更改编辑器样式 */
.skin-designer-wrapper .ace_editor, 
.skin-designer-wrapper .ace_editor * {
    font-size: 14px;}
.skin-designer-wrapper .ace-tm .ace_gutter {
    background: #fff;
    border-right: none;}
.skin-designer-wrapper .ace-tm .ace_marker-layer .ace_active-line {
    background: #f9f9f9;}
.skin-designer-wrapper .ace-tm .ace_gutter-active-line {
    background: #eee;}

/* 修改部分字体 */
.iconfont.icon-FCheckbox,
.iconfont.icon-SegControl,
.iconfont.icon-FHidden {
    font-size: 20px;
    margin-left: -2px;
}

/* 修改下拉框样式 */
.skin-designer-wrapper .ad-dropdown {
    position: absolute;
    top: 42px;}
.skin-designer-wrapper .ad-dropdown-menu .ad-dropdown-menu-item {
    padding: 5px 12px;
}

/* 消息提示 */
.skin-designer-wrapper .message {
    position: absolute;
    display: block;
    float: none;
    top: 18px;
    left: 50%;
    margin: 0 auto;
    padding: 8px 15px;
    height: auto;
    color: #666;
    background: #fff;
    line-height: 12px;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-animation-timing-function: cubic-bezier(.23,1,.32,1);
    animation-timing-function: cubic-bezier(.23,1,.32,1);
    -webkit-animation-name: adSlideUpOut;
    animation-name: adSlideUpOut;
    -webkit-animation-play-state: running;
    animation-play-state: running;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: -1;}
.skin-designer-wrapper .message.show {
    -webkit-animation-timing-function: cubic-bezier(.23,1,.32,1);
    animation-timing-function: cubic-bezier(.23,1,.32,1);
    -webkit-animation-name: adSlideUpIn;
    animation-name: adSlideUpIn;
    -webkit-animation-play-state: running;
    animation-play-state: running;
    -webkit-animation-duration: .2s;
    animation-duration: .2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: 22;}
.message i:after {
    content: "\ee61";
    font-size: 12px;
    padding-right: 7px;
    color: #00A854;}

.skin-designer-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    clear: both;}
.skin-designer-wrapper > div {
    position: relative;
    height: 100%;
    float: left;} 
.skin-designer-wrapper > .preview {
    padding: 50px 80px;
    transition: all .3s ease-in;
    overflow: auto;
    margin-right: -18px;}
.skin-designer-wrapper.full-editor > .preview {
    margin-right: -587px;
    transition: all .3s ease-out;}
.iphone .screen {
    background: #000;}
.skin-designer-wrapper > .content {
    float: none;
    padding-left: 10px;
    overflow: auto;
    background: #eee;}
.skin-designer-wrapper > .content > div {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff; }
.skin-designer-wrapper > .content header {
    width: 100%;
    height: 50px;
    padding-right: 30px;}
.skin-designer-wrapper > .content header>div {
    position: relative;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #eee;}

.skin-designer-wrapper .plugin-search {
    position: relative;
    display: inline-block;
    line-height: 50px;
    margin-left: -4px;
    vertical-align: top;}
.plugin-search .plugin-type {
    position: relative;
    display: inline-block;
    height: 28px;
    padding: 0 5px;
    line-height: 26px;
    border: 1px solid #d9d9d9;
    border-right: none;
    border-radius: 3px 0 0 3px;
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;}
.plugin-search .plugin-type:hover,
.plugin-search .plugin-type.open {
    border: 1px solid #57c5f7;
    border-right: none;
    transition: all .3s ease-in;}
.plugin-search .plugin-type.open ~ .designer-search-wrapper input,
.plugin-search .plugin-type:hover ~ .designer-search-wrapper input {
    border-left: 1px solid #49a9ee;}
.plugin-search .plugin-type i {
    display: inline-block;
    transition: all .3s ease;
    vertical-align: top;}
.plugin-search .plugin-type.open i {
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);}
.plugin-search .plugin-type i:after {
    content: "\ee4e";}
.plugin-search .plugin-type span {
    margin-right: 3px;}
.plugin-search ul {
    position: absolute;}
.plugin-search .designer-search-wrapper {
    display: inline-block;
    width: 220px;
    margin-left: -4px;}
.plugin-search .designer-search-wrapper input {
    border-radius: 0 3px 3px 0;}

.skin-designer-wrapper .left-square {
    display: inline-block;
    height: 100%;
    margin: 0px 16px;
    line-height: 50px;}
.skin-designer-wrapper .left-square:hover i:after {
    color: #108ee9;}
.skin-designer-wrapper .left-square i:after {
    content: "\ef03";
    font-size: 22px;
    color: #333;}
.skin-designer-wrapper.full-editor .left-square i:after {
    content: "\ef02";
    color: #108ee9;
}

#skin-save {
    position: absolute;
    padding: 5px 16px;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.skin-editor-warper {
    position: absolute;
    top: 50px;
    bottom: 0;
    width: 100%;}
.skin-editor-warper .plugin-list {
    height: 100%;
    width: 56px;
    padding: 20px 0 30px;
    overflow: hidden;
    float: left;}
.plugin-list > div {
    height: 100%;
    border-right: 1px solid #ddd;}
.plugin-list ul {
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    margin-right: -18px;}
.plugin-list ul i {
    display: block;
    color: #333;
    padding: 5px 16px;
    font-size: 26px;
    cursor: pointer;
    transition: background .2s ease-out;}
.plugin-list ul i.disabled {
    opacity: .3;}
.plugin-list ul i.active {
    border-right: 4px solid #108ee9;
    background: #ecf6fd;}
.plugin-list ul i:hover {
    background: #ecf6fd;
    transition: background .2s ease-in;
}

.skin-editor-wrapper {
    height: 100%;
    padding: 20px 30px 20px 10px;
    overflow: auto;}
#skin-editor {
    height: 100%;
}