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

56 lines
920 B
Sass
Raw Normal View History

@import compass
.quantity
text-align: right
2014-11-29 19:48:10 +01:00
white-space: nowrap
2013-12-10 23:49:01 +01:00
table
2014-07-26 18:27:19 +02:00
margin: 1em auto
2014-01-02 00:21:49 +01:00
border-spacing: 2px
2013-12-10 23:49:01 +01:00
th
padding: 0.3em 0.6em
2014-01-02 00:21:49 +01:00
2014-07-26 18:27:19 +02:00
&.list
2014-07-27 01:50:22 +02:00
tbody
tr:nth-child(odd)
background-color: #D1EAFF
tr:nth-child(even)
background-color: #C9E2F5
2014-07-26 18:27:19 +02:00
th
font-size: larger
td
padding: 0.2em
dl
margin: 1em auto
max-width: 40em
dt
2014-07-27 01:50:22 +02:00
clear: left
2014-07-26 18:27:19 +02:00
float: left
padding: 0.2em 1em
2014-07-27 01:50:22 +02:00
min-width: 50%
2014-07-26 18:27:19 +02:00
text-align: right
dd
padding: 0.2em 1em
2014-07-27 01:50:22 +02:00
text-align: left
&.quantity
padding-right: 16em
2014-07-27 01:50:22 +02:00
h3
display: inline
2014-10-13 22:50:59 +02:00
dt + dd + dt +dd
border-top: 1px solid #999
2013-12-10 23:49:01 +01:00
ul.counters
text-align: center
li
display: inline
a:link, a:visited
color: white
display: inline-block
padding: 0.2em 0.8em
background-color: darkblue
+border-radius(1em)
.edit_link:link, .delete_link:link
display: none