about summary refs log tree commit diff stats
path: root/app/views/admin/games/edit.html.haml
blob: d7a480b759d48257252796caa77a02065bd4ec9d (plain) (blame)
1
2
3
- title "Editing #{@game.title}"
= form_for @game, url: admin_game_url(@game), html: { id: "entry-form" } do |f|
  = render partial: "form", locals: { f: f }
or: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
// Place all the styles related to the Records controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

@import url('https://fonts.googleapis.com/css?family=Inconsolata');

#records {
  padding: 0;
  margin: 0 1em;

  & > li {
    display: block;
    padding: .25em 0;

    .description {
      a {
        text-decoration: none;
        color: #352712;
        font-family: 'Inconsolata', monospace;

        &:hover {
          text-decoration: underline;
        }

        &:visited {
          color: #352712;
        }
      }
    }

    .tags {
      margin: .25em;
      display: flex;
      flex-wrap: wrap;
      padding-left: 0;

      li {
        display: inline;
        font-size: .75em;
        font-family: 'Inconsolata', monospace;
        padding: .25em;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;

        &.record-date {
          background-color: #fef1bf;
        }

        &.entry-type {
          text-transform: uppercase;

          &.entry-type-blog {
            background-color: #90fefb;
          }

          &.entry-type-stream, &.entry-type-update {
            background-color: #98FB98;
          }
          
          &.entry-type-link {
            background-color: #FFCC99;
          }
        }

        &.entry-tag {
          margin-left: 0.5em;

          &:before {
            content: "#";
          }
        }

        & + li {
          margin-left: 1em;
        }
      }
    }
  }
}