This repository was archived by the owner on Jun 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 222
Expand file tree
/
Copy pathaccessibility.css
More file actions
169 lines (159 loc) · 3.79 KB
/
accessibility.css
File metadata and controls
169 lines (159 loc) · 3.79 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
159
160
161
162
163
164
165
166
167
168
169
/*
**********************************************
|docname| - a WCAG 2.0 AA compliant stylesheet
**********************************************
*/
/* Variables holding theme colors */
:root {
--codebuttons: #474949;
}
[data-theme="dark"] {
--codebuttons: #2c0aa6;
}
/*Navigation Tabbing Styling*/
li.dropdown.open a.dropdown-toggle, li.dropdown.open a.dropdown-toggle:focus {
border:0px !important;
/*background-color: #346A6E!important;*/
background-color: #2A5659 !important;
color:#F8F8F8 !important;
}
a.dropdown-toggle:focus {
/*border:1px solid #5B9DD9 !important;
color:#5B9DD9 !important;
width:48px !important;*/
background-color: #52A6AC!important;
color:#F8F8F8 !important;
}
/* Border Manipulation */
li.divider-vertical {
margin:0px !important;
}
li.dropdown a.dropdown-toggle {
padding:15px 18px !important;
}
/*
Bootstrap button styling
*/
/* Default Button */
/* Passes WCAG 2.0 */
button.btn.btn-default:active {
color:#474949 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-default:focus {
color:#474949 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-default{
color:#FFFFFF !important;
background-color: var(--codebuttons) !important;
}
button.btn.btn-default.btn-sm.disabled:active {
color:#474949 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-default.btn-sm.disabled:focus {
color:#474949 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-default.btn-sm.disabled{
color:#FFFFFF !important;
background-color:#474949 !important;
}
/* Sucess Button */
/* Failed WCAG 2.0, #255425 passes */
button.btn.btn-success:active {
color:#427e44 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-success:focus {
color:#427e44!important;
background-color:#FFFFFF !important;
}
button.btn.btn-success {
color:#FFFFFF !important;
background-color:#427e44!important;
}
/*Primary Button*/
/* fails WCAG 2.0, #265986 passes */
button.btn.btn-primary:active {
color:#3379b6!important;
background-color:#FFFFFF !important;
}
button.btn.btn-primary:focus {
color:#3379b6 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-primary {
color:#FFFFFF !important;
background-color:#3379b6 !important;
}
/*Info Button */
/* Fails, WCAG 2.0, #155569 passes*/
button.btn.btn-info:active {
color:#1a6a83!important;
background-color:#FFFFFF !important;
}
button.btn.btn-info:focus {
color:#1a6a83 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-info{
color:#FFFFFF !important;
background-color:#1a6a83 !important;
}
/*Warning Button*/
/*Fails WCAG 2.0, #794b0b*/
button.btn.btn-warning:active {
color:#945c0e !important;
background-color:#FFFFFF !important;
}
button.btn.btn-warning:focus {
color:#945c0e !important;
background-color:#FFFFFF !important;
}
button.btn.btn-warning {
color:#FFFFFF !important;
background-color:#945c0e !important;
}
/*Danger Button */
/*Fails, #a62924 passes*/
button.btn.btn-danger:active {
color:#d33a35 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-danger:focus {
color:#d33a35 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-danger{
color:#FFFFFF !important;
background-color:#d33a35 !important;
}
/*Link Button*/
/*Fails AAA, passes with #265986*/
button.btn.btn-link:active {
color:#FFFFFF!important;
background-color:#1a6a83 !important;
}
button.btn.btn-link:focus {
color:#FFFFFF !important;
background-color:#1a6a83 !important;
}
button.btn.btn-link {
color:#1a6a83 !important;
background-color:#FFFFFF !important;
}
/*Reset Button*/
button.btn.btn-reset:active {
color:#d78080!important;
background-color:#FFFFFF !important;
}
button.btn.btn-reset:focus {
color:#d78080 !important;
background-color:#FFFFFF !important;
}
button.btn.btn-reset{
color:#FFFFFF !important;
background-color:#d78080 !important;
}