diff options
| author | Gareth Rees <gareth@garethrees.co.uk> | 2017-01-19 12:57:38 +0000 | 
|---|---|---|
| committer | Gareth Rees <gareth@garethrees.co.uk> | 2017-01-19 13:01:03 +0000 | 
| commit | 84ce87cb19b54ca284bb6124b331bc2dbae37993 (patch) | |
| tree | 4f6a9f447e7d2134226d7a40bededdb78765eec2 /assets/stylesheets/responsive/custom.scss | |
| parent | 0c30576d80677d8e31b70710d46e250de860d755 (diff) | |
Diffstat (limited to 'assets/stylesheets/responsive/custom.scss')
| -rw-r--r-- | assets/stylesheets/responsive/custom.scss | 52 | 
1 files changed, 26 insertions, 26 deletions
| diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 5ceec88..39271d1 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -173,6 +173,28 @@ a.link_button_green_large {    @include button-primary($size: large);  } + +/* Action Bar Mixins */ + +@mixin follow-button { +  border-top-right-radius: 0; +  border-bottom-right-radius: 0; +  margin-bottom: 0; +} + +@mixin follower-count { +  color: $color_dark_grey; +  padding: 0.56em 1.25em; +  border: 1px solid $color_light_grey; +  position: relative; +  left: -3px; +  line-height: 1.6em; +  border-left: 0; +  border-radius: 3px; +  border-top-left-radius: 0; +  border-bottom-left-radius: 0; +} +  /* Popups */  .popup { @@ -552,23 +574,12 @@ a.link_button_green_large {    .action-bar__follow-button {      .track__action {        @include button-primary(); -      border-top-right-radius: 0; -      border-bottom-right-radius: 0; -      margin-bottom: 0; +      @include follow-button();      }    }    .action-bar__follower-count { -    color: $color_dark_grey; -    padding: 0.56em 1.25em; -    border: 1px solid $color_light_grey; -    position: relative; -    left: -3px; -    line-height: 1.6em; -    border-left: 0; -    border-radius: 3px; -    border-top-left-radius: 0; -    border-bottom-left-radius: 0; +    @include follower-count();    }  } @@ -817,23 +828,12 @@ dt {      .track_action,      .link_button_green {        @include button-secondary(); -      border-top-right-radius: 0; -      border-bottom-right-radius: 0; -      margin-bottom: 0; +      @include follow-button();      }    }    .action-bar__follower-count { -    color: $color_dark_grey; -    padding: 0.56em 1.25em; -    border: 1px solid $color_light_grey; -    position: relative; -    left: -3px; -    line-height: 1.6em; -    border-left: 0; -    border-radius: 3px; -    border-top-left-radius: 0; -    border-bottom-left-radius: 0; +    @include follower-count();    }  } | 
