Skip to content
Extraits de code Groupes Projets
application.sass 3,44 ko
Newer Older
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

#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

  :position absolute
  :width 100%

danielvincent's avatar
danielvincent a validé
  :margin
    :top -2em
    :right -2em
    :left -2em

danielvincent's avatar
danielvincent a validé
  :height 30px
danielvincent's avatar
danielvincent a validé
  :color #fff
  :background
    :color #1A1A21
  :border
danielvincent's avatar
danielvincent a validé
    :bottom 2px solid #fff
danielvincent's avatar
danielvincent a validé
  :padding
    :top 5px

danielvincent's avatar
danielvincent a validé
    :position absolute
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é
    :position absolute
    :right 1em
    :font
      :size 120%
    :margin
      :top 2px
danielvincent's avatar
danielvincent a validé
    a
      :color #ccc
      :border none
      &:hover
        :color #fff

danielvincent's avatar
danielvincent a validé

danielvincent's avatar
danielvincent a validé
ul.nav
danielvincent's avatar
danielvincent a validé
  :position absolute
danielvincent's avatar
danielvincent a validé
  :padding 0
  :margin 0
danielvincent's avatar
danielvincent a validé
  :width 200px
danielvincent's avatar
danielvincent a validé
    :display block
danielvincent's avatar
danielvincent a validé
    :padding 5px 10px
    :background #F2F8FC
    :border 1px solid #fff
danielvincent's avatar
danielvincent a validé
  
  li:hover
danielvincent's avatar
danielvincent a validé
    a
danielvincent's avatar
danielvincent a validé
      :color #666
danielvincent's avatar
danielvincent a validé

  a
    :border
      :bottom none
    :color #B1CFE3
    &:hover
danielvincent's avatar
danielvincent a validé
      :color #000

  > li:first-child
    :border-top-right-radius 5px
    :border-top-left-radius 5px

  > li:last-child
    :border-bottom-right-radius 5px
    :border-bottom-left-radius 5px

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 4em
    :bottom 0
  :top 0

danielvincent's avatar
danielvincent a validé
  :background
danielvincent's avatar
danielvincent a validé
    :color rgba( 255, 255, 255, 0.8)

  //:background
    //:color rgba(230, 239, 247, 0.5)
danielvincent's avatar
danielvincent a validé
  :margin
danielvincent's avatar
danielvincent a validé
    :left -2em
danielvincent's avatar
danielvincent a validé
  
  img
    :width 200px
    :border-radius 5px
danielvincent's avatar
danielvincent a validé

danielvincent's avatar
danielvincent a validé
    
danielvincent's avatar
danielvincent a validé


danielvincent's avatar
danielvincent a validé
  :margin-left 210px
danielvincent's avatar
danielvincent a validé
  :text-shadow 0 1px #fff
  :color #666
  > li
danielvincent's avatar
danielvincent a validé
    :padding 1em
    :border
      :bottom 1px solid #f1f1f1
danielvincent's avatar
danielvincent a validé
  :width 60%
  :min-width 500px
  :max-width 700px
danielvincent's avatar
danielvincent a validé


li.message
danielvincent's avatar
danielvincent a validé
  :line-height 110%
danielvincent's avatar
danielvincent a validé
  :font
danielvincent's avatar
danielvincent a validé
    :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é
  :text-shadow none
danielvincent's avatar
danielvincent a validé
  span.from
danielvincent's avatar
danielvincent a validé
    :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é

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 normal
    :color #999

  .big_number
    :font
      :size 300%
danielvincent's avatar
danielvincent a validé
    :line-height 100%
danielvincent's avatar
danielvincent a validé

  .filters
    :position absolute
    :right 0
    :display inline
    :font
      :size 12px
      :weight normal

div.small_text
  :position relative
  :font
    :size 18px 
    :weight bold

danielvincent's avatar
danielvincent a validé
#publish
danielvincent's avatar
danielvincent a validé
  input#thought
danielvincent's avatar
danielvincent a validé
    :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é


#profile_image
danielvincent's avatar
danielvincent a validé
  :display inline block
danielvincent's avatar
danielvincent a validé
  :margin
danielvincent's avatar
danielvincent a validé
    :top 0
  :width 100px
danielvincent's avatar
danielvincent a validé
  :border 2px solid #eaeaea
danielvincent's avatar
danielvincent a validé

form
  :font
danielvincent's avatar
danielvincent a validé
    :size 430%
  :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é

.centered
  :text-align center

.info_pane
  :padding 1em
  :background
    :color #1A1A21
  :color #f5fafd
  :margin
    :bottom 1em
danielvincent's avatar
danielvincent a validé
  :border-radius 2px