File size: 5,063 Bytes
139bb50
 
 
 
 
f8ddde7
139bb50
 
 
 
f8ddde7
 
 
139bb50
 
f8ddde7
8122c36
ede8cb9
6a7ee1e
f8ddde7
 
2b7567f
 
 
 
 
 
59d1882
2b7567f
8122c36
f8ddde7
2b7567f
 
 
 
 
f8ddde7
2b7567f
 
 
 
 
 
 
 
 
f8ddde7
2b7567f
 
 
 
 
 
 
 
 
 
f8ddde7
2b7567f
 
 
 
 
 
f8ddde7
2b7567f
 
 
 
8122c36
fbfbee0
 
7e830c6
 
3155c68
fbfbee0
 
 
 
 
f8ddde7
fbfbee0
 
 
f8ddde7
fbfbee0
 
 
aff85ad
fbfbee0
7e830c6
3155c68
f8ddde7
76a5158
 
 
 
8122c36
7e830c6
 
 
8122c36
7e830c6
 
fbfbee0
 
8122c36
1923a66
2b7567f
 
 
 
1923a66
 
2b7567f
 
8122c36
2b7567f
1923a66
2b7567f
f8ddde7
2b7567f
1923a66
2b7567f
dc1e1c1
 
59d1882
0797fb7
 
 
 
 
59d1882
 
fafdb5b
0797fb7
 
dc1e1c1
 
0797fb7
 
 
 
 
9eea97b
 
 
 
 
 
59d1882
f8ddde7
 
 
 
 
 
dc1e1c1
 
 
 
 
 
 
 
f8ddde7
59d1882
dc1e1c1
59d1882
f3edffc
f8ddde7
 
 
 
 
dc1e1c1
 
 
59d1882
fcd0eab
 
 
cb89283
aff85ad
cb89283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a731b1
 
 
 
 
 
 
 
 
ee4e3f9
139bb50
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
$text-color: #2d2d2d !default;
$popover-bg: #ffffff !default;
$stage-bg: #ffffff !default;
$button-bg: #f1f1f1 !default;
$disabled-btn-color: #808080 !default;

$popover-z-index: 1000000000 !default;
$overlay-z-index: 100002 !default;
$stage-z-index: 100003 !default;
$highlighted-element-z-index: 100004 !default;

// If you update this duration, make sure to
// update `ANIMATION_DURATION_MS` constant
$animation-ms: 400 !default;
$animation-sec: ($animation-ms / 1000) * 1s !default;

div#driver-popover-item {
  display: none;
  position: absolute;
  background: $popover-bg;
  color: $text-color;
  margin: 0;
  padding: 15px;
  border-radius: 5px;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  z-index: $popover-z-index;

  .driver-popover-tip {
    border: 5px solid $popover-bg;
    content: '';
    position: absolute;

    &.bottom {
      bottom: -10px;
      border-top-color: $popover-bg;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
    }

    &.left {
      left: -10px;
      top: 10px;
      border-top-color: transparent;
      border-right-color: $popover-bg;
      border-bottom-color: transparent;
      border-left-color: transparent;
    }

    &.right {
      right: -10px;
      top: 10px;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: $popover-bg;
    }

    &.top {
      top: -10px;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: $popover-bg;
      border-left-color: transparent;
    }
  }

  .driver-popover-footer {
    display: block;
    clear: both;
    margin-top: 5px;

    button {
      display: inline-block;
      padding: 3px 10px;
      border: 1px solid #d4d4d4;
      text-decoration: none;
      text-shadow: 1px 1px 0 #fff;
      color: $text-color;
      font: 11px/normal sans-serif;
      cursor: pointer;
      outline: 0;
      background-color: $button-bg;
      border-radius: 2px;
      zoom: 1;
      margin: 10px 0 0;
      line-height: 1.3;
    }

    button.driver-disabled {
      color: $disabled-btn-color;
      cursor: default;
      pointer-events: none;
    }

    .driver-close-btn {
      float: left;
    }

    .driver-btn-group {
      float: right;
    }
  }

  .driver-popover-title {
    font: 19px/normal sans-serif;
    margin: 0 0 5px;
    font-weight: bold;
    display: block;
    position: relative;
    line-height: 1.5;
    zoom: 1;
  }

  .driver-popover-description {
    margin-bottom: 0;
    font: 14px/normal sans-serif;
    line-height: 1.5;
    color: $text-color;
    font-weight: normal;
    zoom: 1;
  }
}

.driver-stage-no-animation {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;

  background: transparent !important;
  outline: 5000px solid rgba(0, 0, 0, 0.75);
}

div#driver-page-overlay {
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 100%;
  zoom: 1;
  filter: alpha(opacity=75);
  opacity: 0.75;
  z-index: $overlay-z-index !important;

  -webkit-transition: all $animation-sec;
  -moz-transition: all $animation-sec;
  -ms-transition: all $animation-sec;
  -o-transition: all $animation-sec;
  transition: all $animation-sec;
}

div#driver-highlighted-element-stage {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 300px;
  background: $stage-bg;
  z-index: $stage-z-index !important;
  display: none;
  border-radius: 2px;

  -webkit-transition: all $animation-sec;
  -moz-transition: all $animation-sec;
  -ms-transition: all $animation-sec;
  -o-transition: all $animation-sec;
  transition: all $animation-sec;
}

.driver-highlighted-element {
  z-index: $highlighted-element-z-index !important;
}

.driver-position-relative {
  position: relative !important;
}

.driver-fix-stacking {
  z-index: auto !important;
  opacity: 1.0 !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
  transform: none !important;
  -webkit-filter: none !important;
  -moz-filter: none !important;
  -ms-filter: none !important;
  -o-filter: none !important;
  filter: none !important;
  -webkit-perspective: none !important;
  -moz-perspective: none !important;
  -ms-perspective: none !important;
  -o-perspective: none !important;
  perspective: none !important;
  -webkit-transform-style: flat !important;
  -moz-transform-style: flat !important;
  -ms-transform-style: flat !important;
  transform-style: flat !important;
  -webkit-transform-box: border-box !important;
  -moz-transform-box: border-box !important;
  -ms-transform-box: border-box !important;
  -o-transform-box: border-box !important;
  transform-box: border-box !important;
  will-change: unset !important;
}