mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor style edits...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b51448a78c
commit
2b33fa8878
@ -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 */
|
||||
|
||||
@ -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 ***/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user