@steedos/webapp 2.2.33 → 3.0.0-beta.7
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.
- package/LICENSE.txt +661 -0
- package/README.md +15 -17
- package/dist/README.md +4 -0
- package/dist/assets/icons/License-for-icons.txt +267 -0
- package/dist/assets/icons/README-dist.md +18 -0
- package/dist/assets/icons/action-sprite/svg/symbols.svg +1 -0
- package/dist/assets/icons/custom-sprite/svg/symbols.svg +1 -0
- package/dist/assets/icons/doctype-sprite/svg/symbols.svg +1 -0
- package/dist/assets/icons/standard-sprite/svg/symbols.svg +1 -0
- package/dist/assets/icons/utility-sprite/svg/symbols-rtl.svg +1 -0
- package/dist/assets/icons/utility-sprite/svg/symbols.svg +1 -0
- package/dist/assets/index-D4PMTHQ6.js +60674 -0
- package/dist/browsers.html +76 -0
- package/dist/css/main.css +15 -0
- package/dist/customize.css +104 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/FontAwesome.otf +0 -0
- package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.eot +0 -0
- package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.svg +787 -0
- package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.ttf +0 -0
- package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.woff +0 -0
- package/dist/fonts/Material-Design-Iconic-Font/Material-Design-Iconic-Font.woff2 +0 -0
- package/dist/fonts/fontawesome-webfont.eot +0 -0
- package/dist/fonts/fontawesome-webfont.svg +2671 -0
- package/dist/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.woff +0 -0
- package/dist/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/geetest/gt3.js +353 -0
- package/dist/images/background.svg +1 -0
- package/dist/images/bg.jpg +0 -0
- package/dist/images/default-avatar.png +0 -0
- package/dist/images/defaultBackground.svg +1 -0
- package/dist/images/logo.png +0 -0
- package/dist/images/logo_platform.en-us.png +0 -0
- package/dist/images/logo_platform.png +0 -0
- package/dist/images/logo_platform_white.png +0 -0
- package/dist/images/unsupported.png +0 -0
- package/dist/index.html +68 -0
- package/dist/js/infinitescroll.js +115 -0
- package/dist/js/jquery.fitvids.js +89 -0
- package/dist/js/nw_core.js +163 -0
- package/dist/js/selectize/selectize.bootstrap2.css +494 -0
- package/dist/js/selectize/selectize.bootstrap3.css +408 -0
- package/dist/js/selectize/selectize.css +324 -0
- package/dist/js/selectize/selectize.default.css +394 -0
- package/dist/js/selectize/selectize.js +3829 -0
- package/dist/js/workflow_client.css +55 -0
- package/dist/js/workflow_client.js +174 -0
- package/dist/lib/jquery/jquery-1.11.2.min.js +4 -0
- package/dist/lib/select2/select2-spinner.gif +0 -0
- package/dist/lib/select2/select2.png +0 -0
- package/dist/lib/select2/select2x2.png +0 -0
- package/dist/lib/swipebox/img/icons.png +0 -0
- package/dist/lib/swipebox/img/icons.svg +1 -0
- package/dist/lib/swipebox/img/loader.gif +0 -0
- package/dist/locales/en/translation.json +3 -0
- package/dist/locales/zh-CN/translation.json +3 -0
- package/dist/manifest.json +15 -0
- package/dist/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css +9 -0
- package/dist/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js +1 -0
- package/dist/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js +16 -0
- package/dist/plugins/toastr/toastr.min.css +1 -0
- package/dist/plugins/toastr/toastr.min.js +2 -0
- package/dist/sound/notification.mp3 +0 -0
- package/dist/steedos-init.js +165 -0
- package/dist/ui.icons.json +5064 -0
- package/dist/word/demo.doc +0 -0
- package/dist/workflow.html +36 -0
- package/package.json +32 -49
- package/.env +0 -3
- package/.eslintignore +0 -1
- package/.md +0 -8
- package/LICENSE +0 -21
- package/tsconfig.json +0 -28
- package/tsconfig.lib.json +0 -34
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Created by dell on 2017/7/13.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
var isNode = function () {
|
|
6
|
+
return typeof process !== "undefined" && process !== null ? process.__nwjs : void 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
var isImage = function (type) {
|
|
10
|
+
if (type == "image/tiff"){
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
return type.startsWith("image/");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
var isHtml = function (type) {
|
|
17
|
+
return type == "text/html"
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var openWindow = function(url, target, options) {
|
|
22
|
+
if (!target) {
|
|
23
|
+
target = "_blank";
|
|
24
|
+
}
|
|
25
|
+
if (!options) {
|
|
26
|
+
options = 'scrollbars=yes,EnableViewPortScale=yes,toolbarposition=top,transitionstyle=fliphorizontal,closebuttoncaption= x ';
|
|
27
|
+
}
|
|
28
|
+
return window.open(url, target, options);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
nw_core = {}
|
|
33
|
+
|
|
34
|
+
var url, net, path, http, https, fs;
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
nw_core.canOpenFile = function(filename){
|
|
38
|
+
var _exp;
|
|
39
|
+
if (filename.split('.').length < 2) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
_exp = filename.split('.').pop().toLowerCase();
|
|
43
|
+
switch (_exp) {
|
|
44
|
+
case 'doc':
|
|
45
|
+
return true;
|
|
46
|
+
case 'docx':
|
|
47
|
+
return true;
|
|
48
|
+
case 'xls':
|
|
49
|
+
return true;
|
|
50
|
+
case 'xlsx':
|
|
51
|
+
return true;
|
|
52
|
+
case 'ppt':
|
|
53
|
+
return true;
|
|
54
|
+
case 'pptx':
|
|
55
|
+
return true;
|
|
56
|
+
case 'pdf':
|
|
57
|
+
return true;
|
|
58
|
+
case 'tif':
|
|
59
|
+
return true;
|
|
60
|
+
case 'txt':
|
|
61
|
+
return true;
|
|
62
|
+
default:
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (isNode()) {
|
|
69
|
+
// turn off SSL validation checking
|
|
70
|
+
if (window.location.protocol == "https:") {
|
|
71
|
+
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
url = nw.require('url');
|
|
75
|
+
net = nw.require('net');
|
|
76
|
+
path = nw.require('path');
|
|
77
|
+
https = nw.require('https');
|
|
78
|
+
http = nw.require('http');
|
|
79
|
+
fs = nw.require('fs');
|
|
80
|
+
child_process = nw.require('child_process');
|
|
81
|
+
if (child_process)
|
|
82
|
+
exec = child_process.exec;
|
|
83
|
+
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
nw_core.openFile = function (file_url, filename) {
|
|
88
|
+
// 文件下载增加认证参数
|
|
89
|
+
const authToken = localStorage["steedos:token"] || localStorage["Meteor.loginToken"]
|
|
90
|
+
const authObject = { authToken: authToken }
|
|
91
|
+
const token = window.btoa(JSON.stringify(authObject))
|
|
92
|
+
// 如果url已经有参数则拼接token
|
|
93
|
+
if (file_url.indexOf('?') > 0) {
|
|
94
|
+
file_url = file_url + '&token=' + token
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
file_url = file_url + '?token=' + token
|
|
98
|
+
}
|
|
99
|
+
console.log("file_url", file_url)
|
|
100
|
+
console.log("filename", filename)
|
|
101
|
+
|
|
102
|
+
var download_dir = process.env.USERPROFILE + "\\Steedos\\";
|
|
103
|
+
|
|
104
|
+
console.log("download_dir", download_dir)
|
|
105
|
+
|
|
106
|
+
var filePath = path.join(download_dir, filename);
|
|
107
|
+
|
|
108
|
+
var downloaded = function (filePath) {
|
|
109
|
+
var cmd = 'start "" ' + '\"' + filePath + '\"';
|
|
110
|
+
|
|
111
|
+
var child = exec(cmd);
|
|
112
|
+
|
|
113
|
+
child.on('close',function(){
|
|
114
|
+
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
child.on('error', function(error) {
|
|
118
|
+
console.error("error", error)
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
nw_core.downloadFile(file_url, download_dir, filePath, downloaded)
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
nw_core.downloadFile = function (file_url, download_dir, filePath, callback) {
|
|
127
|
+
|
|
128
|
+
fs.exists(download_dir, function(exists) {
|
|
129
|
+
if (exists == true) {
|
|
130
|
+
// 直接下载到本地覆盖之前的同名版本
|
|
131
|
+
_downloadFile(file_url, filePath, callback);
|
|
132
|
+
}else {
|
|
133
|
+
// 新建路径并下载附件到本地
|
|
134
|
+
fs.mkdir(download_dir, function(err) {
|
|
135
|
+
if (err) {
|
|
136
|
+
console.error(err);
|
|
137
|
+
} else {
|
|
138
|
+
_downloadFile(file_url, filePath, callback);
|
|
139
|
+
}
|
|
140
|
+
})
|
|
141
|
+
}
|
|
142
|
+
})
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
var _downloadFile = function(file_url, filePath, callback) {
|
|
146
|
+
|
|
147
|
+
var file = fs.createWriteStream(filePath);
|
|
148
|
+
|
|
149
|
+
var _HTTP = window.location.protocol.replace(":", "") == 'http' ? http : https;
|
|
150
|
+
|
|
151
|
+
var dfile = _HTTP.get(encodeURI(file_url), function(res) {
|
|
152
|
+
res.on('data', function(data) {
|
|
153
|
+
file.write(data);
|
|
154
|
+
}).on('end', function() {
|
|
155
|
+
file.end();
|
|
156
|
+
|
|
157
|
+
callback(filePath);
|
|
158
|
+
})
|
|
159
|
+
});
|
|
160
|
+
dfile.on('error', function(e) {
|
|
161
|
+
console.error(e.message);
|
|
162
|
+
})
|
|
163
|
+
}
|
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* selectize.bootstrap2.css (v0.12.4) - Bootstrap 2 Theme
|
|
3
|
+
* Copyright (c) 2013–2015 Brian Reavis & contributors
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
|
6
|
+
* file except in compliance with the License. You may obtain a copy of the License at:
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
10
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
|
11
|
+
* ANY KIND, either express or implied. See the License for the specific language
|
|
12
|
+
* governing permissions and limitations under the License.
|
|
13
|
+
*
|
|
14
|
+
* @author Brian Reavis <brian@thirdroute.com>
|
|
15
|
+
*/
|
|
16
|
+
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
|
|
17
|
+
visibility: visible !important;
|
|
18
|
+
background: #f2f2f2 !important;
|
|
19
|
+
background: rgba(0, 0, 0, 0.06) !important;
|
|
20
|
+
border: 0 none !important;
|
|
21
|
+
-webkit-box-shadow: inset 0 0 12px 4px #ffffff;
|
|
22
|
+
box-shadow: inset 0 0 12px 4px #ffffff;
|
|
23
|
+
}
|
|
24
|
+
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
|
25
|
+
content: '!';
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
}
|
|
28
|
+
.selectize-control.plugin-drag_drop .ui-sortable-helper {
|
|
29
|
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
30
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
31
|
+
}
|
|
32
|
+
.selectize-dropdown-header {
|
|
33
|
+
position: relative;
|
|
34
|
+
padding: 3px 10px;
|
|
35
|
+
border-bottom: 1px solid #d0d0d0;
|
|
36
|
+
background: #f8f8f8;
|
|
37
|
+
-webkit-border-radius: 4px 4px 0 0;
|
|
38
|
+
-moz-border-radius: 4px 4px 0 0;
|
|
39
|
+
border-radius: 4px 4px 0 0;
|
|
40
|
+
}
|
|
41
|
+
.selectize-dropdown-header-close {
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: 10px;
|
|
44
|
+
top: 50%;
|
|
45
|
+
color: #333333;
|
|
46
|
+
opacity: 0.4;
|
|
47
|
+
margin-top: -12px;
|
|
48
|
+
line-height: 20px;
|
|
49
|
+
font-size: 20px !important;
|
|
50
|
+
}
|
|
51
|
+
.selectize-dropdown-header-close:hover {
|
|
52
|
+
color: #000000;
|
|
53
|
+
}
|
|
54
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup {
|
|
55
|
+
border-right: 1px solid #f2f2f2;
|
|
56
|
+
border-top: 0 none;
|
|
57
|
+
float: left;
|
|
58
|
+
-webkit-box-sizing: border-box;
|
|
59
|
+
-moz-box-sizing: border-box;
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
|
63
|
+
border-right: 0 none;
|
|
64
|
+
}
|
|
65
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
|
|
69
|
+
border-top: 0 none;
|
|
70
|
+
}
|
|
71
|
+
.selectize-control.plugin-remove_button [data-value] {
|
|
72
|
+
position: relative;
|
|
73
|
+
padding-right: 24px !important;
|
|
74
|
+
}
|
|
75
|
+
.selectize-control.plugin-remove_button [data-value] .remove {
|
|
76
|
+
z-index: 1;
|
|
77
|
+
/* fixes ie bug (see #392) */
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0;
|
|
80
|
+
right: 0;
|
|
81
|
+
bottom: 0;
|
|
82
|
+
width: 17px;
|
|
83
|
+
text-align: center;
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
font-size: 12px;
|
|
86
|
+
color: inherit;
|
|
87
|
+
text-decoration: none;
|
|
88
|
+
vertical-align: middle;
|
|
89
|
+
display: inline-block;
|
|
90
|
+
padding: 1px 0 0 0;
|
|
91
|
+
border-left: 1px solid #cccccc;
|
|
92
|
+
-webkit-border-radius: 0 2px 2px 0;
|
|
93
|
+
-moz-border-radius: 0 2px 2px 0;
|
|
94
|
+
border-radius: 0 2px 2px 0;
|
|
95
|
+
-webkit-box-sizing: border-box;
|
|
96
|
+
-moz-box-sizing: border-box;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
.selectize-control.plugin-remove_button [data-value] .remove:hover {
|
|
100
|
+
background: rgba(0, 0, 0, 0.05);
|
|
101
|
+
}
|
|
102
|
+
.selectize-control.plugin-remove_button [data-value].active .remove {
|
|
103
|
+
border-left-color: #0077b3;
|
|
104
|
+
}
|
|
105
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
|
|
106
|
+
background: none;
|
|
107
|
+
}
|
|
108
|
+
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
|
|
109
|
+
border-left-color: #e0e0e0;
|
|
110
|
+
}
|
|
111
|
+
.selectize-control.plugin-remove_button .remove-single {
|
|
112
|
+
position: absolute;
|
|
113
|
+
right: 28px;
|
|
114
|
+
top: 6px;
|
|
115
|
+
font-size: 23px;
|
|
116
|
+
}
|
|
117
|
+
.selectize-control {
|
|
118
|
+
position: relative;
|
|
119
|
+
}
|
|
120
|
+
.selectize-dropdown,
|
|
121
|
+
.selectize-input,
|
|
122
|
+
.selectize-input input {
|
|
123
|
+
color: #333333;
|
|
124
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
line-height: 20px;
|
|
127
|
+
-webkit-font-smoothing: inherit;
|
|
128
|
+
}
|
|
129
|
+
.selectize-input,
|
|
130
|
+
.selectize-control.single .selectize-input.input-active {
|
|
131
|
+
background: #ffffff;
|
|
132
|
+
cursor: text;
|
|
133
|
+
display: inline-block;
|
|
134
|
+
}
|
|
135
|
+
.selectize-input {
|
|
136
|
+
border: 1px solid #d0d0d0;
|
|
137
|
+
padding: 7px 10px;
|
|
138
|
+
display: inline-block;
|
|
139
|
+
width: 100%;
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
position: relative;
|
|
142
|
+
z-index: 1;
|
|
143
|
+
-webkit-box-sizing: border-box;
|
|
144
|
+
-moz-box-sizing: border-box;
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
-webkit-box-shadow: none;
|
|
147
|
+
box-shadow: none;
|
|
148
|
+
-webkit-border-radius: 4px;
|
|
149
|
+
-moz-border-radius: 4px;
|
|
150
|
+
border-radius: 4px;
|
|
151
|
+
}
|
|
152
|
+
.selectize-control.multi .selectize-input.has-items {
|
|
153
|
+
padding: 5px 10px 2px;
|
|
154
|
+
}
|
|
155
|
+
.selectize-input.full {
|
|
156
|
+
background-color: #ffffff;
|
|
157
|
+
}
|
|
158
|
+
.selectize-input.disabled,
|
|
159
|
+
.selectize-input.disabled * {
|
|
160
|
+
cursor: default !important;
|
|
161
|
+
}
|
|
162
|
+
.selectize-input.focus {
|
|
163
|
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
164
|
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
|
|
165
|
+
}
|
|
166
|
+
.selectize-input.dropdown-active {
|
|
167
|
+
-webkit-border-radius: 4px 4px 0 0;
|
|
168
|
+
-moz-border-radius: 4px 4px 0 0;
|
|
169
|
+
border-radius: 4px 4px 0 0;
|
|
170
|
+
}
|
|
171
|
+
.selectize-input > * {
|
|
172
|
+
vertical-align: baseline;
|
|
173
|
+
display: -moz-inline-stack;
|
|
174
|
+
display: inline-block;
|
|
175
|
+
zoom: 1;
|
|
176
|
+
*display: inline;
|
|
177
|
+
}
|
|
178
|
+
.selectize-control.multi .selectize-input > div {
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
margin: 0 3px 3px 0;
|
|
181
|
+
padding: 1px 3px;
|
|
182
|
+
background: #e6e6e6;
|
|
183
|
+
color: #333333;
|
|
184
|
+
border: 1px solid #cccccc;
|
|
185
|
+
}
|
|
186
|
+
.selectize-control.multi .selectize-input > div.active {
|
|
187
|
+
background: #0088cc;
|
|
188
|
+
color: #ffffff;
|
|
189
|
+
border: 1px solid #0077b3;
|
|
190
|
+
}
|
|
191
|
+
.selectize-control.multi .selectize-input.disabled > div,
|
|
192
|
+
.selectize-control.multi .selectize-input.disabled > div.active {
|
|
193
|
+
color: #474747;
|
|
194
|
+
background: #fafafa;
|
|
195
|
+
border: 1px solid #e0e0e0;
|
|
196
|
+
}
|
|
197
|
+
.selectize-input > input {
|
|
198
|
+
display: inline-block !important;
|
|
199
|
+
padding: 0 !important;
|
|
200
|
+
min-height: 0 !important;
|
|
201
|
+
max-height: none !important;
|
|
202
|
+
max-width: 100% !important;
|
|
203
|
+
margin: 0 !important;
|
|
204
|
+
text-indent: 0 !important;
|
|
205
|
+
border: 0 none !important;
|
|
206
|
+
background: none !important;
|
|
207
|
+
line-height: inherit !important;
|
|
208
|
+
-webkit-user-select: auto !important;
|
|
209
|
+
-webkit-box-shadow: none !important;
|
|
210
|
+
box-shadow: none !important;
|
|
211
|
+
}
|
|
212
|
+
.selectize-input > input::-ms-clear {
|
|
213
|
+
display: none;
|
|
214
|
+
}
|
|
215
|
+
.selectize-input > input:focus {
|
|
216
|
+
outline: none !important;
|
|
217
|
+
}
|
|
218
|
+
.selectize-input::after {
|
|
219
|
+
content: ' ';
|
|
220
|
+
display: block;
|
|
221
|
+
clear: left;
|
|
222
|
+
}
|
|
223
|
+
.selectize-input.dropdown-active::before {
|
|
224
|
+
content: ' ';
|
|
225
|
+
display: block;
|
|
226
|
+
position: absolute;
|
|
227
|
+
background: #e5e5e5;
|
|
228
|
+
height: 1px;
|
|
229
|
+
bottom: 0;
|
|
230
|
+
left: 0;
|
|
231
|
+
right: 0;
|
|
232
|
+
}
|
|
233
|
+
.selectize-dropdown {
|
|
234
|
+
position: absolute;
|
|
235
|
+
z-index: 10;
|
|
236
|
+
border: 1px solid #cccccc;
|
|
237
|
+
background: #ffffff;
|
|
238
|
+
margin: -1px 0 0 0;
|
|
239
|
+
border-top: 0 none;
|
|
240
|
+
-webkit-box-sizing: border-box;
|
|
241
|
+
-moz-box-sizing: border-box;
|
|
242
|
+
box-sizing: border-box;
|
|
243
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
244
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
245
|
+
-webkit-border-radius: 0 0 4px 4px;
|
|
246
|
+
-moz-border-radius: 0 0 4px 4px;
|
|
247
|
+
border-radius: 0 0 4px 4px;
|
|
248
|
+
}
|
|
249
|
+
.selectize-dropdown [data-selectable] {
|
|
250
|
+
cursor: pointer;
|
|
251
|
+
overflow: hidden;
|
|
252
|
+
}
|
|
253
|
+
.selectize-dropdown [data-selectable] .highlight {
|
|
254
|
+
background: rgba(255, 237, 40, 0.4);
|
|
255
|
+
-webkit-border-radius: 1px;
|
|
256
|
+
-moz-border-radius: 1px;
|
|
257
|
+
border-radius: 1px;
|
|
258
|
+
}
|
|
259
|
+
.selectize-dropdown [data-selectable],
|
|
260
|
+
.selectize-dropdown .optgroup-header {
|
|
261
|
+
padding: 3px 10px;
|
|
262
|
+
}
|
|
263
|
+
.selectize-dropdown .optgroup:first-child .optgroup-header {
|
|
264
|
+
border-top: 0 none;
|
|
265
|
+
}
|
|
266
|
+
.selectize-dropdown .optgroup-header {
|
|
267
|
+
color: #999999;
|
|
268
|
+
background: #ffffff;
|
|
269
|
+
cursor: default;
|
|
270
|
+
}
|
|
271
|
+
.selectize-dropdown .active {
|
|
272
|
+
background-color: #0088cc;
|
|
273
|
+
color: #ffffff;
|
|
274
|
+
}
|
|
275
|
+
.selectize-dropdown .active.create {
|
|
276
|
+
color: #ffffff;
|
|
277
|
+
}
|
|
278
|
+
.selectize-dropdown .create {
|
|
279
|
+
color: rgba(51, 51, 51, 0.5);
|
|
280
|
+
}
|
|
281
|
+
.selectize-dropdown-content {
|
|
282
|
+
overflow-y: auto;
|
|
283
|
+
overflow-x: hidden;
|
|
284
|
+
max-height: 200px;
|
|
285
|
+
-webkit-overflow-scrolling: touch;
|
|
286
|
+
}
|
|
287
|
+
.selectize-control.single .selectize-input,
|
|
288
|
+
.selectize-control.single .selectize-input input {
|
|
289
|
+
cursor: pointer;
|
|
290
|
+
}
|
|
291
|
+
.selectize-control.single .selectize-input.input-active,
|
|
292
|
+
.selectize-control.single .selectize-input.input-active input {
|
|
293
|
+
cursor: text;
|
|
294
|
+
}
|
|
295
|
+
.selectize-control.single .selectize-input:after {
|
|
296
|
+
content: ' ';
|
|
297
|
+
display: block;
|
|
298
|
+
position: absolute;
|
|
299
|
+
top: 50%;
|
|
300
|
+
right: 15px;
|
|
301
|
+
margin-top: -3px;
|
|
302
|
+
width: 0;
|
|
303
|
+
height: 0;
|
|
304
|
+
border-style: solid;
|
|
305
|
+
border-width: 5px 5px 0 5px;
|
|
306
|
+
border-color: #000000 transparent transparent transparent;
|
|
307
|
+
}
|
|
308
|
+
.selectize-control.single .selectize-input.dropdown-active:after {
|
|
309
|
+
margin-top: -4px;
|
|
310
|
+
border-width: 0 5px 5px 5px;
|
|
311
|
+
border-color: transparent transparent #000000 transparent;
|
|
312
|
+
}
|
|
313
|
+
.selectize-control.rtl.single .selectize-input:after {
|
|
314
|
+
left: 15px;
|
|
315
|
+
right: auto;
|
|
316
|
+
}
|
|
317
|
+
.selectize-control.rtl .selectize-input > input {
|
|
318
|
+
margin: 0 4px 0 -2px !important;
|
|
319
|
+
}
|
|
320
|
+
.selectize-control .selectize-input.disabled {
|
|
321
|
+
opacity: 0.5;
|
|
322
|
+
background-color: #ffffff;
|
|
323
|
+
}
|
|
324
|
+
.selectize-dropdown {
|
|
325
|
+
margin: 2px 0 0 0;
|
|
326
|
+
z-index: 1000;
|
|
327
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
328
|
+
border-radius: 4px;
|
|
329
|
+
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
330
|
+
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
331
|
+
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
332
|
+
}
|
|
333
|
+
.selectize-dropdown .optgroup-header {
|
|
334
|
+
font-size: 11px;
|
|
335
|
+
font-weight: bold;
|
|
336
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
337
|
+
text-transform: uppercase;
|
|
338
|
+
}
|
|
339
|
+
.selectize-dropdown .optgroup:first-child:before {
|
|
340
|
+
display: none;
|
|
341
|
+
}
|
|
342
|
+
.selectize-dropdown .optgroup:before {
|
|
343
|
+
content: ' ';
|
|
344
|
+
display: block;
|
|
345
|
+
*width: 100%;
|
|
346
|
+
height: 1px;
|
|
347
|
+
margin: 9px 1px;
|
|
348
|
+
*margin: -5px 0 5px;
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
background-color: #e5e5e5;
|
|
351
|
+
border-bottom: 1px solid #ffffff;
|
|
352
|
+
margin-left: -10px;
|
|
353
|
+
margin-right: -10px;
|
|
354
|
+
}
|
|
355
|
+
.selectize-dropdown [data-selectable].active {
|
|
356
|
+
background-color: #0081c2;
|
|
357
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
|
|
358
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
|
|
359
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
|
|
360
|
+
background-image: -o-linear-gradient(top, #0088cc, #0077b3);
|
|
361
|
+
background-image: linear-gradient(to bottom, #0088cc, #0077b3);
|
|
362
|
+
background-repeat: repeat-x;
|
|
363
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
|
364
|
+
}
|
|
365
|
+
.selectize-dropdown-content {
|
|
366
|
+
padding: 5px 0;
|
|
367
|
+
}
|
|
368
|
+
.selectize-dropdown-header {
|
|
369
|
+
padding: 6px 10px;
|
|
370
|
+
}
|
|
371
|
+
.selectize-input {
|
|
372
|
+
-webkit-transition: border linear .2s, box-shadow linear .2s;
|
|
373
|
+
-moz-transition: border linear .2s, box-shadow linear .2s;
|
|
374
|
+
-o-transition: border linear .2s, box-shadow linear .2s;
|
|
375
|
+
transition: border linear .2s, box-shadow linear .2s;
|
|
376
|
+
}
|
|
377
|
+
.selectize-input.dropdown-active {
|
|
378
|
+
-webkit-border-radius: 4px;
|
|
379
|
+
-moz-border-radius: 4px;
|
|
380
|
+
border-radius: 4px;
|
|
381
|
+
}
|
|
382
|
+
.selectize-input.dropdown-active::before {
|
|
383
|
+
display: none;
|
|
384
|
+
}
|
|
385
|
+
.selectize-input.input-active,
|
|
386
|
+
.selectize-input.input-active:hover,
|
|
387
|
+
.selectize-control.multi .selectize-input.focus {
|
|
388
|
+
background: #ffffff !important;
|
|
389
|
+
border-color: rgba(82, 168, 236, 0.8) !important;
|
|
390
|
+
outline: 0 !important;
|
|
391
|
+
outline: thin dotted \9 !important;
|
|
392
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
|
|
393
|
+
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
|
|
394
|
+
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6) !important;
|
|
395
|
+
}
|
|
396
|
+
.selectize-control.single .selectize-input {
|
|
397
|
+
color: #333333;
|
|
398
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
399
|
+
background-color: #f5f5f5;
|
|
400
|
+
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
|
401
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
|
402
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
403
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
404
|
+
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
405
|
+
background-repeat: repeat-x;
|
|
406
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
|
407
|
+
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
|
408
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
409
|
+
*background-color: #e6e6e6;
|
|
410
|
+
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
|
411
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
|
412
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
413
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
414
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
415
|
+
}
|
|
416
|
+
.selectize-control.single .selectize-input:hover,
|
|
417
|
+
.selectize-control.single .selectize-input:focus,
|
|
418
|
+
.selectize-control.single .selectize-input:active,
|
|
419
|
+
.selectize-control.single .selectize-input.active,
|
|
420
|
+
.selectize-control.single .selectize-input.disabled,
|
|
421
|
+
.selectize-control.single .selectize-input[disabled] {
|
|
422
|
+
color: #333333;
|
|
423
|
+
background-color: #e6e6e6;
|
|
424
|
+
*background-color: #d9d9d9;
|
|
425
|
+
}
|
|
426
|
+
.selectize-control.single .selectize-input:active,
|
|
427
|
+
.selectize-control.single .selectize-input.active {
|
|
428
|
+
background-color: #cccccc \9;
|
|
429
|
+
}
|
|
430
|
+
.selectize-control.single .selectize-input:hover {
|
|
431
|
+
color: #333333;
|
|
432
|
+
text-decoration: none;
|
|
433
|
+
background-position: 0 -15px;
|
|
434
|
+
-webkit-transition: background-position 0.1s linear;
|
|
435
|
+
-moz-transition: background-position 0.1s linear;
|
|
436
|
+
-o-transition: background-position 0.1s linear;
|
|
437
|
+
transition: background-position 0.1s linear;
|
|
438
|
+
}
|
|
439
|
+
.selectize-control.single .selectize-input.disabled {
|
|
440
|
+
background: #e6e6e6 !important;
|
|
441
|
+
-webkit-box-shadow: none;
|
|
442
|
+
-moz-box-shadow: none;
|
|
443
|
+
box-shadow: none;
|
|
444
|
+
}
|
|
445
|
+
.selectize-control.multi .selectize-input {
|
|
446
|
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
447
|
+
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
448
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
449
|
+
}
|
|
450
|
+
.selectize-control.multi .selectize-input.has-items {
|
|
451
|
+
padding-left: 7px;
|
|
452
|
+
padding-right: 7px;
|
|
453
|
+
}
|
|
454
|
+
.selectize-control.multi .selectize-input > div {
|
|
455
|
+
color: #333333;
|
|
456
|
+
text-shadow: none;
|
|
457
|
+
background-color: #f5f5f5;
|
|
458
|
+
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
|
459
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
|
460
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
|
461
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
|
462
|
+
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
|
463
|
+
background-repeat: repeat-x;
|
|
464
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
|
465
|
+
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
|
466
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
467
|
+
*background-color: #e6e6e6;
|
|
468
|
+
border: 1px solid #cccccc;
|
|
469
|
+
-webkit-border-radius: 4px;
|
|
470
|
+
-moz-border-radius: 4px;
|
|
471
|
+
border-radius: 4px;
|
|
472
|
+
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
473
|
+
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
474
|
+
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
475
|
+
}
|
|
476
|
+
.selectize-control.multi .selectize-input > div.active {
|
|
477
|
+
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
|
478
|
+
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
|
479
|
+
box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
|
480
|
+
color: #ffffff;
|
|
481
|
+
text-shadow: none;
|
|
482
|
+
background-color: #0081c2;
|
|
483
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
|
|
484
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
|
|
485
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
|
|
486
|
+
background-image: -o-linear-gradient(top, #0088cc, #0077b3);
|
|
487
|
+
background-image: linear-gradient(to bottom, #0088cc, #0077b3);
|
|
488
|
+
background-repeat: repeat-x;
|
|
489
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
|
|
490
|
+
border-color: #0077b3 #0077b3 #004466;
|
|
491
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
492
|
+
*background-color: #0088cc;
|
|
493
|
+
border: 1px solid #0088cc;
|
|
494
|
+
}
|