PluginProbe
Code Profiler – WordPress Performance Profiling and Debugging Made Easy / trunk
Code Profiler – WordPress Performance Profiling and Debugging Made Easy vtrunk
1.9.5 1.9.4 1.9.3 trunk 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.6 1.6.1 1.6.10 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 All 40 releases
code-profiler / static / code-profiler.css

code-profiler.css in Code Profiler – WordPress Performance Profiling and Debugging Made Easy trunk, at static/code-profiler.css

248 lines 5.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 +=====================================================================+
3 | ____ _ ____ __ _ _ |
4 | / ___|___ __| | ___ | _ \ _ __ ___ / _(_) | ___ _ __ |
5 | | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| |
6 | | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | |
7 | \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| |
8 | |
9 | (c) Jerome Bruandet ~ https://nintechnet.com/codeprofiler/ |
10 +=====================================================================+
11 */
12
13 /* Percent bar in the list */
14 .cp-list-pc {
15 position: relative;
16 z-index: 1;
17 background-color: #fff;
18 border-radius: 3px;
19 border: 1px #c3c4c7 solid;
20 padding: 2px;
21 }
22 .cp-list-pc-bar {
23 position: absolute;
24 top: 0;
25 bottom: 0;
26 left: 0;
27 background-color: rgba( 144, 238, 144, .6 );
28 z-index: -1;
29 }
30
31 /* Profiler's progress bar */
32 .cp-progress-bar {
33 background-color: #eee;
34 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
35 height: 26px;
36 width: 100%;
37 border-radius: 5px;
38 border-bottom:solid 1px #fff;
39 }
40 .cp-progress-bar span {
41 display: inline-block;
42 float: left;
43 height: 100%;
44 border-radius: 5px;
45 background-color: #2271b1;
46 box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
47 transition: width .6s ease;
48 }
49
50 /* WP_List_Table */
51 .wp-list-table .column-id { width: 5%; }
52 .wp-list-table .column-profile { width: 25%; }
53 .wp-list-table .column-date { width: 20%; }
54 .wp-list-table .column-items { width: 9%; }
55 .wp-list-table .column-time { width: 11%; }
56 .wp-list-table .column-mem { width: 11%; }
57 .wp-list-table .column-queries { width: 9%; }
58 .wp-list-table .column-io { width: 10%; }
59
60 /* TipTip CSS - Version 1.2 */
61 .code-profiler-tip{
62 color:#999;
63 display:inline-block;
64 font-size:1.3em;
65 font-style:normal;
66 position:relative;
67 vertical-align:middle;
68 height:19px;
69 line-height:19px;
70 width:19px;
71 }
72 .code-profiler-tip::after{
73 font-family:Dashicons;
74 font-weight:400;
75 font-variant:normal;
76 text-transform:none;
77 line-height:1;
78 -webkit-font-smoothing:antialiased;
79 margin:0;
80 text-indent:0;
81 position:absolute;
82 top:0;
83 left:0;
84 width:100%;
85 height:100%;
86 text-align:center;
87 content: "\f223";
88 cursor:help;
89 }
90 .code-profiler-tip-info{
91 color:#aaa;
92 font-size:1em;
93 }
94 .code-profiler-tip-info::after{
95 content: "\f534";
96 }
97 #cp_tiptip_holder {
98 display: none;
99 position: absolute;
100 top: 0;
101 left: 0;
102 z-index: 99999;
103 }
104 #cp_tiptip_holder.tip_top {
105 padding-bottom: 5px;
106 }
107 #cp_tiptip_holder.tip_bottom {
108 padding-top: 5px;
109 }
110 #cp_tiptip_holder.tip_right {
111 padding-left: 5px;
112 }
113 #cp_tiptip_holder.tip_left {
114 padding-right: 5px;
115 }
116 #cp_tiptip_content {
117 font-size: 14px;
118 color: #000;
119 padding: 4px 8px;
120 background-color:#F5F5B5;
121 border-radius: 4px;
122 -webkit-border-radius: 4px;
123 -moz-border-radius: 4px;
124 border:1px #666 solid;
125 }
126 #cp_tiptip_holder.tip_bottom #cp_tiptip_arrow_inner {
127 margin-top: -5px;
128 margin-right: -6px;
129 border-bottom-color: #333;
130 }
131 #cp_tiptip_arrow, #cp_tiptip_arrow_inner {
132 position: absolute;
133 border-color: transparent;
134 border-bottom-color: transparent;
135 border-style: solid;
136 border-width: 6px;
137 height: 0;
138 width: 0;
139 }
140
141 @media screen and (-webkit-min-device-pixel-ratio:0) {
142 #cp_tiptip_content {
143 padding: 4px 8px 5px 8px;
144 background-color:#F5F5B5;
145 }
146 #cp_tiptip_holder.tip_bottom #cp_tiptip_arrow_inner {
147 border-bottom-color: rgba(45,45,45);
148 }
149 #cp_tiptip_holder.tip_top #cp_tiptip_arrow_inner {
150 border-top-color: rgba(20,20,20);
151 }
152 }
153 /* End TipTip */
154
155 /* Notices */
156 .cp-notice{
157 border: 1px solid #ccd0d4;
158 margin: 5px 0 15px;
159 background: #fff;
160 border-left: 4px solid #fff;
161 box-shadow: 0 1px 1px 0 rgba(0,0,0,.04);
162 padding: 1px 12px;
163 }
164 .cp-notice-orange{
165 border-left-color: #ffb900;
166 }
167 .cp-notice-red{
168 border-left-color: #dc3232;
169 }
170 .cp-notice-green{
171 border-left-color: #46b450;
172 }
173 .cp-notice-blue{
174 border-left-color: #00a0d2;
175 }
176 .cp-notice p {
177 margin: .5em 0;
178 padding: 2px;
179 }
180 /* File view */
181 .cpview_body{
182 background:#F7F7F7;
183 font-family:Arial;
184 font-size:15px;
185 font-weight:400;
186 color:#312A2A
187 }
188 .cpview_table{
189 height:100%;
190 width:100%;
191 border:1px solid #BFBFBF
192 }
193 .cpview{
194 width:100%;
195 border-collapse:collapse;
196 border-spacing:0;
197 empty-cells:show
198 }
199 .cpview thead th{
200 text-align:left;
201 border-bottom:1px solid #BFBFBF;
202 background:#ECECEC;
203 color:#7F7F7F;
204 padding:4px;
205 border-bottom:1px solid #BFBFBF
206 }
207 .cpview_h3 {
208 color:#7F7F7F;
209 text-align:center;
210 }
211 .CodeMirror-activeline-background {
212 background:#f7e4e1;
213 }
214 .CodeMirror {
215 border:1px solid #BFBFBF
216 }
217 .CodeMirror-lines {
218 cursor: default;
219 }
220
221 /* Pro page */
222 .cppro {
223 border: 1px solid #ccc;
224 -moz-box-shadow:3px 5px 5px #999;
225 -webkit-box-shadow:3px 5px 5px #999;
226 box-shadow:3px 5px 5px #999;
227 }
228 .about-wrap .is-wide, .about-wrap.full-width-layout {
229 max-width: none;
230 }
231 #TB_window img#TB_Image {
232 border: 1px solid #ccc;
233 }
234 #TB_window, #TB_title {
235 background-color:#f0f0f1 !important;
236 }
237
238 /* Screen reader only */
239 .visually-hidden {
240 clip: rect(0 0 0 0);
241 clip-path: inset(50%);
242 height: 1px;
243 overflow: hidden;
244 position: absolute;
245 white-space: nowrap;
246 width: 1px;
247 }
248