diff options
Diffstat (limited to 'app/photos/static/my_styles.css')
-rw-r--r-- | app/photos/static/my_styles.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/photos/static/my_styles.css b/app/photos/static/my_styles.css index 986c8e6..95a16e0 100644 --- a/app/photos/static/my_styles.css +++ b/app/photos/static/my_styles.css @@ -16,7 +16,7 @@ #id_featured_image label { /*style the labels to look like dropdown options, kinda*/ color: #000; - display:none; + display:block; margin: 2px 2px 2px 10px; height:102px; opacity:.6; @@ -24,14 +24,15 @@ } #id_featured_image:hover label{ /*this is how labels render in the "expanded" state. we want to see only the selected radio button in the collapsed menu, and all of them when expanded*/ - display:block; } #id_featured_image label:hover { opacity:.8; } #id_featured_image input:checked + label { /*tricky! labels immediately following a checked radio button (with our markup they are semantically related) should be fully opaque regardless of hover, and they should always be visible (i.e. even in the collapsed menu*/ - opacity:1 !important; display:block; + opacity:1 !important; + display:block; + background: #333; } /*pfft, nothing as cool here, just the value trace*/ |