summaryrefslogtreecommitdiff
path: root/www/lib/angular-awesome-slider/src/css/scss/skins/_skin-css.scss
blob: dc0c68d422b0a12e38ad920e91a9be902919dbf4 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
$skin-gray: #777575;
$skin-gray-2: #615959;

// Main slider custom overrided js css rules

.sliderCSS {
  div.jslider-bg {
    i {
      &.left {
        left: 0;
        width: 50%;
        background-color: $color-skin-background;
        background-image: none;
      }
      &.right {
        width: 50%;
        left: 50%;
        background-color: $color-skin-background;
        background-image: none;
      }
      &.before {
        left: 0;
        width: 1px;
        background-color: $color-skin-css-pointers-before-value;
        background-image: none;
      }
      &.default {
        left: 0;
        width: 1px;
        z-index: 1;
        background-color: $color-skin-css-pointers-default-value;
        background-image: none;
      }
      &.after {
        left: 0;
        background-color: $color-skin-css-pointers-after-value;
        background-image: none;
      }
      &.range {
        @include position(absolute, 0 null 20% null);
        @include size(60% 5px);
        background-image: none;
        background-color: $skin-gray;
        z-index: 1;
      }
    }
  }
  div.jslider-pointer {
    top: -3px;
    left: 15px;
    @include size(10px);
    background-color: silver;
    background-color: $skin-gray-2;
    border-radius: 50%;
  }
  div.jslider-bg i, div.jslider-pointer {
    background: none;
  }
  // vertical
  &.vertical {
    td {
      height: 100%;
    }
    div.jslider-bg {
      i {
        left: 50%;
        width: 5px;
        &.left {
          top: 0;
          height: 50%;
          background-color: $color-skin-background;
          background-image: none;
        }
        &.right {
          height: 50%;
          top: 50%;
          background-color: $color-skin-background;
          background-image: none;
        }
        &.range {
          height: 100%;
          z-index: 1;
          background-color: $skin-gray;
          background-image: none;
        }
        &.before {
          background-color: $color-skin-css-pointers-before-value;
          background-image: none;
        }
        &.default {
          height: 1px;
          background-color: $color-skin-css-pointers-default-value;
          background-image: none;
          z-index: 2;
        }
        &.after {
          background-color: $color-skin-css-pointers-after-value;
          background-image: none;
        }
      }
    }
    div.jslider-bg i, div.jslider-pointer {
      background: none;
    }
    div.jslider-pointer {
      left: 50%;
      @include size(10px);
      background-color: $skin-gray-2;
      border-radius: 50%;
      margin-left: -3px;
      &.jslider-pointer-to {
        left: 50%;
      }
    }
  }
}