clsPicker.css
2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* 重置部分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;
}