clsPicker.css 2.49 KB
/* 重置部分mobile样式 */
.page-content {
    overflow: hidden;
}
/* clspicker */
.clspicker {
    position: absolute;
    top: 0;
    left: 0;
}
.clspicker .canvas-container {
    z-index: 99;
}
/* clsbox */
.clsbox {
    position: absolute; 
    top: 0;
    left: 0;
    padding: .3em 1em; 
    font-size:13px; 
    cursor: default;
    color: rgb(126, 202, 250); 
    background-color: #333; 
    border-radius: 3px;
    white-space: nowrap;
    z-index:100; 
}
/* clsbox 审查元素 */
.clsbox-inspecter {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.clsbox-inspecter.margin-box {
    position: fixed;
    background: rgba(230, 120, 0, 0.35);
    z-index: 10;
    box-sizing: content-box;
}
.clsbox-inspecter.padding-box {
    background: rgba(130, 255, 220, 0.35);
}
.clsbox-inspecter.content-box {
    background: rgba(0, 80, 255, 0.35);
}
/* clsbox-rule css样式规则 */
.clsbox-rule {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
.clsbox-rule:after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.clsbox-rule>div {
    position: absolute;
    max-width: 80%;
    max-height: 80%;
    left: 0;
    right: 0;
    top: 30%;
    margin: 0 auto;
    transform: translateY(-30%);
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    box-sizing: border-box;
    background: #23241f;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    display: none;
}
.clsbox-rule .rule-container {
    position: relative;
    padding: 15px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: text;
    word-wrap: break-word;
    box-sizing: border-box;
}
.clsbox-rule .rule-container .rule-close {
    position: absolute;
    top: -1px;
    right: 5px;
    font-size: 18px;
    color: #f4f5f7;
    cursor: pointer;
}
.clsbox-rule .rule-container .rule-close:hover {
    opacity: .8;
}
.clsbox-rule .cls-property:hover .transfer-icon {
    visibility: visible;
    cursor: pointer;
}
.clsbox-rule .cls-property:hover .transfer-icon:hover {
    color: #dfdfdf;
}
.clsbox-rule .cls-property .transfer-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    visibility: hidden;
    width: 10px;
    height: 10px;
    background: url("/mobilemode/admin/img/op/arrow-left.png")  no-repeat;
    background-size: 100%;
}
/* 禁止插件点击功能 */
body>div{
    pointer-events:none;
}
.clsbox-rule,
section.clspicker{
    pointer-events:all;
}