summaryrefslogtreecommitdiff
path: root/www/lib/angular-awesome-slider/src/css/less/skin-plastic.less
blob: 31ebf55da3fdd192c8aa17e918993054e1aad678 (plain)
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
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
68
69
70
71
72
73
74
75
76
77
78
//
// Plastic skin
// --------------------------------------------------

&.jslider_plastic {
  .jslider-bg i,
  .jslider-pointer {
    background: url(../img/jslider.plastic.png) no-repeat 0 0;
  }

  .jslider-bg {
    i {
      background-position: 2px -20px;
      &.default {
        background-color: @color-skin-pointers-default-value;
      }

      &.range {
        z-index: 1;
        background-position: 0 -40px;
      }
    }
  }

  .jslider-pointer {
    z-index: 2;
    width: 20px;
    height: 17px;
    top: -4px;
    background-position: 2px -60px;

    &.jslider-pointer-hover {
      background-position: -18px -60px;
    }
  }

  &.vertical {
    div.jslider-bg i,
    div.jslider-pointer {
      background: url(../img/jslider.plastic.vertical.png) no-repeat 0 0;
    }

    div.jslider-bg {

      i {
        background-position: right 0;

        &.range {
          background-position: -35px 0;
        }

        &.before,
        &.after {
          background: none;
        }

        &.default {
          background-color: @color-skin-pointers-default-value;
        }
      }
    }

    div.jslider-pointer {
      top: -6px;
      margin-left: -6px;
      width: 20px;
      height: 17px;
      background-position: -7px -1px;

      &.jslider-pointer-hover {
        background-position: -7px -21px;
      }

    }

  }
}