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

69 lines
1.2 KiB
Sass
Raw Normal View History

2018-04-08 23:04:52 +02:00
header
nav
2018-10-17 15:47:43 +02:00
max-width: calc(99% - 91px)
2018-09-16 23:17:24 +02:00
margin-top: -3.1em
&:hover nav
margin-top: 0
2017-07-01 19:02:46 +02:00
.region_filter
float: right
font-size: smaller
& > ul > li
float: left
ul
margin: 0
z-index: 1500
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
&.selected
box-shadow: 0 0 0 6px lightgray
a
padding: 0.3em
display: inline-block
white-space: nowrap
&:hover ul
box-shadow: 0 4px 4px gray
.radios
.radios
display: inline-block
text-align: left
background-color: white
label
display: none
padding: 0.2em
input:checked + label
display: inline
2017-07-01 19:02:46 +02:00
.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
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