Commit 73efb837913ee0892c3ab92700a61783397ca83a

Authored by Dmitriy Zaporozhets
1 parent 4647c6fa

tags css refactored

app/assets/stylesheets/common.scss
... ... @@ -113,3 +113,4 @@ a {
113 113 @import "top_panel.scss";
114 114 @import "dashboard.scss";
115 115 @import "tree.scss";
  116 +@import "tags.scss";
... ...
app/assets/stylesheets/projects.css.scss
... ... @@ -233,60 +233,6 @@ body.project-page table .commit {
233 233 }
234 234 .snippet:hover .action-links { display:block; }
235 235  
236   -/** ISSUES TAGS **/
237   -.tag {
238   - @include round-borders-all(4px);
239   - padding:2px 4px;
240   - border:none;
241   - text-shadow:none;
242   -
243   - &.inline {
244   - display:inline;
245   - }
246   -
247   - &.high, &.closed {
248   - background: #D12F19;
249   - color:white;
250   - }
251   -
252   - &.today, &.open {
253   - background: #44aa22;
254   - color:white;
255   - }
256   -
257   - &.yours {
258   - background: #4466cc;
259   - color:white;
260   - }
261   - &.normal {
262   - background: #2c5ca6;
263   - color:white;
264   - }
265   - &.notes {
266   - background: #2c5c66;
267   - color:white;
268   - }
269   - &.note {
270   - background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
271   - background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
272   - background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
273   - background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
274   - color: #777;
275   - border: 1px solid #DEDFE1;
276   - }
277   - &.issue {
278   - background: #D12F19;
279   - color:white;
280   - }
281   - &.commit {
282   - background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
283   - background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
284   - background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
285   - background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
286   - color: #777;
287   - border: 1px solid #DEDFE1;
288   - }
289   -}
290 236  
291 237 #holder {
292 238 background:#FAFAFA;
... ...
app/assets/stylesheets/tags.css.css
... ... @@ -1,42 +0,0 @@
1   -.tags-list {
2   - padding : 0px 10px 10px 10px;
3   -
4   -}
5   -
6   -.tags-list a {
7   - display: inline-block;
8   - padding: 8px 11px 8px 11px;
9   - margin: 1px 5px 0px 0px;
10   - border-radius: 4px;
11   - border: 1px solid #72bbdf;
12   - background-color: #72bbdf;
13   - color: #0f326d;
14   - font-weight: bold;
15   - font-size: 14px;
16   -}
17   -
18   -.small-tags a{
19   - font-size: 9px;
20   -
21   - display: inline-block;
22   - padding: 2px 3px 1px 3px;
23   - margin: 0px 3px 0px 0px;
24   - border-radius: 2px;
25   - background-color: #72bbdf;
26   - color: #FFF;
27   - text-shadow: none;
28   - font-weight: bold;
29   -}
30   -
31   -.medium-tags a{
32   - font-size: 12px;
33   -
34   - display: inline-block;
35   - padding: 3px 4px 2px 4px;
36   - margin: 0px 7px 8px 0px;
37   - border-radius: 3px;
38   - background-color: #72bbdf;
39   - color: #FFF;
40   - text-shadow: none;
41   - font-weight: bold;
42   -}
app/assets/stylesheets/tags.scss 0 → 100644
... ... @@ -0,0 +1,55 @@
  1 +.tag {
  2 + @include round-borders-all(4px);
  3 + padding:2px 4px;
  4 + border:none;
  5 + text-shadow:none;
  6 +
  7 + &.inline {
  8 + display:inline;
  9 + }
  10 +
  11 + &.high, &.closed {
  12 + background: #D12F19;
  13 + color:white;
  14 + }
  15 +
  16 + &.today, &.open {
  17 + background: #44aa22;
  18 + color:white;
  19 + }
  20 +
  21 + &.yours {
  22 + background: #4466cc;
  23 + color:white;
  24 + }
  25 + &.normal {
  26 + background: #2c5ca6;
  27 + color:white;
  28 + }
  29 + &.notes {
  30 + background: #2c5c66;
  31 + color:white;
  32 + }
  33 +
  34 + &.note {
  35 + background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
  36 + background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
  37 + background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
  38 + background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
  39 + color: #777;
  40 + border: 1px solid #DEDFE1;
  41 + }
  42 + &.issue {
  43 + background: #D12F19;
  44 + color:white;
  45 + }
  46 + &.commit {
  47 + background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
  48 + background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
  49 + background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
  50 + background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
  51 + color: #777;
  52 + border: 1px solid #DEDFE1;
  53 + }
  54 +}
  55 +
... ...