Skip to content

Commit a58af19

Browse files
committed
Css for help block.
Signed-off-by: Joshua Parker <joshua@joshuaparker.dev>
1 parent 40e8a67 commit a58af19

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

public/static/assets/css/admin-styles.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,43 @@
88
@import url('bootstrap-switchery/switchery.min.css');
99
@import url('AdminLTE.min.css');
1010
@import url('skins/_all-skins.min.css');
11+
.accessible-help-block {
12+
display: flex;
13+
gap: 1rem;
14+
padding: 1.5rem;
15+
background-color: #f0f7ff; /* High contrast background */
16+
border-left: 4px solid #0056b3; /* Visual anchor */
17+
border-radius: 4px;
18+
margin: 1.5rem 0;
19+
}
20+
21+
.accessible-help-block p {
22+
color: #666666;
23+
}
24+
25+
.accessible-help-block__icon {
26+
font-size: 1.5rem;
27+
user-select: none;
28+
}
29+
30+
.accessible-help-block__title {
31+
margin-top: 0;
32+
margin-bottom: 0.5rem;
33+
color: #002d62; /* High contrast text */
34+
font-size: 1.2rem;
35+
}
36+
37+
.accessible-help-block__link {
38+
display: inline-block;
39+
margin-top: 0.75rem;
40+
color: #0056b3;
41+
font-weight: bold;
42+
text-decoration: underline;
43+
}
44+
45+
/* Crucial: High-visibility focus indicator for keyboard users */
46+
.accessible-help-block__link:focus {
47+
outline: 3px solid #ffbf47;
48+
outline-offset: 2px;
49+
background-color: #fff;
50+
}

0 commit comments

Comments
 (0)