Work on the region selector display
This commit is contained in:
parent
52a53c9518
commit
2a95ddc298
@ -99,7 +99,7 @@
|
|||||||
display: block
|
display: block
|
||||||
text-align: left
|
text-align: left
|
||||||
margin-left: 1%
|
margin-left: 1%
|
||||||
&.locality, &.repeat, &.active
|
&.region, &.locality, &.repeat, &.active
|
||||||
label
|
label
|
||||||
width: auto
|
width: auto
|
||||||
input
|
input
|
||||||
|
@ -33,45 +33,29 @@ header nav
|
|||||||
&:hover ul
|
&:hover ul
|
||||||
box-shadow: 0 4px 4px gray
|
box-shadow: 0 4px 4px gray
|
||||||
|
|
||||||
// .field.region .radios
|
|
||||||
// display: inline-block
|
|
||||||
// text-align: left
|
|
||||||
// background-color: white
|
|
||||||
// label
|
|
||||||
// width: 100%
|
|
||||||
// display: none
|
|
||||||
// &:hover > .region > label
|
|
||||||
// display: block
|
|
||||||
// z-index: 1000
|
|
||||||
// input:checked + label
|
|
||||||
// display: inline
|
|
||||||
// .region:hover .radios
|
|
||||||
// z-index: 1000
|
|
||||||
// position: absolute
|
|
||||||
// box-shadow: 0 4px 4px gray
|
|
||||||
// margin-left: 10em
|
|
||||||
.field.region
|
.field.region
|
||||||
display: block
|
|
||||||
text-align: left
|
|
||||||
& > label
|
|
||||||
display: inline-block
|
|
||||||
.radios
|
.radios
|
||||||
z-index: 1000
|
z-index: 100
|
||||||
display: inline-block
|
flex-grow: 0
|
||||||
|
text-align: left
|
||||||
background-color: white
|
background-color: white
|
||||||
.radios
|
.radios
|
||||||
display: inline
|
display: inline
|
||||||
|
min-width: 12em
|
||||||
label
|
label
|
||||||
display: none
|
display: none
|
||||||
min-width: 100%
|
min-width: 100%
|
||||||
&:hover > .radios, label:hover + .radios, .radios:hover
|
&:hover > .radios, label:hover + .radios, .radios:hover
|
||||||
|
z-index: 1000
|
||||||
position: absolute
|
position: absolute
|
||||||
box-shadow: 0 0 0.1em black
|
box-shadow: 0 0 0.1em black
|
||||||
& > .region > label, & > label
|
& > .region > label, & > label
|
||||||
display: inline-block
|
display: inline-block
|
||||||
.radios
|
.radios
|
||||||
position: absolute
|
position: absolute
|
||||||
min-width: 12em
|
&:hover > .radios, & > label:hover + .radios, & > .radios:hover
|
||||||
|
margin-left: 10em
|
||||||
|
transition-duration: unset
|
||||||
input:checked + label
|
input:checked + label
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user