five-two-nw-olivander 0.1.1
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 +7 -0
- data/CHANGELOG.md +51 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +8 -0
- data/app/assets/config/manifest.js +4 -0
- data/app/assets/config/olivander_manifest.js +4 -0
- data/app/assets/fonts/fa-brands-400.eot +0 -0
- data/app/assets/fonts/fa-brands-400.svg +3717 -0
- data/app/assets/fonts/fa-brands-400.ttf +0 -0
- data/app/assets/fonts/fa-brands-400.woff +0 -0
- data/app/assets/fonts/fa-brands-400.woff2 +0 -0
- data/app/assets/fonts/fa-regular-400.eot +0 -0
- data/app/assets/fonts/fa-regular-400.svg +801 -0
- data/app/assets/fonts/fa-regular-400.ttf +0 -0
- data/app/assets/fonts/fa-regular-400.woff +0 -0
- data/app/assets/fonts/fa-regular-400.woff2 +0 -0
- data/app/assets/fonts/fa-solid-900.eot +0 -0
- data/app/assets/fonts/fa-solid-900.svg +5034 -0
- data/app/assets/fonts/fa-solid-900.ttf +0 -0
- data/app/assets/fonts/fa-solid-900.woff +0 -0
- data/app/assets/fonts/fa-solid-900.woff2 +0 -0
- data/app/assets/images/avatar0.png +0 -0
- data/app/assets/images/avatar1.png +0 -0
- data/app/assets/images/avatar2.png +0 -0
- data/app/assets/images/avatar3.png +0 -0
- data/app/assets/images/avatar4.png +0 -0
- data/app/assets/images/default-150x150.png +0 -0
- data/app/assets/images/icons.png +0 -0
- data/app/assets/javascripts/adminlte/dist/css/adminlte.min.css +12 -0
- data/app/assets/javascripts/adminlte/dist/js/adminlte.js +3069 -0
- data/app/assets/javascripts/adminlte/plugins/bootstrap/js/bootstrap.bundle.min.js +7 -0
- data/app/assets/javascripts/adminlte/plugins/chart.js/Chart.min.js +7 -0
- data/app/assets/javascripts/adminlte/plugins/daterangepicker/daterangepicker.css +410 -0
- data/app/assets/javascripts/adminlte/plugins/daterangepicker/daterangepicker.js +1578 -0
- data/app/assets/javascripts/adminlte/plugins/fontawesome-free/css/all.min.css +5 -0
- data/app/assets/javascripts/adminlte/plugins/icheck-bootstrap/icheck-bootstrap.min.css +5 -0
- data/app/assets/javascripts/adminlte/plugins/jquery/jquery.min.js +2 -0
- data/app/assets/javascripts/adminlte/plugins/jquery-knob/jquery.knob.min.js +1 -0
- data/app/assets/javascripts/adminlte/plugins/jquery-ui/jquery-ui.min.js +6 -0
- data/app/assets/javascripts/adminlte/plugins/jqvmap/jquery.vmap.min.js +10 -0
- data/app/assets/javascripts/adminlte/plugins/jqvmap/jqvmap.min.css +1 -0
- data/app/assets/javascripts/adminlte/plugins/jqvmap/maps/jquery.vmap.usa.js +2 -0
- data/app/assets/javascripts/adminlte/plugins/moment/moment.min.js +2 -0
- data/app/assets/javascripts/adminlte/plugins/overlayScrollbars/css/OverlayScrollbars.min.css +13 -0
- data/app/assets/javascripts/adminlte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js +13 -0
- data/app/assets/javascripts/adminlte/plugins/sparklines/sparkline.js +210 -0
- data/app/assets/javascripts/adminlte/plugins/summernote/summernote-bs4.min.css +1 -0
- data/app/assets/javascripts/adminlte/plugins/summernote/summernote-bs4.min.js +2 -0
- data/app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css +5 -0
- data/app/assets/javascripts/adminlte/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js +6 -0
- data/app/assets/javascripts/adminlte.js +16 -0
- data/app/assets/stylesheets/adminlte.css +27 -0
- data/app/assets/stylesheets/fa-fix.scss +41 -0
- data/app/assets/stylesheets/olivander/application.css +15 -0
- data/app/controllers/olivander/application_controller.rb +4 -0
- data/app/datatables/test_datatable.rb +15 -0
- data/app/helpers/olivander/application_helper.rb +11 -0
- data/app/jobs/olivander/application_job.rb +4 -0
- data/app/mailers/olivander/application_mailer.rb +6 -0
- data/app/models/olivander/application_record.rb +5 -0
- data/app/views/layouts/olivander/adminlte/_content.html.haml +8 -0
- data/app/views/layouts/olivander/adminlte/_content_kanban.html.haml +13 -0
- data/app/views/layouts/olivander/adminlte/_control_sidebar.html.haml +1 -0
- data/app/views/layouts/olivander/adminlte/_flashes.html.haml +2 -0
- data/app/views/layouts/olivander/adminlte/_footer.html.haml +9 -0
- data/app/views/layouts/olivander/adminlte/_head.html.haml +11 -0
- data/app/views/layouts/olivander/adminlte/_login_flashes.html.haml +0 -0
- data/app/views/layouts/olivander/adminlte/_navbar.html.haml +108 -0
- data/app/views/layouts/olivander/adminlte/_sidebar.html.haml +24 -0
- data/app/views/layouts/olivander/adminlte/login.html.haml +27 -0
- data/app/views/layouts/olivander/adminlte/main.html.haml +17 -0
- data/app/views/layouts/olivander/application.html.haml +17 -0
- data/config/initializers/effective_datatables.rb +49 -0
- data/config/routes.rb +2 -0
- data/lib/five-two-nw-olivander.rb +5 -0
- data/lib/olivander/engine.rb +15 -0
- data/lib/olivander/version.rb +3 -0
- data/lib/olivander.rb +6 -0
- data/lib/tasks/olivander_tasks.rake +4 -0
- metadata +197 -0
@@ -0,0 +1,210 @@
|
|
1
|
+
(function (root, factory) {
|
2
|
+
if (typeof define === 'function' && define.amd) {
|
3
|
+
// AMD. Register as an anonymous module.
|
4
|
+
define(factory);
|
5
|
+
} else if (typeof exports === 'object') {
|
6
|
+
// Node. Does not work with strict CommonJS, but
|
7
|
+
// only CommonJS-like enviroments that support module.exports,
|
8
|
+
// like Node.
|
9
|
+
module.exports = factory();
|
10
|
+
} else {
|
11
|
+
// Browser globals (root is window)
|
12
|
+
root.Sparkline = factory();
|
13
|
+
}
|
14
|
+
}(window, function () {
|
15
|
+
function extend(specific, general) {
|
16
|
+
var obj = {};
|
17
|
+
for (var key in general) {
|
18
|
+
obj[key] = key in specific ? specific[key] : general[key];
|
19
|
+
}
|
20
|
+
return obj;
|
21
|
+
}
|
22
|
+
|
23
|
+
function Sparkline(element, options) {
|
24
|
+
this.element = element;
|
25
|
+
this.options = extend(options || {}, Sparkline.options);
|
26
|
+
|
27
|
+
init: {
|
28
|
+
this.element.innerHTML = "<canvas></canvas>";
|
29
|
+
this.canvas = this.element.firstChild;
|
30
|
+
this.context = this.canvas.getContext("2d");
|
31
|
+
this.ratio = window.devicePixelRatio || 1;
|
32
|
+
|
33
|
+
if (this.options.tooltip) {
|
34
|
+
this.canvas.style.position = "relative";
|
35
|
+
this.canvas.onmousemove = showTooltip.bind(this);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
Sparkline.options = {
|
41
|
+
width: 100,
|
42
|
+
height: null,
|
43
|
+
lineColor: "black",
|
44
|
+
lineWidth: 1.5,
|
45
|
+
startColor: "transparent",
|
46
|
+
endColor: "black",
|
47
|
+
maxColor: "transparent",
|
48
|
+
minColor: "transparent",
|
49
|
+
minValue: null,
|
50
|
+
maxValue: null,
|
51
|
+
minMaxValue: null,
|
52
|
+
maxMinValue: null,
|
53
|
+
dotRadius: 2.5,
|
54
|
+
tooltip: null,
|
55
|
+
fillBelow: true,
|
56
|
+
fillLighten: 0.5,
|
57
|
+
startLine: false,
|
58
|
+
endLine: false,
|
59
|
+
minLine: false,
|
60
|
+
maxLine: false,
|
61
|
+
bottomLine: false,
|
62
|
+
topLine: false,
|
63
|
+
averageLine: false
|
64
|
+
};
|
65
|
+
|
66
|
+
Sparkline.init = function (element, options) {
|
67
|
+
return new Sparkline(element, options);
|
68
|
+
};
|
69
|
+
|
70
|
+
Sparkline.draw = function (element, points, options) {
|
71
|
+
var sparkline = new Sparkline(element, options);
|
72
|
+
sparkline.draw(points);
|
73
|
+
return sparkline;
|
74
|
+
}
|
75
|
+
|
76
|
+
function getY(minValue, maxValue, offsetY, height, index) {
|
77
|
+
var range = maxValue - minValue;
|
78
|
+
if (range == 0) {
|
79
|
+
return offsetY + height / 2;
|
80
|
+
} else {
|
81
|
+
return (offsetY + height) - ((this[index] - minValue) / range) * height;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
function drawDot(radius, x1, x2, color, line, x, y) {
|
86
|
+
this.context.beginPath();
|
87
|
+
this.context.fillStyle = color;
|
88
|
+
this.context.arc(x, y, radius, 0, Math.PI * 2, false);
|
89
|
+
this.context.fill();
|
90
|
+
drawLine.call(this, x1, x2, line, x, y);
|
91
|
+
}
|
92
|
+
|
93
|
+
function drawLine(x1, x2, style, x, y){
|
94
|
+
if(!style) return;
|
95
|
+
|
96
|
+
this.context.save();
|
97
|
+
this.context.strokeStyle = style.color || 'black';
|
98
|
+
this.context.lineWidth = (style.width || 1) * this.ratio;
|
99
|
+
this.context.globalAlpha = style.alpha || 1;
|
100
|
+
this.context.beginPath();
|
101
|
+
this.context.moveTo(style.direction != 'right' ? x1 : x, y);
|
102
|
+
this.context.lineTo(style.direction != 'left' ? x2 : x, y);
|
103
|
+
this.context.stroke();
|
104
|
+
this.context.restore();
|
105
|
+
}
|
106
|
+
|
107
|
+
function showTooltip(e) {
|
108
|
+
var x = e.offsetX || e.layerX || 0;
|
109
|
+
var delta = ((this.options.width - this.options.dotRadius * 2) / (this.points.length - 1));
|
110
|
+
var index = minmax(0, Math.round((x - this.options.dotRadius) / delta), this.points.length - 1);
|
111
|
+
|
112
|
+
this.canvas.title = this.options.tooltip(this.points[index], index, this.points);
|
113
|
+
}
|
114
|
+
|
115
|
+
Sparkline.prototype.draw = function (points) {
|
116
|
+
|
117
|
+
points = points || [];
|
118
|
+
this.points = points;
|
119
|
+
|
120
|
+
this.canvas.width = this.options.width * this.ratio;
|
121
|
+
this.canvas.style.width = this.options.width + 'px';
|
122
|
+
|
123
|
+
var pxHeight = this.options.height || this.element.offsetHeight;
|
124
|
+
this.canvas.height = pxHeight * this.ratio;
|
125
|
+
this.canvas.style.height = pxHeight + 'px';
|
126
|
+
|
127
|
+
var lineWidth = this.options.lineWidth * this.ratio;
|
128
|
+
var offsetX = Math.max(this.options.dotRadius * this.ratio, lineWidth/2);
|
129
|
+
var offsetY = Math.max(this.options.dotRadius * this.ratio, lineWidth/2);
|
130
|
+
var width = this.canvas.width - offsetX * 2;
|
131
|
+
var height = this.canvas.height - offsetY * 2;
|
132
|
+
|
133
|
+
var minValue = Math.min.apply(Math, points);
|
134
|
+
var maxValue = Math.max.apply(Math, points);
|
135
|
+
var bottomValue = this.options.minValue != undefined ? this.options.minValue : Math.min(minValue, this.options.maxMinValue != undefined ? this.options.maxMinValue : minValue);
|
136
|
+
var topValue = this.options.maxValue != undefined ? this.options.maxValue : Math.max(maxValue, this.options.minMaxValue != undefined ? this.options.minMaxValue : maxValue);
|
137
|
+
var minX = offsetX;
|
138
|
+
var maxX = offsetX;
|
139
|
+
|
140
|
+
var x = offsetX;
|
141
|
+
var y = getY.bind(points, bottomValue, topValue, offsetY, height);
|
142
|
+
var delta = width / (points.length - 1);
|
143
|
+
|
144
|
+
var dot = drawDot.bind(this, this.options.dotRadius * this.ratio, offsetX, width + offsetX);
|
145
|
+
var line = drawLine.bind(this, offsetX, width + offsetX);
|
146
|
+
|
147
|
+
this.context.save();
|
148
|
+
|
149
|
+
this.context.strokeStyle = this.options.lineColor;
|
150
|
+
this.context.fillStyle = this.options.lineColor;
|
151
|
+
this.context.lineWidth = lineWidth;
|
152
|
+
this.context.lineCap = 'round';
|
153
|
+
this.context.lineJoin = 'round';
|
154
|
+
|
155
|
+
if(this.options.fillBelow && points.length > 1){
|
156
|
+
this.context.save();
|
157
|
+
this.context.beginPath();
|
158
|
+
this.context.moveTo(x, y(0));
|
159
|
+
for (var i = 1; i < points.length; i++) {
|
160
|
+
x += delta;
|
161
|
+
|
162
|
+
minX = points[i] == minValue ? x : minX;
|
163
|
+
maxX = points[i] == maxValue ? x : maxX;
|
164
|
+
|
165
|
+
this.context.lineTo(x, y(i));
|
166
|
+
}
|
167
|
+
this.context.lineTo(width+offsetX, height + offsetY + lineWidth/2);
|
168
|
+
this.context.lineTo(offsetX, height + offsetY + lineWidth/2);
|
169
|
+
this.context.fill();
|
170
|
+
if(this.options.fillLighten > 0){
|
171
|
+
this.context.fillStyle = 'white';
|
172
|
+
this.context.globalAlpha = this.options.fillLighten;
|
173
|
+
this.context.fill();
|
174
|
+
this.context.globalAlpha = 1;
|
175
|
+
}else if(this.options.fillLighten < 0){
|
176
|
+
this.context.fillStyle = 'black';
|
177
|
+
this.context.globalAlpha = -this.options.fillLighten;
|
178
|
+
this.context.fill();
|
179
|
+
}
|
180
|
+
this.context.restore();
|
181
|
+
}
|
182
|
+
|
183
|
+
x = offsetX;
|
184
|
+
this.context.beginPath();
|
185
|
+
this.context.moveTo(x, y(0));
|
186
|
+
for (var i = 1; i < points.length; i++) {
|
187
|
+
x += delta;
|
188
|
+
this.context.lineTo(x, y(i));
|
189
|
+
}
|
190
|
+
this.context.stroke();
|
191
|
+
|
192
|
+
this.context.restore();
|
193
|
+
|
194
|
+
line(this.options.bottomLine, 0, offsetY);
|
195
|
+
line(this.options.topLine, 0, height + offsetY+lineWidth/2);
|
196
|
+
|
197
|
+
dot(this.options.startColor, this.options.startLine, offsetX + (points.length == 1 ? width / 2 : 0), y(0));
|
198
|
+
dot(this.options.endColor, this.options.endLine, offsetX + (points.length == 1 ? width / 2 : width), y(points.length-1));
|
199
|
+
dot(this.options.minColor, this.options.minLine, minX + (points.length == 1 ? width / 2 : 0), y(points.indexOf(minValue)));
|
200
|
+
dot(this.options.maxColor, this.options.maxLine, maxX + (points.length == 1 ? width / 2 : 0), y(points.indexOf(maxValue)));
|
201
|
+
|
202
|
+
//line(this.options.averageLine, )
|
203
|
+
}
|
204
|
+
|
205
|
+
function minmax(a, b, c) {
|
206
|
+
return Math.max(a, Math.min(b, c));
|
207
|
+
}
|
208
|
+
|
209
|
+
return Sparkline;
|
210
|
+
}));
|
@@ -0,0 +1 @@
|
|
1
|
+
@font-face{font-display:auto;font-family:summernote;font-style:normal;font-weight:400;src:url(font/summernote.eot?#iefix) format("embedded-opentype"),url(font/summernote.woff2) format("woff2"),url(font/summernote.woff) format("woff"),url(font/summernote.ttf) format("truetype")}[class*=" note-icon"]:before,[class^=note-icon]:before{text-rendering:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;speak:none;display:inline-block;font-family:summernote;font-size:inherit;font-style:normal;text-decoration:inherit;text-transform:none;vertical-align:middle}.note-icon-fw{text-align:center;width:1.25em}.note-icon-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.note-icon-pull-left{float:left}.note-icon-pull-right{float:right}.note-icon.note-icon-pull-left{margin-right:.3em}.note-icon.note-icon-pull-right{margin-left:.3em}.note-icon-align:before{content:"\ea01"}.note-icon-align-center:before{content:"\ea02"}.note-icon-align-indent:before{content:"\ea03"}.note-icon-align-justify:before{content:"\ea04"}.note-icon-align-left:before{content:"\ea05"}.note-icon-align-outdent:before{content:"\ea06"}.note-icon-align-right:before{content:"\ea07"}.note-icon-arrow-circle-down:before{content:"\ea08"}.note-icon-arrow-circle-left:before{content:"\ea09"}.note-icon-arrow-circle-right:before{content:"\ea0a"}.note-icon-arrow-circle-up:before{content:"\ea0b"}.note-icon-arrows-alt:before{content:"\ea0c"}.note-icon-arrows-h:before{content:"\ea0d"}.note-icon-arrows-v:before{content:"\ea0e"}.note-icon-bold:before{content:"\ea0f"}.note-icon-caret:before{content:"\ea10"}.note-icon-chain-broken:before{content:"\ea11"}.note-icon-circle:before{content:"\ea12"}.note-icon-close:before{content:"\ea13"}.note-icon-code:before{content:"\ea14"}.note-icon-col-after:before{content:"\ea15"}.note-icon-col-before:before{content:"\ea16"}.note-icon-col-remove:before{content:"\ea17"}.note-icon-eraser:before{content:"\ea18"}.note-icon-float-left:before{content:"\ea19"}.note-icon-float-none:before{content:"\ea1a"}.note-icon-float-right:before{content:"\ea1b"}.note-icon-font:before{content:"\ea1c"}.note-icon-frame:before{content:"\ea1d"}.note-icon-italic:before{content:"\ea1e"}.note-icon-link:before{content:"\ea1f"}.note-icon-magic:before{content:"\ea20"}.note-icon-menu-check:before{content:"\ea21"}.note-icon-minus:before{content:"\ea22"}.note-icon-orderedlist:before{content:"\ea23"}.note-icon-pencil:before{content:"\ea24"}.note-icon-picture:before{content:"\ea25"}.note-icon-question:before{content:"\ea26"}.note-icon-redo:before{content:"\ea27"}.note-icon-rollback:before{content:"\ea28"}.note-icon-row-above:before{content:"\ea29"}.note-icon-row-below:before{content:"\ea2a"}.note-icon-row-remove:before{content:"\ea2b"}.note-icon-special-character:before{content:"\ea2c"}.note-icon-square:before{content:"\ea2d"}.note-icon-strikethrough:before{content:"\ea2e"}.note-icon-subscript:before{content:"\ea2f"}.note-icon-summernote:before{content:"\ea30"}.note-icon-superscript:before{content:"\ea31"}.note-icon-table:before{content:"\ea32"}.note-icon-text-height:before{content:"\ea33"}.note-icon-trash:before{content:"\ea34"}.note-icon-underline:before{content:"\ea35"}.note-icon-undo:before{content:"\ea36"}.note-icon-unorderedlist:before{content:"\ea37"}.note-icon-video:before{content:"\ea38"}.note-editor{position:relative}.note-editor .note-dropzone{background-color:#fff;color:#87cefa;display:none;opacity:.95;position:absolute;z-index:100}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;font-size:28px;font-weight:700;text-align:center;vertical-align:middle}.note-editor .note-dropzone.hover{color:#098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-editing-area{position:relative}.note-editor .note-editing-area .note-editable{outline:none}.note-editor .note-editing-area .note-editable sup{vertical-align:super}.note-editor .note-editing-area .note-editable sub{vertical-align:sub}.note-editor .note-editing-area .note-editable img.note-float-left{margin-right:10px}.note-editor .note-editing-area .note-editable img.note-float-right{margin-left:10px}.note-editor.note-airframe,.note-editor.note-frame{border:1px solid #00000032}.note-editor.note-airframe.codeview .note-editing-area .note-editable,.note-editor.note-frame.codeview .note-editing-area .note-editable{display:none}.note-editor.note-airframe.codeview .note-editing-area .note-codable,.note-editor.note-frame.codeview .note-editing-area .note-codable{display:block}.note-editor.note-airframe .note-editing-area,.note-editor.note-frame .note-editing-area{overflow:hidden}.note-editor.note-airframe .note-editing-area .note-editable,.note-editor.note-frame .note-editing-area .note-editable{word-wrap:break-word;overflow:auto;padding:10px}.note-editor.note-airframe .note-editing-area .note-editable[contenteditable=false],.note-editor.note-frame .note-editing-area .note-editable[contenteditable=false]{background-color:#8080801d}.note-editor.note-airframe .note-editing-area .note-codable,.note-editor.note-frame .note-editing-area .note-codable{background-color:#222;border:none;border-radius:0;box-shadow:none;-ms-box-sizing:border-box;box-sizing:border-box;color:#ccc;display:none;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;margin-bottom:0;outline:none;padding:10px;resize:none;width:100%}.note-editor.note-airframe.fullscreen,.note-editor.note-frame.fullscreen{left:0;position:fixed;top:0;width:100%!important;z-index:1050}.note-editor.note-airframe.fullscreen .note-resizebar,.note-editor.note-frame.fullscreen .note-resizebar{display:none}.note-editor.note-airframe .note-status-output,.note-editor.note-frame .note-status-output{border:0;border-top:1px solid #e2e2e2;color:#000;display:block;font-size:14px;height:20px;line-height:1.42857143;margin-bottom:0;width:100%}.note-editor.note-airframe .note-status-output:empty,.note-editor.note-frame .note-status-output:empty{border-top:0 solid transparent;height:0}.note-editor.note-airframe .note-status-output .pull-right,.note-editor.note-frame .note-status-output .pull-right{float:right!important}.note-editor.note-airframe .note-status-output .text-muted,.note-editor.note-frame .note-status-output .text-muted{color:#777}.note-editor.note-airframe .note-status-output .text-primary,.note-editor.note-frame .note-status-output .text-primary{color:#286090}.note-editor.note-airframe .note-status-output .text-success,.note-editor.note-frame .note-status-output .text-success{color:#3c763d}.note-editor.note-airframe .note-status-output .text-info,.note-editor.note-frame .note-status-output .text-info{color:#31708f}.note-editor.note-airframe .note-status-output .text-warning,.note-editor.note-frame .note-status-output .text-warning{color:#8a6d3b}.note-editor.note-airframe .note-status-output .text-danger,.note-editor.note-frame .note-status-output .text-danger{color:#a94442}.note-editor.note-airframe .note-status-output .alert,.note-editor.note-frame .note-status-output .alert{background-color:#f5f5f5;border-radius:0;color:#000;margin:-7px 0 0;padding:7px 10px 2px}.note-editor.note-airframe .note-status-output .alert .note-icon,.note-editor.note-frame .note-status-output .alert .note-icon{margin-right:5px}.note-editor.note-airframe .note-status-output .alert-success,.note-editor.note-frame .note-status-output .alert-success{background-color:#dff0d8!important;color:#3c763d!important}.note-editor.note-airframe .note-status-output .alert-info,.note-editor.note-frame .note-status-output .alert-info{background-color:#d9edf7!important;color:#31708f!important}.note-editor.note-airframe .note-status-output .alert-warning,.note-editor.note-frame .note-status-output .alert-warning{background-color:#fcf8e3!important;color:#8a6d3b!important}.note-editor.note-airframe .note-status-output .alert-danger,.note-editor.note-frame .note-status-output .alert-danger{background-color:#f2dede!important;color:#a94442!important}.note-editor.note-airframe .note-statusbar,.note-editor.note-frame .note-statusbar{background-color:#8080801d;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top:1px solid #00000032}.note-editor.note-airframe .note-statusbar .note-resizebar,.note-editor.note-frame .note-statusbar .note-resizebar{cursor:ns-resize;height:9px;padding-top:1px;width:100%}.note-editor.note-airframe .note-statusbar .note-resizebar .note-icon-bar,.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar{border-top:1px solid #00000032;margin:1px auto;width:20px}.note-editor.note-airframe .note-statusbar.locked .note-resizebar,.note-editor.note-frame .note-statusbar.locked .note-resizebar{cursor:default}.note-editor.note-airframe .note-statusbar.locked .note-resizebar .note-icon-bar,.note-editor.note-frame .note-statusbar.locked .note-resizebar .note-icon-bar{display:none}.note-editor.note-airframe .note-placeholder,.note-editor.note-frame .note-placeholder{padding:10px}.note-editor.note-airframe{border:0}.note-editor.note-airframe .note-editing-area .note-editable{padding:0}.note-popover.popover{display:none;max-width:none}.note-popover.popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.note-popover.popover .arrow{left:20px!important}.note-toolbar{position:relative}.note-editor .note-toolbar,.note-popover .popover-content{margin:0;padding:0 0 5px 5px}.note-editor .note-toolbar>.note-btn-group,.note-popover .popover-content>.note-btn-group{margin-left:0;margin-right:5px;margin-top:5px}.note-editor .note-toolbar .note-btn-group .note-table,.note-popover .popover-content .note-btn-group .note-table{min-width:0;padding:5px}.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker,.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker{font-size:18px}.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{cursor:pointer;height:10em;position:absolute!important;width:10em;z-index:3}.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;height:5em;position:relative!important;width:5em;z-index:1}.note-editor .note-toolbar .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-popover .popover-content .note-btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC") repeat;height:1em;position:absolute!important;width:1em;z-index:2}.note-editor .note-toolbar .note-style .dropdown-style blockquote,.note-editor .note-toolbar .note-style .dropdown-style pre,.note-popover .popover-content .note-style .dropdown-style blockquote,.note-popover .popover-content .note-style .dropdown-style pre{margin:0;padding:5px 10px}.note-editor .note-toolbar .note-style .dropdown-style h1,.note-editor .note-toolbar .note-style .dropdown-style h2,.note-editor .note-toolbar .note-style .dropdown-style h3,.note-editor .note-toolbar .note-style .dropdown-style h4,.note-editor .note-toolbar .note-style .dropdown-style h5,.note-editor .note-toolbar .note-style .dropdown-style h6,.note-editor .note-toolbar .note-style .dropdown-style p,.note-popover .popover-content .note-style .dropdown-style h1,.note-popover .popover-content .note-style .dropdown-style h2,.note-popover .popover-content .note-style .dropdown-style h3,.note-popover .popover-content .note-style .dropdown-style h4,.note-popover .popover-content .note-style .dropdown-style h5,.note-popover .popover-content .note-style .dropdown-style h6,.note-popover .popover-content .note-style .dropdown-style p{margin:0;padding:0}.note-editor .note-toolbar .note-color-all .note-dropdown-menu,.note-popover .popover-content .note-color-all .note-dropdown-menu{min-width:337px}.note-editor .note-toolbar .note-color .dropdown-toggle,.note-popover .popover-content .note-color .dropdown-toggle{padding-left:5px;width:20px}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette{display:inline-block;margin:0;width:160px}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette:first-child,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette:first-child{margin:0 5px}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-palette-title,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-palette-title{border-bottom:1px solid #eee;font-size:12px;margin:2px 7px;text-align:center}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select{border-radius:5px;cursor:pointer;font-size:11px;margin:3px;padding:0 3px;width:100%}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select:hover{background:#eee}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-row,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-row{height:20px}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select-btn,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select-btn{display:none}.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn,.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-holder-custom .note-color-btn{border:1px solid #eee}.note-editor .note-toolbar .note-para .note-dropdown-menu,.note-popover .popover-content .note-para .note-dropdown-menu{min-width:228px;padding:5px}.note-editor .note-toolbar .note-para .note-dropdown-menu>div+div,.note-popover .popover-content .note-para .note-dropdown-menu>div+div{margin-left:5px}.note-editor .note-toolbar .note-dropdown-menu,.note-popover .popover-content .note-dropdown-menu{min-width:160px}.note-editor .note-toolbar .note-dropdown-menu.right,.note-popover .popover-content .note-dropdown-menu.right{left:auto;right:0}.note-editor .note-toolbar .note-dropdown-menu.right:before,.note-popover .popover-content .note-dropdown-menu.right:before{left:auto!important;right:9px}.note-editor .note-toolbar .note-dropdown-menu.right:after,.note-popover .popover-content .note-dropdown-menu.right:after{left:auto!important;right:10px}.note-editor .note-toolbar .note-dropdown-menu.note-check a i,.note-popover .popover-content .note-dropdown-menu.note-check a i{color:#00bfff;visibility:hidden}.note-editor .note-toolbar .note-dropdown-menu.note-check a.checked i,.note-popover .popover-content .note-dropdown-menu.note-check a.checked i{visibility:visible}.note-editor .note-toolbar .note-fontsize-10,.note-popover .popover-content .note-fontsize-10{font-size:10px}.note-editor .note-toolbar .note-color-palette,.note-popover .popover-content .note-color-palette{line-height:1}.note-editor .note-toolbar .note-color-palette div .note-color-btn,.note-popover .popover-content .note-color-palette div .note-color-btn{border:0;border-radius:0;height:20px;margin:0;padding:0;width:20px}.note-editor .note-toolbar .note-color-palette div .note-color-btn:hover,.note-popover .popover-content .note-color-palette div .note-color-btn:hover{transform:scale(1.2);transition:all .2s}.note-modal .modal-dialog{border-radius:5px;box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0}.note-modal .form-group{margin-left:0;margin-right:0}.note-modal .note-modal-form{margin:0}.note-modal .note-image-dialog .note-dropzone{border:4px dashed #d3d3d3;color:#d3d3d3;font-size:30px;line-height:4;margin-bottom:10px;min-height:100px;text-align:center}@-moz-document url-prefix(){.note-modal .note-image-input{height:auto}}.note-placeholder{color:gray;display:none;position:absolute}.note-handle .note-control-selection{border:1px solid #000;display:none;position:absolute}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{background-color:#000;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=30);filter:alpha(opacity=30);height:100%;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3;width:100%}.note-handle .note-control-selection .note-control-handle,.note-handle .note-control-selection .note-control-holder,.note-handle .note-control-selection .note-control-sizing{border:1px solid #000;height:7px;width:7px}.note-handle .note-control-selection .note-control-sizing{background-color:#000}.note-handle .note-control-selection .note-control-nw{border-bottom:none;border-right:none;left:-5px;top:-5px}.note-handle .note-control-selection .note-control-ne{border-bottom:none;border-left:none;right:-5px;top:-5px}.note-handle .note-control-selection .note-control-sw{border-right:none;border-top:none;bottom:-5px;left:-5px}.note-handle .note-control-selection .note-control-se{bottom:-5px;cursor:se-resize;right:-5px}.note-handle .note-control-selection .note-control-se.note-control-holder{border-left:none;border-top:none;cursor:default}.note-handle .note-control-selection .note-control-selection-info{background-color:#000;border-radius:5px;bottom:0;color:#fff;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);filter:alpha(opacity=70);font-size:12px;margin:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7;padding:5px;right:0}.note-hint-popover{min-width:100px;padding:2px}.note-hint-popover .popover-content{max-height:150px;overflow:auto;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item{display:block!important;padding:3px}.note-hint-popover .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{background-color:#428bca;clear:both;color:#fff;cursor:pointer;display:block;font-weight:400;line-height:1.4;outline:0;text-decoration:none;white-space:nowrap}body .note-fullscreen-body,html .note-fullscreen-body{overflow:hidden!important}.note-toolbar{background:#8080801d}.note-btn-group .note-btn{border-color:#00000032;font-size:13px;padding:.28rem .65rem}
|