diff options
author | Tony Rom <thetonyrom@gmail.com> | 2018-02-01 13:35:03 +0300 |
---|---|---|
committer | Tony Rom <thetonyrom@gmail.com> | 2018-02-01 14:15:21 +0300 |
commit | 57f8b24fe2d54df4dfcc3ddcb5796e41093f0fd7 (patch) | |
tree | 52525869ef5f3cdde39ec72a8f865501c82668dd /app | |
parent | d90d141c24228b8df6333b03d26a1723480837ba (diff) |
Fix minors
Diffstat (limited to 'app')
-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; |