diff options
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/framework/gfm.scss | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/app/assets/stylesheets/framework/gfm.scss b/app/assets/stylesheets/framework/gfm.scss index 6eff57157cc..e378e84ca1b 100644 --- a/app/assets/stylesheets/framework/gfm.scss +++ b/app/assets/stylesheets/framework/gfm.scss @@ -19,21 +19,19 @@ .gfm-color_chip { display: inline-block; - margin-left: 4px; - margin-bottom: 2px; + margin: 0 0 2px 4px; vertical-align: middle; border-radius: 3px; - $side: 0.9em; - $bg-size: $side / 0.9; + $chip-size: 0.9em; + $bg-size: $chip-size / 0.9; $bg-pos: $bg-size / 2; - $bg-color: $gray-dark; - width: $side; - height: $side; + width: $chip-size; + height: $chip-size; background: $white-light; - background-image: linear-gradient(135deg, $bg-color 25%, transparent 0%, transparent 75%, $bg-color 0%), - linear-gradient(135deg, $bg-color 25%, transparent 0%, transparent 75%, $bg-color 0%); + background-image: linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%), + linear-gradient(135deg, $gray-dark 25%, transparent 0%, transparent 75%, $gray-dark 0%); background-size: $bg-size $bg-size; background-position: 0 0, $bg-pos $bg-pos; |