common.scss 3.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
a {
  color: $link_color;
  &:hover { 
    text-decoration:none; 
    color: $style_color;
  }
}

.pills .active a {
  background-color: #474D57;
}

.label { 
  background-color: #474D57;
}

.tabs > li > a, .pills > li > a {
  color:$style_color;
}

.diff_file_header a,
.file_stats a {
  color:$style_color;
}

D
Dmitriy Zaporozhets 已提交
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }

/** COMMON STYLES **/
.left {
  float:left;
}
.right {
  float:right;
}
.width-50p{
  width:50%;
}
.width-49p{
  width:49%;
}
.width-30p{
  width:30%;
}
.width-65p{
  width:65%;
}
.width-100p{
  width:100%;
}
.append-bottom-10 {
  margin-bottom:10px;
}
.append-bottom-20 {
  margin-bottom:20px;
}
.prepend-top-10 {
  margin-top:10px;
}
.no-borders { 
  border:none;
}
.no-padding { 
  padding:0 !important;
}
68 69 70
.underlined { 
  border-bottom: 1px solid $border_color;
}
D
Dmitriy Zaporozhets 已提交
71

72
/** LAYOUT **/
D
Dmitriy Zaporozhets 已提交
73

74
.container-fluid { 
75 76
  min-width:$min_app_width;
  max-width:$max_app_width;
77
  margin:auto;
78
  margin-top:62px;
79 80
}

81 82
.container-fluid  .sidebar { 
  width: 250px;
83
  height:100%;
84
  min-height:450px;
85 86
  float:right;
}
87

88 89 90 91
nav.main_menu { 
  border-radius: 4px;
  width: 100%;
  margin: auto;
D
Dmitriy Zaporozhets 已提交
92 93 94 95 96 97 98 99
  margin-top:30px;
  margin-bottom:30px;
  background:#f1f1f1;
  border:1px solid #ccc;
  height:38px;

  background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f1f1f1), to(#dfdfdf));
  background-image: -webkit-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
100 101
  background-image: -moz-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
  background-image: -o-linear-gradient(#f1f1f1 6.6%, #dfdfdf);
D
Dmitriy Zaporozhets 已提交
102

103 104 105 106 107

  .label { 
    background:$hover;
    text-shadow:none;
    color:$style_color;
108 109
  }

110 111
  a { 

112
    font-weight:bold;
113 114 115 116 117 118 119 120 121 122
    &:first-child{ 
      -webkit-border-top-left-radius: 4px;
      -webkit-border-bottom-left-radius: 4px;
      -moz-border-radius-topleft: 4px;
      -moz-border-radius-bottomleft: 4px;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
    }
    padding: 10px 25px;
    display: inline-block;
D
Dmitriy Zaporozhets 已提交
123 124
    color: $style_color;
    border-right: 1px solid #ccc;
125 126 127
    position: relative;
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
    margin: 0;
D
Dmitriy Zaporozhets 已提交
128 129
    float:left;
    text-shadow:0 1px 1px white;
130
    &.current { 
D
Dmitriy Zaporozhets 已提交
131
      background:#DDD;
132
    }
133
  }
D
Dmitriy Zaporozhets 已提交
134 135
}

136

137
.container-fluid > .content {
138
  margin-left: 0px;
139
  margin-top:20px;
140
}
D
Dmitriy Zaporozhets 已提交
141

D
Dmitriy Zaporozhets 已提交
142 143 144
aside.projects,
aside.project-side
{ 
145 146 147 148 149 150
  margin-left: 0;
  padding-left: 20px;
}

img.avatar { 
  float:left;
D
Dmitriy Zaporozhets 已提交
151 152 153 154 155
  margin-right:15px;
  width:40px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
156 157
}

158 159 160 161 162 163
img.lil_av { 
  padding-left: 5px;
  position: relative;
  top: 3px;
}

D
Dmitriy Zaporozhets 已提交
164 165 166 167 168 169 170 171 172
.media-grid { 
  h3, h2 , h4 {
    &.media_h { 
      padding-left:10px;
      float:left;
    }
  }
}

D
Dmitriy Zaporozhets 已提交
173 174
.wll { 
  background-color: #FFF;
175
  padding: 10px 5px;
D
Dmitriy Zaporozhets 已提交
176 177 178
  min-height: 20px;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
179 180 181 182
  cursor:pointer;
  &:hover { 
    background:$hover;
  }
D
Dmitriy Zaporozhets 已提交
183
  &:last-child { border:none }
184 185 186 187 188 189 190 191 192 193
  p { padding-top:5px; margin:0; color:$style_color;}
  .author { color: #999; }
  p { 
    color:$style_color;
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
D
Dmitriy Zaporozhets 已提交
194 195
}

196
.visible_link,
D
Dmitriy Zaporozhets 已提交
197
.author_link { 
198
  color: $link_color;
D
Dmitriy Zaporozhets 已提交
199
}
D
Dmitriy Zaporozhets 已提交
200 201 202 203 204 205 206 207 208 209 210 211 212
.entry { 
  position: relative;
  padding: 7px 15px;
  margin-bottom: 18px;
  color: #404040;
  filter:none;

  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
D
Dmitriy Zaporozhets 已提交
213

D
Dmitriy Zaporozhets 已提交
214 215 216
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
217

D
Dmitriy Zaporozhets 已提交
218 219 220
  background:#F1F1F1;
  border: 1px solid #ccc;

221

D
Dmitriy Zaporozhets 已提交
222
  p { 
223
    color:$style_color;
D
Dmitriy Zaporozhets 已提交
224 225 226 227 228 229 230 231 232 233 234 235
    margin-bottom: 0;
    img { 
      position:relative;
      top:3px;
    }
  }
}

.widget { 
  padding:20px;
  margin-bottom:20px;
}
236