diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-20 21:59:39 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-20 21:59:39 +0400 |
commit | 3a33795f2b060913f6c79ba71ff4768dd5e07ce9 (patch) | |
tree | 90cb62249b62f7c7e26879b680536d3eb8f522a2 /app | |
parent | 5f4a7c3e04f9511be01234b9f2d7bd0134491b22 (diff) |
css shadow for some components
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/common.scss | 10 | ||||
-rw-r--r-- | app/assets/stylesheets/main.scss | 7 | ||||
-rw-r--r-- | app/assets/stylesheets/tree.scss | 6 |
3 files changed, 15 insertions, 8 deletions
diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 7a2ab6e0d8d..5d6cf56647b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -111,9 +111,7 @@ nav.main_menu { background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); - -moz-box-shadow: 0 0 3px #ddd; - -webkit-box-shadow: 0 0 3px #ddd; - box-shadow: 0 0 3px #ddd; + @include shade; .count { @@ -282,9 +280,9 @@ img.lil_av { .ui-box { - margin-bottom: 40px; @include round-borders-all(4px); + @include shade; border-color:#ddd; ul { @@ -294,10 +292,6 @@ img.lil_av { h5, .title { padding: 0 10px; background:#f5f5f5; - background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8)); - background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8); - background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8); - background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8); border-bottom: 1px solid #eee; @include round-borders-top(4px); border-top:none; diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index df61cc81c5d..6818fe6aaf6 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -24,6 +24,13 @@ $hover: #FDF5D9; /** MIXINS **/ +@mixin shade { + -moz-box-shadow: 0 0 3px #ddd; + -webkit-box-shadow: 0 0 3px #ddd; + box-shadow: 0 0 3px #ddd; +} + + @mixin round-borders-bottom($radius) { border-top: 1px solid #eaeaea; -moz-border-radius-bottomright: $radius; diff --git a/app/assets/stylesheets/tree.scss b/app/assets/stylesheets/tree.scss index 6a3428a76e3..421b2695236 100644 --- a/app/assets/stylesheets/tree.scss +++ b/app/assets/stylesheets/tree.scss @@ -142,6 +142,8 @@ table.highlighttable .linenodiv pre { } #tree-slider { + @include shade; + td { padding:7px; border-color:#f1f1f1; @@ -155,3 +157,7 @@ table.highlighttable .linenodiv pre { .tree-commit-link { color:#333; } + +#tree-content-holder { + @include shade; +} |