From 93a5d011271b8fbb80ec83130c31ac71b995ba74 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 16 Sep 2015 22:19:04 -0700 Subject: [PATCH] Delete old code We don't have any more 'default' css classes. Default avatar data is simply provided by a model for rendering in a view. // FREEBIE --- js/views/new_group_update_view.js | 2 -- stylesheets/_global.scss | 10 ---------- stylesheets/manifest.css | 7 ------- 3 files changed, 19 deletions(-) diff --git a/js/views/new_group_update_view.js b/js/views/new_group_update_view.js index af3f43775382..10eb0a43c0e9 100644 --- a/js/views/new_group_update_view.js +++ b/js/views/new_group_update_view.js @@ -26,8 +26,6 @@ }); this.recipients_view.$el.insertBefore(this.$('.container')); - this.$('.avatar').addClass('default'); - this.member_list_view = new Whisper.ContactListView({ collection: this.model.contactCollection, className: 'members' diff --git a/stylesheets/_global.scss b/stylesheets/_global.scss index 508c0c0b64ef..64dc52f08602 100644 --- a/stylesheets/_global.scss +++ b/stylesheets/_global.scss @@ -201,16 +201,6 @@ $avatar-size: 44px; padding: 2px 0px 0px 2px; } - .group-default { - position: relative; - display: inline-block; - width: 100%; - height: 100%; - border-radius: 50%; - background: $grey_l url('/images/group_default.png') no-repeat center; - - } - .file-input .thumbnail, .thumbnail .avatar, img { height: 54px; diff --git a/stylesheets/manifest.css b/stylesheets/manifest.css index 7b99278aa6fb..e6eb4ce581aa 100644 --- a/stylesheets/manifest.css +++ b/stylesheets/manifest.css @@ -173,13 +173,6 @@ img.emoji { .group-info-input .group-avatar { display: inline-block; padding: 2px 0px 0px 2px; } - .group-info-input .group-default { - position: relative; - display: inline-block; - width: 100%; - height: 100%; - border-radius: 50%; - background: #f3f3f3 url("/images/group_default.png") no-repeat center; } .group-info-input .file-input .thumbnail, .group-info-input .thumbnail .avatar, .group-info-input img { height: 54px;