Changeset - 567271314866
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 3 years ago 2021-10-19 13:47:58
ben@sturm.com.au
Add link and button focus/active states.
1 file changed with 16 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/css/conservancy.css
Show inline comments
...
 
@@ -56,2 +56,9 @@ a:hover { text-decoration: underline; }
 

	
 
input:focus {
 
  z-index: 3;
 
  border-color: #86b7fe;
 
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
 
};
 

	
 

	
 
a.read-more {
...
 
@@ -66,3 +73,3 @@ a.read-more {
 
}
 
.btn-orange:hover {
 
.btn-orange:hover, .btn-orange:active {
 
  background: var(--orange-dim);
...
 
@@ -71,2 +78,5 @@ a.read-more {
 
}
 
.btn-orange:focus {
 
  box-shadow: 0 0 0 .25rem var(--orange-dim);
 
}
 
.btn-white {
...
 
@@ -75,3 +85,3 @@ a.read-more {
 
}
 
.btn-white:hover {
 
.btn-white:hover .btn-white:active {
 
  background: #eee;
...
 
@@ -80,3 +90,5 @@ a.read-more {
 
}
 

	
 
.btn-white:focus {
 
  box-shadow: 0 0 0 .25rem #ddd;
 
}
 

	
...
 
@@ -162,3 +174,3 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
}
 
#navbar li:hover a {
 
#navbar li:hover a, #navbar li a:focus {
 
  border-bottom: 4px solid var(--light-green);
0 comments (0 inline, 0 general)