[Sprites] add sprites for branding
This commit is contained in:
parent
f429cacd7a
commit
8747e6601d
5 changed files with 20 additions and 5 deletions
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
|
@ -7,7 +7,9 @@
|
|||
/* ===== sprites ===== */
|
||||
|
||||
@import 'icons/*.png'
|
||||
@import 'branding/*.png'
|
||||
@include all-icons-sprites
|
||||
@include all-branding-sprites
|
||||
/* ====== media ====== */
|
||||
.media
|
||||
:margin 10px
|
||||
|
|
@ -145,6 +147,14 @@ header
|
|||
:border
|
||||
:bottom 1px solid #000
|
||||
|
||||
a.header_root_link
|
||||
:display inline-block
|
||||
:margin-top 5px
|
||||
|
||||
.branding-logo_small
|
||||
:height 16px
|
||||
:width 161px
|
||||
|
||||
a
|
||||
:color #CCC
|
||||
:color rgb(147,147,147)
|
||||
|
|
@ -294,6 +304,8 @@ ul.as-selections
|
|||
.diaspora_header_logo
|
||||
:float left
|
||||
:margin-top -6px
|
||||
:height 38px
|
||||
:width 65px
|
||||
|
||||
.stream
|
||||
audio
|
||||
|
|
@ -1381,8 +1393,10 @@ footer
|
|||
:border
|
||||
:top 1px solid #ddd
|
||||
|
||||
img
|
||||
:margin-top 2px
|
||||
.branding-powered_by_diaspora
|
||||
:margin-top 3px
|
||||
:height 11px
|
||||
:width 145px
|
||||
|
||||
ul#footer_nav
|
||||
:margin 0
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
<div class="container" style="position:relative;">
|
||||
|
||||
<a href="/stream">
|
||||
<img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "branding/header-logo.png"}}" />
|
||||
<div alt="Logo_small" class="diaspora_header_logo branding-header-logo">
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<span class="header-nav">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
-# the COPYRIGHT file.
|
||||
|
||||
.container{:style => "position:relative;"}
|
||||
= link_to image_tag('branding/logo_small.png', :height => "16px", :width => "161px", :style => 'position:relative;top:5px;'), root_path
|
||||
= link_to content_tag(:div, nil, :class => 'branding-logo_small'), root_path, :class => 'header_root_link'
|
||||
|
||||
%ul#landing_nav
|
||||
%li= link_to '@joindiaspora', "http://twitter.com/joindiaspora"
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@
|
|||
%li.separator= "|"
|
||||
%li= link_to(t('layouts.header.code'), "#{root_path.chomp('/')}/source.tar.gz", {:title => t('layouts.application.source_package')}) unless request.url.match(/joindiaspora.com/)
|
||||
%li= link_to(t('layouts.application.toggle'), toggle_mobile_path)
|
||||
= image_tag 'branding/powered_by_diaspora.png', :height => "11px", :width => "145px"
|
||||
= content_tag :div, nil, :class => 'branding-powered_by_diaspora'
|
||||
|
|
|
|||
Loading…
Reference in a new issue