| 1 |
/* |
| 2 |
+=====================================================================+ |
| 3 |
| ____ _ ____ __ _ _ | |
| 4 |
| / ___|___ __| | ___ | _ \ _ __ ___ / _(_) | ___ _ __ | |
| 5 |
| | | / _ \ / _` |/ _ \ | |_) | '__/ _ \| |_| | |/ _ \ '__| | |
| 6 |
| | |__| (_) | (_| | __/ | __/| | | (_) | _| | | __/ | | |
| 7 |
| \____\___/ \__,_|\___| |_| |_| \___/|_| |_|_|\___|_| | |
| 8 |
| | |
| 9 |
| (c) Jerome Bruandet ~ https://code-profiler.com/ | |
| 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 |
|
| 61 |
form.scripts .wp-list-table .column-script { width: 60%; } |
| 62 |
form.scripts .wp-list-table .column-time { width: 20%; text-align:center } |
| 63 |
form.scripts .wp-list-table .column-name { width: 20%; } |
| 64 |
|
| 65 |
form.functions .wp-list-table .column-function { width: 30%; } |
| 66 |
form.functions .wp-list-table .column-time { width: 15%; text-align:center } |
| 67 |
form.functions .wp-list-table .column-calls { width: 10%; } |
| 68 |
form.functions .wp-list-table .column-script { width: 30%; } |
| 69 |
form.functions .wp-list-table .column-name { width: 15%; } |
| 70 |
|
| 71 |
form.iolist .wp-list-table .column-order { width: 10%; text-align: center; } |
| 72 |
form.iolist .wp-list-table .column-file { width: 75%; } |
| 73 |
form.iolist .wp-list-table .column-mode { width: 15%; } |
| 74 |
|
| 75 |
/* TipTip CSS - Version 1.2 */ |
| 76 |
.code-profiler-tip{ |
| 77 |
color:#999; |
| 78 |
display:inline-block; |
| 79 |
font-size:1.3em; |
| 80 |
font-style:normal; |
| 81 |
position:relative; |
| 82 |
vertical-align:middle; |
| 83 |
height:19px; |
| 84 |
line-height:19px; |
| 85 |
width:19px; |
| 86 |
} |
| 87 |
.code-profiler-tip::after{ |
| 88 |
font-family:Dashicons; |
| 89 |
font-weight:400; |
| 90 |
font-variant:normal; |
| 91 |
text-transform:none; |
| 92 |
line-height:1; |
| 93 |
-webkit-font-smoothing:antialiased; |
| 94 |
margin:0; |
| 95 |
text-indent:0; |
| 96 |
position:absolute; |
| 97 |
top:0; |
| 98 |
left:0; |
| 99 |
width:100%; |
| 100 |
height:100%; |
| 101 |
text-align:center; |
| 102 |
content: "\f223"; |
| 103 |
cursor:help; |
| 104 |
} |
| 105 |
.code-profiler-tip-info{ |
| 106 |
color:#aaa; |
| 107 |
font-size:1em; |
| 108 |
} |
| 109 |
.code-profiler-tip-info::after{ |
| 110 |
content: "\f534"; |
| 111 |
} |
| 112 |
#cp_tiptip_holder { |
| 113 |
display: none; |
| 114 |
position: absolute; |
| 115 |
top: 0; |
| 116 |
left: 0; |
| 117 |
z-index: 99999; |
| 118 |
} |
| 119 |
#cp_tiptip_holder.tip_top { |
| 120 |
padding-bottom: 5px; |
| 121 |
} |
| 122 |
#cp_tiptip_holder.tip_bottom { |
| 123 |
padding-top: 5px; |
| 124 |
} |
| 125 |
#cp_tiptip_holder.tip_right { |
| 126 |
padding-left: 5px; |
| 127 |
} |
| 128 |
#cp_tiptip_holder.tip_left { |
| 129 |
padding-right: 5px; |
| 130 |
} |
| 131 |
#cp_tiptip_content { |
| 132 |
font-size: 14px; |
| 133 |
color: #000; |
| 134 |
padding: 4px 8px; |
| 135 |
background-color:#F5F5B5; |
| 136 |
border-radius: 4px; |
| 137 |
-webkit-border-radius: 4px; |
| 138 |
-moz-border-radius: 4px; |
| 139 |
border:1px #666 solid; |
| 140 |
} |
| 141 |
#cp_tiptip_holder.tip_bottom #cp_tiptip_arrow_inner { |
| 142 |
margin-top: -5px; |
| 143 |
margin-right: -6px; |
| 144 |
border-bottom-color: #333; |
| 145 |
} |
| 146 |
#cp_tiptip_arrow, #cp_tiptip_arrow_inner { |
| 147 |
position: absolute; |
| 148 |
border-color: transparent; |
| 149 |
border-bottom-color: transparent; |
| 150 |
border-style: solid; |
| 151 |
border-width: 6px; |
| 152 |
height: 0; |
| 153 |
width: 0; |
| 154 |
} |
| 155 |
|
| 156 |
@media screen and (-webkit-min-device-pixel-ratio:0) { |
| 157 |
#cp_tiptip_content { |
| 158 |
padding: 4px 8px 5px 8px; |
| 159 |
background-color:#F5F5B5; |
| 160 |
} |
| 161 |
#cp_tiptip_holder.tip_bottom #cp_tiptip_arrow_inner { |
| 162 |
border-bottom-color: rgba(45,45,45); |
| 163 |
} |
| 164 |
#cp_tiptip_holder.tip_top #cp_tiptip_arrow_inner { |
| 165 |
border-top-color: rgba(20,20,20); |
| 166 |
} |
| 167 |
} |
| 168 |
/* End TipTip */ |
| 169 |
|
| 170 |
/* Notices */ |
| 171 |
.cp-notice{ |
| 172 |
border: 1px solid #ccd0d4; |
| 173 |
margin: 5px 0 15px; |
| 174 |
background: #fff; |
| 175 |
border-left: 4px solid #fff; |
| 176 |
box-shadow: 0 1px 1px 0 rgba(0,0,0,.04); |
| 177 |
padding: 1px 12px; |
| 178 |
} |
| 179 |
.cp-notice-orange{ |
| 180 |
border-left-color: #ffb900; |
| 181 |
} |
| 182 |
.cp-notice-red{ |
| 183 |
border-left-color: #dc3232; |
| 184 |
} |
| 185 |
.cp-notice-green{ |
| 186 |
border-left-color: #46b450; |
| 187 |
} |
| 188 |
.cp-notice-blue{ |
| 189 |
border-left-color: #00a0d2; |
| 190 |
} |
| 191 |
.cp-notice p { |
| 192 |
margin: .5em 0; |
| 193 |
padding: 2px; |
| 194 |
} |
| 195 |
/* File view */ |
| 196 |
.cpview_body{ |
| 197 |
background:#F7F7F7; |
| 198 |
font-family:Arial; |
| 199 |
font-size:15px; |
| 200 |
font-weight:400; |
| 201 |
color:#312A2A |
| 202 |
} |
| 203 |
.cpview_table{ |
| 204 |
height:100%; |
| 205 |
width:100%; |
| 206 |
border:1px solid #BFBFBF |
| 207 |
} |
| 208 |
.cpview{ |
| 209 |
width:100%; |
| 210 |
border-collapse:collapse; |
| 211 |
border-spacing:0; |
| 212 |
empty-cells:show |
| 213 |
} |
| 214 |
.cpview thead th{ |
| 215 |
text-align:left; |
| 216 |
border-bottom:1px solid #BFBFBF; |
| 217 |
background:#ECECEC; |
| 218 |
color:#7F7F7F; |
| 219 |
padding:4px; |
| 220 |
border-bottom:1px solid #BFBFBF |
| 221 |
} |
| 222 |
.cpview_h3 { |
| 223 |
color:#7F7F7F; |
| 224 |
text-align:center; |
| 225 |
} |
| 226 |
.CodeMirror-activeline-background { |
| 227 |
background:#f7e4e1; |
| 228 |
} |
| 229 |
.CodeMirror { |
| 230 |
border:1px solid #BFBFBF |
| 231 |
} |
| 232 |
.CodeMirror-lines { |
| 233 |
cursor: default; |
| 234 |
} |
| 235 |
|
| 236 |
/* Pro page */ |
| 237 |
.cppro { |
| 238 |
border: 1px solid #ccc; |
| 239 |
-moz-box-shadow:3px 5px 5px #999; |
| 240 |
-webkit-box-shadow:3px 5px 5px #999; |
| 241 |
box-shadow:3px 5px 5px #999; |
| 242 |
} |
| 243 |
.about-wrap .is-wide, .about-wrap.full-width-layout { |
| 244 |
max-width: none; |
| 245 |
} |
| 246 |
#TB_window img#TB_Image { |
| 247 |
border: 1px solid #ccc; |
| 248 |
} |
| 249 |
#TB_window, #TB_title { |
| 250 |
background-color:#f0f0f1 !important; |
| 251 |
} |
| 252 |
|
| 253 |
/* Screen reader only */ |
| 254 |
.visually-hidden { |
| 255 |
clip: rect(0 0 0 0); |
| 256 |
clip-path: inset(50%); |
| 257 |
height: 1px; |
| 258 |
overflow: hidden; |
| 259 |
position: absolute; |
| 260 |
white-space: nowrap; |
| 261 |
width: 1px; |
| 262 |
} |
| 263 |
|