liquid_feedback_frontend
changeset 838:ab827375de65
Make :focus on elements visible
author | bsw |
---|---|
date | Thu Jul 19 23:55:48 2012 +0200 (2012-07-19) |
parents | 92fffd09deee |
children | 795eea4eff96 |
files | config/example.lua static/style.css |
line diff
1.1 --- a/config/example.lua Fri Jul 13 22:55:43 2012 +0200 1.2 +++ b/config/example.lua Thu Jul 19 23:55:48 2012 +0200 1.3 @@ -121,7 +121,7 @@ 1.4 1.5 -- Display a public message of the day 1.6 -- ------------------------------------------------------------------------ 1.7 -config.motd_public = "===Message of the day===\nThe MOTD is formatted with rocket wiki" 1.8 +-- config.motd_public = "===Message of the day===\nThe MOTD is formatted with rocket wiki" 1.9 1.10 -- Automatic issue related discussion URL 1.11 -- ------------------------------------------------------------------------
2.1 --- a/static/style.css Fri Jul 13 22:55:43 2012 +0200 2.2 +++ b/static/style.css Thu Jul 19 23:55:48 2012 +0200 2.3 @@ -44,7 +44,9 @@ 2.4 text-align: left; 2.5 font-weight: normal; 2.6 } 2.7 - 2.8 +a:focus { 2.9 + outline: 1px solid #f90; 2.10 +} 2.11 /************************************************************************* 2.12 * Some global definitions 2.13 */ 2.14 @@ -186,7 +188,9 @@ 2.15 } 2.16 2.17 .topbar a:hover, 2.18 -.topbar a:hover .logo_liquidfeedback { 2.19 +.topbar a:hover .logo_liquidfeedback, 2.20 +.topbar a:focus, 2.21 +.topbar a:focus .logo_liquidfeedback { 2.22 color: #f90; 2.23 } 2.24 2.25 @@ -505,7 +509,8 @@ 2.26 color: #aaa; 2.27 } 2.28 2.29 -a.delegation_info:hover { 2.30 +a.delegation_info:hover, 2.31 +a.delegation_info:focus { 2.32 background-color: #ddd; 2.33 } 2.34 2.35 @@ -578,6 +583,7 @@ 2.36 } 2.37 2.38 .ui_tabs_links a:hover, 2.39 +.ui_tabs_links a:focus, 2.40 .ui_tabs_links a.selected { 2.41 margin: 0; 2.42 margin-right: 2px; 2.43 @@ -793,7 +799,9 @@ 2.44 } 2.45 2.46 .login input[type=submit]:hover, 2.47 -.vertical input[type=submit]:hover { 2.48 +.vertical input[type=submit]:hover, 2.49 +.login input[type=submit]:focus, 2.50 +.vertical input[type=submit]:focus { 2.51 background-color: #444444; 2.52 } 2.53