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

59 lines
1019 B
Sass
Raw Normal View History

@import compass
2013-12-10 23:49:01 +01:00
.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
.view_link:link, .edit_link:link, .delete_link:link
font-size: 0
2013-12-10 23:49:01 +01:00
font-weight: normal
text-decoration: none
2013-12-10 23:49:01 +01:00
&:hover
+text-shadow(2px 2px 1px lightblue)
&:before
padding: 0.5em
font-size: 20px
font-family: FontAwesome
.view_link:link:before
content: ''
.edit_link:link:before
content: ''
.delete_link:link:before
content: ''