Sha256: 17c21131f074c0af6adaab66012ccd59a346b0a327a47af533e70185a47c5e7f

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

:css
  div.dialog {
    color: #2E2F30;
    text-align: center;
    font-family: arial, sans-serif;
    margin: 0;
    width: 95%;
    max-width: 33em;
    margin: 4em auto;
  }

  div.dialog > div {
    border: 1px solid #CCC;
    border-right-color: #999;
    border-left-color: #999;
    border-bottom-color: #BBB;
    border-top: #B00100 solid 4px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    background-color: white;
    padding: 7px 12% 0;
    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  }

  h1 {
    font-size: 100%;
    color: #730E15;
    line-height: 1.5em;
    margin: 10px 0;
  }

  div.dialog p {
    margin: 16px 0;
  }

  div.dialog > p {
    margin: 0 0 1em;
    padding: 1em;
    background-color: #F7F7F7;
    border: 1px solid #CCC;
    border-right-color: #999;
    border-left-color: #999;
    border-bottom-color: #999;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-color: #DADADA;
    color: #666;
    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  }
/ This file lives in app/views/errors/bad_request.html.erb
.dialog
  %div
    %h1 Bad request
  %p The service received a incomplete request.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rambulance-0.4.0 lib/generators/rambulance/templates/views/bad_request.html.haml
rambulance-0.3.1 lib/generators/rambulance/templates/views/bad_request.html.haml
rambulance-0.3.0 lib/generators/rambulance/templates/views/bad_request.html.haml
rambulance-0.2.0 lib/generators/rambulance/templates/views/bad_request.html.haml
rambulance-0.1.2 lib/generators/rambulance/templates/views/bad_request.html.haml
rambulance-0.1.1 lib/generators/rambulance/templates/views/bad_request.html.haml