minor style edits...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-11-27 01:40:33 +04:00
parent b51448a78c
commit 2b33fa8878
2 changed files with 55 additions and 0 deletions

View File

@ -1222,6 +1222,31 @@ button:hover {
.overlay-block .dialog .choice .item {
text-align: left;
}
.field :focus {
box-shadow: 0px 0px 3px 0px red;
}
/* XXX this is a hack -- hide the radio button itself... */
.field.choice input[type=radio] {
opacity: 0;
position: absolute;
}
.field.choice input ~ span {
display: block;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
}
.field.choice :checked ~ span {
color: white;
background: gray;
}
.field.choice :focus ~ span {
box-shadow: 0px 0px 3px 0px red;
}
.light.viewer .field.choice :checked ~ span {
color: white;
background: silver;
}
/************************************************************ Help ***/
/* XXX make this more generic, and not just for the keyboard... */
/* this is for sliding stuff */

View File

@ -1264,6 +1264,36 @@ button:hover {
text-align: left;
}
.field :focus {
box-shadow: 0px 0px 3px 0px red;
}
/* XXX this is a hack -- hide the radio button itself... */
.field.choice input[type=radio] {
opacity: 0;
position: absolute;
}
.field.choice input ~ span {
display: block;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
}
.field.choice :checked ~ span {
color: white;
background: gray;
}
.field.choice :focus ~ span {
box-shadow: 0px 0px 3px 0px red;
}
.light.viewer .field.choice :checked ~ span {
color: white;
background: silver;
}
/************************************************************ Help ***/