Commit 23ae3911aa55f075e30da9da4e687e064e59a9fa

Authored by Dmitriy Zaporozhets
2 parents 9e111537 211e975d

Merge branch 'mixin-cleanup' into 'master'

Mixin cleanup

* Remove old mixins
* add issue box shadow
* change color for network graph box
app/assets/stylesheets/generic/issue_box.scss
... ... @@ -12,6 +12,7 @@
12 12 margin:20px 0;
13 13 background: #FFF;
14 14 border: 1px solid #EEE;
  15 + @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
15 16  
16 17 &.issue-box-closed {
17 18 border-color: #DA4E49;
... ...
app/assets/stylesheets/main/mixins.scss
... ... @@ -41,31 +41,6 @@
41 41 * Prefilled mixins
42 42 * Mixins with fixed values
43 43 */
44   -@mixin bg-light-gray-gradient {
45   - background: #f1f1f1;
46   - background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));
47   - background-image: -webkit-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
48   - background-image: -moz-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
49   - background-image: -ms-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
50   - background-image: -o-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
51   -}
52   -
53   -@mixin bg-gray-gradient {
54   - background: #eee;
55   - background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
56   - background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
57   - background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
58   - background-image: -ms-linear-gradient(#eee 6.6%, #dfdfdf);
59   - background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
60   -}
61   -
62   -@mixin bg-dark-gray-gradient {
63   - background: #eee;
64   - background-image: -webkit-linear-gradient(#e9e9e9, #d7d7d7);
65   - background-image: -moz-linear-gradient(#e9e9e9, #d7d7d7);
66   - background-image: -ms-linear-gradient(#e9e9e9, #d7d7d7);
67   - background-image: -o-linear-gradient(#e9e9e9, #d7d7d7);
68   -}
69 44  
70 45 @mixin shade {
71 46 @include box-shadow(0 0 3px #ddd);
... ...
app/assets/stylesheets/sections/graph.scss
1 1 .project-network {
2   - border: 1px solid #aaa;
3   - padding: 1px;
  2 + border: 1px solid #CCC;
4 3  
5 4 .tip {
6 5 color: #888;
7 6 font-size: 14px;
8 7 padding: 10px;
9 8 border-bottom: 1px solid #bbb;
10   - @include bg-gray-gradient;
  9 + background: #EEE;
11 10 }
12 11  
13 12 .network-graph {
14   - background: #f1f1f1;
  13 + background: #FFF;
15 14 height: 500px;
16 15 overflow-y: scroll;
17 16 overflow-x: hidden;
... ...