-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwai-aria.css
More file actions
158 lines (157 loc) · 6.14 KB
/
wai-aria.css
File metadata and controls
158 lines (157 loc) · 6.14 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
.special-debug {
background: #fff !important;
overflow: scroll !important; }
.special-debug [role=row] {
display: table-row;
border-collapse: collapse; }
.special-debug [role=gridcell],
.special-debug [role=columnheader],
.special-debug [role=rowheader] {
display: table-cell; }
.special-debug [role=grid] {
display: table;
padding: 2px !important;
border: 1px solid #ddd; }
.special-debug * {
position: static !important;
width: auto !important;
max-width: initial !important;
max-height: initial !important;
min-width: initial !important;
min-height: initial !important;
height: auto !important;
float: none !important;
background: none !important;
color: #444 !important;
padding: 0 !important;
transform: none !important;
border: 0 !important;
opacity: 1 !important;
font-size: 12px !important;
box-shadow: none !important;
text-shadow: none !important;
border-radius: 0 !important;
margin: 0 !important;
text-indent: 0 !important;
text-align: left !important; }
.special-debug *:before, .special-debug *:after {
position: static !important; }
.special-debug svg {
display: none; }
.special-debug h1, .special-debug h2, .special-debug h3, .special-debug h4, .special-debug h5, .special-debug h6 {
position: relative !important;
padding-left: 22px !important; }
.special-debug h1:after, .special-debug h2:after, .special-debug h3:after, .special-debug h4:after, .special-debug h5:after, .special-debug h6:after {
content: "h1";
position: absolute !important;
left: 0;
top: 0;
background: #fff;
border: 1px solid #ddd;
border-radius: 10px;
line-height: 1;
padding: 4px;
font-size: 10px; }
.special-debug h1 *, .special-debug h2 *, .special-debug h3 *, .special-debug h4 *, .special-debug h5 *, .special-debug h6 * {
font-size: inherit !important; }
.special-debug h1 {
font-size: 22px !important; }
.special-debug h2 {
font-size: 18px !important; }
.special-debug h2:after {
content: "h2"; }
.special-debug h3 {
font-size: 14px !important; }
.special-debug h3:after {
content: "h3"; }
.special-debug h4, .special-debug h5, .special-debug h6 {
font-size: 14px !important;
opacity: 0.8 !important; }
.special-debug h4:after, .special-debug h5:after, .special-debug h6:after {
content: "h4"; }
.special-debug h5:after {
content: "h5"; }
.special-debug h6:after {
content: "h6"; }
.special-debug th, .special-debug td, .special-debug *[role=gridcell] {
border: 1px solid #aaa !important; }
.special-debug th, .special-debug [role=columnheader], .special-debug [role=rowheader] {
background: #ddd !important; }
.special-debug ul > li,
.special-debug [role=listitem] {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AMMEAALXBIOsgAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAuSURBVAjXXcu5CQAgAACx+AzjOoJbuJrghIKF2pjy4AIKqmNmNPQbUvTJGFhv2XaCBE7jBI7dAAAAAElFTkSuQmCC") no-repeat 0 5px !important;
padding-left: 7px !important; }
.special-debug b, .special-debug i {
color: #700 !important; }
.special-debug img {
max-width: 100px !important; }
.special-debug textarea, .special-debug input, .special-debug select, .special-debug button, .special-debug a[role=button] {
border: 1px solid #aaa !important;
padding: 5px !important; }
.special-debug textarea:focus, .special-debug input:focus, .special-debug select:focus, .special-debug button:focus, .special-debug a[role=button]:focus {
border-color: #28DCB4 !important; }
.special-debug textarea, .special-debug input[type='text'], .special-debug input[type='password'], .special-debug input[type='email'], .special-debug select {
width: 100% !important; }
.special-debug a[href] {
color: #239 !important;
margin-right: 5px !important; }
.special-debug a[href] * {
color: #239 !important; }
.special-debug a[href]:hover, .special-debug a[href]:focus {
text-decoration: underline; }
.special-debug a[href]:focus {
outline: 1px solid #aaa; }
.special-debug a[title]:before, .special-debug button[title]:before, .special-debug *[role=button][title]:before, .special-debug *[tabindex="0"][title]:before {
content: attr(title) !important;
color: #aaa !important; }
.special-debug a[aria-label]:before, .special-debug button[aria-label]:before, .special-debug *[role=button][aria-label]:before, .special-debug *[tabindex="0"][aria-label]:before {
content: attr(aria-label) !important;
color: #aad !important; }
.special-debug footer,
.special-debug header,
.special-debug nav,
.special-debug [role=region],
.special-debug [role=banner],
.special-debug [role=contentinfo],
.special-debug [role=navigation],
.special-debug [role=complementary],
.special-debug [role=list],
.special-debug [role=main] {
outline: 1px solid #600 !important;
padding-top: 5px !important;
margin: 10px !important; }
.special-debug footer:before,
.special-debug header:before,
.special-debug nav:before,
.special-debug [role=region]:before,
.special-debug [role=banner]:before,
.special-debug [role=contentinfo]:before,
.special-debug [role=navigation]:before,
.special-debug [role=complementary]:before,
.special-debug [role=list]:before,
.special-debug [role=main]:before {
content: attr(aria-label) !important;
line-height: 100%;
overflow: visible;
display: block !important;
color: #800;
clear: both; }
.special-debug [role=main]:before {
content: "<MAIN>" !important; }
.special-debug [role=list]:before {
content: "<LIST>" !important; }
.special-debug nav,
.special-debug [role=navigation]:before {
position: absolute !important;
color: #f99; }
.special-debug [aria-hidden=true] {
display: none !important; }
.special-debug .special-hidden {
color: #600;
left: 0; }
.toggle-special-debug {
position: fixed !important;
top: 10px;
right: 10px;
z-index: 10000;
background: #fff !important; }