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

66 lines
1.2 KiB
Sass
Raw Normal View History

header nav
2019-05-01 23:31:32 +02:00
left: 0
2019-05-01 21:53:26 +02:00
width: 100%
position: absolute
& > ul > li
2019-05-01 21:53:26 +02:00
display: inline-block
ul
margin: 0
z-index: 1500
list-style: none
border-bottom-left-radius: 0.4em
border-bottom-right-radius: 0.4em
ul
position: absolute
2019-05-01 21:53:26 +02:00
text-align: left
li
display: none
border-top: solid thin #eee
2019-05-01 21:53:26 +02:00
li.selected
display: inline-block
& li:hover li, li li.selected
display: block
li
margin: 0
2019-05-01 21:53:26 +02:00
box-shadow: 0 0 1em white
background-color: white
&.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