Skip to content
Extraits de code Groupes Projets
application.sass 3,13 ko
Newer Older
  • Learn to ignore specific revisions
  • danielvincent's avatar
    danielvincent a validé
    body
      :font
        :family 'helvetica', 'arial', 'sans-serif'
    
    danielvincent's avatar
    danielvincent a validé
      :padding 2em
      :margin 0
    
    danielvincent's avatar
    danielvincent a validé
      :color #CC1E14
    
    danielvincent's avatar
    danielvincent a validé
      :text
        :decoration none
    
    danielvincent's avatar
    danielvincent a validé
      &:hover
        :color #CC1E14
    
    
    #flash_notice,
    #flash_error,
    #flash_alert
      :padding 5px 8px
      :margin 10px 0
    
    #flash_notice
      :background-color #CFC
      :border solid 1px #6C6
    
    #flash_error,
    #flash_alert
      :background-color #FCC
      :border solid 1px #C66
    
    .fieldWithErrors
      :display inline
    
    .error_messages
      :width 400px
      :border 2px solid #CF0000
      :padding 0
      :padding-bottom 12px
      :margin-bottom 20px
      :background-color #f0f0f0
      :font
        :size 12px
      h2
        :text-align left
        :padding 5px 5px 5px 15px
        :margin 0
        :font
          :weight bold
          :size 12px
        :background-color #c00
        :color #fff
      p
        :margin 8px 10px
      ul
        :margin 0
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
    header
    
    danielvincent's avatar
    danielvincent a validé
      :z-index 10
    
    
    danielvincent's avatar
    danielvincent a validé
      :width 100%
    
    
    danielvincent's avatar
    danielvincent a validé
      :margin
        :top -2em
        :right -2em
        :left -2em
    
    
      :height 30px
    
    danielvincent's avatar
    danielvincent a validé
      :color #fff
      :background
        :color #1A1A21
      :border
    
      :padding
        :top 5px
    
    
    danielvincent's avatar
    danielvincent a validé
        :top 8px
    
    danielvincent's avatar
    danielvincent a validé
        :left 1em
    
    danielvincent's avatar
    danielvincent a validé
      #session_action
    
    danielvincent's avatar
    danielvincent a validé
        :right 1em
        :font
          :size 120%
    
        a
          :color #ccc
          :border none
    
    
    danielvincent's avatar
    danielvincent a validé
    
    
    ul.nav
    
    danielvincent's avatar
    danielvincent a validé
      :position absolute
    
      :padding 0
      :margin 0
    
    danielvincent's avatar
    danielvincent a validé
      :width 200px
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
        :display block
    
        :padding 5px 10px
    
        :border 1px solid #fff
    
    danielvincent's avatar
    danielvincent a validé
      
    
    
        &:first-child
          :border-top-right-radius 5px
          :border-top-left-radius 5px
    
    danielvincent's avatar
    danielvincent a validé
    
    
        &:last-child
          :border-bottom-right-radius 5px
          :border-bottom-left-radius 5px
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
    #header_below
    
    danielvincent's avatar
    danielvincent a validé
      :z-index 5 
      :position fixed
      :height 40px
      :width 100%
    
    danielvincent's avatar
    danielvincent a validé
      :padding 1em
    
    danielvincent's avatar
    danielvincent a validé
        :top 40px
    
    danielvincent's avatar
    danielvincent a validé
      :top 0
    
    danielvincent's avatar
    danielvincent a validé
      :background
    
    danielvincent's avatar
    danielvincent a validé
        :color rgba( 255, 255, 255, 0.9)
    
    danielvincent's avatar
    danielvincent a validé
      :margin
    
    danielvincent's avatar
    danielvincent a validé
        :left -2em
    
    danielvincent's avatar
    danielvincent a validé
      img
    
    danielvincent's avatar
    danielvincent a validé
        :position absolute
    
    danielvincent's avatar
    danielvincent a validé
        :width 200px
        :border-radius 5px
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
    #content  
    
      :position absolute
      :left 250px
      :top 94px
      :width 60%
      :min-width 500px
      :max-width 700px
    
    danielvincent's avatar
    danielvincent a validé
    
    
    ul#stream
      :margin 0
      :padding 0
    
    danielvincent's avatar
    danielvincent a validé
      :color #666
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
      > li
    
    danielvincent's avatar
    danielvincent a validé
        :padding 1em
        :border
          :bottom 1px solid #f1f1f1
    
    danielvincent's avatar
    danielvincent a validé
    
    li.message
    
    danielvincent's avatar
    danielvincent a validé
      :line-height 140%
    
    danielvincent's avatar
    danielvincent a validé
      :font
    
        :size 120%
    
    danielvincent's avatar
    danielvincent a validé
        :family 'Lucida Grande'
    
    danielvincent's avatar
    danielvincent a validé
      :color #999
    
    danielvincent's avatar
    danielvincent a validé
      span.from
    
        :color #000
    
    danielvincent's avatar
    danielvincent a validé
        :font
          :weight bold
    
    danielvincent's avatar
    danielvincent a validé
        :margin
          :right 0.2em
    
    danielvincent's avatar
    danielvincent a validé
      div.time
    
    danielvincent's avatar
    danielvincent a validé
        :color #bababa
        :font-size 70%
    
    danielvincent's avatar
    danielvincent a validé
    h1
    
    danielvincent's avatar
    danielvincent a validé
      :position relative
    
    danielvincent's avatar
    danielvincent a validé
      :font
        :size 24px
        :weight bold
      :line-height 36px
    
    
    danielvincent's avatar
    danielvincent a validé
      p.description, span.description
    
    danielvincent's avatar
    danielvincent a validé
        :font
    
          :weight 200
          :family 'helvetica neue', 'lucida grande', 'sans-serif'
    
    danielvincent's avatar
    danielvincent a validé
        :color #999
    
    danielvincent's avatar
    danielvincent a validé
    
    
    .big_number
      :font
        :weight bold
        :size 500%
      :line-height 100%
    
    danielvincent's avatar
    danielvincent a validé
    
    
    danielvincent's avatar
    danielvincent a validé
    h3
    
    danielvincent's avatar
    danielvincent a validé
      :position relative
      :font
        :size 18px 
        :weight bold
    
    
    #publish
    
    danielvincent's avatar
    danielvincent a validé
      input#thought
    
        :font
          :size 30px
        :padding 7px
        :border-radius 5px
    
    danielvincent's avatar
    danielvincent a validé
        :width 100%
        :margin
          :bottom 1em
    
    danielvincent's avatar
    danielvincent a validé
    form
      :font
    
    danielvincent's avatar
    danielvincent a validé
      :margin 1em
      :margin-left 0em
    
    danielvincent's avatar
    danielvincent a validé
    
      input
        :font
          :size 150%
        :padding 0.2em
    
    danielvincent's avatar
    danielvincent a validé
        :max-width 100%
      
    
    danielvincent's avatar
    danielvincent a validé
    #user_name
      a
        :color #000
        &:hover
          :color #CC1E14
    
      :background
        :color rgba( 255, 255, 255, 0.5)