summaryrefslogtreecommitdiff
path: root/www/lib/angular-awesome-slider/src/css/less/skin-css.less
blob: 8c06ba85e408b31f59ac0ce0620b3ee6f825d80c (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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
//
// 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 {
        position: absolute;
        top: 0;
        left: 20%;
        width: 60%;                  
        height: 5px;
        z-index: 1;          
        background-image: none; 
        background-color: #777575 
      }
    }
  }

  div.jslider-pointer {
    top: -3px;
    left: 15px; 
    width: 10px; 
    height: 10px;
    margin-left: -5px;
    background-color: silver;      
    background-color: #615959;    
    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: #777575; 
          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%;
      width: 10px; 
      height: 10px;
      background-color: #615959;       
      border-radius: 50%; 
      margin-left: -3px;

      &.jslider-pointer-to {
        left: 50%;
      }
    }
  }
}