Skip to content

Commit 9ef3018

Browse files
committed
option-inspector
1 parent 2070b87 commit 9ef3018

7 files changed

Lines changed: 1056 additions & 1 deletion

File tree

option-inspector/css/dbug.css

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
/*
2+
Source: https://github.com/KOLANICH/dBug/blob/master/dBug.php
3+
*/
4+
table.dBug_array,table.dBug_object,table.dBug_resource,table.dBug_resourceC,table.dBug_xml{
5+
font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:12px;
6+
}
7+
8+
.dBug_arrayHeader,
9+
.dBug_objectHeader,
10+
.dBug_resourceHeader,
11+
.dBug_resourceCHeader,
12+
.dBug_xmlHeader,
13+
.dBug_falseHeader,
14+
.dBug_numericHeader,
15+
.dBug_databaseHeader
16+
{ font-weight:bold; color:#FFFFFF; cursor:pointer; }
17+
18+
.dBug_arrayKey,
19+
.dBug_objectKey,
20+
.dBug_xmlKey,
21+
.dBug_stringHeader,
22+
.dBug_booleanHeader,
23+
.dBug_ExceptionHeader
24+
{ cursor:pointer; }
25+
26+
.dBug_numeric td{
27+
color:black;
28+
}
29+
30+
table.dBug_string,td.dBug_numericHeader{
31+
color:white;
32+
}
33+
34+
/*Exception*/
35+
table.dBug_Exception {
36+
background-color:#AB1212;
37+
border-width: 5px;
38+
border-color: #FF006E;
39+
border-style: dashed;
40+
font-weight: bolder;
41+
color: #FFF8F8;
42+
}
43+
table.dBug_Exception td { background-color:#E13636;}
44+
table.dBug_Exception td.dBug_ExceptionHeader { background-color:#FF0000; }
45+
table.dBug_Exception td.dBug_ExceptionKey { background-color:#E65050; }
46+
47+
/* array */
48+
table.dBug_array { background-color:#006600; }
49+
table.dBug_array td { background-color:#FFFFFF; }
50+
table.dBug_array td.dBug_arrayHeader { background-color:#009900; }
51+
table.dBug_array,.dBug_object td.dBug_arrayKey { background-color:#CCFFCC; }
52+
53+
/* object */
54+
table.dBug_object { background-color:#0000CC; }
55+
table.dBug_object td { background-color:#FFFFFF; }
56+
table.dBug_object td.dBug_objectHeader { background-color:#4444CC; }
57+
table.dBug_object td.dBug_objectKey { background-color:#CCDDFF; }
58+
59+
/* resource */
60+
table.dBug_resourceC { background-color:#884488; }
61+
table.dBug_resourceC td { background-color:#FFFFFF; }
62+
table.dBug_resourceC td.dBug_resourceCHeader { background-color:#AA66AA; }
63+
table.dBug_resourceC td.dBug_resourceCKey { background-color:#FFDDFF; }
64+
65+
/* resource */
66+
table.dBug_resource { background-color:#884488; }
67+
table.dBug_resource td { background-color:#FFFFFF; }
68+
table.dBug_resource td.dBug_resourceHeader { background-color:#AA66AA; }
69+
table.dBug_resource td.dBug_resourceKey { background-color:#FFDDFF; }
70+
71+
/* xml */
72+
table.dBug_xml { background-color:#888888; }
73+
table.dBug_xml td { background-color:#FFFFFF; }
74+
table.dBug_xml td.dBug_xmlHeader { background-color:#AAAAAA; }
75+
table.dBug_xml td.dBug_xmlKey { background-color:#DDDDDD; }
76+
77+
78+
/* database */
79+
table.dBug_database { background-color:#8FB6E6 }
80+
table.dBug_database td { background-color:#07DDF9; }
81+
table.dBug_database td.dBug_databaseHeader { background-color:#07F7FB; }
82+
table.dBug_database td.dBug_databaseKey { background-color:#AEF4F5; }
83+
84+
85+
/* FALSE and boolean false*/
86+
table.dBug_false { background-color:#CB0101; }
87+
table.dBug_false td { background-color:#FFFFFF; }
88+
table.dBug_boolean td.dBug_booleanFalse,table.dBug_false td.dBug_falseHeader { background-color:#F2054C; }
89+
table.dBug_false td.dBug_falseKey { background-color:#DDDDDD; }
90+
91+
92+
/* numeric */
93+
table.dBug_numeric { background-color:#F9C007; }
94+
table.dBug_numeric td { background-color:#FFFFFF; }
95+
table.dBug_numeric td.dBug_numericHeader { background-color:#F2D904; }
96+
//table.dBug_numeric td.dBug_numericKey { background-color:#DDDDDD; }
97+
98+
99+
/* string */
100+
table.dBug_string { background-color:#556832 }
101+
table.dBug_string td { background-color:#B3C520;}
102+
table.dBug_string td.dBug_stringHeader { background-color:#808000; }
103+
table.dBug_string,.dBug_object td.dBug_stringKey { background-color:#96A428; }
104+
105+
/*boolean*/
106+
table.dBug_boolean { background-color:#43769F }
107+
table.dBug_boolean td.dBug_booleanHeader { background-color:#5EA5DE; }
108+
table.dBug_boolean td.dBug_booleanTrue { background-color:#04F258; }
109+
table.dBug_boolean td.dBug_booleanTrue,table.dBug_boolean td.dBug_booleanFalse { width:46px; text-align: center;border-radius: 45%;}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
Option Inspector stylesheet
3+
*/
4+
#all-options .form-table .inspector {
5+
padding: 4px 20px 4px 0;
6+
}
7+
#all-options .form-table .inspector:hover {
8+
padding-right: 0;
9+
}
10+
#all-options .form-table .inspector .dashicons {
11+
display: none;
12+
color: #333;
13+
font-size: 1.5em;
14+
margin-left: -2px;
15+
line-height: 0.8em;
16+
vertical-align: middle;
17+
cursor: pointer;
18+
}
19+
#all-options .form-table .inspector:hover .dashicons {
20+
display: inline;
21+
}
22+
#all-options .form-table .inspector:hover input[type="text"] {
23+
color: #333;
24+
}
25+
.dBug_array {
26+
margin: 0 auto;
27+
}

0 commit comments

Comments
 (0)