TokiCLI 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +9 -17
- data/.rspec +3 -0
- data/.travis.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/README.md +99 -163
- data/Rakefile +5 -0
- data/TokiCLI.gemspec +5 -4
- data/bin/toki +2 -2
- data/lib/API/helpers.rb +27 -170
- data/lib/API/toki_api.rb +227 -0
- data/lib/API/toki_db.rb +67 -0
- data/lib/TokiCLI.rb +270 -5
- data/lib/TokiCLI/adnimport.rb +202 -0
- data/lib/TokiCLI/fileops.rb +187 -0
- data/lib/TokiCLI/status.rb +49 -37
- data/lib/TokiCLI/version.rb +1 -1
- data/lib/TokiCLI/view.rb +133 -86
- data/lib/TokiServer/.bowerrc +3 -0
- data/lib/TokiServer/.gitignore +2 -0
- data/lib/TokiServer/Gemfile +1 -0
- data/lib/TokiServer/bower.json +0 -0
- data/lib/TokiServer/bower_components/fastclick/.bower.json +4 -4
- data/lib/TokiServer/bower_components/fastclick/bower.json +1 -1
- data/lib/TokiServer/bower_components/fastclick/lib/fastclick.js +33 -2
- data/lib/TokiServer/bower_components/foundation/.bower.json +5 -4
- data/lib/TokiServer/bower_components/foundation/bower.json +2 -1
- data/lib/TokiServer/bower_components/foundation/css/foundation.css +2173 -922
- data/lib/TokiServer/bower_components/foundation/css/foundation.css.map +7 -0
- data/lib/TokiServer/bower_components/foundation/css/normalize.css +53 -16
- data/lib/TokiServer/bower_components/foundation/css/normalize.css.map +7 -0
- data/lib/TokiServer/bower_components/foundation/js/foundation.js +782 -542
- data/lib/TokiServer/bower_components/foundation/js/foundation.min.js +4 -3
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.abide.js +45 -31
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.accordion.js +12 -6
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.alert.js +5 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.clearing.js +34 -10
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.dropdown.js +83 -29
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.equalizer.js +3 -3
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.interchange.js +25 -12
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.joyride.js +112 -40
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.js +19 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.magellan.js +22 -11
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.offcanvas.js +52 -8
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.orbit.js +133 -271
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.reveal.js +27 -20
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.slider.js +73 -33
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tab.js +88 -31
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.tooltip.js +7 -5
- data/lib/TokiServer/bower_components/foundation/js/foundation/foundation.topbar.js +44 -24
- data/lib/TokiServer/bower_components/foundation/js/vendor/fastclick.js +2 -2
- data/lib/TokiServer/bower_components/foundation/js/vendor/modernizr.js +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation.scss +38 -38
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_functions.scss +3 -3
- data/lib/TokiServer/bower_components/foundation/scss/foundation/_settings.scss +417 -271
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_accordion.scss +110 -6
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_alert-boxes.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_block-grid.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss +8 -3
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_button-groups.scss +99 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_buttons.scss +66 -28
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_clearing.scss +5 -5
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown-buttons.scss +4 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_dropdown.scss +48 -35
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_forms.scss +104 -32
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_global.scss +48 -30
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_grid.scss +19 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_icon-bar.scss +293 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_joyride.scss +11 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_keystrokes.scss +4 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_labels.scss +4 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_magellan.scss +1 -1
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_offcanvas.scss +193 -35
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_orbit.scss +92 -147
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pagination.scss +22 -10
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_panels.scss +10 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_pricing-tables.scss +11 -11
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_progress-bars.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_range-slider.scss +29 -9
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal.scss +60 -56
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_side-nav.scss +3 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_split-buttons.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_sub-nav.scss +2 -2
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_switches.scss +226 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tables.scss +13 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tabs.scss +22 -8
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_thumbs.scss +2 -4
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_toolbar.scss +70 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_tooltips.scss +9 -7
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_top-bar.scss +77 -44
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_type.scss +21 -9
- data/lib/TokiServer/bower_components/modernizr/.bower.json +4 -4
- data/lib/TokiServer/bower_components/modernizr/feature-detects/workers-blobworkers.js +2 -2
- data/lib/TokiServer/bower_components/modernizr/grunt.js +1 -1
- data/lib/TokiServer/bower_components/modernizr/modernizr.js +2 -2
- data/lib/TokiServer/config.rb +0 -0
- data/lib/TokiServer/humans.txt +0 -0
- data/lib/TokiServer/{itunesicon.rb → itunesicons.rb} +25 -23
- data/lib/TokiServer/js/app.js +0 -0
- data/lib/TokiServer/public/stylesheets/app.css +2636 -1610
- data/lib/TokiServer/robots.txt +0 -0
- data/lib/TokiServer/scss/_settings.scss +0 -0
- data/lib/TokiServer/scss/app.scss +7 -1
- data/lib/TokiServer/tokiserver.rb +239 -244
- data/lib/TokiServer/views/activity.erb +42 -0
- data/lib/TokiServer/views/apps_total.erb +8 -2
- data/lib/TokiServer/views/error.erb +13 -4
- data/lib/TokiServer/views/index.erb +36 -27
- data/lib/TokiServer/views/logs_total.erb +34 -0
- data/spec/TokiCLI_spec.rb +354 -0
- data/spec/mock/mock.sqlite3 +0 -0
- data/spec/spec_helper.rb +26 -0
- metadata +78 -23
- data/lib/API/dbapi.rb +0 -488
- data/lib/TokiCLI/app.rb +0 -389
- data/lib/TokiCLI/authorize.rb +0 -77
- data/lib/TokiCLI/export.rb +0 -81
- data/lib/TokiCLI/get_channels.rb +0 -22
- data/lib/TokiCLI/get_messages.rb +0 -32
- data/lib/TokiCLI/import.rb +0 -122
- data/lib/TokiCLI/scan.rb +0 -19
- data/lib/TokiCLI/search_messages.rb +0 -23
- data/lib/TokiServer/README.md +0 -37
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_reveal-new.scss +0 -0
- data/lib/TokiServer/bower_components/foundation/scss/foundation/components/_switch.scss +0 -294
- data/lib/TokiServer/views/name_log.erb +0 -50
- data/lib/TokiServer/views/name_split.erb +0 -37
- data/lib/TokiServer/views/name_total.erb +0 -34
|
@@ -11,7 +11,7 @@ $include-html-orbit-classes: $include-html-classes !default;
|
|
|
11
11
|
// We use these to control the caption styles
|
|
12
12
|
$orbit-container-bg: none !default;
|
|
13
13
|
$orbit-caption-bg: rgba(51,51,51, 0.8) !default;
|
|
14
|
-
$orbit-caption-font-color:
|
|
14
|
+
$orbit-caption-font-color: $white !default;
|
|
15
15
|
$orbit-caption-font-size: rem-calc(14) !default;
|
|
16
16
|
$orbit-caption-position: "bottom" !default; // Supported values: "bottom", "under"
|
|
17
17
|
$orbit-caption-padding: rem-calc(10 14) !default;
|
|
@@ -20,27 +20,23 @@ $orbit-caption-height: auto !default;
|
|
|
20
20
|
// We use these to control the left/right nav styles
|
|
21
21
|
$orbit-nav-bg: transparent !default;
|
|
22
22
|
$orbit-nav-bg-hover: rgba(0,0,0,0.3) !default;
|
|
23
|
-
$orbit-nav-arrow-color:
|
|
24
|
-
$orbit-nav-arrow-color-hover:
|
|
23
|
+
$orbit-nav-arrow-color: $white !default;
|
|
24
|
+
$orbit-nav-arrow-color-hover: $white !default;
|
|
25
25
|
|
|
26
26
|
// We use these to control the timer styles
|
|
27
27
|
$orbit-timer-bg: rgba(255,255,255,0.3) !default;
|
|
28
28
|
$orbit-timer-show-progress-bar: true !default;
|
|
29
29
|
|
|
30
30
|
// We use these to control the bullet nav styles
|
|
31
|
-
$orbit-bullet-nav-color:
|
|
32
|
-
$orbit-bullet-nav-color-active:
|
|
31
|
+
$orbit-bullet-nav-color: $iron !default;
|
|
32
|
+
$orbit-bullet-nav-color-active: $aluminum !default;
|
|
33
33
|
$orbit-bullet-radius: rem-calc(9) !default;
|
|
34
34
|
|
|
35
35
|
// We use these to controls the style of slide numbers
|
|
36
36
|
$orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
|
37
|
-
$orbit-slide-number-font-color:
|
|
37
|
+
$orbit-slide-number-font-color: $white !default;
|
|
38
38
|
$orbit-slide-number-padding: rem-calc(5) !default;
|
|
39
39
|
|
|
40
|
-
// We use these to controls the css animation
|
|
41
|
-
$orbit-animation-speed: 500ms !default;
|
|
42
|
-
$orbit-animation-ease: ease-in-out !default;
|
|
43
|
-
|
|
44
40
|
// Graceful Loading Wrapper and preloader
|
|
45
41
|
$wrapper-class: "slideshow-wrapper" !default;
|
|
46
42
|
$preloader-class: "preloader" !default;
|
|
@@ -50,33 +46,25 @@ $orbit-nav-hide-for-small: true !default;
|
|
|
50
46
|
$orbit-bullet-hide-for-small: true !default;
|
|
51
47
|
$orbit-timer-hide-for-small: true !default;
|
|
52
48
|
|
|
53
|
-
// CSS Transform
|
|
54
|
-
// This function is needed in order to put in all of the browser prefixes.
|
|
55
|
-
// The normal tranform attribute still does not work properly across all browsers.
|
|
56
|
-
// In order to receive the transitionEnd events then you will still need to use the vendor prefixes
|
|
57
|
-
@mixin translate3d($x,$y,$z) {
|
|
58
|
-
-ms-transform:translate($x,$y);
|
|
59
|
-
|
|
60
|
-
-webkit-transform: translate3d($x,$y,$z);
|
|
61
|
-
-moz-transform: translate3d($x,$y,$z);
|
|
62
|
-
-o-transform: translate3d($x,$y,$z);
|
|
63
|
-
transform: translate3d($x,$y,$z);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin rotate($d) {
|
|
67
|
-
-webkit-transform: rotate($d);
|
|
68
|
-
-moz-transform: rotate($d);
|
|
69
|
-
-ms-transform: rotate($d);
|
|
70
|
-
-o-transform: rotate($d);
|
|
71
|
-
transform: rotate($d);
|
|
72
|
-
}
|
|
73
49
|
|
|
74
50
|
@include exports("orbit") {
|
|
75
51
|
@if $include-html-orbit-classes {
|
|
76
52
|
|
|
53
|
+
@-webkit-keyframes rotate {
|
|
54
|
+
from { -webkit-transform: rotate(0deg); }
|
|
55
|
+
to { -webkit-transform: rotate(360deg); }
|
|
56
|
+
}
|
|
57
|
+
@-moz-keyframes rotate {
|
|
58
|
+
from { -moz-transform: rotate(0deg); }
|
|
59
|
+
to { -moz-transform: rotate(360deg); }
|
|
60
|
+
}
|
|
61
|
+
@-o-keyframes rotate {
|
|
62
|
+
from { -o-transform: rotate(0deg); }
|
|
63
|
+
to { -o-transform: rotate(360deg); }
|
|
64
|
+
}
|
|
77
65
|
@keyframes rotate {
|
|
78
|
-
from {
|
|
79
|
-
to {
|
|
66
|
+
from { transform: rotate(0deg); }
|
|
67
|
+
to { transform: rotate(360deg); }
|
|
80
68
|
}
|
|
81
69
|
|
|
82
70
|
/* Orbit Graceful Loading */
|
|
@@ -103,6 +91,9 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
103
91
|
|
|
104
92
|
.orbit-caption { display: block; }
|
|
105
93
|
}
|
|
94
|
+
.orbit-bullets li {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
}
|
|
106
97
|
}
|
|
107
98
|
|
|
108
99
|
// Orbit preloader
|
|
@@ -116,7 +107,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
116
107
|
margin-top: -20px;
|
|
117
108
|
margin-left: -20px;
|
|
118
109
|
border: solid 3px;
|
|
119
|
-
border-color:
|
|
110
|
+
border-color: $charcoal $white;
|
|
120
111
|
@include radius(1000px);
|
|
121
112
|
animation-name: rotate;
|
|
122
113
|
animation-duration: 1.5s;
|
|
@@ -125,6 +116,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
125
116
|
}
|
|
126
117
|
}
|
|
127
118
|
|
|
119
|
+
|
|
128
120
|
.orbit-container {
|
|
129
121
|
overflow: hidden;
|
|
130
122
|
width: 100%;
|
|
@@ -142,61 +134,24 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
142
134
|
|
|
143
135
|
img { display: block; max-width: 100%; }
|
|
144
136
|
|
|
145
|
-
|
|
146
|
-
opacity: 0;
|
|
147
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
|
148
|
-
@include translate3d(0,0,0);
|
|
149
|
-
&.animate-in {
|
|
150
|
-
opacity: 1;
|
|
151
|
-
z-index: 20;
|
|
152
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
|
153
|
-
}
|
|
154
|
-
&.animate-out {
|
|
155
|
-
z-index: 10;
|
|
156
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&.swipe-next > li {
|
|
161
|
-
@include translate3d(100%,0,0);
|
|
162
|
-
&.animate-in {
|
|
163
|
-
@include translate3d(0,0,0);
|
|
164
|
-
transition-duration:$orbit-animation-speed;
|
|
165
|
-
}
|
|
166
|
-
&.animate-out {
|
|
167
|
-
@include translate3d(-100%,0,0);
|
|
168
|
-
transition-duration:$orbit-animation-speed;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&.swipe-prev > li {
|
|
173
|
-
@include translate3d(-100%,0,0);
|
|
174
|
-
&.animate-in {
|
|
175
|
-
@include translate3d(0,0,0);
|
|
176
|
-
transition-duration:$orbit-animation-speed;
|
|
177
|
-
}
|
|
178
|
-
&.animate-out {
|
|
179
|
-
@include translate3d(100%,0,0);
|
|
180
|
-
transition-duration:$orbit-animation-speed;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
> li {
|
|
137
|
+
&>* {
|
|
185
138
|
position: absolute;
|
|
186
139
|
top: 0;
|
|
187
|
-
left: 0;
|
|
188
140
|
width: 100%;
|
|
189
|
-
@
|
|
190
|
-
|
|
191
|
-
|
|
141
|
+
@if $text-direction == rtl {
|
|
142
|
+
margin-right: 100%;
|
|
143
|
+
}
|
|
144
|
+
@else {
|
|
145
|
+
margin-left: 100%;
|
|
146
|
+
}
|
|
192
147
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
left: 0
|
|
199
|
-
|
|
148
|
+
&:first-child {
|
|
149
|
+
@if $text-direction == rtl {
|
|
150
|
+
margin-right: 0%;
|
|
151
|
+
}
|
|
152
|
+
@else {
|
|
153
|
+
margin-left: 0%;
|
|
154
|
+
}
|
|
200
155
|
}
|
|
201
156
|
|
|
202
157
|
.orbit-caption {
|
|
@@ -221,7 +176,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
221
176
|
top: 10px;
|
|
222
177
|
#{$default-float}: 10px;
|
|
223
178
|
font-size: 12px;
|
|
224
|
-
span { font-weight:
|
|
179
|
+
span { font-weight: 700; padding: $orbit-slide-number-padding;}
|
|
225
180
|
color: $orbit-slide-number-font-color;
|
|
226
181
|
background: $orbit-slide-number-bg;
|
|
227
182
|
z-index: 10;
|
|
@@ -243,8 +198,6 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
243
198
|
position: relative;
|
|
244
199
|
right: 20px;
|
|
245
200
|
top: 5px;
|
|
246
|
-
} @else {
|
|
247
|
-
display:none; // This is used by the Javascript to not create a handler.
|
|
248
201
|
}
|
|
249
202
|
}
|
|
250
203
|
|
|
@@ -256,11 +209,11 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
256
209
|
#{$opposite-direction}: 0;
|
|
257
210
|
width: 11px;
|
|
258
211
|
height: 14px;
|
|
259
|
-
border: solid 4px
|
|
212
|
+
border: solid 4px $white;
|
|
260
213
|
border-top: none;
|
|
261
214
|
border-bottom: none;
|
|
262
215
|
}
|
|
263
|
-
|
|
216
|
+
|
|
264
217
|
// Pause button
|
|
265
218
|
&.paused {
|
|
266
219
|
& > span {
|
|
@@ -270,16 +223,16 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
270
223
|
height: 14px;
|
|
271
224
|
border: inset 8px;
|
|
272
225
|
border-left-style: solid;
|
|
273
|
-
|
|
274
|
-
border-color:
|
|
275
|
-
&.dark {
|
|
276
|
-
border-color:
|
|
226
|
+
border-color: transparent;
|
|
227
|
+
border-left-color: $white;
|
|
228
|
+
&.dark {
|
|
229
|
+
border-left-color: $oil;
|
|
277
230
|
}
|
|
278
231
|
}
|
|
279
232
|
}
|
|
280
233
|
}
|
|
281
|
-
|
|
282
|
-
|
|
234
|
+
|
|
235
|
+
|
|
283
236
|
|
|
284
237
|
&:hover .orbit-timer > span { display: block; }
|
|
285
238
|
|
|
@@ -333,37 +286,37 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
333
286
|
border-#{$default-float}-color: $orbit-nav-arrow-color-hover;
|
|
334
287
|
}
|
|
335
288
|
}
|
|
289
|
+
}
|
|
336
290
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
291
|
+
.orbit-bullets-container { text-align: center; }
|
|
292
|
+
.orbit-bullets {
|
|
293
|
+
margin: 0 auto 30px auto;
|
|
294
|
+
overflow: hidden;
|
|
295
|
+
position: relative;
|
|
296
|
+
top: 10px;
|
|
297
|
+
float: none;
|
|
298
|
+
text-align: center;
|
|
299
|
+
display: block;
|
|
300
|
+
|
|
301
|
+
li {
|
|
302
|
+
cursor:pointer;
|
|
303
|
+
display: inline-block;
|
|
304
|
+
width: $orbit-bullet-radius;
|
|
305
|
+
height: $orbit-bullet-radius;
|
|
306
|
+
background: $orbit-bullet-nav-color;
|
|
307
|
+
// float: $default-float;
|
|
343
308
|
float: none;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
li {
|
|
348
|
-
display: inline-block;
|
|
349
|
-
width: $orbit-bullet-radius;
|
|
350
|
-
height: $orbit-bullet-radius;
|
|
351
|
-
background: $orbit-bullet-nav-color;
|
|
352
|
-
// float: $default-float;
|
|
353
|
-
float: none;
|
|
354
|
-
margin-#{$opposite-direction}: 6px;
|
|
355
|
-
@include radius(1000px);
|
|
356
|
-
|
|
357
|
-
&.active {
|
|
358
|
-
background: $orbit-bullet-nav-color-active;
|
|
359
|
-
}
|
|
309
|
+
margin-#{$opposite-direction}: 6px;
|
|
310
|
+
@include radius(1000px);
|
|
360
311
|
|
|
361
|
-
|
|
312
|
+
&.active {
|
|
313
|
+
background: $orbit-bullet-nav-color-active;
|
|
362
314
|
}
|
|
315
|
+
|
|
316
|
+
&:last-child { margin-#{$opposite-direction}: 0; }
|
|
363
317
|
}
|
|
364
318
|
}
|
|
365
319
|
|
|
366
|
-
|
|
367
320
|
.touch {
|
|
368
321
|
.orbit-container {
|
|
369
322
|
.orbit-prev,
|
|
@@ -388,36 +341,28 @@ $orbit-timer-hide-for-small: true !default;
|
|
|
388
341
|
}
|
|
389
342
|
|
|
390
343
|
@media #{$small-only} {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
-webkit-transform: none !important;
|
|
399
|
-
-moz-transform: none !important;
|
|
400
|
-
-ms-transform: none !important;
|
|
401
|
-
-o-transform: none !important;
|
|
402
|
-
transform: none !important;
|
|
403
|
-
transition: none !important;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
@if $orbit-timer-hide-for-small {
|
|
407
|
-
.orbit-timer{display: none;}
|
|
408
|
-
}
|
|
409
|
-
@if $orbit-nav-hide-for-small {
|
|
410
|
-
.orbit-next,.orbit-prev{display: none;}
|
|
411
|
-
}
|
|
412
|
-
@if $orbit-bullet-hide-for-small {
|
|
413
|
-
.orbit-bullets{display: none;}
|
|
414
|
-
}
|
|
344
|
+
.orbit-stack-on-small {
|
|
345
|
+
.orbit-slides-container {height: auto !important;}
|
|
346
|
+
.orbit-slides-container > * {
|
|
347
|
+
position: relative;
|
|
348
|
+
margin:0% !important;
|
|
349
|
+
opacity:1 !important;
|
|
350
|
+
}
|
|
415
351
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
352
|
+
.orbit-slide-number {
|
|
353
|
+
display: none;
|
|
419
354
|
}
|
|
420
|
-
|
|
355
|
+
}
|
|
421
356
|
|
|
357
|
+
@if $orbit-timer-hide-for-small {
|
|
358
|
+
.orbit-timer{display: none;}
|
|
359
|
+
}
|
|
360
|
+
@if $orbit-nav-hide-for-small {
|
|
361
|
+
.orbit-next,.orbit-prev{display: none;}
|
|
362
|
+
}
|
|
363
|
+
@if $orbit-bullet-hide-for-small {
|
|
364
|
+
.orbit-bullets{display: none;}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
422
367
|
}
|
|
423
368
|
}
|
|
@@ -16,23 +16,23 @@ $pagination-margin: rem-calc(-5) !default;
|
|
|
16
16
|
// We use these to set the list-item properties
|
|
17
17
|
$pagination-li-float: $default-float !default;
|
|
18
18
|
$pagination-li-height: rem-calc(24) !default;
|
|
19
|
-
$pagination-li-font-color:
|
|
19
|
+
$pagination-li-font-color: $jet !default;
|
|
20
20
|
$pagination-li-font-size: rem-calc(14) !default;
|
|
21
21
|
$pagination-li-margin: rem-calc(5) !default;
|
|
22
22
|
|
|
23
23
|
// We use these for the pagination anchor links
|
|
24
24
|
$pagination-link-pad: rem-calc(1 10 1) !default;
|
|
25
|
-
$pagination-link-font-color:
|
|
26
|
-
$pagination-link-active-bg: scale-color(
|
|
25
|
+
$pagination-link-font-color: $aluminum !default;
|
|
26
|
+
$pagination-link-active-bg: scale-color($white, $lightness: -10%) !default;
|
|
27
27
|
|
|
28
28
|
// We use these for disabled anchor links
|
|
29
29
|
$pagination-link-unavailable-cursor: default !default;
|
|
30
|
-
$pagination-link-unavailable-font-color:
|
|
30
|
+
$pagination-link-unavailable-font-color: $aluminum !default;
|
|
31
31
|
$pagination-link-unavailable-bg-active: transparent !default;
|
|
32
32
|
|
|
33
33
|
// We use these for currently selected anchor links
|
|
34
34
|
$pagination-link-current-background: $primary-color !default;
|
|
35
|
-
$pagination-link-current-font-color:
|
|
35
|
+
$pagination-link-current-font-color: $white !default;
|
|
36
36
|
$pagination-link-current-font-weight: $font-weight-bold !default;
|
|
37
37
|
$pagination-link-current-cursor: default !default;
|
|
38
38
|
$pagination-link-current-active-bg: $primary-color !default;
|
|
@@ -48,12 +48,16 @@ $pagination-link-current-active-bg: $primary-color !default;
|
|
|
48
48
|
// @mixins
|
|
49
49
|
// Style unavailable list items
|
|
50
50
|
@mixin pagination-unavailable-item {
|
|
51
|
-
a {
|
|
51
|
+
a, button {
|
|
52
52
|
cursor: $pagination-link-unavailable-cursor;
|
|
53
53
|
color: $pagination-link-unavailable-font-color;
|
|
54
54
|
}
|
|
55
55
|
&:hover a,
|
|
56
|
-
& a:focus
|
|
56
|
+
& a:focus,
|
|
57
|
+
|
|
58
|
+
&:hover button,
|
|
59
|
+
& button:focus
|
|
60
|
+
{ background: $pagination-link-unavailable-bg-active; }
|
|
57
61
|
}
|
|
58
62
|
// @mixins
|
|
59
63
|
// Style the current list item. Do not assume that the current item has
|
|
@@ -61,7 +65,7 @@ $pagination-link-current-active-bg: $primary-color !default;
|
|
|
61
65
|
// $has-anchor - Default: true, Options: false
|
|
62
66
|
@mixin pagination-current-item($has-anchor: true) {
|
|
63
67
|
@if $has-anchor {
|
|
64
|
-
a {
|
|
68
|
+
a, button {
|
|
65
69
|
background: $pagination-link-current-background;
|
|
66
70
|
color: $pagination-link-current-font-color;
|
|
67
71
|
font-weight: $pagination-link-current-font-weight;
|
|
@@ -103,15 +107,23 @@ $pagination-link-current-active-bg: $primary-color !default;
|
|
|
103
107
|
font-size: $pagination-li-font-size;
|
|
104
108
|
margin-#{$default-float}: $pagination-li-margin;
|
|
105
109
|
|
|
106
|
-
a {
|
|
110
|
+
a, button {
|
|
107
111
|
display: block;
|
|
108
112
|
padding: $pagination-link-pad;
|
|
109
113
|
color: $pagination-link-font-color;
|
|
114
|
+
background: none;
|
|
110
115
|
@include radius;
|
|
116
|
+
font-weight: normal;
|
|
117
|
+
font-size: 1em;
|
|
118
|
+
line-height: inherit;
|
|
119
|
+
@include single-transition(background-color);
|
|
111
120
|
}
|
|
112
121
|
|
|
113
122
|
&:hover a,
|
|
114
|
-
a:focus
|
|
123
|
+
a:focus,
|
|
124
|
+
&:hover button,
|
|
125
|
+
button:focus
|
|
126
|
+
{ background: $pagination-link-active-bg; }
|
|
115
127
|
|
|
116
128
|
@if $use-default-classes {
|
|
117
129
|
&.unavailable { @include pagination-unavailable-item(); }
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
$include-html-panel-classes: $include-html-classes !default;
|
|
11
11
|
|
|
12
12
|
// We use these to control the background and border styles
|
|
13
|
-
$panel-bg: scale-color(
|
|
13
|
+
$panel-bg: scale-color($white, $lightness: -5%) !default;
|
|
14
14
|
$panel-border-style: solid !default;
|
|
15
15
|
$panel-border-size: 1px !default;
|
|
16
16
|
|
|
@@ -23,8 +23,8 @@ $panel-margin-bottom: rem-calc(20) !default;
|
|
|
23
23
|
$panel-padding: rem-calc(20) !default;
|
|
24
24
|
|
|
25
25
|
// We use these to set default font colors
|
|
26
|
-
$panel-font-color:
|
|
27
|
-
$panel-font-color-alt:
|
|
26
|
+
$panel-font-color: $oil !default;
|
|
27
|
+
$panel-font-color-alt: $white !default;
|
|
28
28
|
|
|
29
29
|
$panel-header-adjust: true !default;
|
|
30
30
|
$callout-panel-link-color: $primary-color !default;
|
|
@@ -32,7 +32,7 @@ $callout-panel-link-color: $primary-color !default;
|
|
|
32
32
|
// @mixins
|
|
33
33
|
//
|
|
34
34
|
// We use this mixin to create panels.
|
|
35
|
-
// $bg - Sets the panel background color. Default: $panel-pg || scale-color(
|
|
35
|
+
// $bg - Sets the panel background color. Default: $panel-pg || scale-color($white, $lightness: -5%) !default
|
|
36
36
|
// $padding - Sets the panel padding amount. Default: $panel-padding || rem-calc(20)
|
|
37
37
|
// $adjust - Sets the font color based on the darkness of the bg & resets header line-heights for panels. Default: $panel-header-adjust || true
|
|
38
38
|
@mixin panel($bg:$panel-bg, $padding:$panel-padding, $adjust:$panel-header-adjust) {
|
|
@@ -54,9 +54,12 @@ $callout-panel-link-color: $primary-color !default;
|
|
|
54
54
|
|
|
55
55
|
@if $adjust {
|
|
56
56
|
// We set the font color based on the darkness of the bg.
|
|
57
|
-
@if $bg-lightness >= 50%
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
@if $bg-lightness >= 50% {
|
|
58
|
+
h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color; }
|
|
59
|
+
}
|
|
60
|
+
@else {
|
|
61
|
+
h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color-alt; }
|
|
62
|
+
}
|
|
60
63
|
|
|
61
64
|
// reset header line-heights for panels
|
|
62
65
|
h1,h2,h3,h4,h5,h6 {
|