Commit 363d9f1548b9296b5e2b150a81b636067e419427

Authored by Jared Pace
1 parent 9fdddb39
Exists in master and in 1 other branch production

Add .button class for understated buttons

app/views/errs/all.html.haml
1 1 - content_for :title, 'All Errs'
2 2 - content_for :action_bar do
3 3 = will_paginate(@errs)
4   - = link_to 'hide resolved', errs_path
  4 + = link_to 'hide resolved', errs_path, :class => 'button'
5 5 = render 'table', :errs => @errs
6 6 \ No newline at end of file
... ...
app/views/errs/index.html.haml
1 1 - content_for :title, 'Unresolved Errs'
2 2 - content_for :action_bar do
3 3 = will_paginate(@errs)
4   - = link_to 'show resolved', all_errs_path
  4 + = link_to 'show resolved', all_errs_path, :class => 'button'
5 5 = render 'table', :errs => @errs
6 6 \ No newline at end of file
... ...
public/stylesheets/application.css
... ... @@ -283,6 +283,27 @@ pre {
283 283 color: #AAA;
284 284 }
285 285  
  286 +/* Buttons */
  287 +a.button {
  288 + display: inline-block;
  289 + padding: 0 0.8em;
  290 + color: #666;
  291 + background-color: #EBEBEB;
  292 + border: 1px solid #BBB;
  293 + border-radius: 30px;
  294 + -moz-border-radius: 30px;
  295 + -webkit-border-radius: 30px;
  296 + box-shadow: inset 0px 0px 4px #FFF;
  297 + -moz-box-shadow: inset 0px 0px 4px #FFF;
  298 + -webkit-box-shadow: inset 0px 0px 4px #FFF;
  299 + line-height: 30px;
  300 +}
  301 +a:hover.button {
  302 + box-shadow: 0px 0px 4px #69C;
  303 + -moz-box-shadow: 0px 0px 4px #69C;
  304 + -webkit-box-shadow: 0px 0px 4px #69C
  305 +}
  306 +
286 307 /* Apps Table */
287 308 table.apps tbody tr:hover td ,table.errs tbody tr:hover td { background-color: #F2F2F2;}
288 309  
... ...