






#import "DecideSuffixCardRestingInvertCell.h"
#import "FeedSunTied.h"
#import "Masonry.h"

@implementation DecideSuffixCardRestingInvertCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.mixBeenSinView = [UIImageView new];
        self.mixBeenSinView.tintColor = [FeedSunTied activeBigColor];
        self.mixBeenSinView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.mixBeenSinView];
        [self.mixBeenSinView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(FeedSunTied.rootIntegral.lateSmallAir);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(FeedSunTied.rootIntegral.encryptEmail);
        }];
        
        
        self.footnoteName = [UILabel new];
        self.footnoteName.font = [UIFont boldSystemFontOfSize:16];
        self.footnoteName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.footnoteName];
        [self.footnoteName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.mixBeenSinView.mas_right).offset(FeedSunTied.rootIntegral.lateSmallAir);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.blurBadMoreTime = [UILabel new];
        self.blurBadMoreTime.font =  [UIFont systemFontOfSize:11];
        self.blurBadMoreTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.blurBadMoreTime];
        [self.blurBadMoreTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(FeedSunTied.rootIntegral.panLowDrain);
            make.left.equalTo(self.footnoteName);
        }];
    }
    return self;
}

@end
