diff --git a/less/account.less b/less/account.less index d848534..35b37b9 100644 --- a/less/account.less +++ b/less/account.less @@ -374,6 +374,54 @@ padding: 10px 5px; font-size: 13px; } + + label { + vertical-align: top; + line-height: 26px; + + > input[type="radio"] { + display: none; + + &:checked { + + span:before { + border-radius: 50%; + border: 2px solid @brand-primary; + position: relative; + top: -4px; + left: -4px; + } + } + + &[value="transparent"] { + &:checked + span:before { + padding-top: 2px; + padding-left: 2px; + } + + + span:before { + content: '\f05e'; + font-family: FontAwesome; + color: @gray-lighter; + font-size: 28px; + } + } + } + + span { + display: inline-block; + width: 24px; + height: 24px; + border-radius: 50%; + margin-right: .5em; + + &:before { + content: ''; + display: inline-block; + width: 32px; + height: 32px; + } + } + } } .page-user-info { diff --git a/templates/partials/modals/change_picture_modal.tpl b/templates/partials/modals/change_picture_modal.tpl index 6eb3302..ae30151 100644 --- a/templates/partials/modals/change_picture_modal.tpl +++ b/templates/partials/modals/change_picture_modal.tpl @@ -61,4 +61,13 @@ - \ No newline at end of file + + +
+ +

[[user:avatar-background-colour]]

+ + +{{{ each iconBackgrounds }}} + +{{{ end }}} \ No newline at end of file