diff --git a/app/assets/images/buttons/facebook_hov@2x.png b/app/assets/images/buttons/facebook_hov@2x.png new file mode 100644 index 000000000..4eb1558c9 Binary files /dev/null and b/app/assets/images/buttons/facebook_hov@2x.png differ diff --git a/app/assets/images/buttons/tumblr_hov@2x.png b/app/assets/images/buttons/tumblr_hov@2x.png new file mode 100644 index 000000000..a0ab89d68 Binary files /dev/null and b/app/assets/images/buttons/tumblr_hov@2x.png differ diff --git a/app/assets/images/buttons/twitter_hov@2x.png b/app/assets/images/buttons/twitter_hov@2x.png new file mode 100644 index 000000000..575450c44 Binary files /dev/null and b/app/assets/images/buttons/twitter_hov@2x.png differ diff --git a/app/assets/javascripts/app/pages/composer.js b/app/assets/javascripts/app/pages/composer.js index c0e7c0e6a..42e32d97a 100644 --- a/app/assets/javascripts/app/pages/composer.js +++ b/app/assets/javascripts/app/pages/composer.js @@ -16,7 +16,9 @@ app.pages.Composer = app.views.Base.extend({ initialize : function(){ app.frame = this.model = this.model || new app.models.StatusMessage(); - this.postForm = new app.forms.Post({model : this.model}); + + /* add class to make this smaller than the default framer */ + this.postForm = new app.forms.Post({model : this.model, className : "span4 offset1"}); this.composerControls = new app.views.ComposerControls({model : this.model}); }, diff --git a/app/assets/stylesheets/mentions.css.scss b/app/assets/stylesheets/mentions.css.scss index 39ff4c3a7..48b466555 100644 --- a/app/assets/stylesheets/mentions.css.scss +++ b/app/assets/stylesheets/mentions.css.scss @@ -2,6 +2,8 @@ @import '_mixins.css.scss'; .mentions-input-box { + @include border-radius(3px); + background: #fff; position: relative; diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index ab3d361dc..502c5d5fb 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -14,7 +14,8 @@ body { } /* new link color */ -a { color : rgb(42,156,235) } +$link-blue : rgb(42,156,235); +a { color : $link-blue } /* bootstrap extentions */ .icon-red { background-image: image_url("img/glyphicons-halflings-red.png"); } diff --git a/app/assets/stylesheets/new_styles/_composer.scss b/app/assets/stylesheets/new_styles/_composer.scss index 85f6e4ff3..87c6d7e14 100644 --- a/app/assets/stylesheets/new_styles/_composer.scss +++ b/app/assets/stylesheets/new_styles/_composer.scss @@ -44,7 +44,8 @@ } .template-picker { - margin-bottom : 1em; + float : left; + margin-left : 20px; input { display : none; @@ -54,6 +55,8 @@ @include transition(background-color); @include border-radius(); + display : inline-block; + cursor : pointer; margin-right: 11px; @@ -63,13 +66,37 @@ line-height: 2em; &:hover { - background-color: #222; - text-decoration: none; + img { + border : 4px solid rgba(255,255,255,1); + } } + + .template-name { + text-align : center; + text-transform : uppercase; + } + + img { + @include border-radius(5px); + @include transition(border); + + border : 4px solid transparent; + background-color : #ddd; + + height : 54px; + width : 54px; + } + } input:checked + label { - background-color: #222; + .template-name { + color : $link-blue; + } + + img { + border : 4px solid $link-blue; + } } } @@ -133,10 +160,11 @@ img { @include transition(opacity); + @include box-shadow(0,0,0,0); cursor : pointer; - height : 28px; - width : 28px; + height : 70px; + width : 54px; } input:not(:checked) + label { @@ -174,8 +202,8 @@ input[type="image"] { .new_photo .photo{ display: inline; - max-width: 200px; - max-height: 75px; + max-width: 240px; + max-height: 240px; padding: 2px; } diff --git a/app/assets/templates/framer-content.jst.hbs b/app/assets/templates/framer-content.jst.hbs index 448dca397..680e11768 100644 --- a/app/assets/templates/framer-content.jst.hbs +++ b/app/assets/templates/framer-content.jst.hbs @@ -2,7 +2,13 @@
{{#each templates}} - - + + +
{{/each}}
diff --git a/app/assets/templates/services-selector.jst.hbs b/app/assets/templates/services-selector.jst.hbs index 59540451d..eaec5629f 100644 --- a/app/assets/templates/services-selector.jst.hbs +++ b/app/assets/templates/services-selector.jst.hbs @@ -3,7 +3,7 @@ {{#each services}} {{/each}}