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

63 lines
1.1 KiB
Sass
Raw Normal View History

.quantity
text-align: right !important
2014-11-29 19:48:10 +01:00
white-space: nowrap
2013-12-10 23:49:01 +01:00
table
2018-09-18 10:37:41 +02:00
clear: both
margin-top: 1em
margin-bottom: 1em
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
2017-05-22 16:42:21 +02:00
thead tr
background-color: #fed
2014-07-27 01:50:22 +02:00
tbody
tr:nth-child(odd)
2017-05-22 16:42:21 +02:00
background-color: #def
2014-07-27 01:50:22 +02:00
tr:nth-child(even)
2017-05-22 16:42:21 +02:00
background-color: #eee
2014-07-26 18:27:19 +02:00
th
font-size: larger
td
padding: 0.2em
text-align: left
&.updated_at
text-align: center
2014-07-26 18:27:19 +02:00
dl
2018-03-01 21:51:45 +01:00
width: 40em
2014-07-26 18:27:19 +02:00
margin: 1em auto
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
2017-05-22 16:42:21 +02:00
padding: 0.4em 1em
display: inline-block
2017-05-22 16:42:21 +02:00
font-size: x-large
box-shadow: 0 0 2px black
border-radius: 0.4em
background-color: #258
.edit_link:link, .delete_link:link
display: none