lobiboxing-rails 1.2.4

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.
@@ -0,0 +1,435 @@
1
+ //Author : @arboshiki
2
+ /**
3
+ * Generates random string of n length.
4
+ * String contains only letters and numbers
5
+ *
6
+ * @param {int} n
7
+ * @returns {String}
8
+ */
9
+ Math.randomString = function (n) {
10
+ var text = "";
11
+ var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
12
+
13
+ for (var i = 0; i < n; i++)
14
+ text += possible.charAt(Math.floor(Math.random() * possible.length));
15
+
16
+ return text;
17
+ };
18
+ var Lobibox = Lobibox || {};
19
+ (function () {
20
+
21
+ var LobiboxNotify = function (type, options) {
22
+ //------------------------------------------------------------------------------
23
+ //----------------PROTOTYPE VARIABLES-------------------------------------------
24
+ //------------------------------------------------------------------------------
25
+ this.$type = null;
26
+ this.$options = null;
27
+ this.$el = null;
28
+ //------------------------------------------------------------------------------
29
+ //-----------------PRIVATE VARIABLES--------------------------------------------
30
+ //------------------------------------------------------------------------------
31
+ var me = this;
32
+ //------------------------------------------------------------------------------
33
+ //-----------------PRIVATE FUNCTIONS--------------------------------------------
34
+ //------------------------------------------------------------------------------
35
+ var _processInput = function (options) {
36
+
37
+ if (options.size === 'mini' || options.size === 'large') {
38
+ options = $.extend({}, Lobibox.notify.OPTIONS[options.size], options);
39
+ }
40
+ options = $.extend({}, Lobibox.notify.OPTIONS[me.$type], Lobibox.notify.DEFAULTS, options);
41
+
42
+ if (options.size !== 'mini' && options.title === true) {
43
+ options.title = Lobibox.notify.OPTIONS[me.$type].title;
44
+ } else if (options.size === 'mini' && options.title === true) {
45
+ options.title = false;
46
+ }
47
+ if (options.icon === true) {
48
+ options.icon = Lobibox.notify.OPTIONS.icons[options.iconSource][me.$type];
49
+ }
50
+ if (options.sound === true) {
51
+ options.sound = Lobibox.notify.OPTIONS[me.$type].sound;
52
+ }
53
+ if (options.sound) {
54
+ options.sound = options.soundPath + options.sound + options.soundExt;
55
+ }
56
+ return options;
57
+ };
58
+
59
+ var _appendInWrapper = function ($el, $wrapper) {
60
+ if (me.$options.size === 'normal') {
61
+ if ($wrapper.hasClass('bottom')) {
62
+ $wrapper.prepend($el);
63
+ } else {
64
+ $wrapper.append($el);
65
+ }
66
+
67
+ } else if (me.$options.size === 'mini') {
68
+ if ($wrapper.hasClass('bottom')) {
69
+ $wrapper.prepend($el);
70
+ } else {
71
+ $wrapper.append($el);
72
+ }
73
+ } else if (me.$options.size === 'large') {
74
+ var tabPane = _createTabPane().append($el);
75
+ var $li = _createTabControl(tabPane.attr('id'));
76
+ $wrapper.find('.lb-notify-wrapper').append(tabPane);
77
+ $wrapper.find('.lb-notify-tabs').append($li);
78
+ _activateTab($li);
79
+ $li.find('>a').click(function () {
80
+ _activateTab($li);
81
+ });
82
+ }
83
+ };
84
+ var _activateTab = function ($li) {
85
+ $li.closest('.lb-notify-tabs').find('>li').removeClass('active');
86
+ $li.addClass('active');
87
+ var $current = $($li.find('>a').attr('href'));
88
+ $current.closest('.lb-notify-wrapper').find('>.lb-tab-pane').removeClass('active');
89
+ $current.addClass('active')
90
+ };
91
+ var _createTabControl = function (tabPaneId) {
92
+ var $li = $('<li></li>', {
93
+ 'class': Lobibox.notify.OPTIONS[me.$type]['class']
94
+ });
95
+ $('<a></a>', {
96
+ 'href': '#' + tabPaneId
97
+ }).append('<i class="tab-control-icon ' + me.$options.icon + '"></i>')
98
+ .appendTo($li);
99
+ return $li;
100
+ };
101
+ var _createTabPane = function () {
102
+ return $('<div></div>', {
103
+ 'class': 'lb-tab-pane',
104
+ 'id': Math.randomString(10)
105
+ })
106
+ };
107
+ var _createNotifyWrapper = function () {
108
+ var selector = (me.$options.size === 'large' ? '.lobibox-notify-wrapper-large' : '.lobibox-notify-wrapper')
109
+ + "." + me.$options.position.replace(/\s/gi, '.'),
110
+ $wrapper;
111
+
112
+ //var classes = me.$options.position.split(" ");
113
+ $wrapper = $(selector);
114
+ if ($wrapper.length === 0) {
115
+ $wrapper = $('<div></div>')
116
+ .addClass(selector.replace(/\./g, ' ').trim())
117
+ .appendTo($('body'));
118
+ if (me.$options.size === 'large') {
119
+ $wrapper.append($('<ul class="lb-notify-tabs"></ul>'))
120
+ .append($('<div class="lb-notify-wrapper"></div>'));
121
+ }
122
+ }
123
+ return $wrapper;
124
+ };
125
+ var _createNotify = function () {
126
+ var OPTS = Lobibox.notify.OPTIONS,
127
+ $iconEl,
128
+ $innerIconEl,
129
+ $iconWrapper,
130
+ $body,
131
+ $msg,
132
+ $notify = $('<div></div>', {
133
+ 'class': 'lobibox-notify ' + OPTS[me.$type]['class'] + ' ' + OPTS['class'] + ' ' + me.$options.showClass
134
+ });
135
+
136
+ $iconWrapper = $('<div class="lobibox-notify-icon-wrapper"></div>').appendTo($notify);
137
+ $iconEl = $('<div class="lobibox-notify-icon"></div>').appendTo($iconWrapper);
138
+ $innerIconEl = $('<div></div>').appendTo($iconEl);
139
+
140
+ // Add image or icon depending on given parameters
141
+ if (me.$options.img) {
142
+ $innerIconEl.append('<img src="' + me.$options.img + '"/>');
143
+ } else if (me.$options.icon) {
144
+ $innerIconEl.append('<div class="icon-el"><i class="' + me.$options.icon + '"></i></div>');
145
+ } else {
146
+ $notify.addClass('without-icon');
147
+ }
148
+ // Create body, append title and message in body and append body in notification
149
+ $msg = $('<div class="lobibox-notify-msg">' + me.$options.msg + '</div>');
150
+
151
+ if (me.$options.messageHeight !== false) {
152
+ $msg.css('max-height', me.$options.messageHeight);
153
+ }
154
+
155
+ $body = $('<div></div>', {
156
+ 'class': 'lobibox-notify-body'
157
+ }).append($msg).appendTo($notify);
158
+
159
+ if (me.$options.title) {
160
+ $body.prepend('<div class="lobibox-notify-title">' + me.$options.title + '<div>');
161
+ }
162
+ _addCloseButton($notify);
163
+ if (me.$options.size === 'normal' || me.$options.size === 'mini') {
164
+ _addCloseOnClick($notify);
165
+ _addDelay($notify);
166
+ }
167
+
168
+ // Give width to notification
169
+ if (me.$options.width) {
170
+ $notify.css('width', _calculateWidth(me.$options.width));
171
+ }
172
+
173
+ return $notify;
174
+ };
175
+ var _addCloseButton = function ($el) {
176
+ if (!me.$options.closable) {
177
+ return;
178
+ }
179
+ $('<span class="lobibox-close">&times;</span>').click(function () {
180
+ me.remove();
181
+ }).appendTo($el);
182
+ };
183
+ var _addCloseOnClick = function ($el) {
184
+ if (!me.$options.closeOnClick) {
185
+ return;
186
+ }
187
+ $el.click(function () {
188
+ me.remove();
189
+ });
190
+ };
191
+ var _addDelay = function ($el) {
192
+ if (!me.$options.delay) {
193
+ return;
194
+ }
195
+ if (me.$options.delayIndicator) {
196
+ var delay = $('<div class="lobibox-delay-indicator"><div></div></div>');
197
+ $el.append(delay);
198
+ }
199
+ var time = 0;
200
+ var interval = 1000 / 30;
201
+ var currentTime = new Date().getTime();
202
+ var timer = setInterval(function () {
203
+ if (me.$options.continueDelayOnInactiveTab){
204
+ time = new Date().getTime() - currentTime;
205
+ } else {
206
+ time += interval;
207
+ }
208
+
209
+ var width = 100 * time / me.$options.delay;
210
+ if (width >= 100) {
211
+ width = 100;
212
+ me.remove();
213
+ timer = clearInterval(timer);
214
+ }
215
+ if (me.$options.delayIndicator) {
216
+ delay.find('div').css('width', width + "%");
217
+ }
218
+
219
+ }, interval);
220
+
221
+ if (me.$options.pauseDelayOnHover) {
222
+ $el.on('mouseenter.lobibox', function () {
223
+ interval = 0;
224
+ }).on('mouseleave.lobibox', function () {
225
+ interval = 1000 / 30;
226
+ });
227
+ }
228
+ };
229
+ var _findTabToActivate = function ($li) {
230
+ var $itemToActivate = $li.prev();
231
+ if ($itemToActivate.length === 0) {
232
+ $itemToActivate = $li.next();
233
+ }
234
+ if ($itemToActivate.length === 0) {
235
+ return null;
236
+ }
237
+ return $itemToActivate;
238
+ };
239
+ var _calculateWidth = function (width) {
240
+ width = Math.min($(window).outerWidth(), width);
241
+ return width;
242
+ };
243
+ //------------------------------------------------------------------------------
244
+ //----------------PROTOTYPE FUNCTIONS-------------------------------------------
245
+ //------------------------------------------------------------------------------
246
+ /**
247
+ * Delete the notification
248
+ *
249
+ * @returns {LobiboxNotify}
250
+ */
251
+ this.remove = function () {
252
+ me.$el.removeClass(me.$options.showClass)
253
+ .addClass(me.$options.hideClass);
254
+ var parent = me.$el.parent();
255
+ var wrapper = parent.closest('.lobibox-notify-wrapper-large');
256
+
257
+ var href = '#' + parent.attr('id');
258
+
259
+ var $li = wrapper.find('>.lb-notify-tabs>li:has(a[href="' + href + '"])');
260
+ $li.addClass(Lobibox.notify.OPTIONS['class'])
261
+ .addClass(me.$options.hideClass);
262
+ setTimeout(function () {
263
+ if (me.$options.size === 'normal' || me.$options.size === 'mini') {
264
+ me.$el.remove();
265
+ } else if (me.$options.size === 'large') {
266
+
267
+ var $newLi = _findTabToActivate($li);
268
+ if ($newLi) {
269
+ _activateTab($newLi);
270
+ }
271
+ $li.remove();
272
+ parent.remove();
273
+ }
274
+ var list = Lobibox.notify.list;
275
+ var ind = list.indexOf(me);
276
+ list.splice(ind, 1);
277
+ var next = list[ind];
278
+ if (next && next.$options.showAfterPrevious){
279
+ next._init();
280
+ }
281
+ }, 500);
282
+ return me;
283
+ };
284
+ me._init = function () {
285
+ // Create notification
286
+ var $notify = _createNotify();
287
+ if (me.$options.size === 'mini') {
288
+ $notify.addClass('notify-mini');
289
+ }
290
+
291
+ if (typeof me.$options.position === 'string') {
292
+ var $wrapper = _createNotifyWrapper();
293
+ _appendInWrapper($notify, $wrapper);
294
+ if ($wrapper.hasClass('center')) {
295
+ $wrapper.css('margin-left', '-' + ($wrapper.width() / 2) + "px");
296
+ }
297
+ } else {
298
+ $('body').append($notify);
299
+ $notify.css({
300
+ 'position': 'fixed',
301
+ left: me.$options.position.left,
302
+ top: me.$options.position.top
303
+ })
304
+ }
305
+
306
+ me.$el = $notify;
307
+ if (me.$options.sound) {
308
+ var snd = new Audio(me.$options.sound); // buffers automatically when created
309
+ snd.play();
310
+ }
311
+ if (me.$options.rounded) {
312
+ me.$el.addClass('rounded');
313
+ }
314
+ me.$el.on('click.lobibox', function(ev){
315
+ if (me.$options.onClickUrl){
316
+ window.location.href = me.$options.onClickUrl;
317
+ }
318
+ if (me.$options.onClick && typeof me.$options.onClick === 'function'){
319
+ me.$options.onClick.call(me, ev);
320
+ }
321
+ });
322
+ me.$el.data('lobibox', me);
323
+ };
324
+ //------------------------------------------------------------------------------
325
+ //------------------------------------------------------------------------------
326
+ //------------------------------------------------------------------------------
327
+ this.$type = type;
328
+ this.$options = _processInput(options);
329
+ if (!me.$options.showAfterPrevious || Lobibox.notify.list.length === 0){
330
+ this._init();
331
+ }
332
+
333
+ };
334
+
335
+ Lobibox.notify = function (type, options) {
336
+ if (["default", "info", "warning", "error", "success"].indexOf(type) > -1) {
337
+ var lobibox = new LobiboxNotify(type, options);
338
+ Lobibox.notify.list.push(lobibox);
339
+ return lobibox;
340
+ }
341
+ };
342
+ Lobibox.notify.list = [];
343
+ Lobibox.notify.closeAll = function () {
344
+ var list = Lobibox.notify.list;
345
+ for (var i in list){
346
+ list[i].remove();
347
+ }
348
+ };
349
+ //User can set default options to this variable
350
+ Lobibox.notify.DEFAULTS = {
351
+ title: true, // Title of notification. If you do not include the title in options it will automatically takes its value
352
+ //from Lobibox.notify.OPTIONS object depending of the type of the notifications or set custom string. Set this false to disable title
353
+ size: 'normal', // normal, mini, large
354
+ soundPath: 'sounds/', // The folder path where sounds are located
355
+ soundExt: '.ogg', // Default extension for all sounds
356
+ showClass: 'fadeInDown', // Show animation class.
357
+ hideClass: 'zoomOut', // Hide animation class.
358
+ icon: true, // Icon of notification. Leave as is for default icon or set custom string
359
+ msg: '', // Message of notification
360
+ img: null, // Image source string
361
+ closable: true, // Make notifications closable
362
+ hideCloseButton: false, // Notification may be closable but you can hide close button and it will be closed by clicking on notification itsef
363
+ delay: 5000, // Hide notification after this time (in miliseconds)
364
+ delayIndicator: true, // Show timer indicator
365
+ closeOnClick: true, // Close notifications by clicking on them
366
+ width: 400, // Width of notification box
367
+ sound: true, // Sound of notification. Set this false to disable sound. Leave as is for default sound or set custom soud path
368
+ // Place to show notification. Available options: "top left", "top right", "bottom left", "bottom right", "center top", "center bottom"
369
+ // It can also be object {left: number, top: number} to position notification at any place
370
+ position: "bottom right",
371
+ iconSource: 'bootstrap', // "bootstrap" or "fontAwesome" the library which will be used for icons
372
+ rounded: false, // Whether to make notification corners rounded
373
+ messageHeight: 60, // Notification message maximum height. This is not for notification itself, this is for <code>.lobibox-notify-msg</code>
374
+ pauseDelayOnHover: true, // When you mouse over on notification delay (if it is enabled) will be paused.
375
+ onClickUrl: null, // The url which will be opened when notification is clicked
376
+ showAfterPrevious: false, // Set this to true if you want notification not to be shown until previous notification is closed. This is useful for notification queues
377
+ continueDelayOnInactiveTab: true, // Continue delay when browser tab is inactive
378
+
379
+ // Events
380
+ onClick: null
381
+ };
382
+ //This variable is necessary.
383
+ Lobibox.notify.OPTIONS = {
384
+ 'class': 'animated-fast',
385
+ large: {
386
+ width: 500,
387
+ messageHeight: 96
388
+ },
389
+ mini: {
390
+ 'class': 'notify-mini',
391
+ messageHeight: 32
392
+ },
393
+ default: {
394
+ 'class': 'lobibox-notify-default',
395
+ 'title': 'Default',
396
+ sound: false
397
+ },
398
+ success: {
399
+ 'class': 'lobibox-notify-success',
400
+ 'title': 'Success',
401
+ sound: 'sound2'
402
+ },
403
+ error: {
404
+ 'class': 'lobibox-notify-error',
405
+ 'title': 'Error',
406
+ sound: 'sound4'
407
+ },
408
+ warning: {
409
+ 'class': 'lobibox-notify-warning',
410
+ 'title': 'Warning',
411
+ sound: 'sound5'
412
+ },
413
+ info: {
414
+ 'class': 'lobibox-notify-info',
415
+ 'title': 'Information',
416
+ sound: 'sound6'
417
+ },
418
+ icons: {
419
+ bootstrap: {
420
+ success: 'glyphicon glyphicon-ok-sign',
421
+ error: 'glyphicon glyphicon-remove-sign',
422
+ warning: 'glyphicon glyphicon-exclamation-sign',
423
+ info: 'glyphicon glyphicon-info-sign'
424
+ },
425
+ fontAwesome: {
426
+ success: 'fa fa-check-circle',
427
+ error: 'fa fa-times-circle',
428
+ warning: 'fa fa-exclamation-circle',
429
+ info: 'fa fa-info-circle'
430
+ }
431
+ }
432
+ };
433
+ })();
434
+
435
+
@@ -0,0 +1,1058 @@
1
+ /*
2
+ Created on : Mar 19, 2014, 9:48:25 AM
3
+ Author : @arboshiki
4
+ */
5
+ /*
6
+ Created on : Sep 19, 2014, 1:47:13 PM
7
+ Author : @arboshiki
8
+ */
9
+ /*
10
+ Author : @arboshiki
11
+ */
12
+ @import url(https://fonts.googleapis.com/css?family=Open+Sans:600,700,400,300);
13
+ /*
14
+ Created on : Aug 11, 2014, 5:14:12 PM
15
+ Author : @arboshiki
16
+ */
17
+ .animated-super-fast {
18
+ -webkit-animation-duration: 0.3s;
19
+ animation-duration: 0.3s;
20
+ -webkit-animation-fill-mode: both;
21
+ animation-fill-mode: both;
22
+ }
23
+ .animated-fast {
24
+ -webkit-animation-duration: 0.5s;
25
+ animation-duration: 0.5s;
26
+ -webkit-animation-fill-mode: both;
27
+ animation-fill-mode: both;
28
+ }
29
+ .animated {
30
+ -webkit-animation-duration: 1s;
31
+ animation-duration: 1s;
32
+ -webkit-animation-fill-mode: both;
33
+ animation-fill-mode: both;
34
+ }
35
+ .animated-slow {
36
+ -webkit-animation-duration: 1.3s;
37
+ animation-duration: 1.3s;
38
+ -webkit-animation-fill-mode: both;
39
+ animation-fill-mode: both;
40
+ }
41
+ @-webkit-keyframes bounce {
42
+ 0%,
43
+ 20%,
44
+ 50%,
45
+ 80%,
46
+ 100% {
47
+ -webkit-transform: translateY(0);
48
+ transform: translateY(0);
49
+ }
50
+ 40% {
51
+ -webkit-transform: translateY(-30px);
52
+ transform: translateY(-30px);
53
+ }
54
+ 60% {
55
+ -webkit-transform: translateY(-15px);
56
+ transform: translateY(-15px);
57
+ }
58
+ }
59
+ @keyframes bounce {
60
+ 0%,
61
+ 20%,
62
+ 50%,
63
+ 80%,
64
+ 100% {
65
+ transform: translateY(0);
66
+ }
67
+ 40% {
68
+ transform: translateY(-30px);
69
+ }
70
+ 60% {
71
+ transform: translateY(-15px);
72
+ }
73
+ }
74
+ @-webkit-keyframes jumpUp {
75
+ 0% {
76
+ -webkit-transform: translate3d(0, calc(230%), 0) scale3d(0, 1, 1);
77
+ -webkit-animation-timing-function: ease-in;
78
+ }
79
+ 40% {
80
+ -webkit-transform: translate3d(0, 0, 0) scale3d(0.02, 1.1, 1);
81
+ -webkit-animation-timing-function: ease-out;
82
+ }
83
+ 70% {
84
+ -webkit-transform: translate3d(0, -40px, 0) scale3d(0.8, 1.1, 1);
85
+ }
86
+ 100% {
87
+ -webkit-transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
88
+ }
89
+ }
90
+ @keyframes jumpUp {
91
+ 0% {
92
+ transform: translate3d(0, calc(230%), 0) scale3d(0, 1, 1);
93
+ animation-timing-function: ease-in;
94
+ }
95
+ 40% {
96
+ transform: translate3d(0, 0, 0) scale3d(0.02, 1.1, 1);
97
+ animation-timing-function: ease-out;
98
+ }
99
+ 70% {
100
+ transform: translate3d(0, -40px, 0) scale3d(0.8, 1.1, 1);
101
+ }
102
+ 100% {
103
+ transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
104
+ }
105
+ }
106
+ @-webkit-keyframes expandOpen {
107
+ 0% {
108
+ -webkit-transform: scale(1.8);
109
+ }
110
+ 50% {
111
+ -webkit-transform: scale(0.95);
112
+ }
113
+ 80% {
114
+ -webkit-transform: scale(1.05);
115
+ }
116
+ 90% {
117
+ -webkit-transform: scale(0.98);
118
+ }
119
+ 100% {
120
+ -webkit-transform: scale(1);
121
+ }
122
+ }
123
+ @keyframes expandOpen {
124
+ 0% {
125
+ transform: scale(1.8);
126
+ }
127
+ 50% {
128
+ transform: scale(0.95);
129
+ }
130
+ 80% {
131
+ transform: scale(1.05);
132
+ }
133
+ 90% {
134
+ transform: scale(0.98);
135
+ }
136
+ 100% {
137
+ transform: scale(1);
138
+ }
139
+ }
140
+ @keyframes fadeInScale {
141
+ 0% {
142
+ transform: scale(0);
143
+ opacity: 0.0;
144
+ }
145
+ 100% {
146
+ transform: scale(1);
147
+ opacity: 1;
148
+ }
149
+ }
150
+ @-webkit-keyframes fadeInScale {
151
+ 0% {
152
+ -webkit-transform: scale(0);
153
+ opacity: 0.0;
154
+ }
155
+ 100% {
156
+ -webkit-transform: scale(1);
157
+ opacity: 1;
158
+ }
159
+ }
160
+ @-webkit-keyframes zoomIn {
161
+ 0% {
162
+ opacity: 0;
163
+ -webkit-transform: scale(0.3);
164
+ transform: scale(0.3);
165
+ }
166
+ 50% {
167
+ opacity: 1;
168
+ }
169
+ }
170
+ @keyframes zoomIn {
171
+ 0% {
172
+ opacity: 0;
173
+ -webkit-transform: scale(0.3);
174
+ -ms-transform: scale(0.3);
175
+ transform: scale(0.3);
176
+ }
177
+ 50% {
178
+ opacity: 1;
179
+ }
180
+ }
181
+ @-webkit-keyframes zoomOut {
182
+ 0% {
183
+ opacity: 1;
184
+ -webkit-transform: scale(1);
185
+ transform: scale(1);
186
+ }
187
+ 50% {
188
+ opacity: 0;
189
+ -webkit-transform: scale(0.3);
190
+ transform: scale(0.3);
191
+ }
192
+ 100% {
193
+ opacity: 0;
194
+ }
195
+ }
196
+ @keyframes zoomOut {
197
+ 0% {
198
+ opacity: 1;
199
+ -webkit-transform: scale(1);
200
+ -ms-transform: scale(1);
201
+ transform: scale(1);
202
+ }
203
+ 50% {
204
+ opacity: 0;
205
+ -webkit-transform: scale(0.3);
206
+ -ms-transform: scale(0.3);
207
+ transform: scale(0.3);
208
+ }
209
+ 100% {
210
+ opacity: 0;
211
+ }
212
+ }
213
+ @-webkit-keyframes fadeInDown {
214
+ from {
215
+ opacity: 0;
216
+ -webkit-transform: translate3d(0, -100%, 0);
217
+ transform: translate3d(0, -100%, 0);
218
+ }
219
+ to {
220
+ opacity: 1;
221
+ -webkit-transform: none;
222
+ transform: none;
223
+ }
224
+ }
225
+ @keyframes fadeInDown {
226
+ from {
227
+ opacity: 0;
228
+ -webkit-transform: translate3d(0, -100%, 0);
229
+ transform: translate3d(0, -100%, 0);
230
+ }
231
+ to {
232
+ opacity: 1;
233
+ -webkit-transform: none;
234
+ transform: none;
235
+ }
236
+ }
237
+ .fadeInDown {
238
+ -webkit-animation-name: fadeInDown;
239
+ animation-name: fadeInDown;
240
+ }
241
+ .zoomIn {
242
+ -webkit-animation-name: zoomIn;
243
+ animation-name: zoomIn;
244
+ }
245
+ .zoomOut {
246
+ -webkit-animation-name: zoomOut;
247
+ animation-name: zoomOut;
248
+ }
249
+ .bounce {
250
+ -webkit-animation-name: bounce;
251
+ animation-name: bounce;
252
+ }
253
+ .jumpUp {
254
+ -webkit-animation-name: jumpUp;
255
+ animation-name: jumpUp;
256
+ }
257
+ .expandOpen {
258
+ animation-name: expandOpen;
259
+ -webkit-animation-name: expandOpen;
260
+ }
261
+ .fadeInScale {
262
+ animation-name: fadeInScale;
263
+ -webkit-animation-name: fadeInScale;
264
+ }
265
+ /*
266
+ Created on : Sep 19, 2014, 1:47:04 PM
267
+ Author : @arboshiki
268
+ */
269
+ body.lobibox-open {
270
+ overflow: hidden;
271
+ }
272
+ .lobibox {
273
+ position: fixed;
274
+ z-index: 4001;
275
+ font-family: 'Open Sans', Arial, Helvetica, sans-serif;
276
+ -webkit-box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
277
+ box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.5);
278
+ }
279
+ .lobibox * {
280
+ box-sizing: border-box;
281
+ -webkit-box-sizing: border-box;
282
+ }
283
+ .lobibox .lobibox-header {
284
+ font-size: 20px;
285
+ padding: 5px 10px;
286
+ color: #eeeeee;
287
+ }
288
+ .lobibox .lobibox-header .btn-close {
289
+ float: right;
290
+ background-color: transparent;
291
+ cursor: pointer;
292
+ border: none;
293
+ outline: 0;
294
+ -webkit-transition: all 0.3s;
295
+ -o-transition: all 0.3s;
296
+ transition: all 0.3s;
297
+ }
298
+ .lobibox .lobibox-header .btn-close:hover {
299
+ text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
300
+ }
301
+ .lobibox .lobibox-body {
302
+ overflow: hidden;
303
+ display: table;
304
+ position: relative;
305
+ width: 100%;
306
+ padding: 15px 20px;
307
+ background-color: rgba(255, 255, 255, 0.98);
308
+ font-size: 16px;
309
+ }
310
+ .lobibox .lobibox-body .lobibox-icon-wrapper {
311
+ position: relative;
312
+ height: 100%;
313
+ display: table;
314
+ font-size: 60px;
315
+ }
316
+ .lobibox .lobibox-body .lobibox-icon-wrapper .lobibox-icon {
317
+ display: table-cell;
318
+ vertical-align: middle;
319
+ }
320
+ .lobibox .lobibox-body .lobibox-body-text-wrapper {
321
+ display: table-cell;
322
+ vertical-align: middle;
323
+ width: 100%;
324
+ padding-left: 10px;
325
+ }
326
+ .lobibox .lobibox-footer {
327
+ text-align: center;
328
+ padding: 6px;
329
+ }
330
+ .lobibox .lobibox-footer > * {
331
+ margin: 0 10px 0 0;
332
+ }
333
+ .lobibox .lobibox-footer.text-center {
334
+ text-align: center;
335
+ }
336
+ .lobibox .lobibox-footer.text-left {
337
+ text-align: left;
338
+ }
339
+ .lobibox .lobibox-footer.text-right {
340
+ text-align: right;
341
+ }
342
+ .lobibox.lobibox-confirm {
343
+ border: none;
344
+ }
345
+ .lobibox.lobibox-confirm .lobibox-header {
346
+ color: #eeeeee;
347
+ background-color: #3C2D2D;
348
+ }
349
+ .lobibox.lobibox-confirm .lobibox-body .lobibox-icon {
350
+ color: #3C2D2D;
351
+ }
352
+ .lobibox.lobibox-confirm .lobibox-footer {
353
+ background-color: #594343;
354
+ }
355
+ .lobibox.lobibox-success {
356
+ border: 1px solid #29B87E;
357
+ }
358
+ .lobibox.lobibox-success .lobibox-header {
359
+ color: #eeeeee;
360
+ background-color: #29B87E;
361
+ }
362
+ .lobibox.lobibox-success .lobibox-body .lobibox-icon {
363
+ color: #29B87E;
364
+ }
365
+ .lobibox.lobibox-success .lobibox-footer {
366
+ background-color: #40d498;
367
+ }
368
+ .lobibox.lobibox-error {
369
+ border: 1px solid #CA2121;
370
+ }
371
+ .lobibox.lobibox-error .lobibox-header {
372
+ color: #eeeeee;
373
+ background-color: #CA2121;
374
+ }
375
+ .lobibox.lobibox-error .lobibox-body .lobibox-icon {
376
+ color: #CA2121;
377
+ }
378
+ .lobibox.lobibox-error .lobibox-footer {
379
+ background-color: #e03e3e;
380
+ }
381
+ .lobibox.lobibox-info {
382
+ border: 1px solid #2E79B4;
383
+ }
384
+ .lobibox.lobibox-info .lobibox-header {
385
+ color: #eeeeee;
386
+ background-color: #2E79B4;
387
+ }
388
+ .lobibox.lobibox-info .lobibox-body .lobibox-icon {
389
+ color: #2E79B4;
390
+ }
391
+ .lobibox.lobibox-info .lobibox-footer {
392
+ background-color: #4593d0;
393
+ }
394
+ .lobibox.lobibox-warning {
395
+ border: 1px solid #CE812E;
396
+ }
397
+ .lobibox.lobibox-warning .lobibox-header {
398
+ color: #eeeeee;
399
+ background-color: #CE812E;
400
+ }
401
+ .lobibox.lobibox-warning .lobibox-body .lobibox-icon {
402
+ color: #CE812E;
403
+ }
404
+ .lobibox.lobibox-warning .lobibox-footer {
405
+ background-color: #d99a56;
406
+ }
407
+ .lobibox.lobibox-prompt {
408
+ border: none;
409
+ }
410
+ .lobibox.lobibox-prompt .lobibox-header {
411
+ color: #eeeeee;
412
+ background-color: #3c2d2d;
413
+ }
414
+ .lobibox.lobibox-prompt .lobibox-body {
415
+ padding: 20px;
416
+ }
417
+ .lobibox.lobibox-prompt .lobibox-body .lobibox-input {
418
+ min-height: 38px;
419
+ border: 1px solid #21cb91;
420
+ width: 100%;
421
+ padding: 5px;
422
+ font-size: 18px;
423
+ outline: 0;
424
+ }
425
+ .lobibox.lobibox-prompt .lobibox-body .lobibox-input:focus {
426
+ background-color: #EEE;
427
+ }
428
+ .lobibox.lobibox-prompt .lobibox-body .lobibox-input.invalid {
429
+ border-color: #DC2B2A;
430
+ }
431
+ .lobibox.lobibox-prompt .lobibox-body .lobibox-input-error-message {
432
+ margin-top: 5px;
433
+ margin-bottom: 0;
434
+ font-size: 13px;
435
+ color: #DC2B2A;
436
+ }
437
+ .lobibox.lobibox-prompt .lobibox-footer {
438
+ background-color: #594343;
439
+ }
440
+ .lobibox.lobibox-progress .lobibox-header {
441
+ background-color: #2F5D6D;
442
+ }
443
+ .lobibox.lobibox-progress .lobibox-body {
444
+ padding: 15px;
445
+ font-size: 16px;
446
+ }
447
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-bar-wrapper {
448
+ position: relative;
449
+ height: 20px;
450
+ border: 1px solid #c3c3c3;
451
+ border-radius: 10px;
452
+ background-color: #d5d5d5;
453
+ }
454
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-bar-wrapper .lobibox-progress-bar {
455
+ width: 0;
456
+ border-radius: 10px;
457
+ background-color: #468ba2;
458
+ height: 100%;
459
+ text-align: center;
460
+ }
461
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-bar-wrapper .lobibox-progress-text {
462
+ position: absolute;
463
+ text-align: center;
464
+ top: 0;
465
+ width: 100%;
466
+ }
467
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-outer {
468
+ margin-bottom: 0;
469
+ }
470
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-outer .progress-bar {
471
+ transition: none;
472
+ }
473
+ .lobibox.lobibox-progress .lobibox-body .lobibox-progress-outer [data-role="progress-text"] {
474
+ font-weight: bold;
475
+ color: rgba(0, 0, 0, 0.7);
476
+ }
477
+ .lobibox.lobibox-window {
478
+ border: 3px solid #225EB8;
479
+ border-radius: 6px;
480
+ }
481
+ .lobibox.lobibox-window .lobibox-header {
482
+ background-color: #225EB8;
483
+ color: #eeeeee;
484
+ font-size: 18px;
485
+ }
486
+ .lobibox.lobibox-window .lobibox-body {
487
+ overflow: auto;
488
+ display: block;
489
+ font-size: 14px;
490
+ padding: 15px;
491
+ background-color: #f5f8fd;
492
+ }
493
+ .lobibox.lobibox-window .lobibox-footer {
494
+ background-color: #8ab0e9;
495
+ }
496
+ .lobibox.lobibox-window :last-child {
497
+ border-bottom-right-radius: 3px;
498
+ border-bottom-left-radius: 3px;
499
+ }
500
+ .lobibox.draggable .lobibox-header {
501
+ cursor: move;
502
+ }
503
+ .lobibox .lobibox-btn {
504
+ display: inline-block;
505
+ padding: 8px 14px;
506
+ font-size: 14px;
507
+ cursor: pointer;
508
+ border: 1px solid transparent;
509
+ border-radius: 2px;
510
+ line-height: initial;
511
+ }
512
+ .lobibox .lobibox-btn.lobibox-btn-cancel {
513
+ color: #FFF;
514
+ background-color: #CA2121;
515
+ border-color: #CA2121;
516
+ }
517
+ .lobibox .lobibox-btn.lobibox-btn-cancel:hover,
518
+ .lobibox .lobibox-btn.lobibox-btn-cancel:focus,
519
+ .lobibox .lobibox-btn.lobibox-btn-cancel.focus,
520
+ .lobibox .lobibox-btn.lobibox-btn-cancel:active,
521
+ .lobibox .lobibox-btn.lobibox-btn-cancel.active,
522
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-cancel {
523
+ color: #FFF;
524
+ background-color: #9e1a1a;
525
+ border-color: #951818;
526
+ }
527
+ .lobibox .lobibox-btn.lobibox-btn-cancel:active,
528
+ .lobibox .lobibox-btn.lobibox-btn-cancel.active,
529
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-cancel {
530
+ background-image: none;
531
+ }
532
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled,
533
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled],
534
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel,
535
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled:hover,
536
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled]:hover,
537
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel:hover,
538
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled:focus,
539
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled]:focus,
540
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel:focus,
541
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled.focus,
542
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled].focus,
543
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel.focus,
544
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled:active,
545
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled]:active,
546
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel:active,
547
+ .lobibox .lobibox-btn.lobibox-btn-cancel.disabled.active,
548
+ .lobibox .lobibox-btn.lobibox-btn-cancel[disabled].active,
549
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-cancel.active {
550
+ background-color: #CA2121;
551
+ border-color: #CA2121;
552
+ }
553
+ .lobibox .lobibox-btn.lobibox-btn-cancel .badge {
554
+ color: #CA2121;
555
+ background-color: #FFF;
556
+ }
557
+ .lobibox .lobibox-btn.lobibox-btn-yes {
558
+ color: #FFF;
559
+ background-color: #29B87E;
560
+ border-color: #29B87E;
561
+ }
562
+ .lobibox .lobibox-btn.lobibox-btn-yes:hover,
563
+ .lobibox .lobibox-btn.lobibox-btn-yes:focus,
564
+ .lobibox .lobibox-btn.lobibox-btn-yes.focus,
565
+ .lobibox .lobibox-btn.lobibox-btn-yes:active,
566
+ .lobibox .lobibox-btn.lobibox-btn-yes.active,
567
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-yes {
568
+ color: #FFF;
569
+ background-color: #208e61;
570
+ border-color: #1e865c;
571
+ }
572
+ .lobibox .lobibox-btn.lobibox-btn-yes:active,
573
+ .lobibox .lobibox-btn.lobibox-btn-yes.active,
574
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-yes {
575
+ background-image: none;
576
+ }
577
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled,
578
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled],
579
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes,
580
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled:hover,
581
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled]:hover,
582
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes:hover,
583
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled:focus,
584
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled]:focus,
585
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes:focus,
586
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled.focus,
587
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled].focus,
588
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes.focus,
589
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled:active,
590
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled]:active,
591
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes:active,
592
+ .lobibox .lobibox-btn.lobibox-btn-yes.disabled.active,
593
+ .lobibox .lobibox-btn.lobibox-btn-yes[disabled].active,
594
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-yes.active {
595
+ background-color: #29B87E;
596
+ border-color: #29B87E;
597
+ }
598
+ .lobibox .lobibox-btn.lobibox-btn-yes .badge {
599
+ color: #29B87E;
600
+ background-color: #FFF;
601
+ }
602
+ .lobibox .lobibox-btn.lobibox-btn-no {
603
+ color: #FFF;
604
+ background-color: #0760B3;
605
+ border-color: #0760B3;
606
+ }
607
+ .lobibox .lobibox-btn.lobibox-btn-no:hover,
608
+ .lobibox .lobibox-btn.lobibox-btn-no:focus,
609
+ .lobibox .lobibox-btn.lobibox-btn-no.focus,
610
+ .lobibox .lobibox-btn.lobibox-btn-no:active,
611
+ .lobibox .lobibox-btn.lobibox-btn-no.active,
612
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-no {
613
+ color: #FFF;
614
+ background-color: #054682;
615
+ border-color: #054078;
616
+ }
617
+ .lobibox .lobibox-btn.lobibox-btn-no:active,
618
+ .lobibox .lobibox-btn.lobibox-btn-no.active,
619
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-no {
620
+ background-image: none;
621
+ }
622
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled,
623
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled],
624
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no,
625
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled:hover,
626
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled]:hover,
627
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no:hover,
628
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled:focus,
629
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled]:focus,
630
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no:focus,
631
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled.focus,
632
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled].focus,
633
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no.focus,
634
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled:active,
635
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled]:active,
636
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no:active,
637
+ .lobibox .lobibox-btn.lobibox-btn-no.disabled.active,
638
+ .lobibox .lobibox-btn.lobibox-btn-no[disabled].active,
639
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-no.active {
640
+ background-color: #0760B3;
641
+ border-color: #0760B3;
642
+ }
643
+ .lobibox .lobibox-btn.lobibox-btn-no .badge {
644
+ color: #0760B3;
645
+ background-color: #FFF;
646
+ }
647
+ .lobibox .lobibox-btn.lobibox-btn-ok {
648
+ color: #FFF;
649
+ background-color: #0760B3;
650
+ border-color: #0760B3;
651
+ }
652
+ .lobibox .lobibox-btn.lobibox-btn-ok:hover,
653
+ .lobibox .lobibox-btn.lobibox-btn-ok:focus,
654
+ .lobibox .lobibox-btn.lobibox-btn-ok.focus,
655
+ .lobibox .lobibox-btn.lobibox-btn-ok:active,
656
+ .lobibox .lobibox-btn.lobibox-btn-ok.active,
657
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-ok {
658
+ color: #FFF;
659
+ background-color: #054682;
660
+ border-color: #054078;
661
+ }
662
+ .lobibox .lobibox-btn.lobibox-btn-ok:active,
663
+ .lobibox .lobibox-btn.lobibox-btn-ok.active,
664
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-ok {
665
+ background-image: none;
666
+ }
667
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled,
668
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled],
669
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok,
670
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled:hover,
671
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled]:hover,
672
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok:hover,
673
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled:focus,
674
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled]:focus,
675
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok:focus,
676
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled.focus,
677
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled].focus,
678
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok.focus,
679
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled:active,
680
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled]:active,
681
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok:active,
682
+ .lobibox .lobibox-btn.lobibox-btn-ok.disabled.active,
683
+ .lobibox .lobibox-btn.lobibox-btn-ok[disabled].active,
684
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-ok.active {
685
+ background-color: #0760B3;
686
+ border-color: #0760B3;
687
+ }
688
+ .lobibox .lobibox-btn.lobibox-btn-ok .badge {
689
+ color: #0760B3;
690
+ background-color: #FFF;
691
+ }
692
+ .lobibox .lobibox-btn.lobibox-btn-default {
693
+ color: #000;
694
+ background-color: #e2e2e2;
695
+ border-color: #dadada;
696
+ }
697
+ .lobibox .lobibox-btn.lobibox-btn-default:hover,
698
+ .lobibox .lobibox-btn.lobibox-btn-default:focus,
699
+ .lobibox .lobibox-btn.lobibox-btn-default.focus,
700
+ .lobibox .lobibox-btn.lobibox-btn-default:active,
701
+ .lobibox .lobibox-btn.lobibox-btn-default.active,
702
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-default {
703
+ color: #000;
704
+ background-color: #c9c9c9;
705
+ border-color: #bcbcbc;
706
+ }
707
+ .lobibox .lobibox-btn.lobibox-btn-default:active,
708
+ .lobibox .lobibox-btn.lobibox-btn-default.active,
709
+ .open > .dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-default {
710
+ background-image: none;
711
+ }
712
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled,
713
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled],
714
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default,
715
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled:hover,
716
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled]:hover,
717
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default:hover,
718
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled:focus,
719
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled]:focus,
720
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default:focus,
721
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled.focus,
722
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled].focus,
723
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default.focus,
724
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled:active,
725
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled]:active,
726
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default:active,
727
+ .lobibox .lobibox-btn.lobibox-btn-default.disabled.active,
728
+ .lobibox .lobibox-btn.lobibox-btn-default[disabled].active,
729
+ fieldset[disabled] .lobibox .lobibox-btn.lobibox-btn-default.active {
730
+ background-color: #e2e2e2;
731
+ border-color: #dadada;
732
+ }
733
+ .lobibox .lobibox-btn.lobibox-btn-default .badge {
734
+ color: #e2e2e2;
735
+ background-color: #000;
736
+ }
737
+ .lobibox.lobibox-hidden {
738
+ display: none;
739
+ }
740
+ .lobibox-backdrop {
741
+ position: fixed;
742
+ z-index: 4000;
743
+ left: 0;
744
+ top: 0;
745
+ width: 100%;
746
+ height: 100%;
747
+ background-color: rgba(0, 0, 0, 0.5);
748
+ }
749
+ /*
750
+ Created on : Sep 19, 2014, 2:01:43 PM
751
+ Author : @arboshiki
752
+ */
753
+ .lobibox-notify-wrapper {
754
+ z-index: 5000;
755
+ position: fixed;
756
+ }
757
+ .lobibox-notify-wrapper.top {
758
+ top: 0px;
759
+ }
760
+ .lobibox-notify-wrapper.bottom {
761
+ bottom: 0px;
762
+ }
763
+ .lobibox-notify-wrapper.left {
764
+ left: 0px;
765
+ margin-right: 0px;
766
+ }
767
+ .lobibox-notify-wrapper.right {
768
+ right: 0px;
769
+ margin-left: 0px;
770
+ }
771
+ .lobibox-notify-wrapper.right .lobibox-notify {
772
+ margin-left: auto;
773
+ }
774
+ .lobibox-notify-wrapper.center {
775
+ left: 50%;
776
+ }
777
+ .lobibox-notify-wrapper-large {
778
+ z-index: 5000;
779
+ position: fixed;
780
+ }
781
+ .lobibox-notify-wrapper-large.top {
782
+ top: 0px;
783
+ }
784
+ .lobibox-notify-wrapper-large.bottom {
785
+ bottom: 0px;
786
+ }
787
+ .lobibox-notify-wrapper-large.left {
788
+ left: 0px;
789
+ }
790
+ .lobibox-notify-wrapper-large.left .lb-notify-tabs > li {
791
+ float: left;
792
+ margin-left: 0;
793
+ margin-right: 2px;
794
+ }
795
+ .lobibox-notify-wrapper-large.right {
796
+ right: 0px;
797
+ }
798
+ .lobibox-notify-wrapper-large .lb-notify-tabs {
799
+ list-style: none;
800
+ padding: 0;
801
+ margin: 0 0 -5px 0;
802
+ }
803
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li {
804
+ float: right;
805
+ margin-left: 2px;
806
+ }
807
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a {
808
+ text-align: center;
809
+ display: table;
810
+ text-decoration: none;
811
+ font-size: 18px;
812
+ height: 32px;
813
+ color: #FFF;
814
+ width: 28px;
815
+ opacity: 0.6;
816
+ }
817
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a:hover,
818
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a:active,
819
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a:focus,
820
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a:hover:active {
821
+ color: #FFF;
822
+ }
823
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li > a .tab-control-icon {
824
+ display: table-cell;
825
+ vertical-align: middle;
826
+ }
827
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-default > a {
828
+ background-color: rgba(28, 28, 28, 0.9);
829
+ border-color: #141414;
830
+ }
831
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-default > a:hover {
832
+ background-color: #1c1c1c;
833
+ border-color: #0f0f0f;
834
+ }
835
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-error > a {
836
+ background-color: rgba(202, 33, 33, 0.9);
837
+ border-color: #bd1f1f;
838
+ }
839
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-error > a:hover {
840
+ background-color: #CA2121;
841
+ border-color: #b41d1d;
842
+ }
843
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-success > a {
844
+ background-color: rgba(41, 184, 126, 0.9);
845
+ border-color: #26ab75;
846
+ }
847
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-success > a:hover {
848
+ background-color: #29B87E;
849
+ border-color: #24a370;
850
+ }
851
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-warning > a {
852
+ background-color: rgba(206, 129, 46, 0.9);
853
+ border-color: #c1792b;
854
+ }
855
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-warning > a:hover {
856
+ background-color: #CE812E;
857
+ border-color: #b97429;
858
+ }
859
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-info > a {
860
+ background-color: rgba(46, 121, 180, 0.9);
861
+ border-color: #2b71a8;
862
+ }
863
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.lobibox-notify-info > a:hover {
864
+ background-color: #2E79B4;
865
+ border-color: #296ba0;
866
+ }
867
+ .lobibox-notify-wrapper-large .lb-notify-tabs > li.active > a {
868
+ opacity: 1;
869
+ }
870
+ .lobibox-notify-wrapper-large .lb-notify-tabs:after {
871
+ content: "";
872
+ display: block;
873
+ clear: both;
874
+ }
875
+ .lobibox-notify-wrapper-large .lb-notify-wrapper {
876
+ background-color: transparent;
877
+ padding: 0;
878
+ border: none;
879
+ }
880
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lb-tab-pane {
881
+ display: none;
882
+ }
883
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lb-tab-pane.active {
884
+ display: block;
885
+ }
886
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lobibox-notify {
887
+ min-height: 150px;
888
+ }
889
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lobibox-notify .lobibox-notify-icon-wrapper {
890
+ width: 100px;
891
+ }
892
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lobibox-notify .lobibox-notify-icon > div .icon-el {
893
+ font-size: 78px;
894
+ }
895
+ .lobibox-notify-wrapper-large .lb-notify-wrapper .lobibox-notify .lobibox-notify-body {
896
+ margin: 13px 20px;
897
+ margin-left: 130px;
898
+ }
899
+ .lobibox-notify {
900
+ position: relative;
901
+ min-height: 85px;
902
+ font-family: 'Open Sans', Arial, Helvetica, sans-serif;
903
+ font-size: 14px;
904
+ margin: 7px 0;
905
+ border-radius: 0;
906
+ border: 1px solid transparent;
907
+ -webkit-box-shadow: 2px 2px 5px #aaa;
908
+ box-shadow: 2px 2px 5px #aaa;
909
+ -webkit-transition: all 0.2s;
910
+ -o-transition: all 0.2s;
911
+ transition: all 0.2s;
912
+ }
913
+ .lobibox-notify .lobibox-notify-icon-wrapper {
914
+ position: absolute;
915
+ left: 15px;
916
+ width: 60px;
917
+ height: 100%;
918
+ }
919
+ .lobibox-notify .lobibox-notify-icon {
920
+ display: table;
921
+ width: 100%;
922
+ height: 100%;
923
+ }
924
+ .lobibox-notify .lobibox-notify-icon > div {
925
+ display: table-cell;
926
+ vertical-align: middle;
927
+ }
928
+ .lobibox-notify .lobibox-notify-icon > div > img {
929
+ width: 100%;
930
+ max-width: 100%;
931
+ margin-top: 3px;
932
+ border-radius: 4px;
933
+ }
934
+ .lobibox-notify .lobibox-notify-icon > div .icon-el {
935
+ text-align: center;
936
+ font-size: 55px;
937
+ }
938
+ .lobibox-notify .lobibox-notify-body {
939
+ margin: 10px 20px;
940
+ margin-left: 90px;
941
+ }
942
+ .lobibox-notify .lobibox-notify-title {
943
+ font-size: 20px;
944
+ }
945
+ .lobibox-notify .lobibox-notify-msg {
946
+ overflow: hidden;
947
+ }
948
+ .lobibox-notify .lobibox-close {
949
+ position: absolute;
950
+ text-align: center;
951
+ border-radius: 50%;
952
+ right: 10px;
953
+ top: 10px;
954
+ font-size: 20px;
955
+ line-height: 19px;
956
+ width: 19px;
957
+ height: 19px;
958
+ -webkit-transition: all 0.2s;
959
+ -o-transition: all 0.2s;
960
+ transition: all 0.2s;
961
+ }
962
+ .lobibox-notify .lobibox-close:hover {
963
+ background-color: rgba(0, 0, 0, 0.5);
964
+ font-weight: bold;
965
+ }
966
+ .lobibox-notify .lobibox-delay-indicator {
967
+ position: absolute;
968
+ left: 0;
969
+ right: 0;
970
+ bottom: 0;
971
+ height: 3px;
972
+ }
973
+ .lobibox-notify .lobibox-delay-indicator > div {
974
+ position: relative;
975
+ height: 100%;
976
+ width: 0;
977
+ background-color: #e8e8e8;
978
+ }
979
+ .lobibox-notify.lobibox-notify-default {
980
+ border-color: #0f0f0f;
981
+ background-color: #1c1c1c;
982
+ color: #FFF;
983
+ }
984
+ .lobibox-notify.lobibox-notify-default:hover {
985
+ background-color: #1c1c1c;
986
+ border-color: #FFF;
987
+ }
988
+ .lobibox-notify.lobibox-notify-default .lobibox-close:hover {
989
+ background-color: #4f4f4f;
990
+ }
991
+ .lobibox-notify.lobibox-notify-error {
992
+ border-color: #b41d1d;
993
+ background-color: #CA2121;
994
+ color: #FFF;
995
+ }
996
+ .lobibox-notify.lobibox-notify-error:hover {
997
+ background-color: #CA2121;
998
+ border-color: #FFF;
999
+ }
1000
+ .lobibox-notify.lobibox-notify-success {
1001
+ border-color: #24a370;
1002
+ background-color: #29B87E;
1003
+ color: #FFF;
1004
+ }
1005
+ .lobibox-notify.lobibox-notify-success:hover {
1006
+ background-color: #29B87E;
1007
+ border-color: #FFF;
1008
+ }
1009
+ .lobibox-notify.lobibox-notify-warning {
1010
+ border-color: #b97429;
1011
+ background-color: #CE812E;
1012
+ color: #FFF;
1013
+ }
1014
+ .lobibox-notify.lobibox-notify-warning:hover {
1015
+ background-color: #CE812E;
1016
+ border-color: #FFF;
1017
+ }
1018
+ .lobibox-notify.lobibox-notify-info {
1019
+ border-color: #296ba0;
1020
+ background-color: #2E79B4;
1021
+ color: #FFF;
1022
+ }
1023
+ .lobibox-notify.lobibox-notify-info:hover {
1024
+ background-color: #2E79B4;
1025
+ border-color: #FFF;
1026
+ }
1027
+ .lobibox-notify.rounded {
1028
+ border-radius: 30px;
1029
+ }
1030
+ .lobibox-notify:hover {
1031
+ cursor: pointer;
1032
+ -webkit-box-shadow: 3px 3px 10px #aaa;
1033
+ box-shadow: 3px 3px 10px #aaa;
1034
+ }
1035
+ .lobibox-notify.notify-mini {
1036
+ min-height: 36px;
1037
+ }
1038
+ .lobibox-notify.notify-mini .lobibox-notify-title {
1039
+ margin-top: -5px;
1040
+ font-size: 20px;
1041
+ line-height: 22px;
1042
+ }
1043
+ .lobibox-notify.notify-mini .lobibox-notify-msg {
1044
+ line-height: 16px;
1045
+ }
1046
+ .lobibox-notify.notify-mini .lobibox-notify-icon-wrapper {
1047
+ left: 12px;
1048
+ width: 32px;
1049
+ }
1050
+ .lobibox-notify.notify-mini .lobibox-notify-icon > div .icon-el {
1051
+ font-size: 32px;
1052
+ }
1053
+ .lobibox-notify.notify-mini .lobibox-notify-body {
1054
+ margin: 15px 30px 15px 56px;
1055
+ }
1056
+ .lobibox-notify.without-icon .lobibox-notify-body {
1057
+ margin-left: 20px;
1058
+ }