diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-10 19:02:14 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-11 20:09:04 +0100 |
commit | 76ff8eac26ef949b5bc99d99878cc8b43c4b4326 (patch) | |
tree | 8f28cddc99ce5a040f32ee69e691d81c4451b725 | |
parent | f7bba47f8ab35f22882dc232229cbc5d36ead002 (diff) | |
download | gitlab-ce-76ff8eac26ef949b5bc99d99878cc8b43c4b4326.tar.gz |
Move awards css to separate file
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/assets/stylesheets/pages/awards.scss | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/awards.scss b/app/assets/stylesheets/pages/awards.scss new file mode 100644 index 00000000000..895bafebcef --- /dev/null +++ b/app/assets/stylesheets/pages/awards.scss @@ -0,0 +1,68 @@ +.awards { + @include clearfix; + line-height: 34px; + margin-top: $gl-padding; + + .award { + @include border-radius(5px); + + border: 1px solid; + padding: 0px 10px; + float: left; + margin-right: 5px; + border-color: $border-color; + cursor: pointer; + + &.active { + border-color: $border-gray-light; + background-color: $gray-light; + + .counter { + font-weight: bold; + } + } + + .icon { + float: left; + margin-right: 10px; + } + + .counter { + float: left; + } + } + + .awards-controls { + margin-left: 10px; + float: left; + + .add-award { + font-size: 24px; + color: $gl-gray; + position: relative; + top: 2px; + + &:hover, + &:link { + text-decoration: none; + } + } + + .awards-menu { + padding: $gl-padding; + min-width: 214px; + + > li { + cursor: pointer; + margin: 5px; + } + } + } + + .awards-menu{ + li { + float: left; + margin: 3px; + } + } +} |