agenda-libre-ruby/app/assets/stylesheets/region.sass

81 lines
1.6 KiB
Sass
Raw Normal View History

ul.regions
width: 100%
margin: 0
padding: 0
z-index: 1500
display: flex
position: absolute
flex-wrap: wrap
font-size: normal
list-style: none
justify-content: space-around
background-image: linear-gradient(white, transparent)
li
&.selected
border: solid 6px lightgray
display: inline-block
a
padding: 0.3em
2019-05-02 12:33:40 +02:00
display: block
white-space: nowrap
&:hover li, li.selected
display: block
ul
padding: 0
position: absolute
box-shadow: 0 4px 4px gray
li
border: solid thin #eee
display: none
background-color: white
em.fa.fa-times
float: right
font-size: larger
margin-left: 0.3em
html.no-js ul.regions li#near-me
display: none
html.iframe main > ul.regions
display: none
2019-05-03 11:35:24 +02:00
.field.region
.radios
2019-05-03 15:44:54 +02:00
z-index: 100
flex-grow: 0
text-align: left
background-color: white
2019-05-03 11:35:24 +02:00
.radios
display: inline
2019-05-03 15:44:54 +02:00
min-width: 12em
label
display: none
2019-05-03 11:35:24 +02:00
min-width: 100%
&:hover > .radios, label:hover + .radios, .radios:hover
2019-05-03 15:44:54 +02:00
z-index: 1000
position: absolute
2019-05-03 11:35:24 +02:00
box-shadow: 0 0 0.1em black
& > .region > label, & > label
display: inline-block
.radios
position: absolute
2019-05-03 15:44:54 +02:00
&:hover > .radios, & > label:hover + .radios, & > .radios:hover
margin-left: 10em
transition-duration: unset
2019-05-03 11:35:24 +02:00
input:checked + label
display: inline-block
// Override for the missing quebec flag!
.flag-icon-ca-qc
background-image: image-url(regions/CA-QC)
body.stats h3
text-align: center
2014-10-19 16:47:30 +02:00
table.list.dates
th, td
2014-10-23 10:59:14 +02:00
padding: 0 0.6em
2014-10-19 16:47:30 +02:00
.sparkline
padding: 0