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

63 lines
1.2 KiB
Sass

.region_filter
float: right
font-size: smaller
& > ul > li
float: left
ul
margin: 0
z-index: 500
list-style: none
text-align: left
border-bottom-left-radius: 0.4em
border-bottom-right-radius: 0.4em
ul
position: absolute
background-color: white
li
display: none
border-top: solid thin #eee
& li:hover li, li.selected
display: block
li
margin: 0
a
padding: 0.3em 0.6em
display: inline-block
white-space: nowrap
&:hover ul
box-shadow: 0 4px 4px gray
.radios
.radios
padding: 0
display: inline-block
margin-top: -0.5em
margin-left: 0.5em
background-color: white
label
display: none
padding: 0.2em 0.5em
input:checked + label
display: inline
padding: 0.5em
.region:hover .radios
z-index: 1000
position: absolute
box-shadow: 0 4px 4px gray
label
display: block !important
// Override for the missing quebec flag!
.flag-icon-ca-qc
background-image: image-url(regions/CA-QC)
body.stats h3
text-align: center
table.list.dates
th, td
padding: 0 0.6em
.sparkline
padding: 0