PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / 1.0
SiteOrigin CSS v1.0
1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0
so-css / css / inspector.less
so-css / css Last commit date
images 11 years ago admin.css 11 years ago admin.less 11 years ago inspector.css 11 years ago inspector.less 11 years ago mixins.css 11 years ago mixins.less 11 years ago
inspector.less
236 lines
1 #socss-inspector-interface {
2 display: none;
3 position: fixed;
4 bottom: 0;
5 left: 0;
6 right: 0;
7 height: 220px;
8 background: #ffffff;
9 box-shadow: 0 -2px 2px rgba(0,0,0,0.05);
10 z-index: 99999 + 1;
11
12 font-family: "Arial", sans-serif;
13 font-size: 14px;
14 border-top: 1px solid #a3a3a3;
15
16 .socss-toolbar {
17 box-sizing: border-box;
18 background: #e6e6e6;
19 padding: 0 4px;
20 user-select: none;
21 position: absolute;
22 top: 0;
23 left: 0;
24 right: 0;
25 height: 30px;
26 overflow: hidden;
27
28 .socss-enable-inspector {
29 font-size: 20px;
30 display: inline-block;
31 padding: 5px;
32 color: #777;
33 border-left: 1px solid transparent;
34 border-right: 1px solid transparent;
35 position: absolute;
36 top: 0;
37 left: 5px;
38 bottom: 0;
39
40 height: 30px;
41 width: 30px;
42
43 box-sizing: border-box;
44
45 &:hover {
46 cursor: pointer;
47 background-color: #f3f3f3;
48 color: #596872;
49 }
50 }
51
52 .socss-hierarchy {
53 position: absolute;
54 top: 0;
55 right: 20px;
56 left: 40px;
57 bottom: 0;
58 display: block;
59 padding-left: 10px;
60 overflow: hidden;
61 white-space: nowrap;
62 background: #e6e6e6;
63
64 .socss-selector {
65 font-size: 12px;
66 line-height: 1em;
67 padding: 9px 20px 9px 9px;
68 display: inline-block;
69 background: url(./images/separator.png) top right no-repeat;
70 background-size: contain;
71 cursor: pointer;
72
73 &:last-child {
74 background: none;
75 padding-right: 9px;
76 }
77 }
78
79 }
80 }
81
82 .socss-selectors-window,
83 .socss-properties-window {
84 overflow-y: scroll;
85 font-family: "Courier New", "Lucida Console", Courier, monospace;
86 font-size: 13px;
87 border-top: 1px solid #a3a3a3;
88
89 > div {
90 line-height: 1.2em;
91 padding: 4px 10px;
92 white-space: nowrap;
93
94 &:hover {
95 background: #f6f6f6;
96 cursor: pointer;
97 }
98 }
99
100 strong{
101 font-weight: bold;
102 }
103 }
104
105 .socss-selectors-window {
106 position: absolute;
107 top: 29px;
108 left: 0;
109 right: 50%;
110 bottom: 0;
111
112 background: #fff;
113 border-right: 1px solid #aaa;
114 }
115
116 .socss-properties-window {
117 position: absolute;
118 top: 29px;
119 right: 0;
120 left: 50%;
121 bottom: 0;
122
123 background: #fff;
124 }
125 }
126
127 body.socss-active {
128 padding-bottom: 200px !important;
129
130 #socss-inspector-interface {
131 display: block;
132 height: 200px;
133
134 .socss-toolbar .socss-enable-inspector {
135 border-left: 1px solid #aaa;
136 border-right: 1px solid #aaa;
137 background-color: #f3f3f3;
138 color: #005a67;
139 }
140 }
141 }
142
143 body.socss-inactive {
144 padding-bottom: 29px !important;
145
146 #socss-inspector-interface {
147 display: block;
148 height: 29px;
149
150 .socss-selectors-window,
151 .socss-attributes-window {
152 display: none;
153 }
154 }
155 }
156
157 .socss-inspector-hover {
158 pointer-events: none;
159 position: absolute;
160
161 /* Same index as the admin bar */
162 z-index: 99999;
163
164 border: 1px dashed rgba(0,117,203,1);
165 background: rgba(0,117,203,0.15);
166
167 box-sizing: border-box;
168
169 .socss-guide {
170 display: none;
171 }
172
173 .socss-guide-margin,
174 .socss-guide-padding {
175 position: absolute;
176
177 &.socss-guide-top,
178 &.socss-guide-bottom {
179 right: 0;
180 left: 0;
181 }
182
183 &.socss-guide-left,
184 &.socss-guide-right {
185 top: 0;
186 bottom: 0;
187 }
188 }
189
190 .socss-guide-margin {
191
192 background: rgba(20,126,74,0.25);
193
194 &.socss-guide-top {
195 bottom: 100%;
196 }
197
198 &.socss-guide-bottom {
199 top: 100%;
200 }
201
202 &.socss-guide-left {
203 right: 100%;
204 }
205
206 &.socss-guide-right {
207 left: 100%;
208 }
209 }
210
211 .socss-guide-padding {
212
213 background: rgba(0,117,203,0.25);
214
215 &.socss-guide-top {
216 top: 0;
217 }
218
219 &.socss-guide-bottom {
220 bottom: 0;
221 }
222
223 &.socss-guide-left {
224 left: 0;
225 }
226
227 &.socss-guide-right {
228 right: 0;
229 }
230 }
231 }
232
233 body, html {
234 max-width: 100% !important;
235 overflow-x: hidden !important;
236 }