Browse Source

Table headers smaller, without background color

remotes/origin/master
echarp 3 years ago
parent
commit
85e1e67de1
  1. 9
      app/assets/stylesheets/events.sass
  2. 9
      app/assets/stylesheets/list.sass
  3. 2
      app/assets/stylesheets/orgas.sass
  4. 3
      app/views/orgas/index.html.haml

9
app/assets/stylesheets/events.sass

@ -1,11 +1,8 @@
header.calendar-header
font-size: 1.5em
margin-top: 0.4em
font-weight: bolder
font-size: larger
a
font-weight: normal
&:first-child, &:last-child
margin: 0 0.3em
padding: 0 0.3em
em.locality.fa
color: gray
@ -25,12 +22,10 @@ p.full_address
body.events.index table
width: 100%
max-width: 100%
// So we can ellipse past events
table-layout: fixed
tr
th
padding-bottom: 0.35em
text-transform: capitalize
td
height: 4.8em

9
app/assets/stylesheets/list.sass

@ -4,15 +4,14 @@
table
clear: both
margin-top: 1em
margin-bottom: 1em
border-spacing: 2px
th
padding: 0.3em 0.6em
font-weight: normal
a:link, a:visited
color: #003
padding: 0 0.6em
&.list
thead tr
background-color: #fed
tbody
tr:nth-child(odd)
background-color: #def

2
app/assets/stylesheets/orgas.sass

@ -5,6 +5,8 @@ img.favicon
form#orga_search
font-size: larger
margin-top: 1em
margin-bottom: 1em
label
display: none
em.fa

3
app/views/orgas/index.html.haml

@ -7,8 +7,7 @@
%table.list.autopagerize_page_element
%thead
%th
%th.name= sort_link @search, :name
%th.name(colspan='2')= sort_link @search, :name
%th.city= sort_link @search, :city
%th.department= sort_link @search, :department
%th.region= sort_link @search,

Loading…
Cancel
Save