Commit 3a33795f2b060913f6c79ba71ff4768dd5e07ce9

Authored by Dmitriy Zaporozhets
1 parent 5f4a7c3e

css shadow for some components

app/assets/stylesheets/common.scss
@@ -111,9 +111,7 @@ nav.main_menu { @@ -111,9 +111,7 @@ nav.main_menu {
111 background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); 111 background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
112 background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); 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 .count { 117 .count {
@@ -282,9 +280,9 @@ img.lil_av { @@ -282,9 +280,9 @@ img.lil_av {
282 280
283 281
284 .ui-box { 282 .ui-box {
285 -  
286 margin-bottom: 40px; 283 margin-bottom: 40px;
287 @include round-borders-all(4px); 284 @include round-borders-all(4px);
  285 + @include shade;
288 border-color:#ddd; 286 border-color:#ddd;
289 287
290 ul { 288 ul {
@@ -294,10 +292,6 @@ img.lil_av { @@ -294,10 +292,6 @@ img.lil_av {
294 h5, .title { 292 h5, .title {
295 padding: 0 10px; 293 padding: 0 10px;
296 background:#f5f5f5; 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 border-bottom: 1px solid #eee; 295 border-bottom: 1px solid #eee;
302 @include round-borders-top(4px); 296 @include round-borders-top(4px);
303 border-top:none; 297 border-top:none;
app/assets/stylesheets/main.scss
@@ -24,6 +24,13 @@ $hover: #FDF5D9; @@ -24,6 +24,13 @@ $hover: #FDF5D9;
24 24
25 25
26 /** MIXINS **/ 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 @mixin round-borders-bottom($radius) { 34 @mixin round-borders-bottom($radius) {
28 border-top: 1px solid #eaeaea; 35 border-top: 1px solid #eaeaea;
29 -moz-border-radius-bottomright: $radius; 36 -moz-border-radius-bottomright: $radius;
app/assets/stylesheets/tree.scss
@@ -142,6 +142,8 @@ table.highlighttable .linenodiv pre { @@ -142,6 +142,8 @@ table.highlighttable .linenodiv pre {
142 } 142 }
143 143
144 #tree-slider { 144 #tree-slider {
  145 + @include shade;
  146 +
145 td { 147 td {
146 padding:7px; 148 padding:7px;
147 border-color:#f1f1f1; 149 border-color:#f1f1f1;
@@ -155,3 +157,7 @@ table.highlighttable .linenodiv pre { @@ -155,3 +157,7 @@ table.highlighttable .linenodiv pre {
155 .tree-commit-link { 157 .tree-commit-link {
156 color:#333; 158 color:#333;
157 } 159 }
  160 +
  161 +#tree-content-holder {
  162 + @include shade;
  163 +}