Commit 3a33795f2b060913f6c79ba71ff4768dd5e07ce9
1 parent
5f4a7c3e
Exists in
master
and in
4 other branches
css shadow for some components
Showing
3 changed files
with
15 additions
and
8 deletions
Show diff stats
app/assets/stylesheets/common.scss
... | ... | @@ -111,9 +111,7 @@ nav.main_menu { |
111 | 111 | background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); |
112 | 112 | background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); |
113 | 113 | |
114 | - -moz-box-shadow: 0 0 3px #ddd; | |
115 | - -webkit-box-shadow: 0 0 3px #ddd; | |
116 | - box-shadow: 0 0 3px #ddd; | |
114 | + @include shade; | |
117 | 115 | |
118 | 116 | |
119 | 117 | .count { |
... | ... | @@ -282,9 +280,9 @@ img.lil_av { |
282 | 280 | |
283 | 281 | |
284 | 282 | .ui-box { |
285 | - | |
286 | 283 | margin-bottom: 40px; |
287 | 284 | @include round-borders-all(4px); |
285 | + @include shade; | |
288 | 286 | border-color:#ddd; |
289 | 287 | |
290 | 288 | ul { |
... | ... | @@ -294,10 +292,6 @@ img.lil_av { |
294 | 292 | h5, .title { |
295 | 293 | padding: 0 10px; |
296 | 294 | background:#f5f5f5; |
297 | - background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8)); | |
298 | - background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8); | |
299 | - background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8); | |
300 | - background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8); | |
301 | 295 | border-bottom: 1px solid #eee; |
302 | 296 | @include round-borders-top(4px); |
303 | 297 | border-top:none; | ... | ... |
app/assets/stylesheets/main.scss
... | ... | @@ -24,6 +24,13 @@ $hover: #FDF5D9; |
24 | 24 | |
25 | 25 | |
26 | 26 | /** MIXINS **/ |
27 | +@mixin shade { | |
28 | + -moz-box-shadow: 0 0 3px #ddd; | |
29 | + -webkit-box-shadow: 0 0 3px #ddd; | |
30 | + box-shadow: 0 0 3px #ddd; | |
31 | +} | |
32 | + | |
33 | + | |
27 | 34 | @mixin round-borders-bottom($radius) { |
28 | 35 | border-top: 1px solid #eaeaea; |
29 | 36 | -moz-border-radius-bottomright: $radius; | ... | ... |
app/assets/stylesheets/tree.scss
... | ... | @@ -142,6 +142,8 @@ table.highlighttable .linenodiv pre { |
142 | 142 | } |
143 | 143 | |
144 | 144 | #tree-slider { |
145 | + @include shade; | |
146 | + | |
145 | 147 | td { |
146 | 148 | padding:7px; |
147 | 149 | border-color:#f1f1f1; |
... | ... | @@ -155,3 +157,7 @@ table.highlighttable .linenodiv pre { |
155 | 157 | .tree-commit-link { |
156 | 158 | color:#333; |
157 | 159 | } |
160 | + | |
161 | +#tree-content-holder { | |
162 | + @include shade; | |
163 | +} | ... | ... |