Version Description
Download this release
Release Info
Developer | oscitas |
Plugin | Easy Bootstrap Shortcode |
Version | 3.7 |
Comparing to | |
See all releases |
Code changes from version 3.5 to 3.7
- README.txt +258 -31
- ebs_settings.php +83 -0
- images/Thumbs.db +0 -0
- images/colorpicker_background.png +0 -0
- images/colorpicker_hex.png +0 -0
- images/colorpicker_hsb_b.png +0 -0
- images/colorpicker_hsb_h.png +0 -0
- images/colorpicker_hsb_s.png +0 -0
- images/colorpicker_indic.gif +0 -0
- images/colorpicker_overlay.png +0 -0
- images/colorpicker_rgb_b.png +0 -0
- images/colorpicker_rgb_g.png +0 -0
- images/colorpicker_rgb_r.png +0 -0
- images/colorpicker_select.gif +0 -0
- images/colorpicker_submit.png +0 -0
- images/custom_background.png +0 -0
- images/custom_hex.png +0 -0
- images/custom_hsb_b.png +0 -0
- images/custom_hsb_h.png +0 -0
- images/custom_hsb_s.png +0 -0
- images/custom_indic.gif +0 -0
- images/custom_rgb_b.png +0 -0
- images/custom_rgb_g.png +0 -0
- images/custom_rgb_r.png +0 -0
- images/custom_submit.png +0 -0
- images/ebs-pro.jpg +0 -0
- images/icon.png +0 -0
- images/select.png +0 -0
- images/select2.png +0 -0
- images/slider.png +0 -0
- js/bootstrap.js +0 -1999
- js/bootstrap.min.js +9 -0
- js/colorpicker.js +0 -484
- osc_bootstrap_shortcode.php +189 -13
- shortcode/btngrp/btngrp_plugin.js +230 -0
- shortcode/btngrp/icon.png +0 -0
- shortcode/btngrp/plugin_shortcode.php +25 -0
- shortcode/btngrptool/btngrptool_plugin.js +26 -0
- shortcode/btngrptool/icon.png +0 -0
- shortcode/btngrptool/plugin_shortcode.php +18 -0
- shortcode/buttons/buttons_plugin.js +422 -170
- shortcode/buttons/plugin_shortcode.php +38 -23
- shortcode/deslist/deslist_plugin.js +109 -0
- shortcode/deslist/icon.png +0 -0
- shortcode/deslist/plugin_shortcode.php +25 -0
- shortcode/dropdown/dropdown_plugin.js +190 -0
- shortcode/dropdown/icon.png +0 -0
- shortcode/dropdown/plugin_shortcode.php +77 -0
- shortcode/functions.php +59 -61
- shortcode/icon/icon.png +0 -0
- shortcode/icon/icon_plugin.js +318 -0
- shortcode/icon/plugin_shortcode.php +17 -0
- shortcode/iconhead/iconhead_plugin.js +332 -306
- shortcode/iconhead/iconhead_plugin.min.js +6 -0
- shortcode/iconhead/plugin_shortcode.php +22 -14
- shortcode/image/icon.png +0 -0
- shortcode/image/image_plugin.js +124 -0
- shortcode/image/plugin_shortcode.php +22 -0
- shortcode/labels/icon.png +0 -0
- shortcode/labels/labels_plugin.js +97 -0
- shortcode/labels/plugin_shortcode.php +20 -0
- shortcode/lists/lists_plugin.js +115 -102
- shortcode/lists/plugin_shortcode.php +26 -24
- shortcode/notifications/notifications_plugin.js +106 -93
- shortcode/notifications/plugin_shortcode.php +28 -23
- shortcode/oscpopover/icon.png +0 -0
- shortcode/oscpopover/oscpopover_plugin.js +166 -0
- shortcode/oscpopover/plugin_shortcode.php +28 -0
- shortcode/panel/panel_plugin.js +99 -86
- shortcode/panel/plugin_shortcode.php +44 -43
- shortcode/popover/plugin_shortcode.php +27 -27
- shortcode/popover/popover_plugin.js +166 -154
- shortcode/progressbar/icon.png +0 -0
- shortcode/progressbar/plugin_shortcode.php +26 -0
- shortcode/progressbar/progressbar_plugin.js +151 -0
- shortcode/tables/plugin_shortcode.php +61 -53
- shortcode/tables/tables_plugin.js +151 -139
- shortcode/tabs/plugin_shortcode.php +48 -43
- shortcode/tabs/tabs_plugin.js +26 -26
- shortcode/thumbnail/icon.png +0 -0
- shortcode/thumbnail/plugin_shortcode.php +37 -0
- shortcode/thumbnail/thumbnail_plugin.js +132 -0
- shortcode/toggles/plugin_shortcode.php +56 -49
- shortcode/toggles/toggles_plugin.js +26 -26
- shortcode/tooltip/plugin_shortcode.php +36 -35
- shortcode/tooltip/tooltip_plugin.js +145 -132
- shortcode/well/icon.png +0 -0
- shortcode/well/plugin_shortcode.php +20 -0
- shortcode/well/well_plugin.js +94 -0
- shortcode/wpcolumns/plugin_shortcode.php +569 -495
- shortcode/wpcolumns/wpcolumns_plugin.js +384 -211
- styles/bootstrap-icon.css +0 -853
- styles/bootstrap-icon.min.css +1 -0
- styles/bootstrap.css +0 -6805
- styles/bootstrap.min.css +9 -0
- styles/bootstrap_admin.css +0 -39
- styles/bootstrap_admin.min.css +1 -0
- styles/colorpicker.css +0 -161
- styles/ebs-setting.min.css +1 -0
- styles/jquery.fancybox.css +1 -274
README.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Easy Bootstrap Shortcode ===
|
2 |
-
Contributors:
|
3 |
Link: http://www.osCitasthemes.com
|
4 |
Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
|
5 |
Requires at least: 3.0
|
6 |
-
Tested up to: 3.6
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,46 +14,166 @@ Easy Bootstrap Shortcode enable you to add bootstrap 3.0 styles in your pages, p
|
|
14 |
|
15 |
Easy Bootstrap Shortcode is bootstrap 3.0 compatible plugin which add icons to wordpress editor (tinyMCE Shortcode Buttons) and one can add bootstrap style to their website just by clicking on tinyMCE editor icon.
|
16 |
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
-
* simplest bootstrap style plugin ever
|
20 |
-
* Bootstrap 3.0 compatible
|
21 |
-
* No need to paste shortcode in editor
|
22 |
-
* Add icons to editor
|
23 |
-
* Shortcode added to editor by clicking on icon
|
24 |
-
* Customize grid size on small, extra-small and medium sized screens
|
25 |
|
26 |
Easy Bootstrap Shortcode provides following styles
|
27 |
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
1. Buttons
|
31 |
-
2. Icon Heading
|
32 |
-
3. Tables
|
33 |
-
4. Table Header and Body
|
34 |
-
5. Table Cells
|
35 |
-
6. Different table styles
|
36 |
-
7. Responsive
|
37 |
|
38 |
-
Grid
|
39 |
|
40 |
-
|
41 |
-
2. Choose desired column width
|
42 |
-
3. Add offset to columns
|
43 |
-
4. Provide facility to customize a column according to medium, small and extra-small sized screens.
|
44 |
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
|
47 |
-
1. Accordion (Collapsible Menus)
|
48 |
-
2. Tabs
|
49 |
-
3. List
|
50 |
-
4. Notification
|
51 |
-
5. Popover
|
52 |
-
6. Tooltip
|
53 |
-
7. Panel
|
54 |
|
55 |
If you'd like to contribute to this plugin, you can find it [hosted on GitHub](https://github.com/oscitasthemes/Easy-Bootstrap-Shortcode).
|
56 |
|
|
|
|
|
|
|
57 |
== Installation ==
|
58 |
|
59 |
1.Upload:
|
@@ -73,9 +193,116 @@ It's that simple ... just what the name suggests
|
|
73 |
2. different shortcode options this plugin provides
|
74 |
3. columns shortcode
|
75 |
4. table shortcode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
== Changelog ==
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
= 1.1 =
|
80 |
* fixed columns alternate color issue in admin panel
|
81 |
|
|
1 |
=== Easy Bootstrap Shortcode ===
|
2 |
+
Contributors: oscitas
|
3 |
Link: http://www.osCitasthemes.com
|
4 |
Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.6.1
|
7 |
+
Stable tag: 3.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
Easy Bootstrap Shortcode is bootstrap 3.0 compatible plugin which add icons to wordpress editor (tinyMCE Shortcode Buttons) and one can add bootstrap style to their website just by clicking on tinyMCE editor icon.
|
16 |
|
17 |
+
http://www.youtube.com/watch?v=8T0IC1PsdTw
|
18 |
+
|
19 |
+
New column hide functionality
|
20 |
+
http://www.youtube.com/watch?v=eSrFVAro8Nc
|
21 |
+
|
22 |
+
[Easy Bootstrap Shortcode Demo](http://demo.oscitasthemes.com/demos/easy-bootstrap-shortcode/)
|
23 |
+
|
24 |
+
[Easy Bootstrap Shortcode Documentation](http://oscitasthemes.com/documentation/easy-bootstrap-shortcodes/)
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
[PRO VERSION with exciting Premium SHORTCODES, Easy Bootstrap Shortcode Pro](http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/)
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
Looking for parallax slider, check this [Easy Wordpress Parallax Slider](http://wordpress.org/plugins/easy-wp-parallax-slider/)
|
33 |
+
|
34 |
+
Want to implement responsive tabs to your pages, check this [Easy Responsive Tabs](http://wordpress.org/plugins/easy-responsive-tabs/)
|
35 |
+
|
36 |
+
Follow us [@Twitter](https://twitter.com/oscitasthemes), [@facebook](https://www.facebook.com/oscitasthemes), [@google+](https://plus.google.com/109122908951553852347/posts)
|
37 |
+
|
38 |
+
= For best results use with bootstrap 3.0 responsive theme =
|
39 |
+
|
40 |
+
= Features: =
|
41 |
+
|
42 |
+
* simplest bootstrap style plugin ever.
|
43 |
+
* IE 6+ compatible
|
44 |
+
* Bootstrap 3.0 compatible.
|
45 |
+
* No need to paste shortcode in editor.
|
46 |
+
* Add icons to editor.
|
47 |
+
* Shortcode added to editor by clicking on icon.
|
48 |
+
* Customize grid size on small, extra-small and medium sized screens.
|
49 |
+
* More control over the css, you can add your own custom class to shortcodes.
|
50 |
+
* Now you can use js file from CDN or disable the plugin js.
|
51 |
+
* You can use your own css file by disabling the plugin css, which gives you more flexibility over styling.
|
52 |
+
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
Easy Bootstrap Shortcode provides following styles
|
56 |
|
57 |
+
= Grid Columns =
|
58 |
+
1. Add multiple columns in a row
|
59 |
+
2. Choose desired column width
|
60 |
+
3. Add offset to columns
|
61 |
+
4. Provide facility to customize a column according to medium, small and extra-small sized screens.
|
62 |
+
5. Responsive columns
|
63 |
+
|
64 |
+
= Shortcodes for =
|
65 |
+
|
66 |
+
1. Accordion (Collapsible Menus)
|
67 |
+
2. Tabs
|
68 |
+
3. List
|
69 |
+
4. Notification
|
70 |
+
5. Popover
|
71 |
+
6. Tooltip
|
72 |
+
7. Panel
|
73 |
+
8. Progress Bars with labels
|
74 |
+
9. Icons
|
75 |
+
10. Labels
|
76 |
+
11. Buttons
|
77 |
+
12. Icon Heading
|
78 |
+
13. Tables
|
79 |
+
14. Responsive Image
|
80 |
+
15. Image Effects (Round, Thumbnail, Square)
|
81 |
+
16. Well
|
82 |
+
17. Button Dropdown
|
83 |
+
18. Button Group
|
84 |
+
19. Button Group Toolbar
|
85 |
+
20. Description List
|
86 |
+
|
87 |
+
|
88 |
+
= How to embed this plugin to your theme =
|
89 |
+
|
90 |
+
We have provided few new settings so that anybody can give inbuilt compatibility with our plugin. Such as if you are creating theme/plugin and want to use our plugin, to give your users more flexibility to add responsive content, however you like to use your own custom css/js files. So now you can do this.
|
91 |
+
|
92 |
+
Now we are supporting filters so that you can easily give inbuilt support of this plugin in your themes/plugins
|
93 |
+
|
94 |
+
You can Write these filter into your theme's functions.php to make plugin compatible to your theme, You can use any of these filters as per your requirements.
|
95 |
+
|
96 |
+
|
97 |
+
Filter for Custom options
|
98 |
+
|
99 |
+
`function apply_ebs_custom_option( $prevent ) {
|
100 |
+
return true;
|
101 |
+
}
|
102 |
+
add_filter( 'ebs_custom_option', 'apply_ebs_custom_option' );`
|
103 |
+
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
|
|
106 |
|
107 |
+
Filter for bootstrap_admin.css
|
|
|
|
|
|
|
108 |
|
109 |
+
`function apply_ebs_custom_bootstrap_admin_css( $prevent ) {
|
110 |
+
return true;
|
111 |
+
}
|
112 |
+
add_filter( 'ebs_custom_bootstrap_admin_css', 'apply_ebs_custom_bootstrap_admin_css' );`
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
Filter for bootstrap.min.js url this filter is only applicable if you selected js inclusion from plugin in EBS Settings
|
117 |
+
|
118 |
+
|
119 |
+
`function apply_ebs_bootstrap_js_url( $url ) {
|
120 |
+
$ebs_js_url='';// write your desired bootstrap.min.js url here
|
121 |
+
return $ebs_js_url;
|
122 |
+
}
|
123 |
+
add_filter( 'ebs_bootstrap_js_url', 'apply_ebs_bootstrap_js_url' );`
|
124 |
+
|
125 |
+
|
126 |
+
|
127 |
+
Filter for bootstrap.min.js CDN path this filter is only applicable if you selected js inclusion from CDN in EBS Settings
|
128 |
+
|
129 |
+
`function apply_ebs_bootstrap_js_cdn( $url ) {
|
130 |
+
$ebs_cdn_url='';// write your bootstrap.min.js cdn path here
|
131 |
+
return $ebs_cdn_url;
|
132 |
+
}
|
133 |
+
add_filter( 'ebs_bootstrap_js_cdn', 'apply_ebs_bootstrap_js_cdn' );`
|
134 |
+
|
135 |
+
|
136 |
+
Filter for bootstrap.min.css urlthis filter is only applicable if you selected css inclusion from plugin in EBS Settings
|
137 |
+
|
138 |
+
`function apply_ebs_bootstrap_css_url( $url ) {
|
139 |
+
$ebs_css_url='';// write your bootstrap.min.css url here
|
140 |
+
return $ebs_css_url;
|
141 |
+
}
|
142 |
+
add_filter( 'ebs_bootstrap_css_url', 'apply_ebs_bootstrap_css_url' );`
|
143 |
+
|
144 |
+
|
145 |
+
|
146 |
+
Filter for bootstrap-icon.min.css url this filter is only applicable if you selected css inclusion from plugin or theme in EBS Settings
|
147 |
+
|
148 |
+
|
149 |
+
`function apply_ebs_bootstrap_icon_css_url( $url ) {
|
150 |
+
$ebs_icon_url='';// write your bootstrap-icon.min.css url here
|
151 |
+
return $ebs_icon_url;
|
152 |
+
}
|
153 |
+
add_filter( 'ebs_bootstrap_icon_css_url', 'apply_ebs_bootstrap_icon_css_url' );`
|
154 |
+
|
155 |
+
|
156 |
+
We have removed the support of the following options
|
157 |
+
|
158 |
+
|
159 |
+
<blockquote>After adding this code user will not be able to change the files location for EBS plugin as user can't see the EBS Settings link of LHS menu in admin panel</blockquote>
|
160 |
+
|
161 |
+
`update_option( 'EBS_CUSTOM_OPTION', 1 );
|
162 |
+
update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 2 );
|
163 |
+
update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 2 );`
|
164 |
+
|
165 |
+
To give use the custom css for icons
|
166 |
+
`update_option( 'EBS_CUSTOM_BOOTSTRAP_ICON_CSS', 1 );`
|
167 |
+
|
168 |
+
And to give use the custom css for admin
|
169 |
+
`update_option( 'EBS_CUSTOM_BOOTSTRAP_ADMIN_CSS', 1 );`
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
|
172 |
If you'd like to contribute to this plugin, you can find it [hosted on GitHub](https://github.com/oscitasthemes/Easy-Bootstrap-Shortcode).
|
173 |
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
== Installation ==
|
178 |
|
179 |
1.Upload:
|
193 |
2. different shortcode options this plugin provides
|
194 |
3. columns shortcode
|
195 |
4. table shortcode
|
196 |
+
5. You can create this kind of page content very easily.
|
197 |
+
6. mobile view
|
198 |
+
7. few samples which can be created using this plugin
|
199 |
+
8. sample 2 I
|
200 |
+
9. sample 2 II
|
201 |
+
10. sample 3
|
202 |
+
11. sample 4 I
|
203 |
+
12. sample 4 II
|
204 |
+
|
205 |
|
206 |
== Changelog ==
|
207 |
|
208 |
+
|
209 |
+
= 2.4.0 =
|
210 |
+
|
211 |
+
* [Update] Updated to Twitter Bootstrap 3.0.3.
|
212 |
+
* [Update] Choose custom color option for icon in Icons Shortcode.
|
213 |
+
* [Update] Choose font size option for icon in Icons Shortcode.
|
214 |
+
* [Update] Choose custom color option for icon in Icon Heading Shortcode.
|
215 |
+
* [Update] Choose custom color option for icon in Button Shortcode.
|
216 |
+
|
217 |
+
= 2.3.6 =
|
218 |
+
|
219 |
+
* [fixed] Button Group, Button Group Toolbar, Description List icon issues fixed.
|
220 |
+
|
221 |
+
= 2.3.5 =
|
222 |
+
|
223 |
+
* [update] Banner of Easy Bootstrap Shortcodes PRO Version in settings page.
|
224 |
+
|
225 |
+
|
226 |
+
= 2.3.4 =
|
227 |
+
|
228 |
+
* [update] Implemented filter to add buttons to tinyMCE, Credit goes to Nikoya.
|
229 |
+
* [Fixed] Added class to Columns shortcode popup.
|
230 |
+
* [Fixed] Resolved issue 'Gravity Form not validating within plugin column shortcode'
|
231 |
+
|
232 |
+
= 2.3.3 =
|
233 |
+
|
234 |
+
* [update] Included respond.js to support IE 6,7,8. Of course, you can choose either you want to include it or not from settings page.
|
235 |
+
* [update] New Shortcode to create Button Group
|
236 |
+
* [update] New Shortcode to create Button Group Tool Bar
|
237 |
+
* [update] New Shortcode to create Description List
|
238 |
+
* [update] Yes, now Progress Bar shortcode supports Label too.
|
239 |
+
|
240 |
+
= 2.3.2 =
|
241 |
+
|
242 |
+
|
243 |
+
* [fixed] Fixed wpcolumns add class issues.
|
244 |
+
|
245 |
+
|
246 |
+
= 2.3.1 =
|
247 |
+
|
248 |
+
|
249 |
+
* [update] Clear left functionality added in responsive columns. Credit goes to Nikoya.
|
250 |
+
* [update] Added class to dialog box. Credit goes to Nikoya.
|
251 |
+
* [update] Bootstrap css and js updated to v3.0.2
|
252 |
+
* [fixed] Undefined index issue in toggles.
|
253 |
+
|
254 |
+
|
255 |
+
|
256 |
+
= 2.3.0 =
|
257 |
+
|
258 |
+
|
259 |
+
* [Update] now supports filters, so that you can easily give inbuilt support to this plugin to create responsive themes (Suggested by Swashata).
|
260 |
+
* [Update] Implemented support of "in" class for toggles
|
261 |
+
|
262 |
+
|
263 |
+
= 2.2.5 =
|
264 |
+
|
265 |
+
|
266 |
+
* [fixed] bootstrap icon css in frontend issue resolved.
|
267 |
+
* [fixed] Column col-xx-12 issue resolved, now it will add col-xx-12 to columns
|
268 |
+
|
269 |
+
|
270 |
+
= 2.2.4 =
|
271 |
+
|
272 |
+
|
273 |
+
* [fixed] On plugin activation TinyMCE visual editor disappear issue resolved.
|
274 |
+
|
275 |
+
|
276 |
+
= 2.2.1 =
|
277 |
+
|
278 |
+
|
279 |
+
* [Update] Removed the extra table dependency to save the plugin settings
|
280 |
+
* [fixed] css file location settings issue.
|
281 |
+
|
282 |
+
|
283 |
+
= 2.2.0 =
|
284 |
+
|
285 |
+
|
286 |
+
* [Update] now you can set the visibility of columns or full row for different screen such as large, medium, small, ex-small
|
287 |
+
|
288 |
+
|
289 |
+
= 2.1.1 =
|
290 |
+
|
291 |
+
|
292 |
+
* [Update] now use min files for bootstrap js/css files and css files for admin
|
293 |
+
* [fixed] Button shortcode target(Open in new window) flag not working issue.
|
294 |
+
* [fixed] tabs issue
|
295 |
+
|
296 |
+
|
297 |
+
= 2.0.0 =
|
298 |
+
|
299 |
+
* [New] New shortcodes for labels, progressbar, image effect, responsive image, well, dropdown button, icons
|
300 |
+
* [New] Settings option to add bootstrap.js from CDN, disable plugin js/css file.
|
301 |
+
* [Update] More control over the css, you can add your own custom class to shortcodes.
|
302 |
+
* [Update] In columns shortcode now you can add different offsets for different columns for different screen sizes such as medium, small, ex-small.
|
303 |
+
|
304 |
+
|
305 |
= 1.1 =
|
306 |
* fixed columns alternate color issue in admin panel
|
307 |
|
308 |
+
|
ebs_settings.php
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="ebs_page_settings">
|
2 |
+
<h1>Easy Bootstrap Shortcodes Settings for js/css files</h1><form name="ebs_setting" id="ebs_setting" method="post" action="">
|
3 |
+
<div class="ebs_details">
|
4 |
+
<label class="ebs_setting_label">bootstrap.js file</label>
|
5 |
+
<p>
|
6 |
+
<input type="radio" name="b_js" id="b_js_plugin" class="check_cdn" value="1" <?php echo ($js == 1) ? 'checked=checked' : '' ?>>
|
7 |
+
<label for="b_js_plugin">Use from EBS Plugin</label>
|
8 |
+
<input type="radio" name="b_js" id="b_js_theme" class="check_cdn" value="2" <?php echo ($js == 2) ? 'checked=checked' : '' ?>><label for="b_js_theme">Use from theme or any other plugin</label>
|
9 |
+
<input type="radio" name="b_js" class="check_cdn" id="b_js_cdn" <?php echo ($js == 3) ? 'checked=checked' : '' ?> value="3"><label for="b_js_cdn">Load from CDN</label>
|
10 |
+
</div>
|
11 |
+
<div class="ebs_details show_cdn" ><label class="ebs_setting_label">bootstrap.js CDN Path</label><input type="text" name="cdn_path" id="cdn_path" value="<?php echo $cdn; ?>">
|
12 |
+
</p>
|
13 |
+
</div>
|
14 |
+
<div class="ebs_details">
|
15 |
+
<label class="ebs_setting_label">respond.js file for IE6+ compatible </label>
|
16 |
+
<p>
|
17 |
+
<input type="radio" name="respond_js" id="respond_js_plugin" class="respond_cdn" value="1" <?php echo ($respond == 1) ? 'checked=checked' : '' ?>>
|
18 |
+
<label for="respond_js_plugin">Use from EBS Plugin</label>
|
19 |
+
<input type="radio" name="respond_js" id="respond_js_theme" class="respond_cdn" value="2" <?php echo ($respond == 2) ? 'checked=checked' : '' ?>><label for="respond_js_theme">Use from theme or any other plugin</label>
|
20 |
+
<input type="radio" name="respond_js" class="respond_cdn" id="respond_js_cdn" <?php echo ($respond == 3) ? 'checked=checked' : '' ?> value="3"><label for="respond_js_cdn">Load from CDN</label>
|
21 |
+
</div>
|
22 |
+
<div class="ebs_details respond_show_cdn" ><label class="ebs_setting_label">respond.js CDN Path</label><input type="text" name="respond_cdn_path" id="respond_cdn_path" value="<?php echo $respondcdn; ?>">
|
23 |
+
</p>
|
24 |
+
</div>
|
25 |
+
<div class="ebs_details">
|
26 |
+
|
27 |
+
<label class="ebs_setting_label">bootstrap.css file</label>
|
28 |
+
<p><input type="radio" name="b_css" id="b_css_plugin" value="1" <?php echo ($css == 1) ? 'checked=checked' : '' ?>>
|
29 |
+
<label for="b_css_plugin" >Use from EBS Plugin</label>
|
30 |
+
<input type="radio" name="b_css" id="b_css_theme" value="2" <?php echo ($css == 2) ? 'checked=checked' : '' ?>><label for="b_css_theme">Use from theme or any other plugin</label>
|
31 |
+
</p>
|
32 |
+
</div>
|
33 |
+
<div class="ebs_btn"><input type="submit" name="ebs_submit" value="Update Settings"></div>
|
34 |
+
<div style="clear: both;"></div>
|
35 |
+
<br /><br /><br />
|
36 |
+
<b>CDN Links for bootstrap.js, you can use any of these</b>
|
37 |
+
<ul>
|
38 |
+
<li>
|
39 |
+
//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js
|
40 |
+
</li>
|
41 |
+
<li>
|
42 |
+
//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.0/js/bootstrap.min.js
|
43 |
+
</li>
|
44 |
+
</ul>
|
45 |
+
<br/>
|
46 |
+
<b>CDN Links for respond.js, you can use any of these</b>
|
47 |
+
<ul>
|
48 |
+
<li>
|
49 |
+
//cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
|
50 |
+
</li>
|
51 |
+
</ul>
|
52 |
+
</form>
|
53 |
+
<br />
|
54 |
+
<a href="http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/" target="_blank">
|
55 |
+
<img style="border: 0px;" src="<?php echo plugins_url("images/ebs-pro.jpg", __FILE__); ?>">
|
56 |
+
</a>
|
57 |
+
</div>
|
58 |
+
<script type="text/javascript">
|
59 |
+
function show_cdn(){
|
60 |
+
if(jQuery('#b_js_cdn').prop('checked')){
|
61 |
+
jQuery('.show_cdn').show();
|
62 |
+
} else{
|
63 |
+
jQuery('.show_cdn').hide();
|
64 |
+
}
|
65 |
+
}
|
66 |
+
function show_respond_cdn(){
|
67 |
+
if(jQuery('#respond_js_cdn').prop('checked')){
|
68 |
+
jQuery('.respond_show_cdn').show();
|
69 |
+
} else{
|
70 |
+
jQuery('.respond_show_cdn').hide();
|
71 |
+
}
|
72 |
+
}
|
73 |
+
jQuery(document).ready(function(){
|
74 |
+
show_cdn();
|
75 |
+
show_respond_cdn();
|
76 |
+
jQuery('.check_cdn').click(function(){
|
77 |
+
show_cdn();
|
78 |
+
})
|
79 |
+
jQuery('.respond_cdn').click(function(){
|
80 |
+
show_respond_cdn();
|
81 |
+
})
|
82 |
+
})
|
83 |
+
</script>
|
images/Thumbs.db
DELETED
Binary file
|
images/colorpicker_background.png
DELETED
Binary file
|
images/colorpicker_hex.png
DELETED
Binary file
|
images/colorpicker_hsb_b.png
DELETED
Binary file
|
images/colorpicker_hsb_h.png
DELETED
Binary file
|
images/colorpicker_hsb_s.png
DELETED
Binary file
|
images/colorpicker_indic.gif
DELETED
Binary file
|
images/colorpicker_overlay.png
DELETED
Binary file
|
images/colorpicker_rgb_b.png
DELETED
Binary file
|
images/colorpicker_rgb_g.png
DELETED
Binary file
|
images/colorpicker_rgb_r.png
DELETED
Binary file
|
images/colorpicker_select.gif
DELETED
Binary file
|
images/colorpicker_submit.png
DELETED
Binary file
|
images/custom_background.png
DELETED
Binary file
|
images/custom_hex.png
DELETED
Binary file
|
images/custom_hsb_b.png
DELETED
Binary file
|
images/custom_hsb_h.png
DELETED
Binary file
|
images/custom_hsb_s.png
DELETED
Binary file
|
images/custom_indic.gif
DELETED
Binary file
|
images/custom_rgb_b.png
DELETED
Binary file
|
images/custom_rgb_g.png
DELETED
Binary file
|
images/custom_rgb_r.png
DELETED
Binary file
|
images/custom_submit.png
DELETED
Binary file
|
images/ebs-pro.jpg
ADDED
Binary file
|
images/icon.png
ADDED
Binary file
|
images/select.png
DELETED
Binary file
|
images/select2.png
DELETED
Binary file
|
images/slider.png
DELETED
Binary file
|
js/bootstrap.js
DELETED
@@ -1,1999 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* bootstrap.js v3.0.0 by @fat and @mdo
|
3 |
-
* Copyright 2013 Twitter Inc.
|
4 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5 |
-
*/
|
6 |
-
if (!jQuery) { throw new Error("Bootstrap requires jQuery") }
|
7 |
-
|
8 |
-
/* ========================================================================
|
9 |
-
* Bootstrap: transition.js v3.0.0
|
10 |
-
* http://twbs.github.com/bootstrap/javascript.html#transitions
|
11 |
-
* ========================================================================
|
12 |
-
* Copyright 2013 Twitter, Inc.
|
13 |
-
*
|
14 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
15 |
-
* you may not use this file except in compliance with the License.
|
16 |
-
* You may obtain a copy of the License at
|
17 |
-
*
|
18 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
19 |
-
*
|
20 |
-
* Unless required by applicable law or agreed to in writing, software
|
21 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
22 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23 |
-
* See the License for the specific language governing permissions and
|
24 |
-
* limitations under the License.
|
25 |
-
* ======================================================================== */
|
26 |
-
|
27 |
-
|
28 |
-
+function ($) { "use strict";
|
29 |
-
|
30 |
-
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
31 |
-
// ============================================================
|
32 |
-
|
33 |
-
function transitionEnd() {
|
34 |
-
var el = document.createElement('bootstrap')
|
35 |
-
|
36 |
-
var transEndEventNames = {
|
37 |
-
'WebkitTransition' : 'webkitTransitionEnd'
|
38 |
-
, 'MozTransition' : 'transitionend'
|
39 |
-
, 'OTransition' : 'oTransitionEnd otransitionend'
|
40 |
-
, 'transition' : 'transitionend'
|
41 |
-
}
|
42 |
-
|
43 |
-
for (var name in transEndEventNames) {
|
44 |
-
if (el.style[name] !== undefined) {
|
45 |
-
return { end: transEndEventNames[name] }
|
46 |
-
}
|
47 |
-
}
|
48 |
-
}
|
49 |
-
|
50 |
-
// http://blog.alexmaccaw.com/css-transitions
|
51 |
-
$.fn.emulateTransitionEnd = function (duration) {
|
52 |
-
var called = false, $el = this
|
53 |
-
$(this).one($.support.transition.end, function () { called = true })
|
54 |
-
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
55 |
-
setTimeout(callback, duration)
|
56 |
-
return this
|
57 |
-
}
|
58 |
-
|
59 |
-
$(function () {
|
60 |
-
$.support.transition = transitionEnd()
|
61 |
-
})
|
62 |
-
|
63 |
-
}(window.jQuery);
|
64 |
-
|
65 |
-
/* ========================================================================
|
66 |
-
* Bootstrap: alert.js v3.0.0
|
67 |
-
* http://twbs.github.com/bootstrap/javascript.html#alerts
|
68 |
-
* ========================================================================
|
69 |
-
* Copyright 2013 Twitter, Inc.
|
70 |
-
*
|
71 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
72 |
-
* you may not use this file except in compliance with the License.
|
73 |
-
* You may obtain a copy of the License at
|
74 |
-
*
|
75 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
76 |
-
*
|
77 |
-
* Unless required by applicable law or agreed to in writing, software
|
78 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
79 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
80 |
-
* See the License for the specific language governing permissions and
|
81 |
-
* limitations under the License.
|
82 |
-
* ======================================================================== */
|
83 |
-
|
84 |
-
|
85 |
-
+function ($) { "use strict";
|
86 |
-
|
87 |
-
// ALERT CLASS DEFINITION
|
88 |
-
// ======================
|
89 |
-
|
90 |
-
var dismiss = '[data-dismiss="alert"]'
|
91 |
-
var Alert = function (el) {
|
92 |
-
$(el).on('click', dismiss, this.close)
|
93 |
-
}
|
94 |
-
|
95 |
-
Alert.prototype.close = function (e) {
|
96 |
-
var $this = $(this)
|
97 |
-
var selector = $this.attr('data-target')
|
98 |
-
|
99 |
-
if (!selector) {
|
100 |
-
selector = $this.attr('href')
|
101 |
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
102 |
-
}
|
103 |
-
|
104 |
-
var $parent = $(selector)
|
105 |
-
|
106 |
-
if (e) e.preventDefault()
|
107 |
-
|
108 |
-
if (!$parent.length) {
|
109 |
-
$parent = $this.hasClass('alert') ? $this : $this.parent()
|
110 |
-
}
|
111 |
-
|
112 |
-
$parent.trigger(e = $.Event('close.bs.alert'))
|
113 |
-
|
114 |
-
if (e.isDefaultPrevented()) return
|
115 |
-
|
116 |
-
$parent.removeClass('in')
|
117 |
-
|
118 |
-
function removeElement() {
|
119 |
-
$parent.trigger('closed.bs.alert').remove()
|
120 |
-
}
|
121 |
-
|
122 |
-
$.support.transition && $parent.hasClass('fade') ?
|
123 |
-
$parent
|
124 |
-
.one($.support.transition.end, removeElement)
|
125 |
-
.emulateTransitionEnd(150) :
|
126 |
-
removeElement()
|
127 |
-
}
|
128 |
-
|
129 |
-
|
130 |
-
// ALERT PLUGIN DEFINITION
|
131 |
-
// =======================
|
132 |
-
|
133 |
-
var old = $.fn.alert
|
134 |
-
|
135 |
-
$.fn.alert = function (option) {
|
136 |
-
return this.each(function () {
|
137 |
-
var $this = $(this)
|
138 |
-
var data = $this.data('bs.alert')
|
139 |
-
|
140 |
-
if (!data) $this.data('bs.alert', (data = new Alert(this)))
|
141 |
-
if (typeof option == 'string') data[option].call($this)
|
142 |
-
})
|
143 |
-
}
|
144 |
-
|
145 |
-
$.fn.alert.Constructor = Alert
|
146 |
-
|
147 |
-
|
148 |
-
// ALERT NO CONFLICT
|
149 |
-
// =================
|
150 |
-
|
151 |
-
$.fn.alert.noConflict = function () {
|
152 |
-
$.fn.alert = old
|
153 |
-
return this
|
154 |
-
}
|
155 |
-
|
156 |
-
|
157 |
-
// ALERT DATA-API
|
158 |
-
// ==============
|
159 |
-
|
160 |
-
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
161 |
-
|
162 |
-
}(window.jQuery);
|
163 |
-
|
164 |
-
/* ========================================================================
|
165 |
-
* Bootstrap: button.js v3.0.0
|
166 |
-
* http://twbs.github.com/bootstrap/javascript.html#buttons
|
167 |
-
* ========================================================================
|
168 |
-
* Copyright 2013 Twitter, Inc.
|
169 |
-
*
|
170 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
171 |
-
* you may not use this file except in compliance with the License.
|
172 |
-
* You may obtain a copy of the License at
|
173 |
-
*
|
174 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
175 |
-
*
|
176 |
-
* Unless required by applicable law or agreed to in writing, software
|
177 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
178 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
179 |
-
* See the License for the specific language governing permissions and
|
180 |
-
* limitations under the License.
|
181 |
-
* ======================================================================== */
|
182 |
-
|
183 |
-
|
184 |
-
+function ($) { "use strict";
|
185 |
-
|
186 |
-
// BUTTON PUBLIC CLASS DEFINITION
|
187 |
-
// ==============================
|
188 |
-
|
189 |
-
var Button = function (element, options) {
|
190 |
-
this.$element = $(element)
|
191 |
-
this.options = $.extend({}, Button.DEFAULTS, options)
|
192 |
-
}
|
193 |
-
|
194 |
-
Button.DEFAULTS = {
|
195 |
-
loadingText: 'loading...'
|
196 |
-
}
|
197 |
-
|
198 |
-
Button.prototype.setState = function (state) {
|
199 |
-
var d = 'disabled'
|
200 |
-
var $el = this.$element
|
201 |
-
var val = $el.is('input') ? 'val' : 'html'
|
202 |
-
var data = $el.data()
|
203 |
-
|
204 |
-
state = state + 'Text'
|
205 |
-
|
206 |
-
if (!data.resetText) $el.data('resetText', $el[val]())
|
207 |
-
|
208 |
-
$el[val](data[state] || this.options[state])
|
209 |
-
|
210 |
-
// push to event loop to allow forms to submit
|
211 |
-
setTimeout(function () {
|
212 |
-
state == 'loadingText' ?
|
213 |
-
$el.addClass(d).attr(d, d) :
|
214 |
-
$el.removeClass(d).removeAttr(d);
|
215 |
-
}, 0)
|
216 |
-
}
|
217 |
-
|
218 |
-
Button.prototype.toggle = function () {
|
219 |
-
var $parent = this.$element.closest('[data-toggle="buttons"]')
|
220 |
-
|
221 |
-
if ($parent.length) {
|
222 |
-
var $input = this.$element.find('input')
|
223 |
-
.prop('checked', !this.$element.hasClass('active'))
|
224 |
-
.trigger('change')
|
225 |
-
if ($input.prop('type') === 'radio') $parent.find('.active').removeClass('active')
|
226 |
-
}
|
227 |
-
|
228 |
-
this.$element.toggleClass('active')
|
229 |
-
}
|
230 |
-
|
231 |
-
|
232 |
-
// BUTTON PLUGIN DEFINITION
|
233 |
-
// ========================
|
234 |
-
|
235 |
-
var old = $.fn.button
|
236 |
-
|
237 |
-
$.fn.button = function (option) {
|
238 |
-
return this.each(function () {
|
239 |
-
var $this = $(this)
|
240 |
-
var data = $this.data('bs.button')
|
241 |
-
var options = typeof option == 'object' && option
|
242 |
-
|
243 |
-
if (!data) $this.data('bs.button', (data = new Button(this, options)))
|
244 |
-
|
245 |
-
if (option == 'toggle') data.toggle()
|
246 |
-
else if (option) data.setState(option)
|
247 |
-
})
|
248 |
-
}
|
249 |
-
|
250 |
-
$.fn.button.Constructor = Button
|
251 |
-
|
252 |
-
|
253 |
-
// BUTTON NO CONFLICT
|
254 |
-
// ==================
|
255 |
-
|
256 |
-
$.fn.button.noConflict = function () {
|
257 |
-
$.fn.button = old
|
258 |
-
return this
|
259 |
-
}
|
260 |
-
|
261 |
-
|
262 |
-
// BUTTON DATA-API
|
263 |
-
// ===============
|
264 |
-
|
265 |
-
$(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
|
266 |
-
var $btn = $(e.target)
|
267 |
-
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
|
268 |
-
$btn.button('toggle')
|
269 |
-
e.preventDefault()
|
270 |
-
})
|
271 |
-
|
272 |
-
}(window.jQuery);
|
273 |
-
|
274 |
-
/* ========================================================================
|
275 |
-
* Bootstrap: carousel.js v3.0.0
|
276 |
-
* http://twbs.github.com/bootstrap/javascript.html#carousel
|
277 |
-
* ========================================================================
|
278 |
-
* Copyright 2012 Twitter, Inc.
|
279 |
-
*
|
280 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
281 |
-
* you may not use this file except in compliance with the License.
|
282 |
-
* You may obtain a copy of the License at
|
283 |
-
*
|
284 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
285 |
-
*
|
286 |
-
* Unless required by applicable law or agreed to in writing, software
|
287 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
288 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
289 |
-
* See the License for the specific language governing permissions and
|
290 |
-
* limitations under the License.
|
291 |
-
* ======================================================================== */
|
292 |
-
|
293 |
-
|
294 |
-
+function ($) { "use strict";
|
295 |
-
|
296 |
-
// CAROUSEL CLASS DEFINITION
|
297 |
-
// =========================
|
298 |
-
|
299 |
-
var Carousel = function (element, options) {
|
300 |
-
this.$element = $(element)
|
301 |
-
this.$indicators = this.$element.find('.carousel-indicators')
|
302 |
-
this.options = options
|
303 |
-
this.paused =
|
304 |
-
this.sliding =
|
305 |
-
this.interval =
|
306 |
-
this.$active =
|
307 |
-
this.$items = null
|
308 |
-
|
309 |
-
this.options.pause == 'hover' && this.$element
|
310 |
-
.on('mouseenter', $.proxy(this.pause, this))
|
311 |
-
.on('mouseleave', $.proxy(this.cycle, this))
|
312 |
-
}
|
313 |
-
|
314 |
-
Carousel.DEFAULTS = {
|
315 |
-
interval: 5000
|
316 |
-
, pause: 'hover'
|
317 |
-
, wrap: true
|
318 |
-
}
|
319 |
-
|
320 |
-
Carousel.prototype.cycle = function (e) {
|
321 |
-
e || (this.paused = false)
|
322 |
-
|
323 |
-
this.interval && clearInterval(this.interval)
|
324 |
-
|
325 |
-
this.options.interval
|
326 |
-
&& !this.paused
|
327 |
-
&& (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
|
328 |
-
|
329 |
-
return this
|
330 |
-
}
|
331 |
-
|
332 |
-
Carousel.prototype.getActiveIndex = function () {
|
333 |
-
this.$active = this.$element.find('.item.active')
|
334 |
-
this.$items = this.$active.parent().children()
|
335 |
-
|
336 |
-
return this.$items.index(this.$active)
|
337 |
-
}
|
338 |
-
|
339 |
-
Carousel.prototype.to = function (pos) {
|
340 |
-
var that = this
|
341 |
-
var activeIndex = this.getActiveIndex()
|
342 |
-
|
343 |
-
if (pos > (this.$items.length - 1) || pos < 0) return
|
344 |
-
|
345 |
-
if (this.sliding) return this.$element.one('slid', function () { that.to(pos) })
|
346 |
-
if (activeIndex == pos) return this.pause().cycle()
|
347 |
-
|
348 |
-
return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
|
349 |
-
}
|
350 |
-
|
351 |
-
Carousel.prototype.pause = function (e) {
|
352 |
-
e || (this.paused = true)
|
353 |
-
|
354 |
-
if (this.$element.find('.next, .prev').length && $.support.transition.end) {
|
355 |
-
this.$element.trigger($.support.transition.end)
|
356 |
-
this.cycle(true)
|
357 |
-
}
|
358 |
-
|
359 |
-
this.interval = clearInterval(this.interval)
|
360 |
-
|
361 |
-
return this
|
362 |
-
}
|
363 |
-
|
364 |
-
Carousel.prototype.next = function () {
|
365 |
-
if (this.sliding) return
|
366 |
-
return this.slide('next')
|
367 |
-
}
|
368 |
-
|
369 |
-
Carousel.prototype.prev = function () {
|
370 |
-
if (this.sliding) return
|
371 |
-
return this.slide('prev')
|
372 |
-
}
|
373 |
-
|
374 |
-
Carousel.prototype.slide = function (type, next) {
|
375 |
-
var $active = this.$element.find('.item.active')
|
376 |
-
var $next = next || $active[type]()
|
377 |
-
var isCycling = this.interval
|
378 |
-
var direction = type == 'next' ? 'left' : 'right'
|
379 |
-
var fallback = type == 'next' ? 'first' : 'last'
|
380 |
-
var that = this
|
381 |
-
|
382 |
-
if (!$next.length) {
|
383 |
-
if (!this.options.wrap) return
|
384 |
-
$next = this.$element.find('.item')[fallback]()
|
385 |
-
}
|
386 |
-
|
387 |
-
this.sliding = true
|
388 |
-
|
389 |
-
isCycling && this.pause()
|
390 |
-
|
391 |
-
var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
|
392 |
-
|
393 |
-
if ($next.hasClass('active')) return
|
394 |
-
|
395 |
-
if (this.$indicators.length) {
|
396 |
-
this.$indicators.find('.active').removeClass('active')
|
397 |
-
this.$element.one('slid', function () {
|
398 |
-
var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
|
399 |
-
$nextIndicator && $nextIndicator.addClass('active')
|
400 |
-
})
|
401 |
-
}
|
402 |
-
|
403 |
-
if ($.support.transition && this.$element.hasClass('slide')) {
|
404 |
-
this.$element.trigger(e)
|
405 |
-
if (e.isDefaultPrevented()) return
|
406 |
-
$next.addClass(type)
|
407 |
-
$next[0].offsetWidth // force reflow
|
408 |
-
$active.addClass(direction)
|
409 |
-
$next.addClass(direction)
|
410 |
-
$active
|
411 |
-
.one($.support.transition.end, function () {
|
412 |
-
$next.removeClass([type, direction].join(' ')).addClass('active')
|
413 |
-
$active.removeClass(['active', direction].join(' '))
|
414 |
-
that.sliding = false
|
415 |
-
setTimeout(function () { that.$element.trigger('slid') }, 0)
|
416 |
-
})
|
417 |
-
.emulateTransitionEnd(600)
|
418 |
-
} else {
|
419 |
-
this.$element.trigger(e)
|
420 |
-
if (e.isDefaultPrevented()) return
|
421 |
-
$active.removeClass('active')
|
422 |
-
$next.addClass('active')
|
423 |
-
this.sliding = false
|
424 |
-
this.$element.trigger('slid')
|
425 |
-
}
|
426 |
-
|
427 |
-
isCycling && this.cycle()
|
428 |
-
|
429 |
-
return this
|
430 |
-
}
|
431 |
-
|
432 |
-
|
433 |
-
// CAROUSEL PLUGIN DEFINITION
|
434 |
-
// ==========================
|
435 |
-
|
436 |
-
var old = $.fn.carousel
|
437 |
-
|
438 |
-
$.fn.carousel = function (option) {
|
439 |
-
return this.each(function () {
|
440 |
-
var $this = $(this)
|
441 |
-
var data = $this.data('bs.carousel')
|
442 |
-
var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
443 |
-
var action = typeof option == 'string' ? option : options.slide
|
444 |
-
|
445 |
-
if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
|
446 |
-
if (typeof option == 'number') data.to(option)
|
447 |
-
else if (action) data[action]()
|
448 |
-
else if (options.interval) data.pause().cycle()
|
449 |
-
})
|
450 |
-
}
|
451 |
-
|
452 |
-
$.fn.carousel.Constructor = Carousel
|
453 |
-
|
454 |
-
|
455 |
-
// CAROUSEL NO CONFLICT
|
456 |
-
// ====================
|
457 |
-
|
458 |
-
$.fn.carousel.noConflict = function () {
|
459 |
-
$.fn.carousel = old
|
460 |
-
return this
|
461 |
-
}
|
462 |
-
|
463 |
-
|
464 |
-
// CAROUSEL DATA-API
|
465 |
-
// =================
|
466 |
-
|
467 |
-
$(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
|
468 |
-
var $this = $(this), href
|
469 |
-
var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
470 |
-
var options = $.extend({}, $target.data(), $this.data())
|
471 |
-
var slideIndex = $this.attr('data-slide-to')
|
472 |
-
if (slideIndex) options.interval = false
|
473 |
-
|
474 |
-
$target.carousel(options)
|
475 |
-
|
476 |
-
if (slideIndex = $this.attr('data-slide-to')) {
|
477 |
-
$target.data('bs.carousel').to(slideIndex)
|
478 |
-
}
|
479 |
-
|
480 |
-
e.preventDefault()
|
481 |
-
})
|
482 |
-
|
483 |
-
$(window).on('load', function () {
|
484 |
-
$('[data-ride="carousel"]').each(function () {
|
485 |
-
var $carousel = $(this)
|
486 |
-
$carousel.carousel($carousel.data())
|
487 |
-
})
|
488 |
-
})
|
489 |
-
|
490 |
-
}(window.jQuery);
|
491 |
-
|
492 |
-
/* ========================================================================
|
493 |
-
* Bootstrap: collapse.js v3.0.0
|
494 |
-
* http://twbs.github.com/bootstrap/javascript.html#collapse
|
495 |
-
* ========================================================================
|
496 |
-
* Copyright 2012 Twitter, Inc.
|
497 |
-
*
|
498 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
499 |
-
* you may not use this file except in compliance with the License.
|
500 |
-
* You may obtain a copy of the License at
|
501 |
-
*
|
502 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
503 |
-
*
|
504 |
-
* Unless required by applicable law or agreed to in writing, software
|
505 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
506 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
507 |
-
* See the License for the specific language governing permissions and
|
508 |
-
* limitations under the License.
|
509 |
-
* ======================================================================== */
|
510 |
-
|
511 |
-
|
512 |
-
+function ($) { "use strict";
|
513 |
-
|
514 |
-
// COLLAPSE PUBLIC CLASS DEFINITION
|
515 |
-
// ================================
|
516 |
-
|
517 |
-
var Collapse = function (element, options) {
|
518 |
-
this.$element = $(element)
|
519 |
-
this.options = $.extend({}, Collapse.DEFAULTS, options)
|
520 |
-
this.transitioning = null
|
521 |
-
|
522 |
-
if (this.options.parent) this.$parent = $(this.options.parent)
|
523 |
-
if (this.options.toggle) this.toggle()
|
524 |
-
}
|
525 |
-
|
526 |
-
Collapse.DEFAULTS = {
|
527 |
-
toggle: true
|
528 |
-
}
|
529 |
-
|
530 |
-
Collapse.prototype.dimension = function () {
|
531 |
-
var hasWidth = this.$element.hasClass('width')
|
532 |
-
return hasWidth ? 'width' : 'height'
|
533 |
-
}
|
534 |
-
|
535 |
-
Collapse.prototype.show = function () {
|
536 |
-
if (this.transitioning || this.$element.hasClass('in')) return
|
537 |
-
|
538 |
-
var startEvent = $.Event('show.bs.collapse')
|
539 |
-
this.$element.trigger(startEvent)
|
540 |
-
if (startEvent.isDefaultPrevented()) return
|
541 |
-
|
542 |
-
var actives = this.$parent && this.$parent.find('> .panel > .in')
|
543 |
-
|
544 |
-
if (actives && actives.length) {
|
545 |
-
var hasData = actives.data('bs.collapse')
|
546 |
-
if (hasData && hasData.transitioning) return
|
547 |
-
actives.collapse('hide')
|
548 |
-
hasData || actives.data('bs.collapse', null)
|
549 |
-
}
|
550 |
-
|
551 |
-
var dimension = this.dimension()
|
552 |
-
|
553 |
-
this.$element
|
554 |
-
.removeClass('collapse')
|
555 |
-
.addClass('collapsing')
|
556 |
-
[dimension](0)
|
557 |
-
|
558 |
-
this.transitioning = 1
|
559 |
-
|
560 |
-
var complete = function () {
|
561 |
-
this.$element
|
562 |
-
.removeClass('collapsing')
|
563 |
-
.addClass('in')
|
564 |
-
[dimension]('auto')
|
565 |
-
this.transitioning = 0
|
566 |
-
this.$element.trigger('shown.bs.collapse')
|
567 |
-
}
|
568 |
-
|
569 |
-
if (!$.support.transition) return complete.call(this)
|
570 |
-
|
571 |
-
var scrollSize = $.camelCase(['scroll', dimension].join('-'))
|
572 |
-
|
573 |
-
this.$element
|
574 |
-
.one($.support.transition.end, $.proxy(complete, this))
|
575 |
-
.emulateTransitionEnd(350)
|
576 |
-
[dimension](this.$element[0][scrollSize])
|
577 |
-
}
|
578 |
-
|
579 |
-
Collapse.prototype.hide = function () {
|
580 |
-
if (this.transitioning || !this.$element.hasClass('in')) return
|
581 |
-
|
582 |
-
var startEvent = $.Event('hide.bs.collapse')
|
583 |
-
this.$element.trigger(startEvent)
|
584 |
-
if (startEvent.isDefaultPrevented()) return
|
585 |
-
|
586 |
-
var dimension = this.dimension()
|
587 |
-
|
588 |
-
this.$element
|
589 |
-
[dimension](this.$element[dimension]())
|
590 |
-
[0].offsetHeight
|
591 |
-
|
592 |
-
this.$element
|
593 |
-
.addClass('collapsing')
|
594 |
-
.removeClass('collapse')
|
595 |
-
.removeClass('in')
|
596 |
-
|
597 |
-
this.transitioning = 1
|
598 |
-
|
599 |
-
var complete = function () {
|
600 |
-
this.transitioning = 0
|
601 |
-
this.$element
|
602 |
-
.trigger('hidden.bs.collapse')
|
603 |
-
.removeClass('collapsing')
|
604 |
-
.addClass('collapse')
|
605 |
-
}
|
606 |
-
|
607 |
-
if (!$.support.transition) return complete.call(this)
|
608 |
-
|
609 |
-
this.$element
|
610 |
-
[dimension](0)
|
611 |
-
.one($.support.transition.end, $.proxy(complete, this))
|
612 |
-
.emulateTransitionEnd(350)
|
613 |
-
}
|
614 |
-
|
615 |
-
Collapse.prototype.toggle = function () {
|
616 |
-
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
617 |
-
}
|
618 |
-
|
619 |
-
|
620 |
-
// COLLAPSE PLUGIN DEFINITION
|
621 |
-
// ==========================
|
622 |
-
|
623 |
-
var old = $.fn.collapse
|
624 |
-
|
625 |
-
$.fn.collapse = function (option) {
|
626 |
-
return this.each(function () {
|
627 |
-
var $this = $(this)
|
628 |
-
var data = $this.data('bs.collapse')
|
629 |
-
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
630 |
-
|
631 |
-
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
|
632 |
-
if (typeof option == 'string') data[option]()
|
633 |
-
})
|
634 |
-
}
|
635 |
-
|
636 |
-
$.fn.collapse.Constructor = Collapse
|
637 |
-
|
638 |
-
|
639 |
-
// COLLAPSE NO CONFLICT
|
640 |
-
// ====================
|
641 |
-
|
642 |
-
$.fn.collapse.noConflict = function () {
|
643 |
-
$.fn.collapse = old
|
644 |
-
return this
|
645 |
-
}
|
646 |
-
|
647 |
-
|
648 |
-
// COLLAPSE DATA-API
|
649 |
-
// =================
|
650 |
-
|
651 |
-
$(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
|
652 |
-
var $this = $(this), href
|
653 |
-
var target = $this.attr('data-target')
|
654 |
-
|| e.preventDefault()
|
655 |
-
|| (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
|
656 |
-
var $target = $(target)
|
657 |
-
var data = $target.data('bs.collapse')
|
658 |
-
var option = data ? 'toggle' : $this.data()
|
659 |
-
var parent = $this.attr('data-parent')
|
660 |
-
var $parent = parent && $(parent)
|
661 |
-
|
662 |
-
if (!data || !data.transitioning) {
|
663 |
-
if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
|
664 |
-
$this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
|
665 |
-
}
|
666 |
-
|
667 |
-
$target.collapse(option)
|
668 |
-
})
|
669 |
-
|
670 |
-
}(window.jQuery);
|
671 |
-
|
672 |
-
/* ========================================================================
|
673 |
-
* Bootstrap: dropdown.js v3.0.0
|
674 |
-
* http://twbs.github.com/bootstrap/javascript.html#dropdowns
|
675 |
-
* ========================================================================
|
676 |
-
* Copyright 2012 Twitter, Inc.
|
677 |
-
*
|
678 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
679 |
-
* you may not use this file except in compliance with the License.
|
680 |
-
* You may obtain a copy of the License at
|
681 |
-
*
|
682 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
683 |
-
*
|
684 |
-
* Unless required by applicable law or agreed to in writing, software
|
685 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
686 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
687 |
-
* See the License for the specific language governing permissions and
|
688 |
-
* limitations under the License.
|
689 |
-
* ======================================================================== */
|
690 |
-
|
691 |
-
|
692 |
-
+function ($) { "use strict";
|
693 |
-
|
694 |
-
// DROPDOWN CLASS DEFINITION
|
695 |
-
// =========================
|
696 |
-
|
697 |
-
var backdrop = '.dropdown-backdrop'
|
698 |
-
var toggle = '[data-toggle=dropdown]'
|
699 |
-
var Dropdown = function (element) {
|
700 |
-
var $el = $(element).on('click.bs.dropdown', this.toggle)
|
701 |
-
}
|
702 |
-
|
703 |
-
Dropdown.prototype.toggle = function (e) {
|
704 |
-
var $this = $(this)
|
705 |
-
|
706 |
-
if ($this.is('.disabled, :disabled')) return
|
707 |
-
|
708 |
-
var $parent = getParent($this)
|
709 |
-
var isActive = $parent.hasClass('open')
|
710 |
-
|
711 |
-
clearMenus()
|
712 |
-
|
713 |
-
if (!isActive) {
|
714 |
-
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
|
715 |
-
// if mobile we we use a backdrop because click events don't delegate
|
716 |
-
$('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
|
717 |
-
}
|
718 |
-
|
719 |
-
$parent.trigger(e = $.Event('show.bs.dropdown'))
|
720 |
-
|
721 |
-
if (e.isDefaultPrevented()) return
|
722 |
-
|
723 |
-
$parent
|
724 |
-
.toggleClass('open')
|
725 |
-
.trigger('shown.bs.dropdown')
|
726 |
-
|
727 |
-
$this.focus()
|
728 |
-
}
|
729 |
-
|
730 |
-
return false
|
731 |
-
}
|
732 |
-
|
733 |
-
Dropdown.prototype.keydown = function (e) {
|
734 |
-
if (!/(38|40|27)/.test(e.keyCode)) return
|
735 |
-
|
736 |
-
var $this = $(this)
|
737 |
-
|
738 |
-
e.preventDefault()
|
739 |
-
e.stopPropagation()
|
740 |
-
|
741 |
-
if ($this.is('.disabled, :disabled')) return
|
742 |
-
|
743 |
-
var $parent = getParent($this)
|
744 |
-
var isActive = $parent.hasClass('open')
|
745 |
-
|
746 |
-
if (!isActive || (isActive && e.keyCode == 27)) {
|
747 |
-
if (e.which == 27) $parent.find(toggle).focus()
|
748 |
-
return $this.click()
|
749 |
-
}
|
750 |
-
|
751 |
-
var $items = $('[role=menu] li:not(.divider):visible a', $parent)
|
752 |
-
|
753 |
-
if (!$items.length) return
|
754 |
-
|
755 |
-
var index = $items.index($items.filter(':focus'))
|
756 |
-
|
757 |
-
if (e.keyCode == 38 && index > 0) index-- // up
|
758 |
-
if (e.keyCode == 40 && index < $items.length - 1) index++ // down
|
759 |
-
if (!~index) index=0
|
760 |
-
|
761 |
-
$items.eq(index).focus()
|
762 |
-
}
|
763 |
-
|
764 |
-
function clearMenus() {
|
765 |
-
$(backdrop).remove()
|
766 |
-
$(toggle).each(function (e) {
|
767 |
-
var $parent = getParent($(this))
|
768 |
-
if (!$parent.hasClass('open')) return
|
769 |
-
$parent.trigger(e = $.Event('hide.bs.dropdown'))
|
770 |
-
if (e.isDefaultPrevented()) return
|
771 |
-
$parent.removeClass('open').trigger('hidden.bs.dropdown')
|
772 |
-
})
|
773 |
-
}
|
774 |
-
|
775 |
-
function getParent($this) {
|
776 |
-
var selector = $this.attr('data-target')
|
777 |
-
|
778 |
-
if (!selector) {
|
779 |
-
selector = $this.attr('href')
|
780 |
-
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
781 |
-
}
|
782 |
-
|
783 |
-
var $parent = selector && $(selector)
|
784 |
-
|
785 |
-
return $parent && $parent.length ? $parent : $this.parent()
|
786 |
-
}
|
787 |
-
|
788 |
-
|
789 |
-
// DROPDOWN PLUGIN DEFINITION
|
790 |
-
// ==========================
|
791 |
-
|
792 |
-
var old = $.fn.dropdown
|
793 |
-
|
794 |
-
$.fn.dropdown = function (option) {
|
795 |
-
return this.each(function () {
|
796 |
-
var $this = $(this)
|
797 |
-
var data = $this.data('dropdown')
|
798 |
-
|
799 |
-
if (!data) $this.data('dropdown', (data = new Dropdown(this)))
|
800 |
-
if (typeof option == 'string') data[option].call($this)
|
801 |
-
})
|
802 |
-
}
|
803 |
-
|
804 |
-
$.fn.dropdown.Constructor = Dropdown
|
805 |
-
|
806 |
-
|
807 |
-
// DROPDOWN NO CONFLICT
|
808 |
-
// ====================
|
809 |
-
|
810 |
-
$.fn.dropdown.noConflict = function () {
|
811 |
-
$.fn.dropdown = old
|
812 |
-
return this
|
813 |
-
}
|
814 |
-
|
815 |
-
|
816 |
-
// APPLY TO STANDARD DROPDOWN ELEMENTS
|
817 |
-
// ===================================
|
818 |
-
|
819 |
-
$(document)
|
820 |
-
.on('click.bs.dropdown.data-api', clearMenus)
|
821 |
-
.on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
822 |
-
.on('click.bs.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
823 |
-
.on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
824 |
-
|
825 |
-
}(window.jQuery);
|
826 |
-
|
827 |
-
/* ========================================================================
|
828 |
-
* Bootstrap: modal.js v3.0.0
|
829 |
-
* http://twbs.github.com/bootstrap/javascript.html#modals
|
830 |
-
* ========================================================================
|
831 |
-
* Copyright 2012 Twitter, Inc.
|
832 |
-
*
|
833 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
834 |
-
* you may not use this file except in compliance with the License.
|
835 |
-
* You may obtain a copy of the License at
|
836 |
-
*
|
837 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
838 |
-
*
|
839 |
-
* Unless required by applicable law or agreed to in writing, software
|
840 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
841 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
842 |
-
* See the License for the specific language governing permissions and
|
843 |
-
* limitations under the License.
|
844 |
-
* ======================================================================== */
|
845 |
-
|
846 |
-
|
847 |
-
+function ($) { "use strict";
|
848 |
-
|
849 |
-
// MODAL CLASS DEFINITION
|
850 |
-
// ======================
|
851 |
-
|
852 |
-
var Modal = function (element, options) {
|
853 |
-
this.options = options
|
854 |
-
this.$element = $(element)
|
855 |
-
this.$backdrop =
|
856 |
-
this.isShown = null
|
857 |
-
|
858 |
-
if (this.options.remote) this.$element.load(this.options.remote)
|
859 |
-
}
|
860 |
-
|
861 |
-
Modal.DEFAULTS = {
|
862 |
-
backdrop: true
|
863 |
-
, keyboard: true
|
864 |
-
, show: true
|
865 |
-
}
|
866 |
-
|
867 |
-
Modal.prototype.toggle = function (_relatedTarget) {
|
868 |
-
return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
|
869 |
-
}
|
870 |
-
|
871 |
-
Modal.prototype.show = function (_relatedTarget) {
|
872 |
-
var that = this
|
873 |
-
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
874 |
-
|
875 |
-
this.$element.trigger(e)
|
876 |
-
|
877 |
-
if (this.isShown || e.isDefaultPrevented()) return
|
878 |
-
|
879 |
-
this.isShown = true
|
880 |
-
|
881 |
-
this.escape()
|
882 |
-
|
883 |
-
this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
884 |
-
|
885 |
-
this.backdrop(function () {
|
886 |
-
var transition = $.support.transition && that.$element.hasClass('fade')
|
887 |
-
|
888 |
-
if (!that.$element.parent().length) {
|
889 |
-
that.$element.appendTo(document.body) // don't move modals dom position
|
890 |
-
}
|
891 |
-
|
892 |
-
that.$element.show()
|
893 |
-
|
894 |
-
if (transition) {
|
895 |
-
that.$element[0].offsetWidth // force reflow
|
896 |
-
}
|
897 |
-
|
898 |
-
that.$element
|
899 |
-
.addClass('in')
|
900 |
-
.attr('aria-hidden', false)
|
901 |
-
|
902 |
-
that.enforceFocus()
|
903 |
-
|
904 |
-
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
905 |
-
|
906 |
-
transition ?
|
907 |
-
that.$element.find('.modal-dialog') // wait for modal to slide in
|
908 |
-
.one($.support.transition.end, function () {
|
909 |
-
that.$element.focus().trigger(e)
|
910 |
-
})
|
911 |
-
.emulateTransitionEnd(300) :
|
912 |
-
that.$element.focus().trigger(e)
|
913 |
-
})
|
914 |
-
}
|
915 |
-
|
916 |
-
Modal.prototype.hide = function (e) {
|
917 |
-
if (e) e.preventDefault()
|
918 |
-
|
919 |
-
e = $.Event('hide.bs.modal')
|
920 |
-
|
921 |
-
this.$element.trigger(e)
|
922 |
-
|
923 |
-
if (!this.isShown || e.isDefaultPrevented()) return
|
924 |
-
|
925 |
-
this.isShown = false
|
926 |
-
|
927 |
-
this.escape()
|
928 |
-
|
929 |
-
$(document).off('focusin.bs.modal')
|
930 |
-
|
931 |
-
this.$element
|
932 |
-
.removeClass('in')
|
933 |
-
.attr('aria-hidden', true)
|
934 |
-
.off('click.dismiss.modal')
|
935 |
-
|
936 |
-
$.support.transition && this.$element.hasClass('fade') ?
|
937 |
-
this.$element
|
938 |
-
.one($.support.transition.end, $.proxy(this.hideModal, this))
|
939 |
-
.emulateTransitionEnd(300) :
|
940 |
-
this.hideModal()
|
941 |
-
}
|
942 |
-
|
943 |
-
Modal.prototype.enforceFocus = function () {
|
944 |
-
$(document)
|
945 |
-
.off('focusin.bs.modal') // guard against infinite focus loop
|
946 |
-
.on('focusin.bs.modal', $.proxy(function (e) {
|
947 |
-
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
|
948 |
-
this.$element.focus()
|
949 |
-
}
|
950 |
-
}, this))
|
951 |
-
}
|
952 |
-
|
953 |
-
Modal.prototype.escape = function () {
|
954 |
-
if (this.isShown && this.options.keyboard) {
|
955 |
-
this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
|
956 |
-
e.which == 27 && this.hide()
|
957 |
-
}, this))
|
958 |
-
} else if (!this.isShown) {
|
959 |
-
this.$element.off('keyup.dismiss.bs.modal')
|
960 |
-
}
|
961 |
-
}
|
962 |
-
|
963 |
-
Modal.prototype.hideModal = function () {
|
964 |
-
var that = this
|
965 |
-
this.$element.hide()
|
966 |
-
this.backdrop(function () {
|
967 |
-
that.removeBackdrop()
|
968 |
-
that.$element.trigger('hidden.bs.modal')
|
969 |
-
})
|
970 |
-
}
|
971 |
-
|
972 |
-
Modal.prototype.removeBackdrop = function () {
|
973 |
-
this.$backdrop && this.$backdrop.remove()
|
974 |
-
this.$backdrop = null
|
975 |
-
}
|
976 |
-
|
977 |
-
Modal.prototype.backdrop = function (callback) {
|
978 |
-
var that = this
|
979 |
-
var animate = this.$element.hasClass('fade') ? 'fade' : ''
|
980 |
-
|
981 |
-
if (this.isShown && this.options.backdrop) {
|
982 |
-
var doAnimate = $.support.transition && animate
|
983 |
-
|
984 |
-
this.$backdrop = $('<div class="modal-backdrop ' + animate + '" />')
|
985 |
-
.appendTo(document.body)
|
986 |
-
|
987 |
-
this.$element.on('click.dismiss.modal', $.proxy(function (e) {
|
988 |
-
if (e.target !== e.currentTarget) return
|
989 |
-
this.options.backdrop == 'static'
|
990 |
-
? this.$element[0].focus.call(this.$element[0])
|
991 |
-
: this.hide.call(this)
|
992 |
-
}, this))
|
993 |
-
|
994 |
-
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
995 |
-
|
996 |
-
this.$backdrop.addClass('in')
|
997 |
-
|
998 |
-
if (!callback) return
|
999 |
-
|
1000 |
-
doAnimate ?
|
1001 |
-
this.$backdrop
|
1002 |
-
.one($.support.transition.end, callback)
|
1003 |
-
.emulateTransitionEnd(150) :
|
1004 |
-
callback()
|
1005 |
-
|
1006 |
-
} else if (!this.isShown && this.$backdrop) {
|
1007 |
-
this.$backdrop.removeClass('in')
|
1008 |
-
|
1009 |
-
$.support.transition && this.$element.hasClass('fade')?
|
1010 |
-
this.$backdrop
|
1011 |
-
.one($.support.transition.end, callback)
|
1012 |
-
.emulateTransitionEnd(150) :
|
1013 |
-
callback()
|
1014 |
-
|
1015 |
-
} else if (callback) {
|
1016 |
-
callback()
|
1017 |
-
}
|
1018 |
-
}
|
1019 |
-
|
1020 |
-
|
1021 |
-
// MODAL PLUGIN DEFINITION
|
1022 |
-
// =======================
|
1023 |
-
|
1024 |
-
var old = $.fn.modal
|
1025 |
-
|
1026 |
-
$.fn.modal = function (option, _relatedTarget) {
|
1027 |
-
return this.each(function () {
|
1028 |
-
var $this = $(this)
|
1029 |
-
var data = $this.data('bs.modal')
|
1030 |
-
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
1031 |
-
|
1032 |
-
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
|
1033 |
-
if (typeof option == 'string') data[option](_relatedTarget)
|
1034 |
-
else if (options.show) data.show(_relatedTarget)
|
1035 |
-
})
|
1036 |
-
}
|
1037 |
-
|
1038 |
-
$.fn.modal.Constructor = Modal
|
1039 |
-
|
1040 |
-
|
1041 |
-
// MODAL NO CONFLICT
|
1042 |
-
// =================
|
1043 |
-
|
1044 |
-
$.fn.modal.noConflict = function () {
|
1045 |
-
$.fn.modal = old
|
1046 |
-
return this
|
1047 |
-
}
|
1048 |
-
|
1049 |
-
|
1050 |
-
// MODAL DATA-API
|
1051 |
-
// ==============
|
1052 |
-
|
1053 |
-
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
|
1054 |
-
var $this = $(this)
|
1055 |
-
var href = $this.attr('href')
|
1056 |
-
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
|
1057 |
-
var option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
1058 |
-
|
1059 |
-
e.preventDefault()
|
1060 |
-
|
1061 |
-
$target
|
1062 |
-
.modal(option, this)
|
1063 |
-
.one('hide', function () {
|
1064 |
-
$this.is(':visible') && $this.focus()
|
1065 |
-
})
|
1066 |
-
})
|
1067 |
-
|
1068 |
-
$(document)
|
1069 |
-
.on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
|
1070 |
-
.on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
|
1071 |
-
|
1072 |
-
}(window.jQuery);
|
1073 |
-
|
1074 |
-
/* ========================================================================
|
1075 |
-
* Bootstrap: tooltip.js v3.0.0
|
1076 |
-
* http://twbs.github.com/bootstrap/javascript.html#tooltip
|
1077 |
-
* Inspired by the original jQuery.tipsy by Jason Frame
|
1078 |
-
* ========================================================================
|
1079 |
-
* Copyright 2012 Twitter, Inc.
|
1080 |
-
*
|
1081 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
1082 |
-
* you may not use this file except in compliance with the License.
|
1083 |
-
* You may obtain a copy of the License at
|
1084 |
-
*
|
1085 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
1086 |
-
*
|
1087 |
-
* Unless required by applicable law or agreed to in writing, software
|
1088 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
1089 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1090 |
-
* See the License for the specific language governing permissions and
|
1091 |
-
* limitations under the License.
|
1092 |
-
* ======================================================================== */
|
1093 |
-
|
1094 |
-
|
1095 |
-
+function ($) { "use strict";
|
1096 |
-
|
1097 |
-
// TOOLTIP PUBLIC CLASS DEFINITION
|
1098 |
-
// ===============================
|
1099 |
-
|
1100 |
-
var Tooltip = function (element, options) {
|
1101 |
-
this.type =
|
1102 |
-
this.options =
|
1103 |
-
this.enabled =
|
1104 |
-
this.timeout =
|
1105 |
-
this.hoverState =
|
1106 |
-
this.$element = null
|
1107 |
-
|
1108 |
-
this.init('tooltip', element, options)
|
1109 |
-
}
|
1110 |
-
|
1111 |
-
Tooltip.DEFAULTS = {
|
1112 |
-
animation: true
|
1113 |
-
, placement: 'top'
|
1114 |
-
, selector: false
|
1115 |
-
, template: '<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
|
1116 |
-
, trigger: 'hover focus'
|
1117 |
-
, title: ''
|
1118 |
-
, delay: 0
|
1119 |
-
, html: false
|
1120 |
-
, container: false
|
1121 |
-
}
|
1122 |
-
|
1123 |
-
Tooltip.prototype.init = function (type, element, options) {
|
1124 |
-
this.enabled = true
|
1125 |
-
this.type = type
|
1126 |
-
this.$element = $(element)
|
1127 |
-
this.options = this.getOptions(options)
|
1128 |
-
|
1129 |
-
var triggers = this.options.trigger.split(' ')
|
1130 |
-
|
1131 |
-
for (var i = triggers.length; i--;) {
|
1132 |
-
var trigger = triggers[i]
|
1133 |
-
|
1134 |
-
if (trigger == 'click') {
|
1135 |
-
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
|
1136 |
-
} else if (trigger != 'manual') {
|
1137 |
-
var eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'
|
1138 |
-
var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'
|
1139 |
-
|
1140 |
-
this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
|
1141 |
-
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
|
1142 |
-
}
|
1143 |
-
}
|
1144 |
-
|
1145 |
-
this.options.selector ?
|
1146 |
-
(this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
|
1147 |
-
this.fixTitle()
|
1148 |
-
}
|
1149 |
-
|
1150 |
-
Tooltip.prototype.getDefaults = function () {
|
1151 |
-
return Tooltip.DEFAULTS
|
1152 |
-
}
|
1153 |
-
|
1154 |
-
Tooltip.prototype.getOptions = function (options) {
|
1155 |
-
options = $.extend({}, this.getDefaults(), this.$element.data(), options)
|
1156 |
-
|
1157 |
-
if (options.delay && typeof options.delay == 'number') {
|
1158 |
-
options.delay = {
|
1159 |
-
show: options.delay
|
1160 |
-
, hide: options.delay
|
1161 |
-
}
|
1162 |
-
}
|
1163 |
-
|
1164 |
-
return options
|
1165 |
-
}
|
1166 |
-
|
1167 |
-
Tooltip.prototype.getDelegateOptions = function () {
|
1168 |
-
var options = {}
|
1169 |
-
var defaults = this.getDefaults()
|
1170 |
-
|
1171 |
-
this._options && $.each(this._options, function (key, value) {
|
1172 |
-
if (defaults[key] != value) options[key] = value
|
1173 |
-
})
|
1174 |
-
|
1175 |
-
return options
|
1176 |
-
}
|
1177 |
-
|
1178 |
-
Tooltip.prototype.enter = function (obj) {
|
1179 |
-
var self = obj instanceof this.constructor ?
|
1180 |
-
obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
|
1181 |
-
|
1182 |
-
clearTimeout(self.timeout)
|
1183 |
-
|
1184 |
-
self.hoverState = 'in'
|
1185 |
-
|
1186 |
-
if (!self.options.delay || !self.options.delay.show) return self.show()
|
1187 |
-
|
1188 |
-
self.timeout = setTimeout(function () {
|
1189 |
-
if (self.hoverState == 'in') self.show()
|
1190 |
-
}, self.options.delay.show)
|
1191 |
-
}
|
1192 |
-
|
1193 |
-
Tooltip.prototype.leave = function (obj) {
|
1194 |
-
var self = obj instanceof this.constructor ?
|
1195 |
-
obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
|
1196 |
-
|
1197 |
-
clearTimeout(self.timeout)
|
1198 |
-
|
1199 |
-
self.hoverState = 'out'
|
1200 |
-
|
1201 |
-
if (!self.options.delay || !self.options.delay.hide) return self.hide()
|
1202 |
-
|
1203 |
-
self.timeout = setTimeout(function () {
|
1204 |
-
if (self.hoverState == 'out') self.hide()
|
1205 |
-
}, self.options.delay.hide)
|
1206 |
-
}
|
1207 |
-
|
1208 |
-
Tooltip.prototype.show = function () {
|
1209 |
-
var e = $.Event('show.bs.'+ this.type)
|
1210 |
-
|
1211 |
-
if (this.hasContent() && this.enabled) {
|
1212 |
-
this.$element.trigger(e)
|
1213 |
-
|
1214 |
-
if (e.isDefaultPrevented()) return
|
1215 |
-
|
1216 |
-
var $tip = this.tip()
|
1217 |
-
|
1218 |
-
this.setContent()
|
1219 |
-
|
1220 |
-
if (this.options.animation) $tip.addClass('fade')
|
1221 |
-
|
1222 |
-
var placement = typeof this.options.placement == 'function' ?
|
1223 |
-
this.options.placement.call(this, $tip[0], this.$element[0]) :
|
1224 |
-
this.options.placement
|
1225 |
-
|
1226 |
-
var autoToken = /\s?auto?\s?/i
|
1227 |
-
var autoPlace = autoToken.test(placement)
|
1228 |
-
if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
|
1229 |
-
|
1230 |
-
$tip
|
1231 |
-
.detach()
|
1232 |
-
.css({ top: 0, left: 0, display: 'block' })
|
1233 |
-
.addClass(placement)
|
1234 |
-
|
1235 |
-
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
|
1236 |
-
|
1237 |
-
var pos = this.getPosition()
|
1238 |
-
var actualWidth = $tip[0].offsetWidth
|
1239 |
-
var actualHeight = $tip[0].offsetHeight
|
1240 |
-
|
1241 |
-
if (autoPlace) {
|
1242 |
-
var $parent = this.$element.parent()
|
1243 |
-
|
1244 |
-
var orgPlacement = placement
|
1245 |
-
var docScroll = document.documentElement.scrollTop || document.body.scrollTop
|
1246 |
-
var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
|
1247 |
-
var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
|
1248 |
-
var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
|
1249 |
-
|
1250 |
-
placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
|
1251 |
-
placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
|
1252 |
-
placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
|
1253 |
-
placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
|
1254 |
-
placement
|
1255 |
-
|
1256 |
-
$tip
|
1257 |
-
.removeClass(orgPlacement)
|
1258 |
-
.addClass(placement)
|
1259 |
-
}
|
1260 |
-
|
1261 |
-
var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
|
1262 |
-
|
1263 |
-
this.applyPlacement(calculatedOffset, placement)
|
1264 |
-
this.$element.trigger('shown.bs.' + this.type)
|
1265 |
-
}
|
1266 |
-
}
|
1267 |
-
|
1268 |
-
Tooltip.prototype.applyPlacement = function(offset, placement) {
|
1269 |
-
var replace
|
1270 |
-
var $tip = this.tip()
|
1271 |
-
var width = $tip[0].offsetWidth
|
1272 |
-
var height = $tip[0].offsetHeight
|
1273 |
-
|
1274 |
-
// manually read margins because getBoundingClientRect includes difference
|
1275 |
-
var marginTop = parseInt($tip.css('margin-top'), 10)
|
1276 |
-
var marginLeft = parseInt($tip.css('margin-left'), 10)
|
1277 |
-
|
1278 |
-
// we must check for NaN for ie 8/9
|
1279 |
-
if (isNaN(marginTop)) marginTop = 0
|
1280 |
-
if (isNaN(marginLeft)) marginLeft = 0
|
1281 |
-
|
1282 |
-
offset.top = offset.top + marginTop
|
1283 |
-
offset.left = offset.left + marginLeft
|
1284 |
-
|
1285 |
-
$tip
|
1286 |
-
.offset(offset)
|
1287 |
-
.addClass('in')
|
1288 |
-
|
1289 |
-
// check to see if placing tip in new offset caused the tip to resize itself
|
1290 |
-
var actualWidth = $tip[0].offsetWidth
|
1291 |
-
var actualHeight = $tip[0].offsetHeight
|
1292 |
-
|
1293 |
-
if (placement == 'top' && actualHeight != height) {
|
1294 |
-
replace = true
|
1295 |
-
offset.top = offset.top + height - actualHeight
|
1296 |
-
}
|
1297 |
-
|
1298 |
-
if (/bottom|top/.test(placement)) {
|
1299 |
-
var delta = 0
|
1300 |
-
|
1301 |
-
if (offset.left < 0) {
|
1302 |
-
delta = offset.left * -2
|
1303 |
-
offset.left = 0
|
1304 |
-
|
1305 |
-
$tip.offset(offset)
|
1306 |
-
|
1307 |
-
actualWidth = $tip[0].offsetWidth
|
1308 |
-
actualHeight = $tip[0].offsetHeight
|
1309 |
-
}
|
1310 |
-
|
1311 |
-
this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
|
1312 |
-
} else {
|
1313 |
-
this.replaceArrow(actualHeight - height, actualHeight, 'top')
|
1314 |
-
}
|
1315 |
-
|
1316 |
-
if (replace) $tip.offset(offset)
|
1317 |
-
}
|
1318 |
-
|
1319 |
-
Tooltip.prototype.replaceArrow = function(delta, dimension, position) {
|
1320 |
-
this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + "%") : '')
|
1321 |
-
}
|
1322 |
-
|
1323 |
-
Tooltip.prototype.setContent = function () {
|
1324 |
-
var $tip = this.tip()
|
1325 |
-
var title = this.getTitle()
|
1326 |
-
|
1327 |
-
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
|
1328 |
-
$tip.removeClass('fade in top bottom left right')
|
1329 |
-
}
|
1330 |
-
|
1331 |
-
Tooltip.prototype.hide = function () {
|
1332 |
-
var that = this
|
1333 |
-
var $tip = this.tip()
|
1334 |
-
var e = $.Event('hide.bs.' + this.type)
|
1335 |
-
|
1336 |
-
function complete() {
|
1337 |
-
if (that.hoverState != 'in') $tip.detach()
|
1338 |
-
}
|
1339 |
-
|
1340 |
-
this.$element.trigger(e)
|
1341 |
-
|
1342 |
-
if (e.isDefaultPrevented()) return
|
1343 |
-
|
1344 |
-
$tip.removeClass('in')
|
1345 |
-
|
1346 |
-
$.support.transition && this.$tip.hasClass('fade') ?
|
1347 |
-
$tip
|
1348 |
-
.one($.support.transition.end, complete)
|
1349 |
-
.emulateTransitionEnd(150) :
|
1350 |
-
complete()
|
1351 |
-
|
1352 |
-
this.$element.trigger('hidden.bs.' + this.type)
|
1353 |
-
|
1354 |
-
return this
|
1355 |
-
}
|
1356 |
-
|
1357 |
-
Tooltip.prototype.fixTitle = function () {
|
1358 |
-
var $e = this.$element
|
1359 |
-
if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
|
1360 |
-
$e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
|
1361 |
-
}
|
1362 |
-
}
|
1363 |
-
|
1364 |
-
Tooltip.prototype.hasContent = function () {
|
1365 |
-
return this.getTitle()
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
Tooltip.prototype.getPosition = function () {
|
1369 |
-
var el = this.$element[0]
|
1370 |
-
return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
|
1371 |
-
width: el.offsetWidth
|
1372 |
-
, height: el.offsetHeight
|
1373 |
-
}, this.$element.offset())
|
1374 |
-
}
|
1375 |
-
|
1376 |
-
Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
|
1377 |
-
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
1378 |
-
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
1379 |
-
placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
|
1380 |
-
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
|
1381 |
-
}
|
1382 |
-
|
1383 |
-
Tooltip.prototype.getTitle = function () {
|
1384 |
-
var title
|
1385 |
-
var $e = this.$element
|
1386 |
-
var o = this.options
|
1387 |
-
|
1388 |
-
title = $e.attr('data-original-title')
|
1389 |
-
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
|
1390 |
-
|
1391 |
-
return title
|
1392 |
-
}
|
1393 |
-
|
1394 |
-
Tooltip.prototype.tip = function () {
|
1395 |
-
return this.$tip = this.$tip || $(this.options.template)
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
Tooltip.prototype.arrow = function () {
|
1399 |
-
return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
|
1400 |
-
}
|
1401 |
-
|
1402 |
-
Tooltip.prototype.validate = function () {
|
1403 |
-
if (!this.$element[0].parentNode) {
|
1404 |
-
this.hide()
|
1405 |
-
this.$element = null
|
1406 |
-
this.options = null
|
1407 |
-
}
|
1408 |
-
}
|
1409 |
-
|
1410 |
-
Tooltip.prototype.enable = function () {
|
1411 |
-
this.enabled = true
|
1412 |
-
}
|
1413 |
-
|
1414 |
-
Tooltip.prototype.disable = function () {
|
1415 |
-
this.enabled = false
|
1416 |
-
}
|
1417 |
-
|
1418 |
-
Tooltip.prototype.toggleEnabled = function () {
|
1419 |
-
this.enabled = !this.enabled
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
Tooltip.prototype.toggle = function (e) {
|
1423 |
-
var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
|
1424 |
-
self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
|
1425 |
-
}
|
1426 |
-
|
1427 |
-
Tooltip.prototype.destroy = function () {
|
1428 |
-
this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
|
1429 |
-
}
|
1430 |
-
|
1431 |
-
|
1432 |
-
// TOOLTIP PLUGIN DEFINITION
|
1433 |
-
// =========================
|
1434 |
-
|
1435 |
-
var old = $.fn.tooltip
|
1436 |
-
|
1437 |
-
$.fn.tooltip = function (option) {
|
1438 |
-
return this.each(function () {
|
1439 |
-
var $this = $(this)
|
1440 |
-
var data = $this.data('bs.tooltip')
|
1441 |
-
var options = typeof option == 'object' && option
|
1442 |
-
|
1443 |
-
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
1444 |
-
if (typeof option == 'string') data[option]()
|
1445 |
-
})
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
$.fn.tooltip.Constructor = Tooltip
|
1449 |
-
|
1450 |
-
|
1451 |
-
// TOOLTIP NO CONFLICT
|
1452 |
-
// ===================
|
1453 |
-
|
1454 |
-
$.fn.tooltip.noConflict = function () {
|
1455 |
-
$.fn.tooltip = old
|
1456 |
-
return this
|
1457 |
-
}
|
1458 |
-
|
1459 |
-
}(window.jQuery);
|
1460 |
-
|
1461 |
-
/* ========================================================================
|
1462 |
-
* Bootstrap: popover.js v3.0.0
|
1463 |
-
* http://twbs.github.com/bootstrap/javascript.html#popovers
|
1464 |
-
* ========================================================================
|
1465 |
-
* Copyright 2012 Twitter, Inc.
|
1466 |
-
*
|
1467 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
1468 |
-
* you may not use this file except in compliance with the License.
|
1469 |
-
* You may obtain a copy of the License at
|
1470 |
-
*
|
1471 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
1472 |
-
*
|
1473 |
-
* Unless required by applicable law or agreed to in writing, software
|
1474 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
1475 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1476 |
-
* See the License for the specific language governing permissions and
|
1477 |
-
* limitations under the License.
|
1478 |
-
* ======================================================================== */
|
1479 |
-
|
1480 |
-
|
1481 |
-
+function ($) { "use strict";
|
1482 |
-
|
1483 |
-
// POPOVER PUBLIC CLASS DEFINITION
|
1484 |
-
// ===============================
|
1485 |
-
|
1486 |
-
var Popover = function (element, options) {
|
1487 |
-
this.init('popover', element, options)
|
1488 |
-
}
|
1489 |
-
|
1490 |
-
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
1491 |
-
|
1492 |
-
Popover.DEFAULTS = $.extend({} , $.fn.tooltip.Constructor.DEFAULTS, {
|
1493 |
-
placement: 'right'
|
1494 |
-
, trigger: 'click'
|
1495 |
-
, content: ''
|
1496 |
-
, template: '<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
|
1497 |
-
})
|
1498 |
-
|
1499 |
-
|
1500 |
-
// NOTE: POPOVER EXTENDS tooltip.js
|
1501 |
-
// ================================
|
1502 |
-
|
1503 |
-
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
|
1504 |
-
|
1505 |
-
Popover.prototype.constructor = Popover
|
1506 |
-
|
1507 |
-
Popover.prototype.getDefaults = function () {
|
1508 |
-
return Popover.DEFAULTS
|
1509 |
-
}
|
1510 |
-
|
1511 |
-
Popover.prototype.setContent = function () {
|
1512 |
-
var $tip = this.tip()
|
1513 |
-
var title = this.getTitle()
|
1514 |
-
var content = this.getContent()
|
1515 |
-
|
1516 |
-
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
1517 |
-
$tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)
|
1518 |
-
|
1519 |
-
$tip.removeClass('fade top bottom left right in')
|
1520 |
-
|
1521 |
-
// IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
|
1522 |
-
// this manually by checking the contents.
|
1523 |
-
if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
|
1524 |
-
}
|
1525 |
-
|
1526 |
-
Popover.prototype.hasContent = function () {
|
1527 |
-
return this.getTitle() || this.getContent()
|
1528 |
-
}
|
1529 |
-
|
1530 |
-
Popover.prototype.getContent = function () {
|
1531 |
-
var $e = this.$element
|
1532 |
-
var o = this.options
|
1533 |
-
|
1534 |
-
return $e.attr('data-content')
|
1535 |
-
|| (typeof o.content == 'function' ?
|
1536 |
-
o.content.call($e[0]) :
|
1537 |
-
o.content)
|
1538 |
-
}
|
1539 |
-
|
1540 |
-
Popover.prototype.arrow = function () {
|
1541 |
-
return this.$arrow = this.$arrow || this.tip().find('.arrow')
|
1542 |
-
}
|
1543 |
-
|
1544 |
-
Popover.prototype.tip = function () {
|
1545 |
-
if (!this.$tip) this.$tip = $(this.options.template)
|
1546 |
-
return this.$tip
|
1547 |
-
}
|
1548 |
-
|
1549 |
-
|
1550 |
-
// POPOVER PLUGIN DEFINITION
|
1551 |
-
// =========================
|
1552 |
-
|
1553 |
-
var old = $.fn.popover
|
1554 |
-
|
1555 |
-
$.fn.popover = function (option) {
|
1556 |
-
return this.each(function () {
|
1557 |
-
var $this = $(this)
|
1558 |
-
var data = $this.data('bs.popover')
|
1559 |
-
var options = typeof option == 'object' && option
|
1560 |
-
|
1561 |
-
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
1562 |
-
if (typeof option == 'string') data[option]()
|
1563 |
-
})
|
1564 |
-
}
|
1565 |
-
|
1566 |
-
$.fn.popover.Constructor = Popover
|
1567 |
-
|
1568 |
-
|
1569 |
-
// POPOVER NO CONFLICT
|
1570 |
-
// ===================
|
1571 |
-
|
1572 |
-
$.fn.popover.noConflict = function () {
|
1573 |
-
$.fn.popover = old
|
1574 |
-
return this
|
1575 |
-
}
|
1576 |
-
|
1577 |
-
}(window.jQuery);
|
1578 |
-
|
1579 |
-
/* ========================================================================
|
1580 |
-
* Bootstrap: scrollspy.js v3.0.0
|
1581 |
-
* http://twbs.github.com/bootstrap/javascript.html#scrollspy
|
1582 |
-
* ========================================================================
|
1583 |
-
* Copyright 2012 Twitter, Inc.
|
1584 |
-
*
|
1585 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
1586 |
-
* you may not use this file except in compliance with the License.
|
1587 |
-
* You may obtain a copy of the License at
|
1588 |
-
*
|
1589 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
1590 |
-
*
|
1591 |
-
* Unless required by applicable law or agreed to in writing, software
|
1592 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
1593 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1594 |
-
* See the License for the specific language governing permissions and
|
1595 |
-
* limitations under the License.
|
1596 |
-
* ======================================================================== */
|
1597 |
-
|
1598 |
-
|
1599 |
-
+function ($) { "use strict";
|
1600 |
-
|
1601 |
-
// SCROLLSPY CLASS DEFINITION
|
1602 |
-
// ==========================
|
1603 |
-
|
1604 |
-
function ScrollSpy(element, options) {
|
1605 |
-
var href
|
1606 |
-
var process = $.proxy(this.process, this)
|
1607 |
-
|
1608 |
-
this.$element = $(element).is('body') ? $(window) : $(element)
|
1609 |
-
this.$body = $('body')
|
1610 |
-
this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
|
1611 |
-
this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
|
1612 |
-
this.selector = (this.options.target
|
1613 |
-
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
1614 |
-
|| '') + ' .nav li > a'
|
1615 |
-
this.offsets = $([])
|
1616 |
-
this.targets = $([])
|
1617 |
-
this.activeTarget = null
|
1618 |
-
|
1619 |
-
this.refresh()
|
1620 |
-
this.process()
|
1621 |
-
}
|
1622 |
-
|
1623 |
-
ScrollSpy.DEFAULTS = {
|
1624 |
-
offset: 10
|
1625 |
-
}
|
1626 |
-
|
1627 |
-
ScrollSpy.prototype.refresh = function () {
|
1628 |
-
var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
|
1629 |
-
|
1630 |
-
this.offsets = $([])
|
1631 |
-
this.targets = $([])
|
1632 |
-
|
1633 |
-
var self = this
|
1634 |
-
var $targets = this.$body
|
1635 |
-
.find(this.selector)
|
1636 |
-
.map(function () {
|
1637 |
-
var $el = $(this)
|
1638 |
-
var href = $el.data('target') || $el.attr('href')
|
1639 |
-
var $href = /^#\w/.test(href) && $(href)
|
1640 |
-
|
1641 |
-
return ($href
|
1642 |
-
&& $href.length
|
1643 |
-
&& [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
|
1644 |
-
})
|
1645 |
-
.sort(function (a, b) { return a[0] - b[0] })
|
1646 |
-
.each(function () {
|
1647 |
-
self.offsets.push(this[0])
|
1648 |
-
self.targets.push(this[1])
|
1649 |
-
})
|
1650 |
-
}
|
1651 |
-
|
1652 |
-
ScrollSpy.prototype.process = function () {
|
1653 |
-
var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
|
1654 |
-
var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
|
1655 |
-
var maxScroll = scrollHeight - this.$scrollElement.height()
|
1656 |
-
var offsets = this.offsets
|
1657 |
-
var targets = this.targets
|
1658 |
-
var activeTarget = this.activeTarget
|
1659 |
-
var i
|
1660 |
-
|
1661 |
-
if (scrollTop >= maxScroll) {
|
1662 |
-
return activeTarget != (i = targets.last()[0]) && this.activate(i)
|
1663 |
-
}
|
1664 |
-
|
1665 |
-
for (i = offsets.length; i--;) {
|
1666 |
-
activeTarget != targets[i]
|
1667 |
-
&& scrollTop >= offsets[i]
|
1668 |
-
&& (!offsets[i + 1] || scrollTop <= offsets[i + 1])
|
1669 |
-
&& this.activate( targets[i] )
|
1670 |
-
}
|
1671 |
-
}
|
1672 |
-
|
1673 |
-
ScrollSpy.prototype.activate = function (target) {
|
1674 |
-
this.activeTarget = target
|
1675 |
-
|
1676 |
-
$(this.selector)
|
1677 |
-
.parents('.active')
|
1678 |
-
.removeClass('active')
|
1679 |
-
|
1680 |
-
var selector = this.selector
|
1681 |
-
+ '[data-target="' + target + '"],'
|
1682 |
-
+ this.selector + '[href="' + target + '"]'
|
1683 |
-
|
1684 |
-
var active = $(selector)
|
1685 |
-
.parents('li')
|
1686 |
-
.addClass('active')
|
1687 |
-
|
1688 |
-
if (active.parent('.dropdown-menu').length) {
|
1689 |
-
active = active
|
1690 |
-
.closest('li.dropdown')
|
1691 |
-
.addClass('active')
|
1692 |
-
}
|
1693 |
-
|
1694 |
-
active.trigger('activate')
|
1695 |
-
}
|
1696 |
-
|
1697 |
-
|
1698 |
-
// SCROLLSPY PLUGIN DEFINITION
|
1699 |
-
// ===========================
|
1700 |
-
|
1701 |
-
var old = $.fn.scrollspy
|
1702 |
-
|
1703 |
-
$.fn.scrollspy = function (option) {
|
1704 |
-
return this.each(function () {
|
1705 |
-
var $this = $(this)
|
1706 |
-
var data = $this.data('bs.scrollspy')
|
1707 |
-
var options = typeof option == 'object' && option
|
1708 |
-
|
1709 |
-
if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
|
1710 |
-
if (typeof option == 'string') data[option]()
|
1711 |
-
})
|
1712 |
-
}
|
1713 |
-
|
1714 |
-
$.fn.scrollspy.Constructor = ScrollSpy
|
1715 |
-
|
1716 |
-
|
1717 |
-
// SCROLLSPY NO CONFLICT
|
1718 |
-
// =====================
|
1719 |
-
|
1720 |
-
$.fn.scrollspy.noConflict = function () {
|
1721 |
-
$.fn.scrollspy = old
|
1722 |
-
return this
|
1723 |
-
}
|
1724 |
-
|
1725 |
-
|
1726 |
-
// SCROLLSPY DATA-API
|
1727 |
-
// ==================
|
1728 |
-
|
1729 |
-
$(window).on('load', function () {
|
1730 |
-
$('[data-spy="scroll"]').each(function () {
|
1731 |
-
var $spy = $(this)
|
1732 |
-
$spy.scrollspy($spy.data())
|
1733 |
-
})
|
1734 |
-
})
|
1735 |
-
|
1736 |
-
}(window.jQuery);
|
1737 |
-
|
1738 |
-
/* ========================================================================
|
1739 |
-
* Bootstrap: tab.js v3.0.0
|
1740 |
-
* http://twbs.github.com/bootstrap/javascript.html#tabs
|
1741 |
-
* ========================================================================
|
1742 |
-
* Copyright 2012 Twitter, Inc.
|
1743 |
-
*
|
1744 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
1745 |
-
* you may not use this file except in compliance with the License.
|
1746 |
-
* You may obtain a copy of the License at
|
1747 |
-
*
|
1748 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
1749 |
-
*
|
1750 |
-
* Unless required by applicable law or agreed to in writing, software
|
1751 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
1752 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1753 |
-
* See the License for the specific language governing permissions and
|
1754 |
-
* limitations under the License.
|
1755 |
-
* ======================================================================== */
|
1756 |
-
|
1757 |
-
|
1758 |
-
+function ($) { "use strict";
|
1759 |
-
|
1760 |
-
// TAB CLASS DEFINITION
|
1761 |
-
// ====================
|
1762 |
-
|
1763 |
-
var Tab = function (element) {
|
1764 |
-
this.element = $(element)
|
1765 |
-
}
|
1766 |
-
|
1767 |
-
Tab.prototype.show = function () {
|
1768 |
-
var $this = this.element
|
1769 |
-
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
1770 |
-
var selector = $this.attr('data-target')
|
1771 |
-
|
1772 |
-
if (!selector) {
|
1773 |
-
selector = $this.attr('href')
|
1774 |
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
1775 |
-
}
|
1776 |
-
|
1777 |
-
if ($this.parent('li').hasClass('active')) return
|
1778 |
-
|
1779 |
-
var previous = $ul.find('.active:last a')[0]
|
1780 |
-
var e = $.Event('show.bs.tab', {
|
1781 |
-
relatedTarget: previous
|
1782 |
-
})
|
1783 |
-
|
1784 |
-
$this.trigger(e)
|
1785 |
-
|
1786 |
-
if (e.isDefaultPrevented()) return
|
1787 |
-
|
1788 |
-
var $target = $(selector)
|
1789 |
-
|
1790 |
-
this.activate($this.parent('li'), $ul)
|
1791 |
-
this.activate($target, $target.parent(), function () {
|
1792 |
-
$this.trigger({
|
1793 |
-
type: 'shown.bs.tab'
|
1794 |
-
, relatedTarget: previous
|
1795 |
-
})
|
1796 |
-
})
|
1797 |
-
}
|
1798 |
-
|
1799 |
-
Tab.prototype.activate = function (element, container, callback) {
|
1800 |
-
var $active = container.find('> .active')
|
1801 |
-
var transition = callback
|
1802 |
-
&& $.support.transition
|
1803 |
-
&& $active.hasClass('fade')
|
1804 |
-
|
1805 |
-
function next() {
|
1806 |
-
$active
|
1807 |
-
.removeClass('active')
|
1808 |
-
.find('> .dropdown-menu > .active')
|
1809 |
-
.removeClass('active')
|
1810 |
-
|
1811 |
-
element.addClass('active')
|
1812 |
-
|
1813 |
-
if (transition) {
|
1814 |
-
element[0].offsetWidth // reflow for transition
|
1815 |
-
element.addClass('in')
|
1816 |
-
} else {
|
1817 |
-
element.removeClass('fade')
|
1818 |
-
}
|
1819 |
-
|
1820 |
-
if (element.parent('.dropdown-menu')) {
|
1821 |
-
element.closest('li.dropdown').addClass('active')
|
1822 |
-
}
|
1823 |
-
|
1824 |
-
callback && callback()
|
1825 |
-
}
|
1826 |
-
|
1827 |
-
transition ?
|
1828 |
-
$active
|
1829 |
-
.one($.support.transition.end, next)
|
1830 |
-
.emulateTransitionEnd(150) :
|
1831 |
-
next()
|
1832 |
-
|
1833 |
-
$active.removeClass('in')
|
1834 |
-
}
|
1835 |
-
|
1836 |
-
|
1837 |
-
// TAB PLUGIN DEFINITION
|
1838 |
-
// =====================
|
1839 |
-
|
1840 |
-
var old = $.fn.tab
|
1841 |
-
|
1842 |
-
$.fn.tab = function ( option ) {
|
1843 |
-
return this.each(function () {
|
1844 |
-
var $this = $(this)
|
1845 |
-
var data = $this.data('bs.tab')
|
1846 |
-
|
1847 |
-
if (!data) $this.data('bs.tab', (data = new Tab(this)))
|
1848 |
-
if (typeof option == 'string') data[option]()
|
1849 |
-
})
|
1850 |
-
}
|
1851 |
-
|
1852 |
-
$.fn.tab.Constructor = Tab
|
1853 |
-
|
1854 |
-
|
1855 |
-
// TAB NO CONFLICT
|
1856 |
-
// ===============
|
1857 |
-
|
1858 |
-
$.fn.tab.noConflict = function () {
|
1859 |
-
$.fn.tab = old
|
1860 |
-
return this
|
1861 |
-
}
|
1862 |
-
|
1863 |
-
|
1864 |
-
// TAB DATA-API
|
1865 |
-
// ============
|
1866 |
-
|
1867 |
-
$(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
|
1868 |
-
e.preventDefault()
|
1869 |
-
$(this).tab('show')
|
1870 |
-
})
|
1871 |
-
|
1872 |
-
}(window.jQuery);
|
1873 |
-
|
1874 |
-
/* ========================================================================
|
1875 |
-
* Bootstrap: affix.js v3.0.0
|
1876 |
-
* http://twbs.github.com/bootstrap/javascript.html#affix
|
1877 |
-
* ========================================================================
|
1878 |
-
* Copyright 2012 Twitter, Inc.
|
1879 |
-
*
|
1880 |
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
1881 |
-
* you may not use this file except in compliance with the License.
|
1882 |
-
* You may obtain a copy of the License at
|
1883 |
-
*
|
1884 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
1885 |
-
*
|
1886 |
-
* Unless required by applicable law or agreed to in writing, software
|
1887 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
1888 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
1889 |
-
* See the License for the specific language governing permissions and
|
1890 |
-
* limitations under the License.
|
1891 |
-
* ======================================================================== */
|
1892 |
-
|
1893 |
-
|
1894 |
-
+function ($) { "use strict";
|
1895 |
-
|
1896 |
-
// AFFIX CLASS DEFINITION
|
1897 |
-
// ======================
|
1898 |
-
|
1899 |
-
var Affix = function (element, options) {
|
1900 |
-
this.options = $.extend({}, Affix.DEFAULTS, options)
|
1901 |
-
this.$window = $(window)
|
1902 |
-
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
|
1903 |
-
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
|
1904 |
-
|
1905 |
-
this.$element = $(element)
|
1906 |
-
this.affixed =
|
1907 |
-
this.unpin = null
|
1908 |
-
|
1909 |
-
this.checkPosition()
|
1910 |
-
}
|
1911 |
-
|
1912 |
-
Affix.RESET = 'affix affix-top affix-bottom'
|
1913 |
-
|
1914 |
-
Affix.DEFAULTS = {
|
1915 |
-
offset: 0
|
1916 |
-
}
|
1917 |
-
|
1918 |
-
Affix.prototype.checkPositionWithEventLoop = function () {
|
1919 |
-
setTimeout($.proxy(this.checkPosition, this), 1)
|
1920 |
-
}
|
1921 |
-
|
1922 |
-
Affix.prototype.checkPosition = function () {
|
1923 |
-
if (!this.$element.is(':visible')) return
|
1924 |
-
|
1925 |
-
var scrollHeight = $(document).height()
|
1926 |
-
var scrollTop = this.$window.scrollTop()
|
1927 |
-
var position = this.$element.offset()
|
1928 |
-
var offset = this.options.offset
|
1929 |
-
var offsetTop = offset.top
|
1930 |
-
var offsetBottom = offset.bottom
|
1931 |
-
|
1932 |
-
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
1933 |
-
if (typeof offsetTop == 'function') offsetTop = offset.top()
|
1934 |
-
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()
|
1935 |
-
|
1936 |
-
var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
|
1937 |
-
offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
|
1938 |
-
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
|
1939 |
-
|
1940 |
-
if (this.affixed === affix) return
|
1941 |
-
if (this.unpin) this.$element.css('top', '')
|
1942 |
-
|
1943 |
-
this.affixed = affix
|
1944 |
-
this.unpin = affix == 'bottom' ? position.top - scrollTop : null
|
1945 |
-
|
1946 |
-
this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))
|
1947 |
-
|
1948 |
-
if (affix == 'bottom') {
|
1949 |
-
this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })
|
1950 |
-
}
|
1951 |
-
}
|
1952 |
-
|
1953 |
-
|
1954 |
-
// AFFIX PLUGIN DEFINITION
|
1955 |
-
// =======================
|
1956 |
-
|
1957 |
-
var old = $.fn.affix
|
1958 |
-
|
1959 |
-
$.fn.affix = function (option) {
|
1960 |
-
return this.each(function () {
|
1961 |
-
var $this = $(this)
|
1962 |
-
var data = $this.data('bs.affix')
|
1963 |
-
var options = typeof option == 'object' && option
|
1964 |
-
|
1965 |
-
if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
|
1966 |
-
if (typeof option == 'string') data[option]()
|
1967 |
-
})
|
1968 |
-
}
|
1969 |
-
|
1970 |
-
$.fn.affix.Constructor = Affix
|
1971 |
-
|
1972 |
-
|
1973 |
-
// AFFIX NO CONFLICT
|
1974 |
-
// =================
|
1975 |
-
|
1976 |
-
$.fn.affix.noConflict = function () {
|
1977 |
-
$.fn.affix = old
|
1978 |
-
return this
|
1979 |
-
}
|
1980 |
-
|
1981 |
-
|
1982 |
-
// AFFIX DATA-API
|
1983 |
-
// ==============
|
1984 |
-
|
1985 |
-
$(window).on('load', function () {
|
1986 |
-
$('[data-spy="affix"]').each(function () {
|
1987 |
-
var $spy = $(this)
|
1988 |
-
var data = $spy.data()
|
1989 |
-
|
1990 |
-
data.offset = data.offset || {}
|
1991 |
-
|
1992 |
-
if (data.offsetBottom) data.offset.bottom = data.offsetBottom
|
1993 |
-
if (data.offsetTop) data.offset.top = data.offsetTop
|
1994 |
-
|
1995 |
-
$spy.affix(data)
|
1996 |
-
})
|
1997 |
-
})
|
1998 |
-
|
1999 |
-
}(window.jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/bootstrap.min.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Bootstrap v3.0.2 by @fat and @mdo
|
3 |
+
* Copyright 2013 Twitter, Inc.
|
4 |
+
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
|
5 |
+
*
|
6 |
+
* Designed and built with all the love in the world by @mdo and @fat.
|
7 |
+
*/
|
8 |
+
|
9 |
+
if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("dropdown");d||c.data("dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return this[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),this.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery);
|
js/colorpicker.js
DELETED
@@ -1,484 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
*
|
3 |
-
* Color picker
|
4 |
-
* Author: Stefan Petre www.eyecon.ro
|
5 |
-
*
|
6 |
-
* Dual licensed under the MIT and GPL licenses
|
7 |
-
*
|
8 |
-
*/
|
9 |
-
(function ($) {
|
10 |
-
var ColorPicker = function () {
|
11 |
-
var
|
12 |
-
ids = {},
|
13 |
-
inAction,
|
14 |
-
charMin = 65,
|
15 |
-
visible,
|
16 |
-
tpl = '<div class="colorpicker"><div class="colorpicker_color"><div><div></div></div></div><div class="colorpicker_hue"><div></div></div><div class="colorpicker_new_color"></div><div class="colorpicker_current_color"></div><div class="colorpicker_hex"><input type="text" maxlength="6" size="6" /></div><div class="colorpicker_rgb_r colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_g colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_rgb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_h colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_s colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_hsb_b colorpicker_field"><input type="text" maxlength="3" size="3" /><span></span></div><div class="colorpicker_submit"></div></div>',
|
17 |
-
defaults = {
|
18 |
-
eventName: 'click',
|
19 |
-
onShow: function () {},
|
20 |
-
onBeforeShow: function(){},
|
21 |
-
onHide: function () {},
|
22 |
-
onChange: function () {},
|
23 |
-
onSubmit: function () {},
|
24 |
-
color: 'ff0000',
|
25 |
-
livePreview: true,
|
26 |
-
flat: false
|
27 |
-
},
|
28 |
-
fillRGBFields = function (hsb, cal) {
|
29 |
-
var rgb = HSBToRGB(hsb);
|
30 |
-
$(cal).data('colorpicker').fields
|
31 |
-
.eq(1).val(rgb.r).end()
|
32 |
-
.eq(2).val(rgb.g).end()
|
33 |
-
.eq(3).val(rgb.b).end();
|
34 |
-
},
|
35 |
-
fillHSBFields = function (hsb, cal) {
|
36 |
-
$(cal).data('colorpicker').fields
|
37 |
-
.eq(4).val(hsb.h).end()
|
38 |
-
.eq(5).val(hsb.s).end()
|
39 |
-
.eq(6).val(hsb.b).end();
|
40 |
-
},
|
41 |
-
fillHexFields = function (hsb, cal) {
|
42 |
-
$(cal).data('colorpicker').fields
|
43 |
-
.eq(0).val(HSBToHex(hsb)).end();
|
44 |
-
},
|
45 |
-
setSelector = function (hsb, cal) {
|
46 |
-
$(cal).data('colorpicker').selector.css('backgroundColor', '#' + HSBToHex({h: hsb.h, s: 100, b: 100}));
|
47 |
-
$(cal).data('colorpicker').selectorIndic.css({
|
48 |
-
left: parseInt(150 * hsb.s/100, 10),
|
49 |
-
top: parseInt(150 * (100-hsb.b)/100, 10)
|
50 |
-
});
|
51 |
-
},
|
52 |
-
setHue = function (hsb, cal) {
|
53 |
-
$(cal).data('colorpicker').hue.css('top', parseInt(150 - 150 * hsb.h/360, 10));
|
54 |
-
},
|
55 |
-
setCurrentColor = function (hsb, cal) {
|
56 |
-
$(cal).data('colorpicker').currentColor.css('backgroundColor', '#' + HSBToHex(hsb));
|
57 |
-
},
|
58 |
-
setNewColor = function (hsb, cal) {
|
59 |
-
$(cal).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(hsb));
|
60 |
-
},
|
61 |
-
keyDown = function (ev) {
|
62 |
-
var pressedKey = ev.charCode || ev.keyCode || -1;
|
63 |
-
if ((pressedKey > charMin && pressedKey <= 90) || pressedKey == 32) {
|
64 |
-
return false;
|
65 |
-
}
|
66 |
-
var cal = $(this).parent().parent();
|
67 |
-
if (cal.data('colorpicker').livePreview === true) {
|
68 |
-
change.apply(this);
|
69 |
-
}
|
70 |
-
},
|
71 |
-
change = function (ev) {
|
72 |
-
var cal = $(this).parent().parent(), col;
|
73 |
-
if (this.parentNode.className.indexOf('_hex') > 0) {
|
74 |
-
cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
|
75 |
-
} else if (this.parentNode.className.indexOf('_hsb') > 0) {
|
76 |
-
cal.data('colorpicker').color = col = fixHSB({
|
77 |
-
h: parseInt(cal.data('colorpicker').fields.eq(4).val(), 10),
|
78 |
-
s: parseInt(cal.data('colorpicker').fields.eq(5).val(), 10),
|
79 |
-
b: parseInt(cal.data('colorpicker').fields.eq(6).val(), 10)
|
80 |
-
});
|
81 |
-
} else {
|
82 |
-
cal.data('colorpicker').color = col = RGBToHSB(fixRGB({
|
83 |
-
r: parseInt(cal.data('colorpicker').fields.eq(1).val(), 10),
|
84 |
-
g: parseInt(cal.data('colorpicker').fields.eq(2).val(), 10),
|
85 |
-
b: parseInt(cal.data('colorpicker').fields.eq(3).val(), 10)
|
86 |
-
}));
|
87 |
-
}
|
88 |
-
if (ev) {
|
89 |
-
fillRGBFields(col, cal.get(0));
|
90 |
-
fillHexFields(col, cal.get(0));
|
91 |
-
fillHSBFields(col, cal.get(0));
|
92 |
-
}
|
93 |
-
setSelector(col, cal.get(0));
|
94 |
-
setHue(col, cal.get(0));
|
95 |
-
setNewColor(col, cal.get(0));
|
96 |
-
cal.data('colorpicker').onChange.apply(cal, [col, HSBToHex(col), HSBToRGB(col)]);
|
97 |
-
},
|
98 |
-
blur = function (ev) {
|
99 |
-
var cal = $(this).parent().parent();
|
100 |
-
cal.data('colorpicker').fields.parent().removeClass('colorpicker_focus');
|
101 |
-
},
|
102 |
-
focus = function () {
|
103 |
-
charMin = this.parentNode.className.indexOf('_hex') > 0 ? 70 : 65;
|
104 |
-
$(this).parent().parent().data('colorpicker').fields.parent().removeClass('colorpicker_focus');
|
105 |
-
$(this).parent().addClass('colorpicker_focus');
|
106 |
-
},
|
107 |
-
downIncrement = function (ev) {
|
108 |
-
var field = $(this).parent().find('input').focus();
|
109 |
-
var current = {
|
110 |
-
el: $(this).parent().addClass('colorpicker_slider'),
|
111 |
-
max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : 255),
|
112 |
-
y: ev.pageY,
|
113 |
-
field: field,
|
114 |
-
val: parseInt(field.val(), 10),
|
115 |
-
preview: $(this).parent().parent().data('colorpicker').livePreview
|
116 |
-
};
|
117 |
-
$(document).bind('mouseup', current, upIncrement);
|
118 |
-
$(document).bind('mousemove', current, moveIncrement);
|
119 |
-
},
|
120 |
-
moveIncrement = function (ev) {
|
121 |
-
ev.data.field.val(Math.max(0, Math.min(ev.data.max, parseInt(ev.data.val + ev.pageY - ev.data.y, 10))));
|
122 |
-
if (ev.data.preview) {
|
123 |
-
change.apply(ev.data.field.get(0), [true]);
|
124 |
-
}
|
125 |
-
return false;
|
126 |
-
},
|
127 |
-
upIncrement = function (ev) {
|
128 |
-
change.apply(ev.data.field.get(0), [true]);
|
129 |
-
ev.data.el.removeClass('colorpicker_slider').find('input').focus();
|
130 |
-
$(document).unbind('mouseup', upIncrement);
|
131 |
-
$(document).unbind('mousemove', moveIncrement);
|
132 |
-
return false;
|
133 |
-
},
|
134 |
-
downHue = function (ev) {
|
135 |
-
var current = {
|
136 |
-
cal: $(this).parent(),
|
137 |
-
y: $(this).offset().top
|
138 |
-
};
|
139 |
-
current.preview = current.cal.data('colorpicker').livePreview;
|
140 |
-
$(document).bind('mouseup', current, upHue);
|
141 |
-
$(document).bind('mousemove', current, moveHue);
|
142 |
-
},
|
143 |
-
moveHue = function (ev) {
|
144 |
-
change.apply(
|
145 |
-
ev.data.cal.data('colorpicker')
|
146 |
-
.fields
|
147 |
-
.eq(4)
|
148 |
-
.val(parseInt(360*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.y))))/150, 10))
|
149 |
-
.get(0),
|
150 |
-
[ev.data.preview]
|
151 |
-
);
|
152 |
-
return false;
|
153 |
-
},
|
154 |
-
upHue = function (ev) {
|
155 |
-
fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
156 |
-
fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
157 |
-
$(document).unbind('mouseup', upHue);
|
158 |
-
$(document).unbind('mousemove', moveHue);
|
159 |
-
return false;
|
160 |
-
},
|
161 |
-
downSelector = function (ev) {
|
162 |
-
var current = {
|
163 |
-
cal: $(this).parent(),
|
164 |
-
pos: $(this).offset()
|
165 |
-
};
|
166 |
-
current.preview = current.cal.data('colorpicker').livePreview;
|
167 |
-
$(document).bind('mouseup', current, upSelector);
|
168 |
-
$(document).bind('mousemove', current, moveSelector);
|
169 |
-
},
|
170 |
-
moveSelector = function (ev) {
|
171 |
-
change.apply(
|
172 |
-
ev.data.cal.data('colorpicker')
|
173 |
-
.fields
|
174 |
-
.eq(6)
|
175 |
-
.val(parseInt(100*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.pos.top))))/150, 10))
|
176 |
-
.end()
|
177 |
-
.eq(5)
|
178 |
-
.val(parseInt(100*(Math.max(0,Math.min(150,(ev.pageX - ev.data.pos.left))))/150, 10))
|
179 |
-
.get(0),
|
180 |
-
[ev.data.preview]
|
181 |
-
);
|
182 |
-
return false;
|
183 |
-
},
|
184 |
-
upSelector = function (ev) {
|
185 |
-
fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
186 |
-
fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
|
187 |
-
$(document).unbind('mouseup', upSelector);
|
188 |
-
$(document).unbind('mousemove', moveSelector);
|
189 |
-
return false;
|
190 |
-
},
|
191 |
-
enterSubmit = function (ev) {
|
192 |
-
$(this).addClass('colorpicker_focus');
|
193 |
-
},
|
194 |
-
leaveSubmit = function (ev) {
|
195 |
-
$(this).removeClass('colorpicker_focus');
|
196 |
-
},
|
197 |
-
clickSubmit = function (ev) {
|
198 |
-
var cal = $(this).parent();
|
199 |
-
var col = cal.data('colorpicker').color;
|
200 |
-
cal.data('colorpicker').origColor = col;
|
201 |
-
setCurrentColor(col, cal.get(0));
|
202 |
-
cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el);
|
203 |
-
},
|
204 |
-
show = function (ev) {
|
205 |
-
var cal = $('#' + $(this).data('colorpickerId'));
|
206 |
-
cal.data('colorpicker').onBeforeShow.apply(this, [cal.get(0)]);
|
207 |
-
var pos = $(this).offset();
|
208 |
-
var viewPort = getViewport();
|
209 |
-
var top = pos.top + this.offsetHeight;
|
210 |
-
var left = pos.left;
|
211 |
-
if (top + 176 > viewPort.t + viewPort.h) {
|
212 |
-
top -= this.offsetHeight + 176;
|
213 |
-
}
|
214 |
-
if (left + 356 > viewPort.l + viewPort.w) {
|
215 |
-
left -= 356;
|
216 |
-
}
|
217 |
-
cal.css({left: left + 'px', top: top + 'px'});
|
218 |
-
if (cal.data('colorpicker').onShow.apply(this, [cal.get(0)]) != false) {
|
219 |
-
cal.show();
|
220 |
-
}
|
221 |
-
$(document).bind('mousedown', {cal: cal}, hide);
|
222 |
-
return false;
|
223 |
-
},
|
224 |
-
hide = function (ev) {
|
225 |
-
if (!isChildOf(ev.data.cal.get(0), ev.target, ev.data.cal.get(0))) {
|
226 |
-
if (ev.data.cal.data('colorpicker').onHide.apply(this, [ev.data.cal.get(0)]) != false) {
|
227 |
-
ev.data.cal.hide();
|
228 |
-
}
|
229 |
-
$(document).unbind('mousedown', hide);
|
230 |
-
}
|
231 |
-
},
|
232 |
-
isChildOf = function(parentEl, el, container) {
|
233 |
-
if (parentEl == el) {
|
234 |
-
return true;
|
235 |
-
}
|
236 |
-
if (parentEl.contains) {
|
237 |
-
return parentEl.contains(el);
|
238 |
-
}
|
239 |
-
if ( parentEl.compareDocumentPosition ) {
|
240 |
-
return !!(parentEl.compareDocumentPosition(el) & 16);
|
241 |
-
}
|
242 |
-
var prEl = el.parentNode;
|
243 |
-
while(prEl && prEl != container) {
|
244 |
-
if (prEl == parentEl)
|
245 |
-
return true;
|
246 |
-
prEl = prEl.parentNode;
|
247 |
-
}
|
248 |
-
return false;
|
249 |
-
},
|
250 |
-
getViewport = function () {
|
251 |
-
var m = document.compatMode == 'CSS1Compat';
|
252 |
-
return {
|
253 |
-
l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft),
|
254 |
-
t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop),
|
255 |
-
w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth),
|
256 |
-
h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight)
|
257 |
-
};
|
258 |
-
},
|
259 |
-
fixHSB = function (hsb) {
|
260 |
-
return {
|
261 |
-
h: Math.min(360, Math.max(0, hsb.h)),
|
262 |
-
s: Math.min(100, Math.max(0, hsb.s)),
|
263 |
-
b: Math.min(100, Math.max(0, hsb.b))
|
264 |
-
};
|
265 |
-
},
|
266 |
-
fixRGB = function (rgb) {
|
267 |
-
return {
|
268 |
-
r: Math.min(255, Math.max(0, rgb.r)),
|
269 |
-
g: Math.min(255, Math.max(0, rgb.g)),
|
270 |
-
b: Math.min(255, Math.max(0, rgb.b))
|
271 |
-
};
|
272 |
-
},
|
273 |
-
fixHex = function (hex) {
|
274 |
-
var len = 6 - hex.length;
|
275 |
-
if (len > 0) {
|
276 |
-
var o = [];
|
277 |
-
for (var i=0; i<len; i++) {
|
278 |
-
o.push('0');
|
279 |
-
}
|
280 |
-
o.push(hex);
|
281 |
-
hex = o.join('');
|
282 |
-
}
|
283 |
-
return hex;
|
284 |
-
},
|
285 |
-
HexToRGB = function (hex) {
|
286 |
-
var hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16);
|
287 |
-
return {r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF)};
|
288 |
-
},
|
289 |
-
HexToHSB = function (hex) {
|
290 |
-
return RGBToHSB(HexToRGB(hex));
|
291 |
-
},
|
292 |
-
RGBToHSB = function (rgb) {
|
293 |
-
var hsb = {
|
294 |
-
h: 0,
|
295 |
-
s: 0,
|
296 |
-
b: 0
|
297 |
-
};
|
298 |
-
var min = Math.min(rgb.r, rgb.g, rgb.b);
|
299 |
-
var max = Math.max(rgb.r, rgb.g, rgb.b);
|
300 |
-
var delta = max - min;
|
301 |
-
hsb.b = max;
|
302 |
-
if (max != 0) {
|
303 |
-
|
304 |
-
}
|
305 |
-
hsb.s = max != 0 ? 255 * delta / max : 0;
|
306 |
-
if (hsb.s != 0) {
|
307 |
-
if (rgb.r == max) {
|
308 |
-
hsb.h = (rgb.g - rgb.b) / delta;
|
309 |
-
} else if (rgb.g == max) {
|
310 |
-
hsb.h = 2 + (rgb.b - rgb.r) / delta;
|
311 |
-
} else {
|
312 |
-
hsb.h = 4 + (rgb.r - rgb.g) / delta;
|
313 |
-
}
|
314 |
-
} else {
|
315 |
-
hsb.h = -1;
|
316 |
-
}
|
317 |
-
hsb.h *= 60;
|
318 |
-
if (hsb.h < 0) {
|
319 |
-
hsb.h += 360;
|
320 |
-
}
|
321 |
-
hsb.s *= 100/255;
|
322 |
-
hsb.b *= 100/255;
|
323 |
-
return hsb;
|
324 |
-
},
|
325 |
-
HSBToRGB = function (hsb) {
|
326 |
-
var rgb = {};
|
327 |
-
var h = Math.round(hsb.h);
|
328 |
-
var s = Math.round(hsb.s*255/100);
|
329 |
-
var v = Math.round(hsb.b*255/100);
|
330 |
-
if(s == 0) {
|
331 |
-
rgb.r = rgb.g = rgb.b = v;
|
332 |
-
} else {
|
333 |
-
var t1 = v;
|
334 |
-
var t2 = (255-s)*v/255;
|
335 |
-
var t3 = (t1-t2)*(h%60)/60;
|
336 |
-
if(h==360) h = 0;
|
337 |
-
if(h<60) {rgb.r=t1; rgb.b=t2; rgb.g=t2+t3}
|
338 |
-
else if(h<120) {rgb.g=t1; rgb.b=t2; rgb.r=t1-t3}
|
339 |
-
else if(h<180) {rgb.g=t1; rgb.r=t2; rgb.b=t2+t3}
|
340 |
-
else if(h<240) {rgb.b=t1; rgb.r=t2; rgb.g=t1-t3}
|
341 |
-
else if(h<300) {rgb.b=t1; rgb.g=t2; rgb.r=t2+t3}
|
342 |
-
else if(h<360) {rgb.r=t1; rgb.g=t2; rgb.b=t1-t3}
|
343 |
-
else {rgb.r=0; rgb.g=0; rgb.b=0}
|
344 |
-
}
|
345 |
-
return {r:Math.round(rgb.r), g:Math.round(rgb.g), b:Math.round(rgb.b)};
|
346 |
-
},
|
347 |
-
RGBToHex = function (rgb) {
|
348 |
-
var hex = [
|
349 |
-
rgb.r.toString(16),
|
350 |
-
rgb.g.toString(16),
|
351 |
-
rgb.b.toString(16)
|
352 |
-
];
|
353 |
-
$.each(hex, function (nr, val) {
|
354 |
-
if (val.length == 1) {
|
355 |
-
hex[nr] = '0' + val;
|
356 |
-
}
|
357 |
-
});
|
358 |
-
return hex.join('');
|
359 |
-
},
|
360 |
-
HSBToHex = function (hsb) {
|
361 |
-
return RGBToHex(HSBToRGB(hsb));
|
362 |
-
},
|
363 |
-
restoreOriginal = function () {
|
364 |
-
var cal = $(this).parent();
|
365 |
-
var col = cal.data('colorpicker').origColor;
|
366 |
-
cal.data('colorpicker').color = col;
|
367 |
-
fillRGBFields(col, cal.get(0));
|
368 |
-
fillHexFields(col, cal.get(0));
|
369 |
-
fillHSBFields(col, cal.get(0));
|
370 |
-
setSelector(col, cal.get(0));
|
371 |
-
setHue(col, cal.get(0));
|
372 |
-
setNewColor(col, cal.get(0));
|
373 |
-
};
|
374 |
-
return {
|
375 |
-
init: function (opt) {
|
376 |
-
opt = $.extend({}, defaults, opt||{});
|
377 |
-
if (typeof opt.color == 'string') {
|
378 |
-
opt.color = HexToHSB(opt.color);
|
379 |
-
} else if (opt.color.r != undefined && opt.color.g != undefined && opt.color.b != undefined) {
|
380 |
-
opt.color = RGBToHSB(opt.color);
|
381 |
-
} else if (opt.color.h != undefined && opt.color.s != undefined && opt.color.b != undefined) {
|
382 |
-
opt.color = fixHSB(opt.color);
|
383 |
-
} else {
|
384 |
-
return this;
|
385 |
-
}
|
386 |
-
return this.each(function () {
|
387 |
-
if (!$(this).data('colorpickerId')) {
|
388 |
-
var options = $.extend({}, opt);
|
389 |
-
options.origColor = opt.color;
|
390 |
-
var id = 'collorpicker_' + parseInt(Math.random() * 1000);
|
391 |
-
$(this).data('colorpickerId', id);
|
392 |
-
var cal = $(tpl).attr('id', id);
|
393 |
-
if (options.flat) {
|
394 |
-
cal.appendTo(this).show();
|
395 |
-
} else {
|
396 |
-
cal.appendTo(document.body);
|
397 |
-
}
|
398 |
-
options.fields = cal
|
399 |
-
.find('input')
|
400 |
-
.bind('keyup', keyDown)
|
401 |
-
.bind('change', change)
|
402 |
-
.bind('blur', blur)
|
403 |
-
.bind('focus', focus);
|
404 |
-
cal
|
405 |
-
.find('span').bind('mousedown', downIncrement).end()
|
406 |
-
.find('>div.colorpicker_current_color').bind('click', restoreOriginal);
|
407 |
-
options.selector = cal.find('div.colorpicker_color').bind('mousedown', downSelector);
|
408 |
-
options.selectorIndic = options.selector.find('div div');
|
409 |
-
options.el = this;
|
410 |
-
options.hue = cal.find('div.colorpicker_hue div');
|
411 |
-
cal.find('div.colorpicker_hue').bind('mousedown', downHue);
|
412 |
-
options.newColor = cal.find('div.colorpicker_new_color');
|
413 |
-
options.currentColor = cal.find('div.colorpicker_current_color');
|
414 |
-
cal.data('colorpicker', options);
|
415 |
-
cal.find('div.colorpicker_submit')
|
416 |
-
.bind('mouseenter', enterSubmit)
|
417 |
-
.bind('mouseleave', leaveSubmit)
|
418 |
-
.bind('click', clickSubmit);
|
419 |
-
fillRGBFields(options.color, cal.get(0));
|
420 |
-
fillHSBFields(options.color, cal.get(0));
|
421 |
-
fillHexFields(options.color, cal.get(0));
|
422 |
-
setHue(options.color, cal.get(0));
|
423 |
-
setSelector(options.color, cal.get(0));
|
424 |
-
setCurrentColor(options.color, cal.get(0));
|
425 |
-
setNewColor(options.color, cal.get(0));
|
426 |
-
if (options.flat) {
|
427 |
-
cal.css({
|
428 |
-
position: 'relative',
|
429 |
-
display: 'block'
|
430 |
-
});
|
431 |
-
} else {
|
432 |
-
$(this).bind(options.eventName, show);
|
433 |
-
}
|
434 |
-
}
|
435 |
-
});
|
436 |
-
},
|
437 |
-
showPicker: function() {
|
438 |
-
return this.each( function () {
|
439 |
-
if ($(this).data('colorpickerId')) {
|
440 |
-
show.apply(this);
|
441 |
-
}
|
442 |
-
});
|
443 |
-
},
|
444 |
-
hidePicker: function() {
|
445 |
-
return this.each( function () {
|
446 |
-
if ($(this).data('colorpickerId')) {
|
447 |
-
$('#' + $(this).data('colorpickerId')).hide();
|
448 |
-
}
|
449 |
-
});
|
450 |
-
},
|
451 |
-
setColor: function(col) {
|
452 |
-
if (typeof col == 'string') {
|
453 |
-
col = HexToHSB(col);
|
454 |
-
} else if (col.r != undefined && col.g != undefined && col.b != undefined) {
|
455 |
-
col = RGBToHSB(col);
|
456 |
-
} else if (col.h != undefined && col.s != undefined && col.b != undefined) {
|
457 |
-
col = fixHSB(col);
|
458 |
-
} else {
|
459 |
-
return this;
|
460 |
-
}
|
461 |
-
return this.each(function(){
|
462 |
-
if ($(this).data('colorpickerId')) {
|
463 |
-
var cal = $('#' + $(this).data('colorpickerId'));
|
464 |
-
cal.data('colorpicker').color = col;
|
465 |
-
cal.data('colorpicker').origColor = col;
|
466 |
-
fillRGBFields(col, cal.get(0));
|
467 |
-
fillHSBFields(col, cal.get(0));
|
468 |
-
fillHexFields(col, cal.get(0));
|
469 |
-
setHue(col, cal.get(0));
|
470 |
-
setSelector(col, cal.get(0));
|
471 |
-
setCurrentColor(col, cal.get(0));
|
472 |
-
setNewColor(col, cal.get(0));
|
473 |
-
}
|
474 |
-
});
|
475 |
-
}
|
476 |
-
};
|
477 |
-
}();
|
478 |
-
$.fn.extend({
|
479 |
-
ColorPicker: ColorPicker.init,
|
480 |
-
ColorPickerHide: ColorPicker.hidePicker,
|
481 |
-
ColorPickerShow: ColorPicker.showPicker,
|
482 |
-
ColorPickerSetColor: ColorPicker.setColor
|
483 |
-
});
|
484 |
-
})(jQuery)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
osc_bootstrap_shortcode.php
CHANGED
@@ -4,33 +4,209 @@
|
|
4 |
Plugin Name: Easy Bootstrap Shortcode
|
5 |
Plugin URI: http://www.oscitasthemes.com
|
6 |
Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
|
7 |
-
Version:
|
8 |
-
Author:
|
9 |
Author URI: http://www.oscitasthemes.com
|
10 |
License: Under the GPL v2 or later
|
11 |
*/
|
12 |
|
13 |
-
add_action('
|
14 |
-
|
|
|
|
|
|
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
global $pagenow;
|
|
|
|
|
|
|
|
|
18 |
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
19 |
wp_enqueue_script('jquery');
|
20 |
-
|
|
|
|
|
21 |
wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
|
22 |
wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|
27 |
}
|
28 |
|
29 |
-
function
|
30 |
wp_enqueue_script('jquery');
|
31 |
-
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
34 |
|
35 |
// Shortcodes
|
36 |
-
include('shortcode/functions.php');
|
4 |
Plugin Name: Easy Bootstrap Shortcode
|
5 |
Plugin URI: http://www.oscitasthemes.com
|
6 |
Description: Add bootstrap 3.0 styles to your theme by wordpress editor shortcode buttons.
|
7 |
+
Version: 2.3.6
|
8 |
+
Author: oscitas
|
9 |
Author URI: http://www.oscitasthemes.com
|
10 |
License: Under the GPL v2 or later
|
11 |
*/
|
12 |
|
13 |
+
add_action('init','is_oscitas_theme_exists');
|
14 |
+
function is_oscitas_theme_exists(){
|
15 |
+
global $oscitaschecktheme;
|
16 |
+
add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
|
17 |
+
if(!apply_filters('plugin_oscitas_theme_check',false)){
|
18 |
|
19 |
+
add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts');
|
20 |
+
add_action('admin_menu', 'osc_ebs_add_admin_menu');
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
register_activation_hook(__FILE__, 'osc_ebs_activate_plugin');
|
25 |
+
register_deactivation_hook(__FILE__, 'osc_ebs_deactivate_plugin');
|
26 |
+
//add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
|
27 |
+
//add_action('wp_enqueue_scripts', 'osc_add_frontend_ebs_scripts');
|
28 |
+
//add_action('admin_menu', 'osc_ebs_add_admin_menu');
|
29 |
+
|
30 |
+
function osc_ebs_activate_plugin() {
|
31 |
+
$isSet=apply_filters('ebs_custom_option',false);
|
32 |
+
if (!$isSet) {
|
33 |
+
|
34 |
+
// EBS_BOOTSTRAP_JS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
|
35 |
+
update_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
|
36 |
+
update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
|
37 |
+
update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
|
38 |
+
// EBS_BOOTSTRAP_RESPOND_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme, '3' - to user CDN path
|
39 |
+
update_option('EBS_BOOTSTRAP_RESPOND_LOCATION',2);
|
40 |
+
|
41 |
+
// EBS_BOOTSTRAP_CSS_LOCATION '1' - for plugin file, '2' - don't user EBS files but use from other plugin or theme
|
42 |
+
update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
|
43 |
+
}
|
44 |
+
|
45 |
+
}
|
46 |
+
function osc_ebs_settings_link( $links ) {
|
47 |
+
$isSet=apply_filters('ebs_custom_option',false);
|
48 |
+
if (!$isSet) {
|
49 |
+
$settings_link = '<a href="admin.php?page=ebs/ebs-settings.php">Settings</a>';
|
50 |
+
array_push( $links, $settings_link );
|
51 |
+
}
|
52 |
+
return $links;
|
53 |
+
}
|
54 |
+
|
55 |
+
add_filter( "plugin_action_links_".plugin_basename( __FILE__ ), 'osc_ebs_settings_link' );
|
56 |
+
|
57 |
+
function osc_ebs_deactivate_plugin() {
|
58 |
+
$isSet=apply_filters('ebs_custom_option',false);
|
59 |
+
if (!$isSet) {
|
60 |
+
delete_option( 'EBS_BOOTSTRAP_JS_LOCATION' );
|
61 |
+
delete_option( 'EBS_BOOTSTRAP_JS_CDN_PATH' );
|
62 |
+
delete_option( 'EBS_BOOTSTRAP_CSS_LOCATION');
|
63 |
+
delete_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION' );
|
64 |
+
delete_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH' );
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
function osc_ebs_add_admin_menu() {
|
69 |
+
$isSet=apply_filters('ebs_custom_option',false);
|
70 |
+
if (!$isSet) {
|
71 |
+
add_menu_page('EBS Settings', ' EBS Settings', 'manage_options', 'ebs/ebs-settings.php', 'osc_ebs_setting_page', plugins_url('/images/icon.png', __FILE__));
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
function osc_ebs_setting_page() {
|
76 |
+
if (isset($_POST['ebs_submit'])) {
|
77 |
+
update_option( 'EBS_BOOTSTRAP_JS_LOCATION', $_POST['b_js'] );
|
78 |
+
update_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', $_POST['cdn_path'] );
|
79 |
+
update_option( 'EBS_BOOTSTRAP_CSS_LOCATION', $_POST['b_css'] );
|
80 |
+
update_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', $_POST['b_js'] );
|
81 |
+
update_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', $_POST['cdn_path'] );
|
82 |
+
|
83 |
+
|
84 |
+
$js = $_POST['b_js'];
|
85 |
+
$cdn = $_POST['cdn_path'];
|
86 |
+
$css = $_POST['b_css'];
|
87 |
+
$respond = $_POST['respond_js'];
|
88 |
+
$respondcdn = $_POST['respond_cdn_path'];
|
89 |
+
|
90 |
+
}
|
91 |
+
else {
|
92 |
+
$js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
|
93 |
+
$cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
|
94 |
+
$css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
|
95 |
+
$respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
|
96 |
+
$respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js' );
|
97 |
+
}
|
98 |
+
include 'ebs_settings.php';
|
99 |
+
}
|
100 |
+
|
101 |
+
/* / add_submenu_page('optine
|
102 |
+
function osc_add_admin_ebs_scripts() {
|
103 |
global $pagenow;
|
104 |
+
$screen = get_current_screen();
|
105 |
+
if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
|
106 |
+
wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
|
107 |
+
}
|
108 |
if ('post-new.php' == $pagenow || 'post.php' == $pagenow) {
|
109 |
wp_enqueue_script('jquery');
|
110 |
+
wp_enqueue_style('thickbox');
|
111 |
+
wp_enqueue_script('media-upload');
|
112 |
+
wp_enqueue_script('thickbox');
|
113 |
wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
|
114 |
wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
|
115 |
+
if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
|
116 |
+
wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
|
117 |
+
} else{
|
118 |
+
wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
|
119 |
+
}
|
120 |
+
if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
|
121 |
+
wp_enqueue_style('bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
|
122 |
+
}
|
123 |
+
}
|
124 |
+
}*/
|
125 |
+
|
126 |
+
// add_submenu_page('optine
|
127 |
+
function osc_add_admin_ebs_scripts() {
|
128 |
+
global $pagenow;
|
129 |
+
$screen = get_current_screen();
|
130 |
+
if ($screen->id == 'toplevel_page_ebs/ebs-settings') {
|
131 |
+
wp_enqueue_style('ebs-setting', plugins_url('/styles/ebs-setting.min.css', __FILE__));
|
132 |
}
|
133 |
}
|
134 |
|
135 |
+
function osc_editor_enable_mce(){
|
136 |
wp_enqueue_script('jquery');
|
137 |
+
wp_enqueue_style('thickbox');
|
138 |
+
wp_enqueue_script('media-upload');
|
139 |
+
wp_enqueue_script('thickbox');
|
140 |
+
wp_enqueue_script('jquery.fancybox', plugins_url('/js/jquery.fancybox.js', __FILE__));
|
141 |
+
wp_enqueue_style('fancyboxcss', plugins_url('/styles/jquery.fancybox.css', __FILE__));
|
142 |
+
if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
|
143 |
+
wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
|
144 |
+
} else{
|
145 |
+
wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
|
146 |
+
}
|
147 |
+
if (!apply_filters('ebs_custom_bootstrap_admin_css',false)) {
|
148 |
+
wp_enqueue_style('bootstrap_admin', plugins_url('/styles/bootstrap_admin.min.css', __FILE__));
|
149 |
+
}
|
150 |
+
|
151 |
+
}
|
152 |
+
add_filter('mce_external_plugins', 'osc_editor_enable_mce');
|
153 |
+
|
154 |
+
function osc_add_frontend_ebs_scripts() {
|
155 |
+
wp_enqueue_script('jquery');
|
156 |
+
$isSet=apply_filters('ebs_custom_option',false);
|
157 |
+
if (!$isSet) {
|
158 |
+
$js = get_option( 'EBS_BOOTSTRAP_JS_LOCATION', 1 );
|
159 |
+
$respond = get_option( 'EBS_BOOTSTRAP_RESPOND_LOCATION', 2 );
|
160 |
+
$cdn = get_option( 'EBS_BOOTSTRAP_JS_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
|
161 |
+
$respondcdn = get_option( 'EBS_BOOTSTRAP_RESPOND_CDN_PATH', 'http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js' );
|
162 |
+
$css = get_option( 'EBS_BOOTSTRAP_CSS_LOCATION', 1 );
|
163 |
+
|
164 |
+
// http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.3.0/respond.min.js
|
165 |
+
|
166 |
+
|
167 |
+
if ($js == 1) {
|
168 |
+
if (!apply_filters('ebs_bootstrap_js_url',false)) {
|
169 |
+
wp_enqueue_script('bootstrap', plugins_url('/js/bootstrap.min.js', __FILE__));
|
170 |
+
} else{
|
171 |
+
wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_url',false));
|
172 |
+
}
|
173 |
+
} elseif ($js == 3) {
|
174 |
+
if (!apply_filters('ebs_bootstrap_js_cdn',false)) {
|
175 |
+
wp_enqueue_script('bootstrap', $cdn);
|
176 |
+
} else{
|
177 |
+
wp_enqueue_script('bootstrap', apply_filters('ebs_bootstrap_js_cdn',false));
|
178 |
+
}
|
179 |
+
}
|
180 |
+
if(preg_match('/(?i)msie [1-8]/',$_SERVER['HTTP_USER_AGENT'])){
|
181 |
+
if ($respond == 1) {
|
182 |
+
if (!apply_filters('ebs_bootstrap_respond_url',false)) {
|
183 |
+
wp_enqueue_script('bootstrap_respond', plugins_url('/js/respond.min.js', __FILE__));
|
184 |
+
} else{
|
185 |
+
wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_url',false));
|
186 |
+
}
|
187 |
+
} elseif ($respond == 3) {
|
188 |
+
if (!apply_filters('ebs_bootstrap_respond_cdn',false)) {
|
189 |
+
wp_enqueue_script('bootstrap_respond', $respondcdn);
|
190 |
+
} else{
|
191 |
+
wp_enqueue_script('bootstrap_respond', apply_filters('ebs_bootstrap_respond_cdn',false));
|
192 |
+
}
|
193 |
+
}
|
194 |
+
}
|
195 |
+
if ($css == 1) {
|
196 |
+
if (!apply_filters('ebs_bootstrap_css_url',false)) {
|
197 |
+
wp_enqueue_style('bootstrap', plugins_url('/styles/bootstrap.min.css', __FILE__));
|
198 |
+
} else {
|
199 |
+
wp_enqueue_style('bootstrap', apply_filters('ebs_bootstrap_css_url',false));
|
200 |
+
}
|
201 |
+
} else {
|
202 |
+
if (!apply_filters('ebs_bootstrap_icon_css_url',false)) {
|
203 |
+
//wp_enqueue_style('bootstrap-icon', plugins_url('/styles/bootstrap-icon.min.css', __FILE__));
|
204 |
+
} else{
|
205 |
+
wp_enqueue_style('bootstrap-icon', apply_filters('ebs_bootstrap_icon_css_url',false));
|
206 |
+
}
|
207 |
+
}
|
208 |
+
}
|
209 |
}
|
210 |
|
211 |
// Shortcodes
|
212 |
+
include('shortcode/functions.php');
|
shortcode/btngrp/btngrp_plugin.js
ADDED
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasBtngrp', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasbtngrp', {
|
5 |
+
title : 'Button Btngrp Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_btngrp();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Button Group Shortcode',
|
12 |
+
'href' : '#oscitas-form-btngrp',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Button Group Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitasbtngrp', tinymce.plugins.oscitasBtngrp);
|
37 |
+
})();
|
38 |
+
|
39 |
+
|
40 |
+
function create_oscitas_btngrp(){
|
41 |
+
if(jQuery('#oscitas-form-btngrp').length){
|
42 |
+
jQuery('#oscitas-form-btngrp').remove();
|
43 |
+
}
|
44 |
+
// creates a form to be displayed everytime the button is clicked
|
45 |
+
// you should achieve this using AJAX instead of direct html code like this
|
46 |
+
var form = jQuery('<div id="oscitas-form-btngrp">\
|
47 |
+
<table id="oscitas-table" class="form-table">\
|
48 |
+
<tr>\
|
49 |
+
<th class="main_dp_th"><label for="oscitas-btngrp-heading" >Button Group Features</label></th>\
|
50 |
+
<td>\
|
51 |
+
<table class="tb_multiple_column_upper">\
|
52 |
+
<thead>\
|
53 |
+
<tr><th>Size</th><th>Style</th></tr>\
|
54 |
+
</thead>\
|
55 |
+
<tbody>\
|
56 |
+
<tr>\
|
57 |
+
<td><select name="type" id="oscitas-btngrp-size">\
|
58 |
+
<option value="">Default</option>\
|
59 |
+
<option value="btn-lg">Large</option>\
|
60 |
+
<option value="btn-sm">Small</option>\
|
61 |
+
<option value="btn-xs">Ex-small</option>\
|
62 |
+
</select></td>\
|
63 |
+
<td>\
|
64 |
+
<select name="type" id="oscitas-btngrp-style">\
|
65 |
+
<option value="">Default</option>\
|
66 |
+
<option value="vertical">Vertical</option>\
|
67 |
+
<option value="justified">Justified</option>\
|
68 |
+
</select>\
|
69 |
+
</td>\
|
70 |
+
</tr>\
|
71 |
+
</tbody>\
|
72 |
+
</table>\
|
73 |
+
</td>\
|
74 |
+
</tr>\
|
75 |
+
<tr>\
|
76 |
+
<th class="main_dp_th"><label for="oscitas-line">Button Group Items</label></th>\
|
77 |
+
<td>\
|
78 |
+
<table class="tb_multiple_column">\
|
79 |
+
<thead>\
|
80 |
+
<tr><th>Style</th><th>Type</th><th>Link</th><th>Open in New Window</th><th>Title</th><th>Option</th></tr>\
|
81 |
+
</thead>\
|
82 |
+
<tbody id="oscitas-append-btngrpitem">\
|
83 |
+
<tr class="osc_btngrp_list_item">\
|
84 |
+
<td>\
|
85 |
+
<select name="type" class="oscitas-btngrpitem-style">\
|
86 |
+
<option value="btn-default">Simple</option>\
|
87 |
+
<option value="btn-primary">Primary</option>\
|
88 |
+
<option value="btn-success">Success</option>\
|
89 |
+
<option value="btn-info">Information</option>\
|
90 |
+
<option value="btn-warning">Warning</option>\
|
91 |
+
<option value="btn-danger">Danger</option>\
|
92 |
+
<option value="btn-link">Link</option>\
|
93 |
+
</select>\
|
94 |
+
</td>\
|
95 |
+
<td class="osc_btg_type_change">\
|
96 |
+
<select name="type" class="oscitas-btngrpitem-type">\
|
97 |
+
<option value="link">Link</option>\
|
98 |
+
<option value="button">Button</option>\
|
99 |
+
</select>\
|
100 |
+
</td>\
|
101 |
+
<td class="osc_btg_hide">\
|
102 |
+
<input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />\
|
103 |
+
</td>\
|
104 |
+
<td class="osc_btg_hide">\
|
105 |
+
<input type="checkbox" class="oscitas-btngrpitem-target" value="true">\
|
106 |
+
</td>\
|
107 |
+
<td>\
|
108 |
+
<input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>\
|
109 |
+
</td>\
|
110 |
+
<td></td>\
|
111 |
+
</tr>\
|
112 |
+
</tbody>\
|
113 |
+
<tfoot>\
|
114 |
+
<tr>\
|
115 |
+
<td colspan="8">\
|
116 |
+
<a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a>\
|
117 |
+
</td>\
|
118 |
+
</tr>\
|
119 |
+
</tfoot>\
|
120 |
+
</table>\
|
121 |
+
</td>\
|
122 |
+
</tr>\
|
123 |
+
<tr>\
|
124 |
+
<th>\
|
125 |
+
<label for="oscitas-btngrp-class">Custom Class</label>\
|
126 |
+
</th>\
|
127 |
+
<td>\
|
128 |
+
<input type="text" name="line" id="oscitas-btngrp-class" value=""/>\
|
129 |
+
</td>\
|
130 |
+
</tr>\
|
131 |
+
</table>\
|
132 |
+
<p class="submit">\
|
133 |
+
<input type="button" id="oscitas-btngrp-submit" class="button-primary" value="Insert Button Group" name="submit" />\
|
134 |
+
</p>\
|
135 |
+
</div>');
|
136 |
+
|
137 |
+
var table = form.find('table');
|
138 |
+
form.appendTo('body').hide();
|
139 |
+
form.find('#osc_add_new_dditem').click(function(){
|
140 |
+
var item='<tr class="osc_btngrp_list_item">' +
|
141 |
+
'<td><select name="type" class="oscitas-btngrpitem-style">'+
|
142 |
+
'<option value="btn-default">Simple</option>'+
|
143 |
+
'<option value="btn-primary">Primary</option>'+
|
144 |
+
'<option value="btn-success">Success</option>'+
|
145 |
+
'<option value="btn-info">Information</option>'+
|
146 |
+
'<option value="btn-warning">Warning</option>'+
|
147 |
+
'<option value="btn-danger">Danger</option>'+
|
148 |
+
'<option value="btn-link">Link</option>'+
|
149 |
+
'</select>'+
|
150 |
+
'</td>'+
|
151 |
+
'<td class="osc_btg_type_change">'+
|
152 |
+
'<select name="type" class="oscitas-btngrpitem-type">'+
|
153 |
+
'<option value="link">Link</option>'+
|
154 |
+
'<option value="button">Button</option>'+
|
155 |
+
'</select>'+
|
156 |
+
'</td>'+
|
157 |
+
'<td class="osc_btg_hide">'+
|
158 |
+
'<input type="text" name="link" class="oscitas-btngrpitem-link" value="#" />'+
|
159 |
+
'</td>'+
|
160 |
+
'<td class="osc_btg_hide">'+
|
161 |
+
'<input type="checkbox" class="oscitas-btngrpitem-target" value="true">'+
|
162 |
+
'</td>'+
|
163 |
+
'<td>'+
|
164 |
+
'<input type="text" name="title" class="oscitas-btngrpitem-title" value="Button"/>'+
|
165 |
+
'</td>'+
|
166 |
+
'<td><a class="osc_remove_btgitem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td>'+
|
167 |
+
'</tr>';
|
168 |
+
form.find('#oscitas-append-btngrpitem').append(item);
|
169 |
+
|
170 |
+
});
|
171 |
+
jQuery('.osc_remove_btgitem').live('click',function(){
|
172 |
+
jQuery(this).parent().parent().remove();
|
173 |
+
})
|
174 |
+
jQuery('.osc_btg_type_change').live('change',function(){
|
175 |
+
var $this=jQuery(this);
|
176 |
+
var par=jQuery(this).parent();
|
177 |
+
var item=jQuery(this);
|
178 |
+
var val=item.find('.oscitas-btngrpitem-type').val();
|
179 |
+
if(val=='button'){
|
180 |
+
jQuery(par).find('.osc_btg_hide').hide();
|
181 |
+
item.attr('colspan',3);
|
182 |
+
} else{
|
183 |
+
jQuery(par).find('.osc_hide').show();
|
184 |
+
item.attr('colspan',0);
|
185 |
+
}
|
186 |
+
});
|
187 |
+
|
188 |
+
// dialog('close');
|
189 |
+
// handles the click event of the submit button
|
190 |
+
form.find('#oscitas-btngrp-submit').click(function(){
|
191 |
+
|
192 |
+
|
193 |
+
var cusclass='',style='';
|
194 |
+
if(table.find('#oscitas-btngrp-class').val()!=''){
|
195 |
+
cusclass= ' class="'+table.find('#oscitas-btngrp-class').val()+'"';
|
196 |
+
}
|
197 |
+
if(table.find('#oscitas-btngrp-style').val()!=''){
|
198 |
+
style= ' style="'+table.find('#oscitas-btngrp-style').val()+'"';
|
199 |
+
}
|
200 |
+
var shortcode='[buttongroup'+cusclass+style;
|
201 |
+
shortcode+=']';
|
202 |
+
var type='',title='',link='';
|
203 |
+
jQuery('tr.osc_btngrp_list_item').each(function(){
|
204 |
+
type = jQuery(this).find('.oscitas-btngrpitem-type').val();
|
205 |
+
title = jQuery(this).find('.oscitas-btngrpitem-title').val();
|
206 |
+
link = jQuery(this).find('.oscitas-btngrpitem-link').val();
|
207 |
+
|
208 |
+
shortcode+='[button';
|
209 |
+
shortcode += ' style="'+jQuery(this).find('.oscitas-btngrpitem-style').val();
|
210 |
+
shortcode += ' '+jQuery('#oscitas-btngrp-size').val();
|
211 |
+
shortcode += '"';
|
212 |
+
shortcode += ' type="'+type+'" ';
|
213 |
+
if(type!='button'){
|
214 |
+
shortcode += ' target="'+(jQuery(this).find('.oscitas-btngrpitem-target').prop('checked')? 'true': 'false')+ '" ';
|
215 |
+
shortcode += ' link="'+link+'" ';
|
216 |
+
}
|
217 |
+
shortcode += ' title="'+title+'" ';
|
218 |
+
shortcode+=']<br/>';
|
219 |
+
});
|
220 |
+
shortcode+='[/buttongroup]';
|
221 |
+
|
222 |
+
|
223 |
+
|
224 |
+
// inserts the shortcode into the active editor
|
225 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
226 |
+
|
227 |
+
jQuery.fancybox.close();
|
228 |
+
});
|
229 |
+
}
|
230 |
+
|
shortcode/btngrp/icon.png
ADDED
Binary file
|
shortcode/btngrp/plugin_shortcode.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_btngrp($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'style' => '',
|
6 |
+
'class' => ''
|
7 |
+
), $params));
|
8 |
+
$content = str_replace("]<br />", ']', $content);
|
9 |
+
$content = str_replace("]<br />\n", ']', $content);
|
10 |
+
$content = str_replace("<br />\n[", '[', $content);
|
11 |
+
if ($style =='vertical') {
|
12 |
+
$out = '<div class="btn-group-vertical ' . $class . '">' . do_shortcode($content) . '</div>';
|
13 |
+
} elseif ($style =='justified') {
|
14 |
+
$out = '<div class="btn-group btn-group-justified ' . $class . '">' . do_shortcode($content) . '</div>';
|
15 |
+
}else{
|
16 |
+
$out = '<div class="btn-group ' . $class . '">' . do_shortcode($content) . '</div>';
|
17 |
+
}
|
18 |
+
|
19 |
+
|
20 |
+
return $out;
|
21 |
+
}
|
22 |
+
|
23 |
+
add_shortcode('buttongroup', 'osc_theme_btngrp');
|
24 |
+
|
25 |
+
?>
|
shortcode/btngrptool/btngrptool_plugin.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasBtngrptool', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasbtngrptool', {
|
5 |
+
title : 'Button Group Toolbar Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
ed.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
|
9 |
+
}
|
10 |
+
});
|
11 |
+
},
|
12 |
+
createControl : function(n, cm) {
|
13 |
+
return null;
|
14 |
+
},
|
15 |
+
getInfo : function() {
|
16 |
+
return {
|
17 |
+
longname : "Button Group Toolbar Shortcode",
|
18 |
+
author : 'Oscitas Themes',
|
19 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
+
infourl : 'http://www.oscitasthemes.com/',
|
21 |
+
version : "2.0.0"
|
22 |
+
};
|
23 |
+
}
|
24 |
+
});
|
25 |
+
tinymce.PluginManager.add('oscitasbtngrptool', tinymce.plugins.oscitasBtngrptool);
|
26 |
+
})();
|
shortcode/btngrptool/icon.png
ADDED
Binary file
|
shortcode/btngrptool/plugin_shortcode.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_btngrptoolbar($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'style' => '',
|
6 |
+
'class' => ''
|
7 |
+
), $params));
|
8 |
+
$content = str_replace("]<br />", ']', $content);
|
9 |
+
$content = str_replace("]<br />\n", ']', $content);
|
10 |
+
$content = str_replace("<br />\n[", '[', $content);
|
11 |
+
$out = '<div class="btn-toolbar '.$class.'" role="toolbar">' . do_shortcode($content) . '</div>';
|
12 |
+
|
13 |
+
return $out;
|
14 |
+
}
|
15 |
+
|
16 |
+
add_shortcode('btngrptoolbar', 'osc_theme_btngrptoolbar');
|
17 |
+
|
18 |
+
?>
|
shortcode/buttons/buttons_plugin.js
CHANGED
@@ -1,170 +1,422 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasButtons', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitasbuttons', {
|
5 |
-
title : '
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
<option value="btn-
|
59 |
-
<option value="btn-
|
60 |
-
<option value="btn-
|
61 |
-
|
62 |
-
</
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
<
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
</
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
<
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasButtons', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasbuttons', {
|
5 |
+
title : 'Button Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_button();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'autoSize':false,
|
11 |
+
'autoWidth':false,
|
12 |
+
'fitToView':false,
|
13 |
+
'height':'auto',
|
14 |
+
'topRatio':0.1,
|
15 |
+
'width':800,
|
16 |
+
'type' : 'inline',
|
17 |
+
'title' : 'Button Shortcode',
|
18 |
+
'href' : '#oscitas-form-button',
|
19 |
+
helpers: {
|
20 |
+
title : {
|
21 |
+
type : 'over',
|
22 |
+
position:'top'
|
23 |
+
}
|
24 |
+
}
|
25 |
+
});
|
26 |
+
}
|
27 |
+
});
|
28 |
+
},
|
29 |
+
createControl : function(n, cm) {
|
30 |
+
return null;
|
31 |
+
},
|
32 |
+
getInfo : function() {
|
33 |
+
return {
|
34 |
+
longname : "Button Shortcode",
|
35 |
+
author : 'Oscitas Themes',
|
36 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
37 |
+
infourl : 'http://www.oscitasthemes.com/',
|
38 |
+
version : "2.0.0"
|
39 |
+
};
|
40 |
+
}
|
41 |
+
});
|
42 |
+
tinymce.PluginManager.add('oscitasbuttons', tinymce.plugins.oscitasButtons);
|
43 |
+
})();
|
44 |
+
|
45 |
+
function create_oscitas_button(){
|
46 |
+
if(jQuery('#oscitas-form-button').length){
|
47 |
+
jQuery('#oscitas-form-button').remove();
|
48 |
+
}
|
49 |
+
// creates a form to be displayed everytime the button is clicked
|
50 |
+
// you should achieve this using AJAX instead of direct html code like this
|
51 |
+
var form = jQuery('<div id="oscitas-form-button" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-button-style">Style:</label></th>\
|
54 |
+
<td><select name="type" id="oscitas-button-style">\
|
55 |
+
<option value="btn-default">Simple</option>\
|
56 |
+
<option value="btn-primary">Primary</option>\
|
57 |
+
<option value="btn-success">Success</option>\
|
58 |
+
<option value="btn-info">Information</option>\
|
59 |
+
<option value="btn-warning">Warning</option>\
|
60 |
+
<option value="btn-danger">Danger</option>\
|
61 |
+
<option value="btn-link">Link</option>\
|
62 |
+
</select><br />\
|
63 |
+
</td>\
|
64 |
+
</tr>\
|
65 |
+
<tr>\
|
66 |
+
<th><label for="oscitas-button-size">Size:</label></th>\
|
67 |
+
<td><select name="type" id="oscitas-button-size">\
|
68 |
+
<option value="btn-lg">Large</option>\
|
69 |
+
<option value="btn-sm">Small</option>\
|
70 |
+
<option value="btn-xs">Ex-small</option>\
|
71 |
+
</select><br />\
|
72 |
+
</td>\
|
73 |
+
</tr>\
|
74 |
+
<tr>\
|
75 |
+
<th><label for="oscitas-button-type">Type:</label></th>\
|
76 |
+
<td><select name="type" id="oscitas-button-type">\
|
77 |
+
<option value="link">Link</option>\
|
78 |
+
<option value="button">Button</option>\
|
79 |
+
</select><br />\
|
80 |
+
</td>\
|
81 |
+
</tr>\
|
82 |
+
<tr>\
|
83 |
+
<th><label for="oscitas-heading-icon">Select Icon:</label></th>\
|
84 |
+
<td><div id="click_icon_list_button" class="oscitas-icon-div"><span id="osc_show_icon_button"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_button" value="">\
|
85 |
+
<div id="osc_show_iconlist_button" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_button" id="oscitas-heading-icon_button" class="oscitas-icon-ul">\
|
86 |
+
<li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
|
87 |
+
<li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
|
88 |
+
<li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
|
89 |
+
<li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
|
90 |
+
<li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
|
91 |
+
<li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
|
92 |
+
<li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
|
93 |
+
<li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
|
94 |
+
<li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
|
95 |
+
<li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
|
96 |
+
<li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
|
97 |
+
<li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
|
98 |
+
<li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
|
99 |
+
<li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
|
100 |
+
<li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
|
101 |
+
<li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
|
102 |
+
<li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
|
103 |
+
<li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
|
104 |
+
<li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
|
105 |
+
<li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
|
106 |
+
<li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
|
107 |
+
<li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
|
108 |
+
<li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
|
109 |
+
<li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
|
110 |
+
<li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
|
111 |
+
<li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
|
112 |
+
<li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
|
113 |
+
<li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
|
114 |
+
<li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
|
115 |
+
<li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
|
116 |
+
<li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
|
117 |
+
<li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
|
118 |
+
<li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
|
119 |
+
<li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
|
120 |
+
<li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
|
121 |
+
<li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
|
122 |
+
<li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
|
123 |
+
<li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
|
124 |
+
<li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
|
125 |
+
<li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
|
126 |
+
<li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
|
127 |
+
<li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
|
128 |
+
<li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
|
129 |
+
<li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
|
130 |
+
<li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
|
131 |
+
<li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
|
132 |
+
<li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
|
133 |
+
<li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
|
134 |
+
<li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
|
135 |
+
<li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
|
136 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
137 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
138 |
+
<li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
|
139 |
+
<li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
|
140 |
+
<li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
|
141 |
+
<li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
|
142 |
+
<li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
|
143 |
+
<li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
|
144 |
+
<li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
|
145 |
+
<li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
|
146 |
+
<li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
|
147 |
+
<li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
|
148 |
+
<li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
|
149 |
+
<li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
|
150 |
+
<li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
|
151 |
+
<li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
|
152 |
+
<li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
|
153 |
+
<li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
|
154 |
+
<li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
|
155 |
+
<li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
|
156 |
+
<li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
|
157 |
+
<li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
|
158 |
+
<li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
|
159 |
+
<li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
|
160 |
+
<li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
|
161 |
+
<li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
|
162 |
+
<li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
|
163 |
+
<li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
|
164 |
+
<li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
|
165 |
+
<li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
|
166 |
+
<li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
|
167 |
+
<li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
|
168 |
+
<li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
|
169 |
+
<li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
|
170 |
+
<li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
|
171 |
+
<li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
|
172 |
+
<li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
|
173 |
+
<li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
|
174 |
+
<li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
|
175 |
+
<li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
|
176 |
+
<li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
|
177 |
+
<li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
|
178 |
+
<li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
|
179 |
+
<li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
|
180 |
+
<li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
|
181 |
+
<li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
|
182 |
+
<li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
|
183 |
+
<li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
|
184 |
+
<li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
|
185 |
+
<li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
|
186 |
+
<li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
|
187 |
+
<li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
|
188 |
+
<li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
|
189 |
+
<li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
|
190 |
+
<li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
|
191 |
+
<li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
|
192 |
+
<li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
|
193 |
+
<li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
|
194 |
+
<li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
|
195 |
+
<li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
|
196 |
+
<li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
|
197 |
+
<li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
|
198 |
+
<li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
|
199 |
+
<li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
|
200 |
+
<li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
|
201 |
+
<li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
|
202 |
+
<li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
|
203 |
+
<li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
|
204 |
+
<li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
|
205 |
+
<li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
|
206 |
+
<li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
|
207 |
+
<li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
|
208 |
+
<li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
|
209 |
+
<li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
|
210 |
+
<li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
|
211 |
+
<li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
|
212 |
+
<li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
|
213 |
+
<li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
|
214 |
+
<li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
|
215 |
+
<li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
|
216 |
+
<li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
|
217 |
+
<li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
|
218 |
+
<li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
|
219 |
+
<li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
|
220 |
+
<li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
|
221 |
+
<li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
|
222 |
+
<li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
|
223 |
+
<li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
|
224 |
+
<li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
|
225 |
+
<li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
|
226 |
+
<li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
|
227 |
+
<li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
|
228 |
+
<li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
|
229 |
+
<li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
|
230 |
+
<li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
|
231 |
+
<li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
|
232 |
+
<li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
|
233 |
+
<li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
|
234 |
+
<li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
|
235 |
+
<li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
|
236 |
+
<li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
|
237 |
+
<li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
|
238 |
+
<li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
|
239 |
+
<li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
|
240 |
+
<li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
|
241 |
+
<li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
|
242 |
+
<li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
|
243 |
+
<li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
|
244 |
+
<li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
|
245 |
+
<li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
|
246 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
|
247 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
|
248 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
|
249 |
+
<li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
|
250 |
+
<li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
|
251 |
+
<li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
|
252 |
+
<li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
|
253 |
+
<li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
|
254 |
+
<li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
|
255 |
+
<li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
|
256 |
+
<li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
|
257 |
+
<li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
|
258 |
+
<li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
|
259 |
+
<li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
|
260 |
+
<li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
|
261 |
+
<li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
|
262 |
+
<li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
|
263 |
+
<li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
|
264 |
+
<li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
|
265 |
+
<li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
|
266 |
+
<li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
|
267 |
+
<li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
|
268 |
+
<li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
|
269 |
+
<li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
|
270 |
+
<li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
|
271 |
+
<li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
|
272 |
+
<li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
|
273 |
+
<li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
|
274 |
+
<li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
|
275 |
+
<li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
|
276 |
+
<li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
|
277 |
+
<li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
|
278 |
+
<li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
|
279 |
+
<li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
|
280 |
+
<li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
|
281 |
+
<li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
|
282 |
+
<li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
|
283 |
+
<li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
|
284 |
+
<li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
|
285 |
+
<li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
|
286 |
+
</ul></div>\
|
287 |
+
</td>\
|
288 |
+
</tr>\
|
289 |
+
<tr>\
|
290 |
+
<th><label for="oscitas-button-iconalign">Icon Alignment:</label></th>\
|
291 |
+
<td><select name="type" id="oscitas-button-iconalign">\
|
292 |
+
<option value="left">Left</option>\
|
293 |
+
<option value="right">Right</option>\
|
294 |
+
</select><br />\
|
295 |
+
</td>\
|
296 |
+
</tr>\
|
297 |
+
<tr>\
|
298 |
+
<th><label for="oscitas-table-rows">Make block</label></th>\
|
299 |
+
<td>\
|
300 |
+
<input type="checkbox" id="oscitas-button-block">\
|
301 |
+
<br />\
|
302 |
+
</td>\
|
303 |
+
</tr>\
|
304 |
+
<tr>\
|
305 |
+
<th><label for="oscitas-button-title">Title:</label></th>\
|
306 |
+
<td><input type="text" name="title" id="oscitas-button-title" value="Button"/><br />\
|
307 |
+
</td>\
|
308 |
+
</tr>\
|
309 |
+
<tr id="tr-button-link">\
|
310 |
+
<th><label for="oscitas-button-link">Link</label></th>\
|
311 |
+
<td><input type="text" name="link" id="oscitas-button-link" value="#" /><br />\
|
312 |
+
</td>\
|
313 |
+
</tr>\
|
314 |
+
<tr id="tr-button-newwindow">\
|
315 |
+
<th><label for="oscitas-table-rows">Open in new window</label></th>\
|
316 |
+
<td>\
|
317 |
+
<input type="checkbox" id="oscitas-button-target">\
|
318 |
+
<br />\
|
319 |
+
</td>\
|
320 |
+
</tr>\
|
321 |
+
<tr>\
|
322 |
+
<th><label for="oscitas-button-class">Custom Class:</label></th>\
|
323 |
+
<td><input type="text" name="line" id="oscitas-button-class" value=""/><br />\
|
324 |
+
</td>\
|
325 |
+
</tr>\
|
326 |
+
</table>\
|
327 |
+
<p class="submit">\
|
328 |
+
<input type="button" id="oscitas-button-submit" class="button-primary" value="Insert Button" name="submit" />\
|
329 |
+
</p>\
|
330 |
+
</div>');
|
331 |
+
|
332 |
+
var table = form.find('table');
|
333 |
+
jQuery('.glyphicon').css('display','inline');
|
334 |
+
form.appendTo('body').hide();
|
335 |
+
table.find('#click_icon_list_button').click(function(){
|
336 |
+
if(!jQuery(this).hasClass('osc_icon_showing_button')){
|
337 |
+
jQuery(this).addClass('osc_icon_showing_button')
|
338 |
+
table.find('#osc_show_iconlist_button').show();
|
339 |
+
} else{
|
340 |
+
jQuery(this).removeClass('osc_icon_showing_button')
|
341 |
+
table.find('#osc_show_iconlist_button').hide();
|
342 |
+
}
|
343 |
+
});
|
344 |
+
table.find('#oscitas-heading-icon_button li').click(function(){
|
345 |
+
var val=jQuery(this).attr('data-value');
|
346 |
+
table.find('#oscitas-heading-icon_button li').removeClass('osc_icon_selected_button');
|
347 |
+
jQuery(this).addClass('osc_icon_selected_button');
|
348 |
+
table.find('#osc_show_iconlist_button').hide();
|
349 |
+
table.find('#osc_show_icon_button').removeClass().addClass('glyphicon').addClass(val);
|
350 |
+
table.find('#osc_icon_class_val_button').val(val);
|
351 |
+
})
|
352 |
+
|
353 |
+
table.find('#oscitas-button-type').change(function(){
|
354 |
+
var abc = jQuery(this).val();
|
355 |
+
if('link' == abc){
|
356 |
+
jQuery("#tr-button-link").show();
|
357 |
+
jQuery("#tr-button-newwindow").show();
|
358 |
+
}else{
|
359 |
+
jQuery("#tr-button-link").hide();
|
360 |
+
jQuery("#tr-button-newwindow").hide();
|
361 |
+
}
|
362 |
+
jQuery('#oscitas-form-button table tr:visible:even').css('background', '#F0F0F0');
|
363 |
+
jQuery('#oscitas-form-button table tr:visible:odd').css('background', '#DADADD');
|
364 |
+
});
|
365 |
+
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
// handles the click event of the submit button
|
370 |
+
form.find('#oscitas-button-submit').click(function(){
|
371 |
+
// defines the options and their default values
|
372 |
+
// again, this is not the most elegant way to do this
|
373 |
+
// but well, this gets the job done nonetheless
|
374 |
+
var options;
|
375 |
+
var type = table.find('#oscitas-button-type').val();
|
376 |
+
if(type=='button'){
|
377 |
+
options = {
|
378 |
+
'title' : 'osCitas'
|
379 |
+
};
|
380 |
+
}
|
381 |
+
else{
|
382 |
+
options = {
|
383 |
+
'title' : 'osCitas',
|
384 |
+
'link' : ''
|
385 |
+
};
|
386 |
+
}
|
387 |
+
var cusclass='',icon='';
|
388 |
+
if(table.find('#oscitas-button-class').val()!=''){
|
389 |
+
cusclass= ' class="'+table.find('#oscitas-button-class').val()+'"';
|
390 |
+
}
|
391 |
+
if(table.find('#osc_icon_class_val_button').val()!=''){
|
392 |
+
icon= ' icon="'+table.find('#osc_icon_class_val_button').val()+'" ';
|
393 |
+
}
|
394 |
+
|
395 |
+
var shortcode = '[button'+cusclass;
|
396 |
+
|
397 |
+
shortcode += ' style="'+table.find('#oscitas-button-style').val();
|
398 |
+
shortcode += ' '+table.find('#oscitas-button-size').val();
|
399 |
+
shortcode += table.find('#oscitas-button-block').prop('checked')? ' btn-block': '';
|
400 |
+
shortcode += '" ';
|
401 |
+
shortcode += icon;
|
402 |
+
shortcode += ' align="'+table.find('#oscitas-button-iconalign').val()+'" ';
|
403 |
+
shortcode += ' type="'+type+'" ';
|
404 |
+
if(type!='button'){
|
405 |
+
shortcode += ' target="'+(table.find('#oscitas-button-target').prop('checked')? 'true': 'false')+ '" ';
|
406 |
+
}
|
407 |
+
for( var index in options) {
|
408 |
+
var value = table.find('#oscitas-button-' + index).val();
|
409 |
+
// var value = table.find('#oscitas-button-' + index).val();
|
410 |
+
shortcode += ' ' + index + '="' + value + '"';
|
411 |
+
}
|
412 |
+
|
413 |
+
shortcode += ']';
|
414 |
+
|
415 |
+
// inserts the shortcode into the active editor
|
416 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
417 |
+
|
418 |
+
// closes fancybox
|
419 |
+
jQuery.fancybox.close();
|
420 |
+
});
|
421 |
+
}
|
422 |
+
|
shortcode/buttons/plugin_shortcode.php
CHANGED
@@ -1,23 +1,38 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
*
|
4 |
-
*
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_button($params, $content = null) {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'title' => 'osCitas',
|
10 |
+
'link' => '',
|
11 |
+
'type' => 'link',
|
12 |
+
'style' => '',
|
13 |
+
'align' => '',
|
14 |
+
'target' => '',
|
15 |
+
'icon' => '',
|
16 |
+
'class' => ''
|
17 |
+
), $params));
|
18 |
+
$out = '';
|
19 |
+
if($icon!=''){
|
20 |
+
if($align=='right'){
|
21 |
+
$value=$title.' <i class="glyphicon '.$icon.'"></i>';
|
22 |
+
} else{
|
23 |
+
$value='<i class="glyphicon '.$icon.'"></i> '.$title;
|
24 |
+
}
|
25 |
+
}else{
|
26 |
+
$value=$title;
|
27 |
+
}
|
28 |
+
$target = ' target="'.($target != 'false' ? '_blank':'_self').'"';
|
29 |
+
if ($type == 'link') {
|
30 |
+
$out = '<a class="btn ' . $style . ' ' . $class . '" href="' . $link . '" ' . ($target) . '>' . $value . '</a>';
|
31 |
+
} elseif ($type == 'button') {
|
32 |
+
$out = '<button class="btn ' . $style . ' ' . $class . '" >' . $value . '</button>';
|
33 |
+
}
|
34 |
+
return $out;
|
35 |
+
}
|
36 |
+
|
37 |
+
add_shortcode('button', 'osc_theme_button');
|
38 |
+
|
shortcode/deslist/deslist_plugin.js
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasDeslist', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasdeslist', {
|
5 |
+
title : 'List Group Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_deslists();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Description List Shortcode',
|
12 |
+
'href' : '#oscitas-form-deslists',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Description List Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitasdeslist', tinymce.plugins.oscitasDeslist);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_deslists(){
|
40 |
+
if(jQuery('#oscitas-form-deslists').length){
|
41 |
+
jQuery('#oscitas-form-deslists').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-deslists"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-line">No of List Item</label></th>\
|
48 |
+
<td><input type="text" name="line" id="oscitas-deslist-item" value="3"/><br /><small>Enter a numeric value</small>\
|
49 |
+
</td>\
|
50 |
+
</tr>\
|
51 |
+
<tr>\
|
52 |
+
<th><label for="oscitas-deslist-style">List style</label></th>\
|
53 |
+
<td><select name="type" id="oscitas-deslist-style">\
|
54 |
+
<option value="">Default</option>\
|
55 |
+
<option value="dl-horizontal">Horizontal</option>\
|
56 |
+
</select><br />\
|
57 |
+
</td>\
|
58 |
+
</tr>\
|
59 |
+
<tr>\
|
60 |
+
<th><label for="oscitas-deslist-class">Custom Class:</label></th>\
|
61 |
+
<td><input type="text" name="line" id="oscitas-deslist-class" value=""/><br />\
|
62 |
+
</td>\
|
63 |
+
</tr>\
|
64 |
+
</table>\
|
65 |
+
<p class="submit">\
|
66 |
+
<input type="button" id="oscitas-deslist-submit" class="button-primary" value="Insert List" name="submit" />\
|
67 |
+
</p>\
|
68 |
+
</div>');
|
69 |
+
|
70 |
+
var table = form.find('table');
|
71 |
+
form.appendTo('body').hide();
|
72 |
+
|
73 |
+
// handles the click event of the submit button
|
74 |
+
form.find('#oscitas-deslist-submit').click(function(){
|
75 |
+
// defines the options and their default values
|
76 |
+
// again, this is not the most elegant way to do this
|
77 |
+
// but well, this gets the job done nonetheless
|
78 |
+
var options = {
|
79 |
+
'type' : 'arrow'
|
80 |
+
},deslist=0,deslist_type;
|
81 |
+
var cusclass='',style='';
|
82 |
+
if(table.find('#oscitas-deslist-class').val()!=''){
|
83 |
+
cusclass= ' class="'+table.find('#oscitas-deslist-class').val()+'"';
|
84 |
+
}
|
85 |
+
if(table.find('#oscitas-deslist-style').val()!=''){
|
86 |
+
style= ' style="'+table.find('#oscitas-deslist-style').val()+'"';
|
87 |
+
}
|
88 |
+
var shortcode = '[dl'+cusclass+style;
|
89 |
+
var deslist_item=jQuery('#oscitas-deslist-item').val();
|
90 |
+
if(isNaN(deslist_item)==false){
|
91 |
+
deslist=deslist_item;
|
92 |
+
} else{
|
93 |
+
deslist=3;
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
shortcode += ']<br/>';
|
98 |
+
for(var i=1;i<=deslist;i++){
|
99 |
+
shortcode +='[dlitem heading="Heading '+i+'"]Description '+i+'[/dlitem]<br/>'
|
100 |
+
}
|
101 |
+
shortcode +='[/dl]';
|
102 |
+
|
103 |
+
// inserts the shortcode into the active editor
|
104 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
105 |
+
|
106 |
+
jQuery.fancybox.close();
|
107 |
+
});
|
108 |
+
}
|
109 |
+
|
shortcode/deslist/icon.png
ADDED
Binary file
|
shortcode/deslist/plugin_shortcode.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_deslist($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'class' => '',
|
6 |
+
'style' =>''
|
7 |
+
), $params));
|
8 |
+
$content = str_replace("]<br />", ']', $content);
|
9 |
+
$content = str_replace("]<br />\n", ']', $content);
|
10 |
+
$content = str_replace("<br />\n[", '[', $content);
|
11 |
+
return '<dl class="osc-deslist ' . $style . ' '.$class.'">' . do_shortcode($content) . '</dl>';
|
12 |
+
}
|
13 |
+
|
14 |
+
add_shortcode('dl', 'osc_theme_deslist');
|
15 |
+
|
16 |
+
function osc_theme_dlitem($params, $content = null) {
|
17 |
+
extract(shortcode_atts(array(
|
18 |
+
'heading' => ''
|
19 |
+
), $params));
|
20 |
+
$out='<dt>'.do_shortcode($heading).'</dt>';
|
21 |
+
$out.='<dd>'.do_shortcode($content).'</dd>';
|
22 |
+
return $out;
|
23 |
+
}
|
24 |
+
|
25 |
+
add_shortcode('dlitem', 'osc_theme_dlitem');
|
shortcode/dropdown/dropdown_plugin.js
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasDropdown', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasdropdown', {
|
5 |
+
title : 'Button Dropdown Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_dropdown();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Button Dropdown Shortcode',
|
12 |
+
'href' : '#oscitas-form-dropdown',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Button Dropdown Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitasdropdown', tinymce.plugins.oscitasDropdown);
|
37 |
+
})();
|
38 |
+
|
39 |
+
|
40 |
+
function create_oscitas_dropdown(){
|
41 |
+
if(jQuery('#oscitas-form-dropdown').length){
|
42 |
+
jQuery('#oscitas-form-dropdown').remove();
|
43 |
+
}
|
44 |
+
// creates a form to be displayed everytime the button is clicked
|
45 |
+
// you should achieve this using AJAX instead of direct html code like this
|
46 |
+
var form = jQuery('<div id="oscitas-form-dropdown" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
47 |
+
<tr>\
|
48 |
+
<th class="main_dp_th"><label for="oscitas-dropdown-heading" >Dropdown Button Features</label></th>\
|
49 |
+
<td><table class="tb_multiple_column_upper">\
|
50 |
+
<thead>\
|
51 |
+
<tr><th>Text</th><th>Size</th><th>Style</th><th>Split</th><th>Dropup</th></tr>\
|
52 |
+
</thead>\
|
53 |
+
<tbody>\
|
54 |
+
<tr>\
|
55 |
+
<td><input type="text" name="dropdown-heading" id="oscitas-dropdown-heading" value="Dropdown"/></td>\
|
56 |
+
<td><select name="type" id="oscitas-dropdown-size">\
|
57 |
+
<option value="">Default</option>\
|
58 |
+
<option value="btn-lg">Large</option>\
|
59 |
+
<option value="btn-sm">Small</option>\
|
60 |
+
<option value="btn-xs">Ex-small</option>\
|
61 |
+
</select><br /></td>\
|
62 |
+
<td><select name="type" id="oscitas-dropdown-style">\
|
63 |
+
<option value="btn-default">Simple</option>\
|
64 |
+
<option value="btn-primary">Primary</option>\
|
65 |
+
<option value="btn-success">Success</option>\
|
66 |
+
<option value="btn-info">Information</option>\
|
67 |
+
<option value="btn-warning">Warning</option>\
|
68 |
+
<option value="btn-danger">Danger</option>\
|
69 |
+
<option value="btn-link">Link</option>\
|
70 |
+
</select><br /></td>\
|
71 |
+
<td><input type="checkbox" name="dropdown-split" id="oscitas-dropdown-split" value="split"/></td>\
|
72 |
+
<td><select name="type" id="oscitas-dropdown-dropup">\
|
73 |
+
<option value="dropdown">Drop Down</option>\
|
74 |
+
<option value="dropup">Drop Up</option>\
|
75 |
+
</select></td>\
|
76 |
+
</tr>\
|
77 |
+
</tbody>\
|
78 |
+
</table></td>\
|
79 |
+
</tr>\
|
80 |
+
<tr>\
|
81 |
+
<th class="main_dp_th"><label for="oscitas-line">Dropdown Items</label></th>\
|
82 |
+
<td><table class="tb_multiple_column">\
|
83 |
+
<thead>\
|
84 |
+
<tr><th>Type</th><th>Link</th><th>Title</th><th>Disabled</th><th>Option</th></tr>\
|
85 |
+
</thead>\
|
86 |
+
<tbody id="oscitas-append-dropdownitem">\
|
87 |
+
<tr class="osc_dropdown_list_item">\
|
88 |
+
<td><input type="hidden" class="oscitas-dropdownitem-type" value="menuitem"><span>Menu Item</span></td>\
|
89 |
+
<td><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td>\
|
90 |
+
<td><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td>\
|
91 |
+
<td><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td></td>\
|
92 |
+
</tr>\
|
93 |
+
</tbody>\
|
94 |
+
<tfoot>\
|
95 |
+
<tr><td colspan="5"><a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> Add New Item</a></td></tr>\
|
96 |
+
</tfoot>\
|
97 |
+
</table></td>\
|
98 |
+
</tr>\
|
99 |
+
<tr>\
|
100 |
+
<th><label for="oscitas-dropdown-class">Custom Class:</label></th>\
|
101 |
+
<td><input type="text" name="line" id="oscitas-dropdown-class" value=""/><br />\
|
102 |
+
</td>\
|
103 |
+
</tr>\
|
104 |
+
</table>\
|
105 |
+
<p class="submit">\
|
106 |
+
<input type="button" id="oscitas-dropdown-submit" class="button-primary" value="Insert Dropdown" name="submit" />\
|
107 |
+
</p>\
|
108 |
+
</div>');
|
109 |
+
|
110 |
+
var table = form.find('table');
|
111 |
+
form.appendTo('body').hide();
|
112 |
+
form.find('#osc_add_new_dditem').click(function(){
|
113 |
+
var item='<tr class="osc_dropdown_list_item"><td class="osc_type_change"><select name="dropdown-item-type[]" class="oscitas-dropdownitem-type"><option value="menuitem">Menu Item</option><option value="divider">Divider</option></select></td><td class="osc_hide"><input type="text" name="dropdown-item-link[]" class="oscitas-dropdownitem-link" value="#"/></td><td class="osc_hide"><input type="text" name="dropdown-item-title[]" class="oscitas-dropdownitem-title" value="Dropdown Item"/></td><td class="osc_hide"><input type="checkbox" name="dropdown-item-disabled[]" class="oscitas-dropdownitem-disabled" value="disabled"/></td><td><a class="osc_remove_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td></tr>';
|
114 |
+
form.find('#oscitas-append-dropdownitem').append(item);
|
115 |
+
|
116 |
+
});
|
117 |
+
jQuery('.osc_remove_dditem').live('click',function(){
|
118 |
+
jQuery(this).parent().parent().remove();
|
119 |
+
})
|
120 |
+
jQuery('.osc_type_change').live('change',function(){
|
121 |
+
var par=jQuery(this).parent();
|
122 |
+
var item=jQuery(this);
|
123 |
+
var val=item.find('.oscitas-dropdownitem-type').val();
|
124 |
+
if(val=='divider'){
|
125 |
+
jQuery(par).find('.osc_hide').hide();
|
126 |
+
item.attr('colspan',4);
|
127 |
+
} else{
|
128 |
+
jQuery(par).find('.osc_hide').show();
|
129 |
+
item.attr('colspan',0);
|
130 |
+
}
|
131 |
+
})
|
132 |
+
// handles the click event of the submit button
|
133 |
+
form.find('#oscitas-dropdown-submit').click(function(){
|
134 |
+
var split,dropup;
|
135 |
+
var type,link,title,disabled;
|
136 |
+
var heading= jQuery('#oscitas-dropdown-heading').val();
|
137 |
+
|
138 |
+
if(jQuery('#oscitas-dropdown-split').is(":checked")==true){
|
139 |
+
split= jQuery('#oscitas-dropdown-split').val();
|
140 |
+
} else{
|
141 |
+
split='';
|
142 |
+
}
|
143 |
+
var size= jQuery('#oscitas-dropdown-size').val();
|
144 |
+
var style= jQuery('#oscitas-dropdown-style').val();
|
145 |
+
dropup= 'dropup="'+jQuery('#oscitas-dropdown-dropup').val()+'"';
|
146 |
+
|
147 |
+
var cusclass;
|
148 |
+
if(table.find('#oscitas-dropdown-class').val()!=''){
|
149 |
+
cusclass= ' class="'+table.find('#oscitas-dropdown-class').val()+'"';
|
150 |
+
}
|
151 |
+
else{
|
152 |
+
cusclass='';
|
153 |
+
}
|
154 |
+
var shortcode='';
|
155 |
+
shortcode ='[dropdown '+dropup+cusclass+']<br/>';
|
156 |
+
shortcode +='[dropdownhead style="'+style+'" size="'+size+'" split="'+split+'"]<br/>';
|
157 |
+
shortcode += heading+'<br/>';
|
158 |
+
shortcode +='[/dropdownhead]<br/>';
|
159 |
+
shortcode +='[dropdownbody]<br/>';
|
160 |
+
|
161 |
+
jQuery('tr.osc_dropdown_list_item').each(function(index){
|
162 |
+
|
163 |
+
type = jQuery(this).find('.oscitas-dropdownitem-type').val();
|
164 |
+
link = jQuery(this).find('.oscitas-dropdownitem-link').val();
|
165 |
+
title = jQuery(this).find('.oscitas-dropdownitem-title').val();
|
166 |
+
|
167 |
+
if(jQuery(this).find('.oscitas-dropdownitem-disabled').is(":checked")==true){
|
168 |
+
disabled='disabled="'+jQuery(this).find('.oscitas-dropdownitem-disabled').val()+'"';
|
169 |
+
} else{
|
170 |
+
disabled='';
|
171 |
+
}
|
172 |
+
if(type=='divider'){
|
173 |
+
shortcode +='[dropdownitem type="'+type+'"][/dropdownitem]<br/>';
|
174 |
+
} else if(type=='menuitem'){
|
175 |
+
shortcode +='[dropdownitem type="'+type+'" link="'+link+'" '+disabled+']'+title+'[/dropdownitem]<br/>';
|
176 |
+
}
|
177 |
+
|
178 |
+
});
|
179 |
+
|
180 |
+
shortcode +='[/dropdownbody]<br/>';
|
181 |
+
shortcode +='[/dropdown]';
|
182 |
+
|
183 |
+
|
184 |
+
// inserts the shortcode into the active editor
|
185 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
186 |
+
|
187 |
+
jQuery.fancybox.close();
|
188 |
+
});
|
189 |
+
}
|
190 |
+
|
shortcode/dropdown/icon.png
ADDED
Binary file
|
shortcode/dropdown/plugin_shortcode.php
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_dropdown($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'dropup' => '',
|
6 |
+
'class' => ''
|
7 |
+
), $params));
|
8 |
+
$content = str_replace("]<br />", ']', $content);
|
9 |
+
$content = str_replace("]<br />\n", ']', $content);
|
10 |
+
$content = str_replace("<br />\n[", '[', $content);
|
11 |
+
if ($dropup != 'dropup') {
|
12 |
+
$dropup = '';
|
13 |
+
}
|
14 |
+
$out = '<div class="btn-group ' . $dropup . ' ' . $class . '">' . do_shortcode($content) . '</div>';
|
15 |
+
$out .= "
|
16 |
+
<script>
|
17 |
+
jQuery(document).ready(function(){
|
18 |
+
jQuery('.dropdown-toggle').dropdown();
|
19 |
+
});
|
20 |
+
</script>
|
21 |
+
";
|
22 |
+
return $out;
|
23 |
+
}
|
24 |
+
|
25 |
+
add_shortcode('dropdown', 'osc_theme_dropdown');
|
26 |
+
|
27 |
+
function osc_theme_dropdown_head($params, $content = null) {
|
28 |
+
extract(shortcode_atts(array(
|
29 |
+
'size' => '',
|
30 |
+
'style' => '',
|
31 |
+
'split' => ''), $params));
|
32 |
+
$out = '';
|
33 |
+
if ($split == "split") {
|
34 |
+
$out = '<button type="button" class="btn ' . $size . ' ' . $style . '">' . $content . '</button>';
|
35 |
+
|
36 |
+
$out .= '<button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
|
37 |
+
$out .= '<span class="caret"></span></button>';
|
38 |
+
} else {
|
39 |
+
$out = ' <button type="button" class="btn ' . $size . ' ' . $style . ' dropdown-toggle" data-toggle="dropdown">';
|
40 |
+
$out .= $content . ' <span class="caret"></span> </button>';
|
41 |
+
}
|
42 |
+
|
43 |
+
return $out;
|
44 |
+
}
|
45 |
+
|
46 |
+
add_shortcode('dropdownhead', 'osc_theme_dropdown_head');
|
47 |
+
|
48 |
+
function osc_theme_dropdown_body($params, $content = null) {
|
49 |
+
$content = str_replace("]<br />", ']', $content);
|
50 |
+
$content = str_replace("]<br />\n", ']', $content);
|
51 |
+
$content = str_replace("<br />\n[", '[', $content);
|
52 |
+
$out = '<ul class="dropdown-menu" role="menu">' . do_shortcode($content) . '</ul>';
|
53 |
+
return $out;
|
54 |
+
}
|
55 |
+
|
56 |
+
add_shortcode('dropdownbody', 'osc_theme_dropdown_body');
|
57 |
+
|
58 |
+
function osc_theme_dropdown_items($params, $content = null) {
|
59 |
+
extract(shortcode_atts(array(
|
60 |
+
'type' => '',
|
61 |
+
'link' => '',
|
62 |
+
'disabled' => ''), $params));
|
63 |
+
$out = '';
|
64 |
+
if ($type == "divider") {
|
65 |
+
$out = '<li class="divider"></li>';
|
66 |
+
} elseif ($type == "menuitem") {
|
67 |
+
if ($disabled == 'disabled') {
|
68 |
+
$out = '<li class="disabled"><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
|
69 |
+
} else {
|
70 |
+
$out = '<li><a href="' . $link . '">' . do_shortcode($content) . '</a></li>';
|
71 |
+
}
|
72 |
+
}
|
73 |
+
return $out;
|
74 |
+
}
|
75 |
+
|
76 |
+
add_shortcode('dropdownitem', 'osc_theme_dropdown_items');
|
77 |
+
?>
|
shortcode/functions.php
CHANGED
@@ -1,61 +1,59 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// Add Shortcode buttons in TinyMCE
|
4 |
-
$elements = array(
|
5 |
-
'toggles',
|
6 |
-
'tabs',
|
7 |
-
'lists',
|
8 |
-
'
|
9 |
-
'
|
10 |
-
'
|
11 |
-
'
|
12 |
-
'
|
13 |
-
'
|
14 |
-
'
|
15 |
-
'
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
return $plugin_array;
|
59 |
-
}
|
60 |
-
|
61 |
-
?>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// Add Shortcode buttons in TinyMCE
|
4 |
+
$elements = array(
|
5 |
+
'toggles',
|
6 |
+
'tabs',
|
7 |
+
'lists',
|
8 |
+
'deslist',
|
9 |
+
'buttons',
|
10 |
+
'btngrptool',
|
11 |
+
'btngrp',
|
12 |
+
'notifications',
|
13 |
+
'wpcolumns',
|
14 |
+
'tables',
|
15 |
+
'tooltip',
|
16 |
+
'iconhead',
|
17 |
+
'panel',
|
18 |
+
'oscpopover',
|
19 |
+
'dropdown',
|
20 |
+
'labels',
|
21 |
+
'well',
|
22 |
+
'thumbnail',
|
23 |
+
'icon',
|
24 |
+
'image',
|
25 |
+
'progressbar',
|
26 |
+
|
27 |
+
);
|
28 |
+
|
29 |
+
foreach ($elements as $element) {
|
30 |
+
include( $element . '/plugin_shortcode.php');
|
31 |
+
}
|
32 |
+
|
33 |
+
add_action('init', 'osc_add_ebs_buttons_to_tinymce');
|
34 |
+
|
35 |
+
function osc_add_ebs_buttons_to_tinymce() {
|
36 |
+
if (!current_user_can('edit_posts') && !current_user_can('edit_pages'))
|
37 |
+
return;
|
38 |
+
|
39 |
+
if (get_user_option('rich_editing') == 'true') {
|
40 |
+
add_filter("mce_external_plugins", "osc_add_ebs_plugin");
|
41 |
+
add_filter('mce_buttons_3', 'osc_register_ebs_button');
|
42 |
+
}
|
43 |
+
}
|
44 |
+
|
45 |
+
function osc_register_ebs_button($buttons) {
|
46 |
+
global $elements;
|
47 |
+
foreach ($elements as $element) {
|
48 |
+
$buttons[] = 'oscitas' . $element;
|
49 |
+
}
|
50 |
+
return $buttons;
|
51 |
+
}
|
52 |
+
|
53 |
+
function osc_add_ebs_plugin($plugin_array) {
|
54 |
+
global $elements;
|
55 |
+
foreach ($elements as $element) {
|
56 |
+
$plugin_array['oscitas' . $element] = plugins_url('', __FILE__) . '/' . $element . '/' . $element . '_plugin.js';
|
57 |
+
}
|
58 |
+
return $plugin_array;
|
59 |
+
}
|
|
|
|
shortcode/icon/icon.png
ADDED
Binary file
|
shortcode/icon/icon_plugin.js
ADDED
@@ -0,0 +1,318 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasIcon', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasicon', {
|
5 |
+
title : 'Icon Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_icon();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'autoSize':false,
|
11 |
+
'autoWidth':false,
|
12 |
+
'fitToView':false,
|
13 |
+
'height':'auto',
|
14 |
+
'topRatio':0.15,
|
15 |
+
'width':600,
|
16 |
+
'type' : 'inline',
|
17 |
+
'title' : 'Icon Shortcode',
|
18 |
+
'href' : '#oscitas-form-icon',
|
19 |
+
helpers: {
|
20 |
+
title : {
|
21 |
+
type : 'over',
|
22 |
+
position:'top'
|
23 |
+
}
|
24 |
+
}
|
25 |
+
});
|
26 |
+
}
|
27 |
+
});
|
28 |
+
},
|
29 |
+
createControl : function(n, cm) {
|
30 |
+
return null;
|
31 |
+
},
|
32 |
+
getInfo : function() {
|
33 |
+
return {
|
34 |
+
longname : "Icon Shortcode",
|
35 |
+
author : 'Oscitas Themes',
|
36 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
37 |
+
infourl : 'http://www.oscitasthemes.com/',
|
38 |
+
version : "2.0.0"
|
39 |
+
};
|
40 |
+
}
|
41 |
+
});
|
42 |
+
tinymce.PluginManager.add('oscitasicon', tinymce.plugins.oscitasIcon);
|
43 |
+
})();
|
44 |
+
|
45 |
+
function create_oscitas_icon(){
|
46 |
+
if(jQuery('#oscitas-form-icon').length){
|
47 |
+
jQuery('#oscitas-form-icon').remove();
|
48 |
+
}
|
49 |
+
// creates a form to be displayed everytime the button is clicked
|
50 |
+
// you should achieve this using AJAX instead of direct html code like this
|
51 |
+
var form = jQuery('<div id="oscitas-form-icon" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-heading-icon">Select Icon:</label></th>\
|
54 |
+
<td><div id="click_icon_list_icon" class="oscitas-icon-div"><span id="osc_show_icon_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_icon" value="glyphicon-adjust">\
|
55 |
+
<div id="osc_show_iconlist_icon" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon_icon" id="oscitas-heading-icon_icon" class="oscitas-icon-ul">\
|
56 |
+
<li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust osc_icon_selected_button"> </li>\
|
57 |
+
<li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
|
58 |
+
<li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
|
59 |
+
<li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
|
60 |
+
<li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
|
61 |
+
<li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
|
62 |
+
<li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
|
63 |
+
<li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
|
64 |
+
<li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
|
65 |
+
<li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
|
66 |
+
<li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
|
67 |
+
<li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
|
68 |
+
<li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
|
69 |
+
<li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
|
70 |
+
<li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
|
71 |
+
<li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
|
72 |
+
<li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
|
73 |
+
<li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
|
74 |
+
<li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
|
75 |
+
<li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
|
76 |
+
<li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
|
77 |
+
<li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
|
78 |
+
<li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
|
79 |
+
<li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
|
80 |
+
<li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
|
81 |
+
<li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
|
82 |
+
<li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
|
83 |
+
<li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
|
84 |
+
<li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
|
85 |
+
<li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
|
86 |
+
<li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
|
87 |
+
<li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
|
88 |
+
<li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
|
89 |
+
<li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
|
90 |
+
<li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
|
91 |
+
<li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
|
92 |
+
<li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
|
93 |
+
<li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
|
94 |
+
<li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
|
95 |
+
<li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
|
96 |
+
<li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
|
97 |
+
<li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
|
98 |
+
<li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
|
99 |
+
<li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
|
100 |
+
<li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
|
101 |
+
<li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
|
102 |
+
<li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
|
103 |
+
<li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
|
104 |
+
<li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
|
105 |
+
<li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
|
106 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
107 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
108 |
+
<li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
|
109 |
+
<li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
|
110 |
+
<li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
|
111 |
+
<li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
|
112 |
+
<li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
|
113 |
+
<li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
|
114 |
+
<li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
|
115 |
+
<li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
|
116 |
+
<li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
|
117 |
+
<li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
|
118 |
+
<li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
|
119 |
+
<li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
|
120 |
+
<li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
|
121 |
+
<li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
|
122 |
+
<li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
|
123 |
+
<li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
|
124 |
+
<li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
|
125 |
+
<li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
|
126 |
+
<li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
|
127 |
+
<li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
|
128 |
+
<li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
|
129 |
+
<li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
|
130 |
+
<li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
|
131 |
+
<li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
|
132 |
+
<li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
|
133 |
+
<li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
|
134 |
+
<li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
|
135 |
+
<li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
|
136 |
+
<li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
|
137 |
+
<li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
|
138 |
+
<li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
|
139 |
+
<li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
|
140 |
+
<li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
|
141 |
+
<li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
|
142 |
+
<li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
|
143 |
+
<li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
|
144 |
+
<li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
|
145 |
+
<li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
|
146 |
+
<li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
|
147 |
+
<li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
|
148 |
+
<li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
|
149 |
+
<li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
|
150 |
+
<li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
|
151 |
+
<li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
|
152 |
+
<li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
|
153 |
+
<li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
|
154 |
+
<li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
|
155 |
+
<li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
|
156 |
+
<li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
|
157 |
+
<li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
|
158 |
+
<li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
|
159 |
+
<li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
|
160 |
+
<li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
|
161 |
+
<li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
|
162 |
+
<li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
|
163 |
+
<li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
|
164 |
+
<li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
|
165 |
+
<li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
|
166 |
+
<li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
|
167 |
+
<li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
|
168 |
+
<li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
|
169 |
+
<li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
|
170 |
+
<li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
|
171 |
+
<li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
|
172 |
+
<li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
|
173 |
+
<li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
|
174 |
+
<li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
|
175 |
+
<li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
|
176 |
+
<li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
|
177 |
+
<li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
|
178 |
+
<li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
|
179 |
+
<li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
|
180 |
+
<li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
|
181 |
+
<li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
|
182 |
+
<li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
|
183 |
+
<li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
|
184 |
+
<li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
|
185 |
+
<li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
|
186 |
+
<li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
|
187 |
+
<li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
|
188 |
+
<li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
|
189 |
+
<li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
|
190 |
+
<li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
|
191 |
+
<li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
|
192 |
+
<li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
|
193 |
+
<li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
|
194 |
+
<li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
|
195 |
+
<li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
|
196 |
+
<li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
|
197 |
+
<li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
|
198 |
+
<li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
|
199 |
+
<li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
|
200 |
+
<li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
|
201 |
+
<li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
|
202 |
+
<li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
|
203 |
+
<li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
|
204 |
+
<li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
|
205 |
+
<li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
|
206 |
+
<li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
|
207 |
+
<li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
|
208 |
+
<li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
|
209 |
+
<li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
|
210 |
+
<li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
|
211 |
+
<li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
|
212 |
+
<li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
|
213 |
+
<li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
|
214 |
+
<li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
|
215 |
+
<li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
|
216 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
|
217 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
|
218 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
|
219 |
+
<li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
|
220 |
+
<li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
|
221 |
+
<li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
|
222 |
+
<li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
|
223 |
+
<li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
|
224 |
+
<li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
|
225 |
+
<li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
|
226 |
+
<li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
|
227 |
+
<li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
|
228 |
+
<li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
|
229 |
+
<li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
|
230 |
+
<li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
|
231 |
+
<li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
|
232 |
+
<li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
|
233 |
+
<li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
|
234 |
+
<li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
|
235 |
+
<li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
|
236 |
+
<li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
|
237 |
+
<li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
|
238 |
+
<li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
|
239 |
+
<li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
|
240 |
+
<li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
|
241 |
+
<li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
|
242 |
+
<li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
|
243 |
+
<li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
|
244 |
+
<li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
|
245 |
+
<li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
|
246 |
+
<li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
|
247 |
+
<li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
|
248 |
+
<li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
|
249 |
+
<li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
|
250 |
+
<li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
|
251 |
+
<li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
|
252 |
+
<li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
|
253 |
+
<li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
|
254 |
+
<li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
|
255 |
+
<li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
|
256 |
+
</ul></div>\
|
257 |
+
</td>\
|
258 |
+
</tr>\
|
259 |
+
<tr>\
|
260 |
+
<th><label for="oscitas-icon-class">Custom Class:</label></th>\
|
261 |
+
<td><input type="text" name="line" id="oscitas-icon-class" value=""/><br />\
|
262 |
+
</td>\
|
263 |
+
</tr>\
|
264 |
+
</table>\
|
265 |
+
<p class="submit">\
|
266 |
+
<input type="button" id="oscitas-icon-submit" class="button-primary" value="Insert icon" name="submit" />\
|
267 |
+
</p>\
|
268 |
+
</div>');
|
269 |
+
|
270 |
+
var table = form.find('table');
|
271 |
+
jQuery('.glyphicon').css('display','inline');
|
272 |
+
form.appendTo('body').hide();
|
273 |
+
var t= table.find('#osc_icon_class_val_icon').val();
|
274 |
+
table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(t);
|
275 |
+
table.find('#click_icon_list_icon').click(function(){
|
276 |
+
if(!jQuery(this).hasClass('osc_icon_showing_icon')){
|
277 |
+
jQuery(this).addClass('osc_icon_showing_icon')
|
278 |
+
table.find('#osc_show_iconlist_icon').show();
|
279 |
+
} else{
|
280 |
+
jQuery(this).removeClass('osc_icon_showing_icon')
|
281 |
+
table.find('#osc_show_iconlist_icon').hide();
|
282 |
+
}
|
283 |
+
});
|
284 |
+
table.find('#oscitas-heading-icon_icon li').click(function(){
|
285 |
+
var val=jQuery(this).attr('data-value');
|
286 |
+
table.find('#oscitas-heading-icon_icon li').removeClass('osc_icon_selected_button');
|
287 |
+
jQuery(this).addClass('osc_icon_selected_button');
|
288 |
+
table.find('#osc_show_iconlist_icon').hide();
|
289 |
+
table.find('#osc_show_icon_icon').removeClass().addClass('glyphicon').addClass(val);
|
290 |
+
table.find('#osc_icon_class_val_icon').val(val);
|
291 |
+
})
|
292 |
+
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
// handles the click event of the submit button
|
299 |
+
form.find('#oscitas-icon-submit').click(function(){
|
300 |
+
var cusclass;
|
301 |
+
if(table.find('#oscitas-icon-class').val()!=''){
|
302 |
+
cusclass= ' class="'+table.find('#oscitas-icon-class').val()+'"';
|
303 |
+
}
|
304 |
+
else{
|
305 |
+
cusclass='';
|
306 |
+
}
|
307 |
+
var icon = table.find('#osc_icon_class_val_icon').val();
|
308 |
+
var shortcode='';
|
309 |
+
shortcode='[icon type="'+icon+'"'+cusclass+']'
|
310 |
+
|
311 |
+
// inserts the shortcode into the active editor
|
312 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
313 |
+
|
314 |
+
// closes fancybox
|
315 |
+
jQuery.fancybox.close();
|
316 |
+
});
|
317 |
+
}
|
318 |
+
|
shortcode/icon/plugin_shortcode.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_icon($params, $content = null) {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'type' => '',
|
10 |
+
'class' => '',
|
11 |
+
), $params));
|
12 |
+
$out = '<i class="glyphicon ' . $type . ' ' . $class . '"></i>';
|
13 |
+
return $out;
|
14 |
+
}
|
15 |
+
|
16 |
+
add_shortcode('icon', 'osc_theme_icon');
|
17 |
+
|
shortcode/iconhead/iconhead_plugin.js
CHANGED
@@ -1,306 +1,332 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasIconhead', {
|
3 |
-
init: function(ed, url) {
|
4 |
-
ed.addButton('oscitasiconhead', {
|
5 |
-
title: 'Icon Heading Shortcode',
|
6 |
-
image: url + '/icon.png',
|
7 |
-
onclick: function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
'
|
13 |
-
'
|
14 |
-
'
|
15 |
-
'
|
16 |
-
'
|
17 |
-
'
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
<
|
56 |
-
<li data-value="glyphicon-
|
57 |
-
<li data-value="glyphicon-
|
58 |
-
<li data-value="glyphicon-
|
59 |
-
<li data-value="glyphicon-
|
60 |
-
<li data-value="glyphicon-
|
61 |
-
<li data-value="glyphicon-
|
62 |
-
<li data-value="glyphicon-
|
63 |
-
<li data-value="glyphicon-
|
64 |
-
<li data-value="glyphicon-
|
65 |
-
<li data-value="glyphicon-
|
66 |
-
<li data-value="glyphicon-
|
67 |
-
<li data-value="glyphicon-
|
68 |
-
<li data-value="glyphicon-
|
69 |
-
<li data-value="glyphicon-
|
70 |
-
<li data-value="glyphicon-
|
71 |
-
<li data-value="glyphicon-
|
72 |
-
<li data-value="glyphicon-
|
73 |
-
<li data-value="glyphicon-
|
74 |
-
<li data-value="glyphicon-
|
75 |
-
<li data-value="glyphicon-
|
76 |
-
<li data-value="glyphicon-
|
77 |
-
<li data-value="glyphicon-
|
78 |
-
<li data-value="glyphicon-
|
79 |
-
<li data-value="glyphicon-
|
80 |
-
<li data-value="glyphicon-
|
81 |
-
<li data-value="glyphicon-
|
82 |
-
<li data-value="glyphicon-
|
83 |
-
<li data-value="glyphicon-
|
84 |
-
<li data-value="glyphicon-
|
85 |
-
<li data-value="glyphicon-
|
86 |
-
<li data-value="glyphicon-
|
87 |
-
<li data-value="glyphicon-
|
88 |
-
<li data-value="glyphicon-
|
89 |
-
<li data-value="glyphicon-
|
90 |
-
<li data-value="glyphicon-
|
91 |
-
<li data-value="glyphicon-
|
92 |
-
<li data-value="glyphicon-
|
93 |
-
<li data-value="glyphicon-
|
94 |
-
<li data-value="glyphicon-
|
95 |
-
<li data-value="glyphicon-
|
96 |
-
<li data-value="glyphicon-
|
97 |
-
<li data-value="glyphicon-
|
98 |
-
<li data-value="glyphicon-
|
99 |
-
<li data-value="glyphicon-
|
100 |
-
<li data-value="glyphicon-
|
101 |
-
<li data-value="glyphicon-
|
102 |
-
<li data-value="glyphicon-
|
103 |
-
<li data-value="glyphicon-
|
104 |
-
<li data-value="glyphicon-
|
105 |
-
<li data-value="glyphicon-
|
106 |
-
<li data-value="glyphicon-
|
107 |
-
<li data-value="glyphicon-
|
108 |
-
<li data-value="glyphicon-
|
109 |
-
<li data-value="glyphicon-
|
110 |
-
<li data-value="glyphicon-
|
111 |
-
<li data-value="glyphicon-
|
112 |
-
<li data-value="glyphicon-
|
113 |
-
<li data-value="glyphicon-
|
114 |
-
<li data-value="glyphicon-
|
115 |
-
<li data-value="glyphicon-
|
116 |
-
<li data-value="glyphicon-
|
117 |
-
<li data-value="glyphicon-
|
118 |
-
<li data-value="glyphicon-
|
119 |
-
<li data-value="glyphicon-
|
120 |
-
<li data-value="glyphicon-floppy-
|
121 |
-
<li data-value="glyphicon-
|
122 |
-
<li data-value="glyphicon-
|
123 |
-
<li data-value="glyphicon-
|
124 |
-
<li data-value="glyphicon-
|
125 |
-
<li data-value="glyphicon-
|
126 |
-
<li data-value="glyphicon-
|
127 |
-
<li data-value="glyphicon-
|
128 |
-
<li data-value="glyphicon-
|
129 |
-
<li data-value="glyphicon-
|
130 |
-
<li data-value="glyphicon-
|
131 |
-
<li data-value="glyphicon-
|
132 |
-
<li data-value="glyphicon-
|
133 |
-
<li data-value="glyphicon-
|
134 |
-
<li data-value="glyphicon-
|
135 |
-
<li data-value="glyphicon-
|
136 |
-
<li data-value="glyphicon-
|
137 |
-
<li data-value="glyphicon-
|
138 |
-
<li data-value="glyphicon-
|
139 |
-
<li data-value="glyphicon-
|
140 |
-
<li data-value="glyphicon-
|
141 |
-
<li data-value="glyphicon-
|
142 |
-
<li data-value="glyphicon-
|
143 |
-
<li data-value="glyphicon-
|
144 |
-
<li data-value="glyphicon-
|
145 |
-
<li data-value="glyphicon-
|
146 |
-
<li data-value="glyphicon-
|
147 |
-
<li data-value="glyphicon-
|
148 |
-
<li data-value="glyphicon-
|
149 |
-
<li data-value="glyphicon-
|
150 |
-
<li data-value="glyphicon-
|
151 |
-
<li data-value="glyphicon-
|
152 |
-
<li data-value="glyphicon-
|
153 |
-
<li data-value="glyphicon-
|
154 |
-
<li data-value="glyphicon-
|
155 |
-
<li data-value="glyphicon-
|
156 |
-
<li data-value="glyphicon-
|
157 |
-
<li data-value="glyphicon-
|
158 |
-
<li data-value="glyphicon-
|
159 |
-
<li data-value="glyphicon-
|
160 |
-
<li data-value="glyphicon-
|
161 |
-
<li data-value="glyphicon-
|
162 |
-
<li data-value="glyphicon-
|
163 |
-
<li data-value="glyphicon-
|
164 |
-
<li data-value="glyphicon-
|
165 |
-
<li data-value="glyphicon-
|
166 |
-
<li data-value="glyphicon-
|
167 |
-
<li data-value="glyphicon-
|
168 |
-
<li data-value="glyphicon-
|
169 |
-
<li data-value="glyphicon-
|
170 |
-
<li data-value="glyphicon-
|
171 |
-
<li data-value="glyphicon-
|
172 |
-
<li data-value="glyphicon-
|
173 |
-
<li data-value="glyphicon-
|
174 |
-
<li data-value="glyphicon-
|
175 |
-
<li data-value="glyphicon-
|
176 |
-
<li data-value="glyphicon-
|
177 |
-
<li data-value="glyphicon-
|
178 |
-
<li data-value="glyphicon-
|
179 |
-
<li data-value="glyphicon-
|
180 |
-
<li data-value="glyphicon-
|
181 |
-
<li data-value="glyphicon-
|
182 |
-
<li data-value="glyphicon-
|
183 |
-
<li data-value="glyphicon-
|
184 |
-
<li data-value="glyphicon-
|
185 |
-
<li data-value="glyphicon-
|
186 |
-
<li data-value="glyphicon-
|
187 |
-
<li data-value="glyphicon-
|
188 |
-
<li data-value="glyphicon-
|
189 |
-
<li data-value="glyphicon-
|
190 |
-
<li data-value="glyphicon-
|
191 |
-
<li data-value="glyphicon-
|
192 |
-
<li data-value="glyphicon-
|
193 |
-
<li data-value="glyphicon-
|
194 |
-
<li data-value="glyphicon-
|
195 |
-
<li data-value="glyphicon-
|
196 |
-
<li data-value="glyphicon-
|
197 |
-
<li data-value="glyphicon-
|
198 |
-
<li data-value="glyphicon-
|
199 |
-
<li data-value="glyphicon-
|
200 |
-
<li data-value="glyphicon-
|
201 |
-
<li data-value="glyphicon-
|
202 |
-
<li data-value="glyphicon-
|
203 |
-
<li data-value="glyphicon-
|
204 |
-
<li data-value="glyphicon-
|
205 |
-
<li data-value="glyphicon-
|
206 |
-
<li data-value="glyphicon-
|
207 |
-
<li data-value="glyphicon-
|
208 |
-
<li data-value="glyphicon-
|
209 |
-
<li data-value="glyphicon-sort
|
210 |
-
<li data-value="glyphicon-sort-by-
|
211 |
-
<li data-value="glyphicon-sort-by-
|
212 |
-
<li data-value="glyphicon-
|
213 |
-
<li data-value="glyphicon-
|
214 |
-
<li data-value="glyphicon-
|
215 |
-
<li data-value="glyphicon-
|
216 |
-
<li data-value="glyphicon-sound
|
217 |
-
<li data-value="glyphicon-
|
218 |
-
<li data-value="glyphicon-
|
219 |
-
<li data-value="glyphicon-
|
220 |
-
<li data-value="glyphicon-
|
221 |
-
<li data-value="glyphicon-
|
222 |
-
<li data-value="glyphicon-
|
223 |
-
<li data-value="glyphicon-
|
224 |
-
<li data-value="glyphicon-
|
225 |
-
<li data-value="glyphicon-
|
226 |
-
<li data-value="glyphicon-
|
227 |
-
<li data-value="glyphicon-
|
228 |
-
<li data-value="glyphicon-
|
229 |
-
<li data-value="glyphicon-
|
230 |
-
<li data-value="glyphicon-
|
231 |
-
<li data-value="glyphicon-
|
232 |
-
<li data-value="glyphicon-
|
233 |
-
<li data-value="glyphicon-
|
234 |
-
<li data-value="glyphicon-
|
235 |
-
<li data-value="glyphicon-
|
236 |
-
<li data-value="glyphicon-
|
237 |
-
<li data-value="glyphicon-
|
238 |
-
<li data-value="glyphicon-
|
239 |
-
<li data-value="glyphicon-
|
240 |
-
<li data-value="glyphicon-
|
241 |
-
<li data-value="glyphicon-
|
242 |
-
<li data-value="glyphicon-
|
243 |
-
<li data-value="glyphicon-
|
244 |
-
<li data-value="glyphicon-
|
245 |
-
<li data-value="glyphicon-
|
246 |
-
<li data-value="glyphicon-
|
247 |
-
<li data-value="glyphicon-
|
248 |
-
<li data-value="glyphicon-
|
249 |
-
<li data-value="glyphicon-
|
250 |
-
<li data-value="glyphicon-
|
251 |
-
<li data-value="glyphicon-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
form.find('
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
jQuery.
|
304 |
-
|
305 |
-
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasIconhead', {
|
3 |
+
init: function(ed, url) {
|
4 |
+
ed.addButton('oscitasiconhead', {
|
5 |
+
title: 'Icon Heading Shortcode',
|
6 |
+
image: url + '/icon.png',
|
7 |
+
onclick: function() {
|
8 |
+
create_oscitas_iconhead();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'autoSize':false,
|
11 |
+
'autoWidth':false,
|
12 |
+
'fitToView':false,
|
13 |
+
'height':'auto',
|
14 |
+
'topRatio':0.2,
|
15 |
+
'type' : 'inline',
|
16 |
+
'title' : 'Icon Heading Shortcode',
|
17 |
+
'href' : '#oscitas-form-iconhead',
|
18 |
+
'width':600,
|
19 |
+
helpers: {
|
20 |
+
title : {
|
21 |
+
type : 'over',
|
22 |
+
position:'top'
|
23 |
+
}
|
24 |
+
}
|
25 |
+
});
|
26 |
+
}
|
27 |
+
});
|
28 |
+
},
|
29 |
+
createControl: function(n, cm) {
|
30 |
+
return null;
|
31 |
+
},
|
32 |
+
getInfo: function() {
|
33 |
+
return {
|
34 |
+
longname: "Icon Heading Shortcode",
|
35 |
+
author : 'Oscitas Themes',
|
36 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
37 |
+
infourl : 'http://www.oscitasthemes.com/',
|
38 |
+
version : "."
|
39 |
+
};
|
40 |
+
}
|
41 |
+
});
|
42 |
+
tinymce.PluginManager.add('oscitasiconhead', tinymce.plugins.oscitasIconhead);
|
43 |
+
})();
|
44 |
+
|
45 |
+
function create_oscitas_iconhead(){
|
46 |
+
if(jQuery('#oscitas-form-iconhead').length){
|
47 |
+
jQuery('#oscitas-form-iconhead').remove();
|
48 |
+
}
|
49 |
+
// creates a form to be displayed everytime the button is clicked
|
50 |
+
// you should achieve this using AJAX instead of direct html code like this
|
51 |
+
var form = jQuery('<div id="oscitas-form-iconhead" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-heading-icon">Select Icon:</label></th>\
|
54 |
+
<td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value="">\
|
55 |
+
<div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon" id="oscitas-heading-icon" class="oscitas-icon-ul">\
|
56 |
+
<li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li>\
|
57 |
+
<li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li>\
|
58 |
+
<li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li>\
|
59 |
+
<li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li>\
|
60 |
+
<li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li>\
|
61 |
+
<li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li>\
|
62 |
+
<li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li>\
|
63 |
+
<li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li>\
|
64 |
+
<li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li>\
|
65 |
+
<li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li>\
|
66 |
+
<li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li>\
|
67 |
+
<li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li>\
|
68 |
+
<li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li>\
|
69 |
+
<li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li>\
|
70 |
+
<li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li>\
|
71 |
+
<li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li>\
|
72 |
+
<li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li>\
|
73 |
+
<li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li>\
|
74 |
+
<li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li>\
|
75 |
+
<li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li>\
|
76 |
+
<li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li>\
|
77 |
+
<li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li>\
|
78 |
+
<li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li>\
|
79 |
+
<li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li>\
|
80 |
+
<li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li>\
|
81 |
+
<li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li>\
|
82 |
+
<li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li>\
|
83 |
+
<li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li>\
|
84 |
+
<li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li>\
|
85 |
+
<li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li>\
|
86 |
+
<li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li>\
|
87 |
+
<li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li>\
|
88 |
+
<li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li>\
|
89 |
+
<li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li>\
|
90 |
+
<li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li>\
|
91 |
+
<li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li>\
|
92 |
+
<li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li>\
|
93 |
+
<li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li>\
|
94 |
+
<li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li>\
|
95 |
+
<li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li>\
|
96 |
+
<li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li>\
|
97 |
+
<li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li>\
|
98 |
+
<li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li>\
|
99 |
+
<li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li>\
|
100 |
+
<li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li>\
|
101 |
+
<li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li>\
|
102 |
+
<li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li>\
|
103 |
+
<li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li>\
|
104 |
+
<li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li>\
|
105 |
+
<li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li>\
|
106 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
107 |
+
<li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li>\
|
108 |
+
<li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li>\
|
109 |
+
<li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li>\
|
110 |
+
<li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li>\
|
111 |
+
<li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li>\
|
112 |
+
<li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li>\
|
113 |
+
<li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li>\
|
114 |
+
<li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li>\
|
115 |
+
<li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li>\
|
116 |
+
<li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li>\
|
117 |
+
<li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li>\
|
118 |
+
<li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li>\
|
119 |
+
<li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li>\
|
120 |
+
<li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li>\
|
121 |
+
<li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li>\
|
122 |
+
<li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li>\
|
123 |
+
<li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li>\
|
124 |
+
<li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li>\
|
125 |
+
<li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li>\
|
126 |
+
<li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li>\
|
127 |
+
<li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li>\
|
128 |
+
<li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li>\
|
129 |
+
<li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li>\
|
130 |
+
<li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li>\
|
131 |
+
<li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li>\
|
132 |
+
<li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li>\
|
133 |
+
<li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li>\
|
134 |
+
<li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li>\
|
135 |
+
<li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li>\
|
136 |
+
<li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li>\
|
137 |
+
<li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li>\
|
138 |
+
<li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li>\
|
139 |
+
<li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li>\
|
140 |
+
<li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li>\
|
141 |
+
<li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li>\
|
142 |
+
<li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li>\
|
143 |
+
<li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li>\
|
144 |
+
<li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li>\
|
145 |
+
<li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li>\
|
146 |
+
<li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li>\
|
147 |
+
<li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li>\
|
148 |
+
<li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li>\
|
149 |
+
<li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li>\
|
150 |
+
<li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li>\
|
151 |
+
<li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li>\
|
152 |
+
<li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li>\
|
153 |
+
<li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li>\
|
154 |
+
<li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li>\
|
155 |
+
<li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li>\
|
156 |
+
<li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li>\
|
157 |
+
<li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li>\
|
158 |
+
<li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li>\
|
159 |
+
<li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li>\
|
160 |
+
<li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li>\
|
161 |
+
<li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li>\
|
162 |
+
<li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li>\
|
163 |
+
<li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li>\
|
164 |
+
<li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li>\
|
165 |
+
<li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li>\
|
166 |
+
<li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li>\
|
167 |
+
<li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li>\
|
168 |
+
<li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li>\
|
169 |
+
<li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li>\
|
170 |
+
<li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li>\
|
171 |
+
<li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li>\
|
172 |
+
<li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li>\
|
173 |
+
<li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li>\
|
174 |
+
<li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li>\
|
175 |
+
<li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li>\
|
176 |
+
<li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li>\
|
177 |
+
<li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li>\
|
178 |
+
<li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li>\
|
179 |
+
<li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li>\
|
180 |
+
<li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li>\
|
181 |
+
<li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li>\
|
182 |
+
<li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li>\
|
183 |
+
<li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li>\
|
184 |
+
<li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li>\
|
185 |
+
<li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li>\
|
186 |
+
<li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li>\
|
187 |
+
<li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li>\
|
188 |
+
<li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li>\
|
189 |
+
<li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li>\
|
190 |
+
<li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li>\
|
191 |
+
<li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li>\
|
192 |
+
<li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li>\
|
193 |
+
<li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li>\
|
194 |
+
<li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li>\
|
195 |
+
<li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li>\
|
196 |
+
<li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li>\
|
197 |
+
<li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li>\
|
198 |
+
<li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li>\
|
199 |
+
<li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li>\
|
200 |
+
<li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li>\
|
201 |
+
<li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li>\
|
202 |
+
<li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li>\
|
203 |
+
<li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li>\
|
204 |
+
<li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li>\
|
205 |
+
<li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li>\
|
206 |
+
<li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li>\
|
207 |
+
<li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li>\
|
208 |
+
<li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li>\
|
209 |
+
<li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li>\
|
210 |
+
<li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li>\
|
211 |
+
<li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li>\
|
212 |
+
<li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li>\
|
213 |
+
<li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li>\
|
214 |
+
<li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li>\
|
215 |
+
<li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li>\
|
216 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li>\
|
217 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li>\
|
218 |
+
<li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li>\
|
219 |
+
<li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li>\
|
220 |
+
<li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li>\
|
221 |
+
<li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li>\
|
222 |
+
<li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li>\
|
223 |
+
<li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li>\
|
224 |
+
<li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li>\
|
225 |
+
<li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li>\
|
226 |
+
<li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li>\
|
227 |
+
<li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li>\
|
228 |
+
<li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li>\
|
229 |
+
<li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li>\
|
230 |
+
<li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li>\
|
231 |
+
<li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li>\
|
232 |
+
<li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li>\
|
233 |
+
<li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li>\
|
234 |
+
<li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li>\
|
235 |
+
<li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li>\
|
236 |
+
<li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li>\
|
237 |
+
<li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li>\
|
238 |
+
<li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li>\
|
239 |
+
<li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li>\
|
240 |
+
<li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li>\
|
241 |
+
<li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li>\
|
242 |
+
<li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li>\
|
243 |
+
<li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li>\
|
244 |
+
<li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li>\
|
245 |
+
<li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li>\
|
246 |
+
<li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li>\
|
247 |
+
<li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li>\
|
248 |
+
<li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li>\
|
249 |
+
<li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li>\
|
250 |
+
<li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li>\
|
251 |
+
<li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li>\
|
252 |
+
<li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li>\
|
253 |
+
<li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li>\
|
254 |
+
<li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li>\
|
255 |
+
<li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li>\
|
256 |
+
</ul></div>\
|
257 |
+
</td>\
|
258 |
+
</tr>\
|
259 |
+
<tr>\
|
260 |
+
<th><label for="oscitas-iconhead-headingtype">Heading Type:</label></th>\
|
261 |
+
<td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype">\
|
262 |
+
<option value="h1">H1</option>\
|
263 |
+
<option value="h2">H2</option>\
|
264 |
+
<option value="h3">H3</option>\
|
265 |
+
<option value="h4">H4</option>\
|
266 |
+
<option value="h5">H5</option>\
|
267 |
+
<option value="h6">H6</option>\
|
268 |
+
</select><br />\
|
269 |
+
</td>\
|
270 |
+
</tr>\
|
271 |
+
<tr>\
|
272 |
+
<th><label for="oscitas-iconhead-heading">Heading:</label></th>\
|
273 |
+
<td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="Heading"/><br />\
|
274 |
+
</td>\
|
275 |
+
</tr>\
|
276 |
+
<tr>\
|
277 |
+
<th><label for="oscitas-iconhead-class">Custom Class:</label></th>\
|
278 |
+
<td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\
|
279 |
+
</td>\
|
280 |
+
</tr>\
|
281 |
+
</table>\
|
282 |
+
<p class="submit">\
|
283 |
+
<input type="button" id="oscitas-iconhead-submit" class="button-primary" value="Insert Icon Heading" name="submit" />\
|
284 |
+
</p>\
|
285 |
+
</div>');
|
286 |
+
|
287 |
+
var table = form.find('table');
|
288 |
+
jQuery('.glyphicon').css('display','inline');
|
289 |
+
form.appendTo('body').hide();
|
290 |
+
table.find('#click_icon_list').click(function(){
|
291 |
+
if(!jQuery(this).hasClass('osc_icon_showing')){
|
292 |
+
jQuery(this).addClass('osc_icon_showing')
|
293 |
+
jQuery('#osc_show_iconlist').show();
|
294 |
+
} else{
|
295 |
+
jQuery(this).removeClass('osc_icon_showing')
|
296 |
+
jQuery('#osc_show_iconlist').hide();
|
297 |
+
}
|
298 |
+
});
|
299 |
+
table.find('#oscitas-heading-icon li').click(function(){
|
300 |
+
var val=jQuery(this).attr('data-value');
|
301 |
+
table.find('#oscitas-heading-icon li').removeClass('osc_icon_selected');
|
302 |
+
jQuery(this).addClass('osc_icon_selected');
|
303 |
+
jQuery('#osc_show_iconlist').hide();
|
304 |
+
jQuery('#osc_show_icon').removeClass().addClass('glyphicon').addClass(val);
|
305 |
+
jQuery('#osc_icon_class_val').val(val);
|
306 |
+
})
|
307 |
+
// // handles the click event of the submit button
|
308 |
+
form.find('#oscitas-iconhead-submit').click(function() {
|
309 |
+
// defines the options and their default values
|
310 |
+
// again, this is not the most elegant way to do this
|
311 |
+
// but well, this gets the job done nonetheless
|
312 |
+
var type=jQuery('#oscitas-iconhead-headingtype').val();
|
313 |
+
var cusclass='',style='';
|
314 |
+
if(table.find('#osc_icon_class_val').val()!=''){
|
315 |
+
style=' style="' + table.find('#osc_icon_class_val').val()+'"' ;
|
316 |
+
}
|
317 |
+
if(table.find('#oscitas-iconhead-class').val()!=''){
|
318 |
+
cusclass= ' class="'+table.find('#oscitas-iconhead-class').val()+'"';
|
319 |
+
}
|
320 |
+
var shortcode = '[iconheading type="'+type+'"';
|
321 |
+
|
322 |
+
shortcode += style+cusclass ;
|
323 |
+
|
324 |
+
shortcode += ']'+table.find('#oscitas-iconhead-heading').val()+'[/iconheading]' ;
|
325 |
+
|
326 |
+
// inserts the shortcode into the active editor
|
327 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent',0 , shortcode);
|
328 |
+
|
329 |
+
jQuery.fancybox.close();
|
330 |
+
});
|
331 |
+
}
|
332 |
+
|
shortcode/iconhead/iconhead_plugin.min.js
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
tinymce.create("tinymce.plugins.oscitasIconhead",{t:function(b,a){b.h("oscitasiconhead",{title:"Icon Heading Shortcode",r:a+"/icon.png",onclick:function(){e();jQuery.e({autoSize:!1,autoWidth:!1,fitToView:!1,height:"auto",topRatio:0.2,type:"inline",title:"Icon Heading Shortcode",href:"#oscitas-form-iconhead",width:600,q:{title:{type:"over",position:"top"}}})}})},m:function(){return null},o:function(){return{u:"Icon Heading Shortcode",k:"Oscitas Themes",l:"http://www.oscitasthemes.com/",s:"http://www.oscitasthemes.com/",
|
2 |
+
version:"."}}});tinymce.f.add("oscitasiconhead",tinymce.plugins.v);
|
3 |
+
function e(){jQuery("#oscitas-form-iconhead").length&&jQuery("#oscitas-form-iconhead").remove();var b=jQuery('<div id="oscitas-form-iconhead"><table id="oscitas-table" class="form-table">\t\t\t<tr>\t\t\t\t<th><label for="oscitas-heading-icon">Select Icon:</label></th>\t\t\t\t<td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value=""><div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%"><ul name="oscitas-heading-icon" id="oscitas-heading-icon" class="oscitas-icon-ul"><li data-value="glyphicon-adjust" class="glyphicon glyphicon-adjust"> </li><li data-value="glyphicon-align-center" class="glyphicon glyphicon-align-center"> </li><li data-value="glyphicon-align-justify" class="glyphicon glyphicon-align-justify"> </li><li data-value="glyphicon-align-left" class="glyphicon glyphicon-align-left"> </li><li data-value="glyphicon-align-right" class="glyphicon glyphicon-align-right"> </li><li data-value="glyphicon-arrow-down" class="glyphicon glyphicon-arrow-down"> </li><li data-value="glyphicon-arrow-left" class="glyphicon glyphicon-arrow-left"> </li><li data-value="glyphicon-arrow-right" class="glyphicon glyphicon-arrow-right"> </li><li data-value="glyphicon-arrow-up" class="glyphicon glyphicon-arrow-up"> </li><li data-value="glyphicon-asterisk" class="glyphicon glyphicon-asterisk"> </li><li data-value="glyphicon-backward" class="glyphicon glyphicon-backward"> </li><li data-value="glyphicon-ban-circle" class="glyphicon glyphicon-ban-circle"> </li><li data-value="glyphicon-barcode" class="glyphicon glyphicon-barcode"> </li><li data-value="glyphicon-bell" class="glyphicon glyphicon-bell"> </li><li data-value="glyphicon-bold" class="glyphicon glyphicon-bold"> </li><li data-value="glyphicon-book" class="glyphicon glyphicon-book"> </li><li data-value="glyphicon-bookmark" class="glyphicon glyphicon-bookmark"> </li><li data-value="glyphicon-briefcase" class="glyphicon glyphicon-briefcase"> </li><li data-value="glyphicon-bullhorn" class="glyphicon glyphicon-bullhorn"> </li><li data-value="glyphicon-calendar" class="glyphicon glyphicon-calendar"> </li><li data-value="glyphicon-camera" class="glyphicon glyphicon-camera"> </li><li data-value="glyphicon-certificate" class="glyphicon glyphicon-certificate"> </li><li data-value="glyphicon-check" class="glyphicon glyphicon-check"> </li><li data-value="glyphicon-chevron-down" class="glyphicon glyphicon-chevron-down"> </li><li data-value="glyphicon-chevron-left" class="glyphicon glyphicon-chevron-left"> </li><li data-value="glyphicon-chevron-right" class="glyphicon glyphicon-chevron-right"> </li><li data-value="glyphicon-chevron-up" class="glyphicon glyphicon-chevron-up"> </li><li data-value="glyphicon-circle-arrow-down" class="glyphicon glyphicon-circle-arrow-down"> </li><li data-value="glyphicon-circle-arrow-left" class="glyphicon glyphicon-circle-arrow-left"> </li><li data-value="glyphicon-circle-arrow-right" class="glyphicon glyphicon-circle-arrow-right"> </li><li data-value="glyphicon-circle-arrow-up" class="glyphicon glyphicon-circle-arrow-up"> </li><li data-value="glyphicon-cloud" class="glyphicon glyphicon-cloud"> </li><li data-value="glyphicon-cloud-download" class="glyphicon glyphicon-cloud-download"> </li><li data-value="glyphicon-cloud-upload" class="glyphicon glyphicon-cloud-upload"> </li><li data-value="glyphicon-cog" class="glyphicon glyphicon-cog"> </li><li data-value="glyphicon-collapse-down" class="glyphicon glyphicon-collapse-down"> </li><li data-value="glyphicon-collapse-up" class="glyphicon glyphicon-collapse-up"> </li><li data-value="glyphicon-comment" class="glyphicon glyphicon-comment"> </li><li data-value="glyphicon-compressed" class="glyphicon glyphicon-compressed"> </li><li data-value="glyphicon-copyright-mark" class="glyphicon glyphicon-copyright-mark"> </li><li data-value="glyphicon-credit-card" class="glyphicon glyphicon-credit-card"> </li><li data-value="glyphicon-cutlery" class="glyphicon glyphicon-cutlery"> </li><li data-value="glyphicon-dashboard" class="glyphicon glyphicon-dashboard"> </li><li data-value="glyphicon-download" class="glyphicon glyphicon-download"> </li><li data-value="glyphicon-download-alt" class="glyphicon glyphicon-download-alt"> </li><li data-value="glyphicon-earphone" class="glyphicon glyphicon-earphone"> </li><li data-value="glyphicon-edit" class="glyphicon glyphicon-edit"> </li><li data-value="glyphicon-eject" class="glyphicon glyphicon-eject"> </li><li data-value="glyphicon-envelope" class="glyphicon glyphicon-envelope"> </li><li data-value="glyphicon-euro" class="glyphicon glyphicon-euro"> </li><li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li><li data-value="glyphicon-exclamation-sign" class="glyphicon glyphicon-exclamation-sign"> </li><li data-value="glyphicon-expand" class="glyphicon glyphicon-expand"> </li><li data-value="glyphicon-export" class="glyphicon glyphicon-export"> </li><li data-value="glyphicon-eye-close" class="glyphicon glyphicon-eye-close"> </li><li data-value="glyphicon-eye-open" class="glyphicon glyphicon-eye-open"> </li><li data-value="glyphicon-facetime-video" class="glyphicon glyphicon-facetime-video"> </li><li data-value="glyphicon-fast-backward" class="glyphicon glyphicon-fast-backward"> </li><li data-value="glyphicon-fast-forward" class="glyphicon glyphicon-fast-forward"> </li><li data-value="glyphicon-file" class="glyphicon glyphicon-file"> </li><li data-value="glyphicon-film" class="glyphicon glyphicon-film"> </li><li data-value="glyphicon-filter" class="glyphicon glyphicon-filter"> </li><li data-value="glyphicon-fire" class="glyphicon glyphicon-fire"> </li><li data-value="glyphicon-flag" class="glyphicon glyphicon-flag"> </li><li data-value="glyphicon-floppy-disk" class="glyphicon glyphicon-floppy-disk"> </li><li data-value="glyphicon-floppy-open" class="glyphicon glyphicon-floppy-open"> </li><li data-value="glyphicon-floppy-remove" class="glyphicon glyphicon-floppy-remove"> </li><li data-value="glyphicon-floppy-save" class="glyphicon glyphicon-floppy-save"> </li><li data-value="glyphicon-floppy-saved" class="glyphicon glyphicon-floppy-saved"> </li><li data-value="glyphicon-folder-close" class="glyphicon glyphicon-folder-close"> </li><li data-value="glyphicon-folder-open" class="glyphicon glyphicon-folder-open"> </li><li data-value="glyphicon-font" class="glyphicon glyphicon-font"> </li><li data-value="glyphicon-forward" class="glyphicon glyphicon-forward"> </li><li data-value="glyphicon-fullscreen" class="glyphicon glyphicon-fullscreen"> </li><li data-value="glyphicon-gbp" class="glyphicon glyphicon-gbp"> </li><li data-value="glyphicon-gift" class="glyphicon glyphicon-gift"> </li><li data-value="glyphicon-glass" class="glyphicon glyphicon-glass"> </li><li data-value="glyphicon-globe" class="glyphicon glyphicon-globe"> </li><li data-value="glyphicon-hand-down" class="glyphicon glyphicon-hand-down"> </li><li data-value="glyphicon-hand-left" class="glyphicon glyphicon-hand-left"> </li><li data-value="glyphicon-hand-right" class="glyphicon glyphicon-hand-right"> </li><li data-value="glyphicon-hand-up" class="glyphicon glyphicon-hand-up"> </li><li data-value="glyphicon-hd-video" class="glyphicon glyphicon-hd-video"> </li><li data-value="glyphicon-hdd" class="glyphicon glyphicon-hdd"> </li><li data-value="glyphicon-header" class="glyphicon glyphicon-header"> </li><li data-value="glyphicon-headphones" class="glyphicon glyphicon-headphones"> </li><li data-value="glyphicon-heart" class="glyphicon glyphicon-heart"> </li><li data-value="glyphicon-heart-empty" class="glyphicon glyphicon-heart-empty"> </li><li data-value="glyphicon-home" class="glyphicon glyphicon-home"> </li><li data-value="glyphicon-import" class="glyphicon glyphicon-import"> </li><li data-value="glyphicon-inbox" class="glyphicon glyphicon-inbox"> </li><li data-value="glyphicon-indent-left" class="glyphicon glyphicon-indent-left"> </li><li data-value="glyphicon-indent-right" class="glyphicon glyphicon-indent-right"> </li><li data-value="glyphicon-info-sign" class="glyphicon glyphicon-info-sign"> </li><li data-value="glyphicon-italic" class="glyphicon glyphicon-italic"> </li><li data-value="glyphicon-leaf" class="glyphicon glyphicon-leaf"> </li><li data-value="glyphicon-link" class="glyphicon glyphicon-link"> </li><li data-value="glyphicon-list" class="glyphicon glyphicon-list"> </li><li data-value="glyphicon-list-alt" class="glyphicon glyphicon-list-alt"> </li><li data-value="glyphicon-lock" class="glyphicon glyphicon-lock"> </li><li data-value="glyphicon-log-in" class="glyphicon glyphicon-log-in"> </li><li data-value="glyphicon-log-out" class="glyphicon glyphicon-log-out"> </li><li data-value="glyphicon-magnet" class="glyphicon glyphicon-magnet"> </li><li data-value="glyphicon-map-marker" class="glyphicon glyphicon-map-marker"> </li><li data-value="glyphicon-minus" class="glyphicon glyphicon-minus"> </li><li data-value="glyphicon-minus-sign" class="glyphicon glyphicon-minus-sign"> </li><li data-value="glyphicon-move" class="glyphicon glyphicon-move"> </li><li data-value="glyphicon-music" class="glyphicon glyphicon-music"> </li><li data-value="glyphicon-new-window" class="glyphicon glyphicon-new-window"> </li><li data-value="glyphicon-off" class="glyphicon glyphicon-off"> </li><li data-value="glyphicon-ok" class="glyphicon glyphicon-ok"> </li><li data-value="glyphicon-ok-circle" class="glyphicon glyphicon-ok-circle"> </li><li data-value="glyphicon-ok-sign" class="glyphicon glyphicon-ok-sign"> </li><li data-value="glyphicon-open" class="glyphicon glyphicon-open"> </li><li data-value="glyphicon-paperclip" class="glyphicon glyphicon-paperclip"> </li><li data-value="glyphicon-pause" class="glyphicon glyphicon-pause"> </li><li data-value="glyphicon-pencil" class="glyphicon glyphicon-pencil"> </li><li data-value="glyphicon-phone" class="glyphicon glyphicon-phone"> </li><li data-value="glyphicon-phone-alt" class="glyphicon glyphicon-phone-alt"> </li><li data-value="glyphicon-picture" class="glyphicon glyphicon-picture"> </li><li data-value="glyphicon-plane" class="glyphicon glyphicon-plane"> </li><li data-value="glyphicon-play" class="glyphicon glyphicon-play"> </li><li data-value="glyphicon-play-circle" class="glyphicon glyphicon-play-circle"> </li><li data-value="glyphicon-plus" class="glyphicon glyphicon-plus"> </li><li data-value="glyphicon-plus-sign" class="glyphicon glyphicon-plus-sign"> </li><li data-value="glyphicon-print" class="glyphicon glyphicon-print"> </li><li data-value="glyphicon-pushpin" class="glyphicon glyphicon-pushpin"> </li><li data-value="glyphicon-qrcode" class="glyphicon glyphicon-qrcode"> </li><li data-value="glyphicon-question-sign" class="glyphicon glyphicon-question-sign"> </li><li data-value="glyphicon-random" class="glyphicon glyphicon-random"> </li><li data-value="glyphicon-record" class="glyphicon glyphicon-record"> </li><li data-value="glyphicon-refresh" class="glyphicon glyphicon-refresh"> </li><li data-value="glyphicon-registration-mark" class="glyphicon glyphicon-registration-mark"> </li><li data-value="glyphicon-remove" class="glyphicon glyphicon-remove"> </li><li data-value="glyphicon-remove-circle" class="glyphicon glyphicon-remove-circle"> </li><li data-value="glyphicon-remove-sign" class="glyphicon glyphicon-remove-sign"> </li><li data-value="glyphicon-repeat" class="glyphicon glyphicon-repeat"> </li><li data-value="glyphicon-resize-full" class="glyphicon glyphicon-resize-full"> </li><li data-value="glyphicon-resize-horizontal" class="glyphicon glyphicon-resize-horizontal"> </li><li data-value="glyphicon-resize-small" class="glyphicon glyphicon-resize-small"> </li><li data-value="glyphicon-resize-vertical" class="glyphicon glyphicon-resize-vertical"> </li><li data-value="glyphicon-retweet" class="glyphicon glyphicon-retweet"> </li><li data-value="glyphicon-road" class="glyphicon glyphicon-road"> </li><li data-value="glyphicon-save" class="glyphicon glyphicon-save"> </li><li data-value="glyphicon-saved" class="glyphicon glyphicon-saved"> </li><li data-value="glyphicon-screenshot" class="glyphicon glyphicon-screenshot"> </li><li data-value="glyphicon-sd-video" class="glyphicon glyphicon-sd-video"> </li><li data-value="glyphicon-search" class="glyphicon glyphicon-search"> </li><li data-value="glyphicon-send" class="glyphicon glyphicon-send"> </li><li data-value="glyphicon-share" class="glyphicon glyphicon-share"> </li><li data-value="glyphicon-share-alt" class="glyphicon glyphicon-share-alt"> </li><li data-value="glyphicon-shopping-cart" class="glyphicon glyphicon-shopping-cart"> </li><li data-value="glyphicon-signal" class="glyphicon glyphicon-signal"> </li><li data-value="glyphicon-sort" class="glyphicon glyphicon-sort"> </li><li data-value="glyphicon-sort-by-alphabet" class="glyphicon glyphicon-sort-by-alphabet"> </li><li data-value="glyphicon-sort-by-alphabet-alt" class="glyphicon glyphicon-sort-by-alphabet-alt"> </li><li data-value="glyphicon-sort-by-attributes" class="glyphicon glyphicon-sort-by-attributes"> </li><li data-value="glyphicon-sort-by-attributes-alt" class="glyphicon glyphicon-sort-by-attributes-alt"> </li><li data-value="glyphicon-sort-by-order" class="glyphicon glyphicon-sort-by-order"> </li><li data-value="glyphicon-sort-by-order-alt" class="glyphicon glyphicon-sort-by-order-alt"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-5-1"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-6-1"> </li><li data-value="glyphicon-sound--" class="glyphicon glyphicon-sound-7-1"> </li><li data-value="glyphicon-sound-dolby" class="glyphicon glyphicon-sound-dolby"> </li><li data-value="glyphicon-sound-stereo" class="glyphicon glyphicon-sound-stereo"> </li><li data-value="glyphicon-star" class="glyphicon glyphicon-star"> </li><li data-value="glyphicon-star-empty" class="glyphicon glyphicon-star-empty"> </li><li data-value="glyphicon-stats" class="glyphicon glyphicon-stats"> </li><li data-value="glyphicon-step-backward" class="glyphicon glyphicon-step-backward"> </li><li data-value="glyphicon-step-forward" class="glyphicon glyphicon-step-forward"> </li><li data-value="glyphicon-stop" class="glyphicon glyphicon-stop"> </li><li data-value="glyphicon-subtitles" class="glyphicon glyphicon-subtitles"> </li><li data-value="glyphicon-tag" class="glyphicon glyphicon-tag"> </li><li data-value="glyphicon-tags" class="glyphicon glyphicon-tags"> </li><li data-value="glyphicon-tasks" class="glyphicon glyphicon-tasks"> </li><li data-value="glyphicon-text-height" class="glyphicon glyphicon-text-height"> </li><li data-value="glyphicon-text-width" class="glyphicon glyphicon-text-width"> </li><li data-value="glyphicon-th" class="glyphicon glyphicon-th"> </li><li data-value="glyphicon-th-large" class="glyphicon glyphicon-th-large"> </li><li data-value="glyphicon-th-list" class="glyphicon glyphicon-th-list"> </li><li data-value="glyphicon-thumbs-down" class="glyphicon glyphicon-thumbs-down"> </li><li data-value="glyphicon-thumbs-up" class="glyphicon glyphicon-thumbs-up"> </li><li data-value="glyphicon-time" class="glyphicon glyphicon-time"> </li><li data-value="glyphicon-tint" class="glyphicon glyphicon-tint"> </li><li data-value="glyphicon-tower" class="glyphicon glyphicon-tower"> </li><li data-value="glyphicon-transfer" class="glyphicon glyphicon-transfer"> </li><li data-value="glyphicon-trash" class="glyphicon glyphicon-trash"> </li><li data-value="glyphicon-tree-conifer" class="glyphicon glyphicon-tree-conifer"> </li><li data-value="glyphicon-tree-deciduous" class="glyphicon glyphicon-tree-deciduous"> </li><li data-value="glyphicon-unchecked" class="glyphicon glyphicon-unchecked"> </li><li data-value="glyphicon-upload" class="glyphicon glyphicon-upload"> </li><li data-value="glyphicon-usd" class="glyphicon glyphicon-usd"> </li><li data-value="glyphicon-user" class="glyphicon glyphicon-user"> </li><li data-value="glyphicon-volume-down" class="glyphicon glyphicon-volume-down"> </li><li data-value="glyphicon-volume-off" class="glyphicon glyphicon-volume-off"> </li><li data-value="glyphicon-volume-up" class="glyphicon glyphicon-volume-up"> </li><li data-value="glyphicon-warning-sign" class="glyphicon glyphicon-warning-sign"> </li><li data-value="glyphicon-wrench" class="glyphicon glyphicon-wrench"> </li><li data-value="glyphicon-zoom-in" class="glyphicon glyphicon-zoom-in"> </li><li data-value="glyphicon-zoom-out" class="glyphicon glyphicon-zoom-out"> </li></ul></div>\t\t\t\t</td>\t\t\t</tr><tr>\t\t\t\t<th><label for="oscitas-iconhead-headingtype">Heading Type:</label></th>\t\t\t\t<td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype"><option value="h1">H1</option><option value="h2">H2</option><option value="h3">H3</option><option value="h4">H4</option><option value="h5">H5</option><option value="h6">H6</option></select><br />\t\t\t\t</td>\t\t\t</tr>\t<tr>\t\t\t\t<th><label for="oscitas-iconhead-heading">Heading:</label></th>\t\t\t\t<td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="Heading"/><br />\t\t\t\t</td>\t\t\t</tr><tr>\t\t\t\t<th><label for="oscitas-iconhead-class">Custom Class:</label></th>\t\t\t\t<td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\t\t\t\t</td>\t\t\t</tr>\t\t</table>\t\t<p class="submit">\t\t\t<input type="button" id="oscitas-iconhead-submit" class="button-primary" value="Insert Icon Heading" name="submit" />\t\t</p>\t\t</div>'),a=
|
4 |
+
b.find("table");jQuery(".glyphicon").n("display","inline");b.i("body").c();a.find("#click_icon_list").click(function(){jQuery(this).p("osc_icon_showing")?(jQuery(this).d("osc_icon_showing"),jQuery("#osc_show_iconlist").c()):(jQuery(this).b("osc_icon_showing"),jQuery("#osc_show_iconlist").show())});a.find("#oscitas-heading-icon li").click(function(){var c=jQuery(this).j("data-value");a.find("#oscitas-heading-icon li").d("osc_icon_selected");jQuery(this).b("osc_icon_selected");jQuery("#osc_show_iconlist").c();
|
5 |
+
jQuery("#osc_show_icon").d().b("glyphicon").b(c);jQuery("#osc_icon_class_val").a(c)});b.find("#oscitas-iconhead-submit").click(function(){var c=jQuery("#oscitas-iconhead-headingtype").a(),b="",d="";""!=a.find("#osc_icon_class_val").a()&&(d=' style="'+a.find("#osc_icon_class_val").a()+'"');""!=a.find("#oscitas-iconhead-class").a()&&(b=' class="'+a.find("#oscitas-iconhead-class").a()+'"');c='[iconheading type="'+c+'"'+(d+b);c+="]"+a.find("#oscitas-iconhead-heading").a()+"[/iconheading]";tinyMCE.g.execCommand("mceInsertContent",
|
6 |
+
0,c);jQuery.e.close()})};
|
shortcode/iconhead/plugin_shortcode.php
CHANGED
@@ -1,14 +1,22 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function osc_theme_iconhead($params, $content = null) {
|
4 |
-
extract(shortcode_atts(array(
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_iconhead($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'class' => '',
|
6 |
+
'style' => '',
|
7 |
+
'type' => 'h1'
|
8 |
+
), $params));
|
9 |
+
$out = '';
|
10 |
+
if ($style != '') {
|
11 |
+
$style = ' <span class="glyphicon ' . $style . '"></span> ';
|
12 |
+
}
|
13 |
+
if ($class != '') {
|
14 |
+
$class = ' class="' . $class . '"';
|
15 |
+
}
|
16 |
+
$out = '<' . $type . $class . '>' . $style . do_shortcode($content) . '</' . $type . '>';
|
17 |
+
|
18 |
+
return $out;
|
19 |
+
}
|
20 |
+
|
21 |
+
add_shortcode('iconheading', 'osc_theme_iconhead');
|
22 |
+
|
shortcode/image/icon.png
ADDED
Binary file
|
shortcode/image/image_plugin.js
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasImage', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasimage', {
|
5 |
+
title : 'Image Effects Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_image();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Image Effects Shortcode',
|
12 |
+
'href' : '#oscitas-form-image',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
});
|
21 |
+
}
|
22 |
+
});
|
23 |
+
},
|
24 |
+
createControl : function(n, cm) {
|
25 |
+
return null;
|
26 |
+
},
|
27 |
+
getInfo : function() {
|
28 |
+
return {
|
29 |
+
longname : "Image Effects Shortcode",
|
30 |
+
author : 'Oscitas Themes',
|
31 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
32 |
+
infourl : 'http://www.oscitasthemes.com/',
|
33 |
+
version : "2.0.0"
|
34 |
+
};
|
35 |
+
}
|
36 |
+
});
|
37 |
+
tinymce.PluginManager.add('oscitasimage', tinymce.plugins.oscitasImage);
|
38 |
+
})();
|
39 |
+
|
40 |
+
function create_oscitas_image(){
|
41 |
+
if(jQuery('#oscitas-form-image').length){
|
42 |
+
jQuery('#oscitas-form-image').remove();
|
43 |
+
}
|
44 |
+
// creates a form to be displayed everytime the button is clicked
|
45 |
+
// you should achieve this using AJAX instead of direct html code like this
|
46 |
+
var form = jQuery('<div id="oscitas-form-image" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
47 |
+
<th><label for="oscitas-label-content">Upload Image:</label></th>\
|
48 |
+
<td id="osc_image_upload"><input id="oscitas-image-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
49 |
+
<input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
|
50 |
+
</td>\
|
51 |
+
</tr>\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-image-shape">Image Shape:</label></th>\
|
54 |
+
<td><select name="oscitas-image-shape" id="oscitas-image-shape">\
|
55 |
+
<option value="img-rounded">Rounded</option>\
|
56 |
+
<option value="img-circle">Circle</option>\
|
57 |
+
<option value="img-thumbnail">Thumbnail</option>\
|
58 |
+
</select>\
|
59 |
+
</td>\
|
60 |
+
</tr>\
|
61 |
+
<tr>\
|
62 |
+
<th><label for="oscitas-image-class">Custom Class:</label></th>\
|
63 |
+
<td><input type="text" name="line" id="oscitas-image-class" value=""/><br />\
|
64 |
+
</td>\
|
65 |
+
</tr>\
|
66 |
+
</table>\
|
67 |
+
<p class="submit">\
|
68 |
+
<input type="button" id="oscitas-image-submit" class="button-primary" value="Insert Image" name="submit" />\
|
69 |
+
</p>\
|
70 |
+
</div>');
|
71 |
+
|
72 |
+
var table = form.find('table');
|
73 |
+
form.appendTo('body').hide();
|
74 |
+
|
75 |
+
|
76 |
+
form.find('.upload_image_button').click(function() {
|
77 |
+
jQuery('.fancybox-overlay').css('z-index',100);
|
78 |
+
jQuery('html').addClass('Image');
|
79 |
+
formfield = jQuery(this).prev().attr('id');
|
80 |
+
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
|
81 |
+
return false;
|
82 |
+
});
|
83 |
+
|
84 |
+
window.original_send_to_editor = window.send_to_editor;
|
85 |
+
|
86 |
+
window.send_to_editor = function(html) {
|
87 |
+
if (formfield) {
|
88 |
+
if (jQuery(html).find('img').length) {
|
89 |
+
fileurl = jQuery('img', html).attr('src');
|
90 |
+
} else if (jQuery(html).attr('src')) {
|
91 |
+
fileurl = jQuery(html).attr('src');
|
92 |
+
}
|
93 |
+
jQuery('#' + formfield).val(fileurl);
|
94 |
+
tb_remove();
|
95 |
+
form.find('#osc_image_upload img').remove();
|
96 |
+
form.find('#osc_image_upload').append('<img src="'+fileurl+'">')
|
97 |
+
jQuery('html').removeClass('Image');
|
98 |
+
|
99 |
+
} else {
|
100 |
+
window.original_send_to_editor(html);
|
101 |
+
}
|
102 |
+
|
103 |
+
};
|
104 |
+
|
105 |
+
|
106 |
+
// handles the click event of the submit button
|
107 |
+
form.find('#oscitas-image-submit').click(function(){
|
108 |
+
var shortcode='';
|
109 |
+
var shape=form.find('#oscitas-image-shape').val();
|
110 |
+
var cusclass='';
|
111 |
+
if(table.find('#oscitas-image-class').val()!=''){
|
112 |
+
cusclass= ' class="'+table.find('#oscitas-image-class').val()+'"';
|
113 |
+
}
|
114 |
+
if(form.find('#oscitas-image-src').val()!=''){
|
115 |
+
shortcode = '[image'+cusclass+' src="'+form.find('#oscitas-image-src').val()+'" shape="'+shape+'"]';
|
116 |
+
}
|
117 |
+
// inserts the shortcode into the active editor
|
118 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
119 |
+
|
120 |
+
// closes fancybox
|
121 |
+
jQuery.fancybox.close();
|
122 |
+
});
|
123 |
+
}
|
124 |
+
|
shortcode/image/plugin_shortcode.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_image($params, $content = 'Label') {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'src' => '',
|
10 |
+
'class' => '',
|
11 |
+
'shape' => ''
|
12 |
+
), $params));
|
13 |
+
$out = '';
|
14 |
+
|
15 |
+
|
16 |
+
$out = '<img src="' . $src . '" class="' . $class .' '. $shape . '">';
|
17 |
+
|
18 |
+
return $out;
|
19 |
+
}
|
20 |
+
|
21 |
+
add_shortcode('image', 'osc_theme_image');
|
22 |
+
|
shortcode/labels/icon.png
ADDED
Binary file
|
shortcode/labels/labels_plugin.js
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasLabels', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitaslabels', {
|
5 |
+
title : 'Label Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_label();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Label Shortcode',
|
12 |
+
'href' : '#oscitas-form-label',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Label Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitaslabels', tinymce.plugins.oscitasLabels);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_label(){
|
40 |
+
if(jQuery('#oscitas-form-label').length){
|
41 |
+
jQuery('#oscitas-form-label').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-label" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-label-type">Label Type:</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-label-type">\
|
49 |
+
<option value="label-default">Default</option>\
|
50 |
+
<option value="label-primary">Primary</option>\
|
51 |
+
<option value="label-success">Success</option>\
|
52 |
+
<option value="label-info">Information</option>\
|
53 |
+
<option value="label-warning">Warning</option>\
|
54 |
+
<option value="label-danger">Danger</option>\
|
55 |
+
</select><br />\
|
56 |
+
</td>\
|
57 |
+
</tr>\
|
58 |
+
<tr>\
|
59 |
+
<th><label for="oscitas-label-content">Label Content:</label></th>\
|
60 |
+
<td><input type="text" name="label" id="oscitas-label-content" value="Label"/><br />\
|
61 |
+
</td>\
|
62 |
+
</tr>\
|
63 |
+
<tr>\
|
64 |
+
<th><label for="oscitas-label-class">Custom Class:</label></th>\
|
65 |
+
<td><input type="text" name="line" id="oscitas-label-class" value=""/><br />\
|
66 |
+
</td>\
|
67 |
+
</tr>\
|
68 |
+
</table>\
|
69 |
+
<p class="submit">\
|
70 |
+
<input type="button" id="oscitas-label-submit" class="button-primary" value="Insert Label" name="submit" />\
|
71 |
+
</p>\
|
72 |
+
</div>');
|
73 |
+
|
74 |
+
var table = form.find('table');
|
75 |
+
form.appendTo('body').hide();
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
// handles the click event of the submit button
|
81 |
+
form.find('#oscitas-label-submit').click(function(){
|
82 |
+
var cusclass='';
|
83 |
+
if(table.find('#oscitas-label-class').val()!=''){
|
84 |
+
cusclass= ' class="'+table.find('#oscitas-label-class').val()+'"';
|
85 |
+
}
|
86 |
+
var shortcode = '[label type="'+jQuery('#oscitas-label-type').val()+'"'+cusclass+']<br/>';
|
87 |
+
shortcode += jQuery('#oscitas-label-content').val()+'<br/>';
|
88 |
+
shortcode += '[/label]';
|
89 |
+
|
90 |
+
// inserts the shortcode into the active editor
|
91 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
92 |
+
|
93 |
+
// closes fancybox
|
94 |
+
jQuery.fancybox.close();
|
95 |
+
});
|
96 |
+
}
|
97 |
+
|
shortcode/labels/plugin_shortcode.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_labels($params, $content = 'Label') {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'type' => 'label-default',
|
10 |
+
'class' => ''
|
11 |
+
), $params));
|
12 |
+
$out = '';
|
13 |
+
$content = str_replace("<br />", '', $content);
|
14 |
+
$content = str_replace("<br />\n", '', $content);
|
15 |
+
$out = '<span class="label ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</span>';
|
16 |
+
return $out;
|
17 |
+
}
|
18 |
+
|
19 |
+
add_shortcode('label', 'osc_theme_labels');
|
20 |
+
|
shortcode/lists/lists_plugin.js
CHANGED
@@ -1,102 +1,115 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasLists', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitaslists', {
|
5 |
-
title : '
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
if(table.find('#oscitas-
|
86 |
-
|
87 |
-
}
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasLists', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitaslists', {
|
5 |
+
title : 'List Group Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_lists();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'List Group Shortcode',
|
12 |
+
'href' : '#oscitas-form-lists',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "List Group Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitaslists', tinymce.plugins.oscitasLists);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_lists(){
|
40 |
+
if(jQuery('#oscitas-form-lists').length){
|
41 |
+
jQuery('#oscitas-form-lists').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-lists" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-type">Lists style</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-type">\
|
49 |
+
<option value="">None</option>\
|
50 |
+
<option value="glyphicon-arrow-right">Arrow</option>\
|
51 |
+
<option value="glyphicon-ok">Check</option>\
|
52 |
+
<option value="glyphicon-plus">Plus</option>\
|
53 |
+
<option value="glyphicon-minus">Minus</option>\
|
54 |
+
</select><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-line">No of List Item</label></th>\
|
59 |
+
<td><input type="text" name="line" id="oscitas-list-item" value="3"/><br /><small>Enter a numeric value</small>\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
<tr>\
|
63 |
+
<th><label for="oscitas-list-class">Custom Class:</label></th>\
|
64 |
+
<td><input type="text" name="line" id="oscitas-list-class" value=""/><br />\
|
65 |
+
</td>\
|
66 |
+
</tr>\
|
67 |
+
</table>\
|
68 |
+
<p class="submit">\
|
69 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="Insert List" name="submit" />\
|
70 |
+
</p>\
|
71 |
+
</div>');
|
72 |
+
|
73 |
+
var table = form.find('table');
|
74 |
+
form.appendTo('body').hide();
|
75 |
+
|
76 |
+
// handles the click event of the submit button
|
77 |
+
form.find('#oscitas-submit').click(function(){
|
78 |
+
// defines the options and their default values
|
79 |
+
// again, this is not the most elegant way to do this
|
80 |
+
// but well, this gets the job done nonetheless
|
81 |
+
var options = {
|
82 |
+
'type' : 'arrow'
|
83 |
+
},list=0,list_type;
|
84 |
+
var cusclass='';
|
85 |
+
if(table.find('#oscitas-list-class').val()!=''){
|
86 |
+
cusclass= ' class="'+table.find('#oscitas-list-class').val()+'"';
|
87 |
+
}
|
88 |
+
var shortcode = '[list'+cusclass;
|
89 |
+
var list_item=jQuery('#oscitas-list-item').val();
|
90 |
+
if(isNaN(list_item)==false){
|
91 |
+
list=list_item;
|
92 |
+
} else{
|
93 |
+
list=3;
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
shortcode += ']<br/>';
|
98 |
+
if(table.find('#oscitas-type').val()!=''){
|
99 |
+
list_type=' type="'+table.find('#oscitas-type').val()+'"';
|
100 |
+
}
|
101 |
+
else{
|
102 |
+
list_type='';
|
103 |
+
}
|
104 |
+
for(var i=1;i<=list;i++){
|
105 |
+
shortcode +='[li'+list_type+']your list content[/li]<br/>'
|
106 |
+
}
|
107 |
+
shortcode +='[/list]';
|
108 |
+
|
109 |
+
// inserts the shortcode into the active editor
|
110 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
111 |
+
|
112 |
+
jQuery.fancybox.close();
|
113 |
+
});
|
114 |
+
}
|
115 |
+
|
shortcode/lists/plugin_shortcode.php
CHANGED
@@ -1,25 +1,27 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function osc_theme_list($params, $content = null) {
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
$content = str_replace("<br
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
$osc_class = '';
|
21 |
-
}
|
22 |
-
|
23 |
-
}
|
24 |
-
|
|
|
|
|
25 |
add_shortcode('li', 'osc_theme_li');
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_list($params, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'class' => ''
|
6 |
+
), $params));
|
7 |
+
$content = str_replace("]<br />", ']', $content);
|
8 |
+
$content = str_replace("]<br />\n", ']', $content);
|
9 |
+
$content = str_replace("<br />\n[", '[', $content);
|
10 |
+
return '<ul class="list-group ' . $class . '">' . do_shortcode($content) . '</ul>';
|
11 |
+
}
|
12 |
+
|
13 |
+
add_shortcode('list', 'osc_theme_list');
|
14 |
+
|
15 |
+
function osc_theme_li($params, $content = null) {
|
16 |
+
extract(shortcode_atts(array(
|
17 |
+
'type' => ''
|
18 |
+
), $params));
|
19 |
+
if ($type != '') {
|
20 |
+
$osc_class = '<span class="glyphicon ' . $type . '"></span> ';
|
21 |
+
} else {
|
22 |
+
$osc_class = '';
|
23 |
+
}
|
24 |
+
return '<li class="list-group-item">' . $osc_class . do_shortcode($content) . '</li>';
|
25 |
+
}
|
26 |
+
|
27 |
add_shortcode('li', 'osc_theme_li');
|
shortcode/notifications/notifications_plugin.js
CHANGED
@@ -1,93 +1,106 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasNotifications', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitasnotifications', {
|
5 |
-
title : 'Notifications
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
}
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasNotifications', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasnotifications', {
|
5 |
+
title : 'Notifications Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_notification();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Notifications Shortcode',
|
12 |
+
'href' : '#oscitas-form-notifications',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Notifications Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitasnotifications', tinymce.plugins.oscitasNotifications);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_notification(){
|
40 |
+
if(jQuery('#oscitas-form-notifications').length){
|
41 |
+
jQuery('#oscitas-form-notifications').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-notifications" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-type">Style :</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-type">\
|
49 |
+
<option value="alert-warning">Warning</option>\
|
50 |
+
<option value="alert-success">Success</option>\
|
51 |
+
<option value="alert-info">Information</option>\
|
52 |
+
<option value="alert-danger">Danger</option>\
|
53 |
+
</select><br />\
|
54 |
+
</td>\
|
55 |
+
</tr>\
|
56 |
+
<tr>\
|
57 |
+
<th><label for="oscitas-line">Close link</label></th>\
|
58 |
+
<td><input type="checkbox" id="oscitas-close"/><br />\
|
59 |
+
</td>\
|
60 |
+
</tr>\
|
61 |
+
<tr>\
|
62 |
+
<th><label for="oscitas-note-class">Custom Class:</label></th>\
|
63 |
+
<td><input type="text" name="line" id="oscitas-note-class" value=""/><br />\
|
64 |
+
</td>\
|
65 |
+
</tr>\
|
66 |
+
</table>\
|
67 |
+
<p class="submit">\
|
68 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="Insert Notification" name="submit" />\
|
69 |
+
</p>\
|
70 |
+
</div>');
|
71 |
+
|
72 |
+
var table = form.find('table');
|
73 |
+
form.appendTo('body').hide();
|
74 |
+
|
75 |
+
// handles the click event of the submit button
|
76 |
+
form.find('#oscitas-submit').click(function(){
|
77 |
+
// defines the options and their default values
|
78 |
+
// again, this is not the most elegant way to do this
|
79 |
+
// but well, this gets the job done nonetheless
|
80 |
+
var options = {
|
81 |
+
'type' : 'error'
|
82 |
+
};
|
83 |
+
var cusclass='';
|
84 |
+
if(table.find('#oscitas-note-class').val()!=''){
|
85 |
+
cusclass= ' class="'+table.find('#oscitas-note-class').val()+'"';
|
86 |
+
}
|
87 |
+
var shortcode = '[notification';
|
88 |
+
|
89 |
+
for( var index in options) {
|
90 |
+
var value = table.find('#oscitas-' + index).val();
|
91 |
+
|
92 |
+
// attaches the attribute to the shortcode only if it's different from the default value
|
93 |
+
//if ( value !== options[index] )
|
94 |
+
shortcode += ' ' + index + '="' + value + '"';
|
95 |
+
}
|
96 |
+
shortcode += ' close="'+(table.find('#oscitas-close').prop('checked')? 'true': 'false')+ '" ';
|
97 |
+
|
98 |
+
shortcode += cusclass+']Title: Lorem ipsum dolor sit amet...[/notification]';
|
99 |
+
|
100 |
+
// inserts the shortcode into the active editor
|
101 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
102 |
+
|
103 |
+
jQuery.fancybox.close();
|
104 |
+
});
|
105 |
+
}
|
106 |
+
|
shortcode/notifications/plugin_shortcode.php
CHANGED
@@ -1,23 +1,28 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_notification($atts, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'type' => '',
|
6 |
+
'close' => 'false',
|
7 |
+
'class' => ''
|
8 |
+
), $atts));
|
9 |
+
$type = ($close == 'true' ? $type . ' alert-dismissable' : $type);
|
10 |
+
|
11 |
+
|
12 |
+
$result = '<div class = "alert ' . $type . ' ' . $class . '">';
|
13 |
+
if ($close == 'true') {
|
14 |
+
$result .= '<button type = "button" class = "close" data-dismiss = "alert" aria-hidden = "true">×
|
15 |
+
</button>';
|
16 |
+
}
|
17 |
+
$result .= do_shortcode($content);
|
18 |
+
$result .= '</div>';
|
19 |
+
|
20 |
+
return $result;
|
21 |
+
}
|
22 |
+
|
23 |
+
add_shortcode('notification', 'osc_theme_notification');
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
|
shortcode/oscpopover/icon.png
ADDED
Binary file
|
shortcode/oscpopover/oscpopover_plugin.js
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasOscPopover', {
|
3 |
+
init: function(ed, url) {
|
4 |
+
ed.addButton('oscitasoscpopover', {
|
5 |
+
title: 'Popover Shortcode',
|
6 |
+
image: url + '/icon.png',
|
7 |
+
onclick: function() {
|
8 |
+
create_oscitas_popover();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Popover Shortcode',
|
12 |
+
'href' : '#oscitas-form-popover',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl: function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo: function() {
|
27 |
+
return {
|
28 |
+
longname: "Popover Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitasoscpopover', tinymce.plugins.oscitasOscPopover);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_popover(){
|
40 |
+
if(jQuery('#oscitas-form-popover').length){
|
41 |
+
jQuery('#oscitas-form-popover').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-popover" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-popover-style">Popover Style:</label></th>\
|
48 |
+
<td><select name="oscitas-popover-style" id="oscitas-popover-style">\
|
49 |
+
<option value="top">Top</option>\
|
50 |
+
<option value="bottom">Bottom</option>\
|
51 |
+
<option value="left">Left</option>\
|
52 |
+
<option value="right">Right</option>\
|
53 |
+
<option value="auto">Auto</option>\
|
54 |
+
</select><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
|
59 |
+
<td><input type="text" name="popover-title" id="oscitas-popover-title" value="A title"/><br />\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
</tr>\
|
63 |
+
<tr>\
|
64 |
+
<th><label for="oscitas-popover-content">Popover Title Text:</label></th>\
|
65 |
+
<td><textarea " name="popover-content" id="oscitas-popover-content">Your Content</textarea><br />\
|
66 |
+
</td>\
|
67 |
+
</tr>\
|
68 |
+
<tr>\
|
69 |
+
<th><label for="oscitas-pbutton-trigger">Trigger Popover On:</label></th>\
|
70 |
+
<td><select name="tigger" id="oscitas-pbutton-trigger">\
|
71 |
+
<option value="click">Click</option>\
|
72 |
+
<option value="hover">Hover</option>\
|
73 |
+
</select><br />\
|
74 |
+
</td>\
|
75 |
+
</tr >\
|
76 |
+
<tr>\
|
77 |
+
<th><label for="oscitas-pbutton-size">Button Size:</label></th>\
|
78 |
+
<td><select name="size" id="oscitas-pbutton-size">\
|
79 |
+
<option value="">Default</option>\
|
80 |
+
<option value="btn-lg">Large</option>\
|
81 |
+
<option value="btn-sm">Small</option>\
|
82 |
+
<option value="btn-xs">X-Small</option>\
|
83 |
+
</select><br />\
|
84 |
+
</td>\
|
85 |
+
</tr >\
|
86 |
+
<tr>\
|
87 |
+
<th><label for="oscitas-pbutton-type">Button Type:</label></th>\
|
88 |
+
<td><select name="type" id="oscitas-pbutton-type">\
|
89 |
+
<option value="btn-default">Default</option>\
|
90 |
+
<option value="btn-primary">Primary</option>\
|
91 |
+
<option value="btn-success">Success</option>\
|
92 |
+
<option value="btn-info">Info</option>\
|
93 |
+
<option value="btn-warning">Warning</option>\
|
94 |
+
<option value="btn-danger">Danger</option>\
|
95 |
+
<option value="btn-link">Link</option>\
|
96 |
+
</select><br />\
|
97 |
+
</td>\
|
98 |
+
</tr >\
|
99 |
+
<tr>\
|
100 |
+
<th><label for="oscitas-popover-button-text">Button Text:</label></th>\
|
101 |
+
<td><input type="text" name="link-text" id="oscitas-popover-button-text" value="Popover"/><br />\
|
102 |
+
</td>\
|
103 |
+
</tr>\
|
104 |
+
<tr>\
|
105 |
+
<th><label for="oscitas-popover-class">Custom Class:</label></th>\
|
106 |
+
<td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
|
107 |
+
</td>\
|
108 |
+
</tr>\
|
109 |
+
</table>\
|
110 |
+
<p class="submit">\
|
111 |
+
<input type="button" id="oscitas-popover-submit" class="button-primary" value="Insert Popover" name="submit" />\
|
112 |
+
</p>\
|
113 |
+
</div>');
|
114 |
+
|
115 |
+
var table = form.find('table');
|
116 |
+
form.appendTo('body').hide();
|
117 |
+
var colors = ['color', 'bgcolor'];
|
118 |
+
jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
|
119 |
+
jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
|
120 |
+
|
121 |
+
|
122 |
+
// handles the click event of the submit button
|
123 |
+
form.find('#oscitas-popover-submit').click(function() {
|
124 |
+
// defines the options and their default values
|
125 |
+
// again, this is not the most elegant way to do this
|
126 |
+
// but well, this gets the job done nonetheless
|
127 |
+
var cusclass='';
|
128 |
+
if(table.find('#oscitas-popover-class').val()!=''){
|
129 |
+
cusclass= ' class="'+table.find('#oscitas-popover-class').val()+'"';
|
130 |
+
}
|
131 |
+
var shortcode = '[popover'+cusclass;
|
132 |
+
shortcode += ' title="' + table.find('#oscitas-popover-title').val();
|
133 |
+
|
134 |
+
shortcode += '" ';
|
135 |
+
|
136 |
+
shortcode += ' pop_content="' + table.find('#oscitas-popover-content').val();
|
137 |
+
|
138 |
+
shortcode += '" ';
|
139 |
+
shortcode += ' trigger="' + table.find('#oscitas-pbutton-trigger').val();
|
140 |
+
|
141 |
+
shortcode += '" ';
|
142 |
+
shortcode += ' style="' + table.find('#oscitas-popover-style').val();
|
143 |
+
|
144 |
+
shortcode += '" ';
|
145 |
+
shortcode += ' size="' + table.find('#oscitas-pbutton-size').val();
|
146 |
+
|
147 |
+
shortcode += '" ';
|
148 |
+
shortcode += ' type="' + table.find('#oscitas-pbutton-type').val();
|
149 |
+
|
150 |
+
shortcode += '" ';
|
151 |
+
//shortcode += ' btntag="'+table.find('#oscitas-button-type').val()+'" ';
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
shortcode += ']';
|
156 |
+
shortcode+= table.find('#oscitas-popover-button-text').val();
|
157 |
+
shortcode+='[/popover]';
|
158 |
+
|
159 |
+
// inserts the shortcode into the active editor
|
160 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
161 |
+
|
162 |
+
// closes fancybox
|
163 |
+
jQuery.fancybox.close();
|
164 |
+
});
|
165 |
+
}
|
166 |
+
|
shortcode/oscpopover/plugin_shortcode.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_popover($params, $content = 'Popover') {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'trigger' => '',
|
6 |
+
'title' => '',
|
7 |
+
'pop_content' => '',
|
8 |
+
'style' => '',
|
9 |
+
'size' => '',
|
10 |
+
'type' => '',
|
11 |
+
'class' => ''
|
12 |
+
), $params));
|
13 |
+
$out = '';
|
14 |
+
$out = '<button class="osc_popover btn ' . $size . ' ' . $type . ' ' . $class . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="' . $trigger . '" data-container="body" type="button" data-title="' . $title . '"> ' . do_shortcode($content) . ' </button>';
|
15 |
+
|
16 |
+
|
17 |
+
$out .= "
|
18 |
+
<script>
|
19 |
+
jQuery(document).ready(function(){
|
20 |
+
jQuery('.osc_popover').popover();
|
21 |
+
});
|
22 |
+
</script>
|
23 |
+
";
|
24 |
+
|
25 |
+
return $out;
|
26 |
+
}
|
27 |
+
|
28 |
+
add_shortcode('popover', 'osc_theme_popover');
|
shortcode/panel/panel_plugin.js
CHANGED
@@ -1,86 +1,99 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasPanel', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitaspanel', {
|
5 |
-
title : 'Panel
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
<option value="panel-
|
50 |
-
<option value="panel-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
//
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
}
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasPanel', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitaspanel', {
|
5 |
+
title : 'Panel Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_panel();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Panel Shortcode',
|
12 |
+
'href' : '#oscitas-form-panel',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Panel Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitaspanel', tinymce.plugins.oscitasPanel);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_panel(){
|
40 |
+
if(jQuery('#oscitas-form-panel').length){
|
41 |
+
jQuery('#oscitas-form-panel').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-panel" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-type">Style</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-panel-type">\
|
49 |
+
<option value="panel-default">Simple</option>\
|
50 |
+
<option value="panel-primary">Primary</option>\
|
51 |
+
<option value="panel-warning">Warning</option>\
|
52 |
+
<option value="panel-success">Success</option>\
|
53 |
+
<option value="panel-info">Information</option>\
|
54 |
+
<option value="panel-danger">Danger</option>\
|
55 |
+
</select><br />\
|
56 |
+
</td>\
|
57 |
+
</tr>\
|
58 |
+
<tr>\
|
59 |
+
<th><label for="oscitas-line">Show footer</label></th>\
|
60 |
+
<td><input type="checkbox" id="oscitas-panel-footer"/><br />\
|
61 |
+
</td>\
|
62 |
+
</tr>\
|
63 |
+
<tr>\
|
64 |
+
<th><label for="oscitas-panel-class">Custom Class:</label></th>\
|
65 |
+
<td><input type="text" name="line" id="oscitas-panel-class" value=""/><br />\
|
66 |
+
</td>\
|
67 |
+
</tr>\
|
68 |
+
</table>\
|
69 |
+
<p class="submit">\
|
70 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="Insert Panel" name="submit" />\
|
71 |
+
</p>\
|
72 |
+
</div>');
|
73 |
+
|
74 |
+
var table = form.find('table');
|
75 |
+
form.appendTo('body').hide();
|
76 |
+
|
77 |
+
// handles the click event of the submit button
|
78 |
+
form.find('#oscitas-submit').click(function(){
|
79 |
+
// defines the options and their default values
|
80 |
+
// again, this is not the most elegant way to do this
|
81 |
+
// but well, this gets the job done nonetheless
|
82 |
+
var cusclass='';
|
83 |
+
if(table.find('#oscitas-panel-class').val()!=''){
|
84 |
+
cusclass= ' class="'+table.find('#oscitas-panel-class').val()+'"';
|
85 |
+
}
|
86 |
+
var shortcode = '[panel style="'+table.find('#oscitas-panel-type').val()+ '"'+cusclass+']';
|
87 |
+
shortcode += '<br/>[panel-header]<br/>Heading goes here<br/>[/panel-header]';
|
88 |
+
//shortcode += (table.find('#oscitas-panel-header').prop('checked')? '[panel-header]<br/>Heading goes here<br/>[/panel-header]': '');
|
89 |
+
shortcode += '<br/>[panel-content]<br/>Content goes here<br/>[/panel-content]';
|
90 |
+
shortcode += (table.find('#oscitas-panel-footer').prop('checked')? '<br/>[panel-footer]<br/>Footer goes here<br/>[/panel-footer]': '');
|
91 |
+
shortcode += '<br/>[/panel]';
|
92 |
+
|
93 |
+
// inserts the shortcode into the active editor
|
94 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
95 |
+
|
96 |
+
jQuery.fancybox.close();
|
97 |
+
});
|
98 |
+
}
|
99 |
+
|
shortcode/panel/plugin_shortcode.php
CHANGED
@@ -1,44 +1,45 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function osc_theme_panel($atts, $content = null) {
|
4 |
-
extract(shortcode_atts(array(
|
5 |
-
'
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
$
|
11 |
-
$result
|
12 |
-
$result .=
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
$result
|
22 |
-
$result .=
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
$result
|
31 |
-
$result .=
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
$result
|
40 |
-
$result .=
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
44 |
add_shortcode('panel-content', 'osc_theme_panel_content');
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_panel($atts, $content = null) {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'style' => '',
|
6 |
+
'class' => ''
|
7 |
+
), $atts));
|
8 |
+
$content = str_replace("]<br />", ']', $content);
|
9 |
+
|
10 |
+
$content = str_replace("<br />\n[", '[', $content);
|
11 |
+
$result = '<div class="panel ' . $style . ' ' . $class . '">';
|
12 |
+
$result .= do_shortcode($content);
|
13 |
+
$result .= '</div>';
|
14 |
+
|
15 |
+
return $result;
|
16 |
+
}
|
17 |
+
|
18 |
+
add_shortcode('panel', 'osc_theme_panel');
|
19 |
+
|
20 |
+
function osc_theme_panel_footer($atts, $content = null) {
|
21 |
+
$result = '<div class="panel-footer">';
|
22 |
+
$result .= do_shortcode($content);
|
23 |
+
$result .= '</div>';
|
24 |
+
return $result;
|
25 |
+
}
|
26 |
+
|
27 |
+
add_shortcode('panel-footer', 'osc_theme_panel_footer');
|
28 |
+
|
29 |
+
function osc_theme_panel_heading($atts, $content = null) {
|
30 |
+
$result = '<div class="panel-heading">';
|
31 |
+
$result .= do_shortcode($content);
|
32 |
+
$result .= '</div>';
|
33 |
+
return $result;
|
34 |
+
}
|
35 |
+
|
36 |
+
add_shortcode('panel-header', 'osc_theme_panel_heading');
|
37 |
+
|
38 |
+
function osc_theme_panel_content($atts, $content = null) {
|
39 |
+
$result = '<div class="panel-body">';
|
40 |
+
$result .= do_shortcode($content);
|
41 |
+
$result .= '</div>';
|
42 |
+
return $result;
|
43 |
+
}
|
44 |
+
|
45 |
add_shortcode('panel-content', 'osc_theme_panel_content');
|
shortcode/popover/plugin_shortcode.php
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
'
|
7 |
-
'
|
8 |
-
'
|
9 |
-
'
|
10 |
-
'
|
11 |
-
'
|
12 |
-
), $params));
|
13 |
-
$out = '';
|
14 |
-
$out = '<button class="osc_popover btn ' . $size . ' ' . $type . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="'
|
15 |
-
|
16 |
-
|
17 |
-
$out .= "
|
18 |
-
<script>
|
19 |
-
jQuery(document).ready(function(){
|
20 |
-
jQuery('.osc_popover').popover();
|
21 |
-
});
|
22 |
-
</script>
|
23 |
-
";
|
24 |
-
|
25 |
-
return $out;
|
26 |
-
}
|
27 |
-
|
28 |
add_shortcode('popover', 'osc_theme_popover');
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function osc_theme_popover($params, $content = 'Popover') {
|
4 |
+
extract(shortcode_atts(array(
|
5 |
+
'trigger' => '',
|
6 |
+
'title' => '',
|
7 |
+
'pop_content' => '',
|
8 |
+
'style' => '',
|
9 |
+
'size' => '',
|
10 |
+
'type' => '',
|
11 |
+
'class' => ''
|
12 |
+
), $params));
|
13 |
+
$out = '';
|
14 |
+
$out = '<button class="osc_popover btn ' . $size . ' ' . $type . ' ' . $class . '" data-content="' . $pop_content . '" data-placement="' . $style . '" data-toggle="popover" data-trigger="' . $trigger . '" data-container="body" type="button" data-title="' . $title . '"> ' . do_shortcode($content) . ' </button>';
|
15 |
+
|
16 |
+
|
17 |
+
$out .= "
|
18 |
+
<script>
|
19 |
+
jQuery(document).ready(function(){
|
20 |
+
jQuery('.osc_popover').popover();
|
21 |
+
});
|
22 |
+
</script>
|
23 |
+
";
|
24 |
+
|
25 |
+
return $out;
|
26 |
+
}
|
27 |
+
|
28 |
add_shortcode('popover', 'osc_theme_popover');
|
shortcode/popover/popover_plugin.js
CHANGED
@@ -1,154 +1,166 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasPopover', {
|
3 |
-
init: function(ed, url) {
|
4 |
-
ed.addButton('oscitaspopover', {
|
5 |
-
title: 'Popover Shortcode',
|
6 |
-
image: url + '/icon.png',
|
7 |
-
onclick: function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
<
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
<
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
<option value="btn-
|
91 |
-
<option value="btn-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
<
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
shortcode += '" ';
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
shortcode += '
|
137 |
-
|
138 |
-
shortcode += '" ';
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
shortcode+=
|
145 |
-
shortcode+='
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasPopover', {
|
3 |
+
init: function(ed, url) {
|
4 |
+
ed.addButton('oscitaspopover', {
|
5 |
+
title: 'Popover Shortcode',
|
6 |
+
image: url + '/icon.png',
|
7 |
+
onclick: function() {
|
8 |
+
create_oscitas_popover();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Popover Shortcode',
|
12 |
+
'href' : '#oscitas-form-popover',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl: function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo: function() {
|
27 |
+
return {
|
28 |
+
longname: "Popover Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitaspopover', tinymce.plugins.oscitasPopover);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_popover(){
|
40 |
+
if(jQuery('#oscitas-form-popover').length){
|
41 |
+
jQuery('#oscitas-form-popover').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-popover"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-popover-style">Popover Style:</label></th>\
|
48 |
+
<td><select name="oscitas-popover-style" id="oscitas-popover-style">\
|
49 |
+
<option value="top">Top</option>\
|
50 |
+
<option value="bottom">Bottom</option>\
|
51 |
+
<option value="left">Left</option>\
|
52 |
+
<option value="right">Right</option>\
|
53 |
+
<option value="auto">Auto</option>\
|
54 |
+
</select><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
|
59 |
+
<td><input type="text" name="popover-title" id="oscitas-popover-title" value="A title"/><br />\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
</tr>\
|
63 |
+
<tr>\
|
64 |
+
<th><label for="oscitas-popover-content">Popover Title Text:</label></th>\
|
65 |
+
<td><textarea " name="popover-content" id="oscitas-popover-content">Your Content</textarea><br />\
|
66 |
+
</td>\
|
67 |
+
</tr>\
|
68 |
+
<tr>\
|
69 |
+
<th><label for="oscitas-pbutton-trigger">Trigger Popover On:</label></th>\
|
70 |
+
<td><select name="tigger" id="oscitas-pbutton-trigger">\
|
71 |
+
<option value="click">Click</option>\
|
72 |
+
<option value="hover">Hover</option>\
|
73 |
+
</select><br />\
|
74 |
+
</td>\
|
75 |
+
</tr >\
|
76 |
+
<tr>\
|
77 |
+
<th><label for="oscitas-pbutton-size">Button Size:</label></th>\
|
78 |
+
<td><select name="size" id="oscitas-pbutton-size">\
|
79 |
+
<option value="">Default</option>\
|
80 |
+
<option value="btn-lg">Large</option>\
|
81 |
+
<option value="btn-sm">Small</option>\
|
82 |
+
<option value="btn-xs">X-Small</option>\
|
83 |
+
</select><br />\
|
84 |
+
</td>\
|
85 |
+
</tr >\
|
86 |
+
<tr>\
|
87 |
+
<th><label for="oscitas-pbutton-type">Button Type:</label></th>\
|
88 |
+
<td><select name="type" id="oscitas-pbutton-type">\
|
89 |
+
<option value="btn-default">Default</option>\
|
90 |
+
<option value="btn-primary">Primary</option>\
|
91 |
+
<option value="btn-success">Success</option>\
|
92 |
+
<option value="btn-info">Info</option>\
|
93 |
+
<option value="btn-warning">Warning</option>\
|
94 |
+
<option value="btn-danger">Danger</option>\
|
95 |
+
<option value="btn-link">Link</option>\
|
96 |
+
</select><br />\
|
97 |
+
</td>\
|
98 |
+
</tr >\
|
99 |
+
<tr>\
|
100 |
+
<th><label for="oscitas-popover-button-text">Button Text:</label></th>\
|
101 |
+
<td><input type="text" name="link-text" id="oscitas-popover-button-text" value="Popover"/><br />\
|
102 |
+
</td>\
|
103 |
+
</tr>\
|
104 |
+
<tr>\
|
105 |
+
<th><label for="oscitas-popover-class">Custom Class:</label></th>\
|
106 |
+
<td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
|
107 |
+
</td>\
|
108 |
+
</tr>\
|
109 |
+
</table>\
|
110 |
+
<p class="submit">\
|
111 |
+
<input type="button" id="oscitas-popover-submit" class="button-primary" value="Insert Popover" name="submit" />\
|
112 |
+
</p>\
|
113 |
+
</div>');
|
114 |
+
|
115 |
+
var table = form.find('table');
|
116 |
+
form.appendTo('body').hide();
|
117 |
+
var colors = ['color', 'bgcolor'];
|
118 |
+
jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
|
119 |
+
jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
|
120 |
+
|
121 |
+
|
122 |
+
// handles the click event of the submit button
|
123 |
+
form.find('#oscitas-popover-submit').click(function() {
|
124 |
+
// defines the options and their default values
|
125 |
+
// again, this is not the most elegant way to do this
|
126 |
+
// but well, this gets the job done nonetheless
|
127 |
+
var cusclass='';
|
128 |
+
if(table.find('#oscitas-popover-class').val()!=''){
|
129 |
+
cusclass= ' class="'+table.find('#oscitas-popover-class').val()+'"';
|
130 |
+
}
|
131 |
+
var shortcode = '[popover'+cusclass;
|
132 |
+
shortcode += ' title="' + table.find('#oscitas-popover-title').val();
|
133 |
+
|
134 |
+
shortcode += '" ';
|
135 |
+
|
136 |
+
shortcode += ' pop_content="' + table.find('#oscitas-popover-content').val();
|
137 |
+
|
138 |
+
shortcode += '" ';
|
139 |
+
shortcode += ' trigger="' + table.find('#oscitas-pbutton-trigger').val();
|
140 |
+
|
141 |
+
shortcode += '" ';
|
142 |
+
shortcode += ' style="' + table.find('#oscitas-popover-style').val();
|
143 |
+
|
144 |
+
shortcode += '" ';
|
145 |
+
shortcode += ' size="' + table.find('#oscitas-pbutton-size').val();
|
146 |
+
|
147 |
+
shortcode += '" ';
|
148 |
+
shortcode += ' type="' + table.find('#oscitas-pbutton-type').val();
|
149 |
+
|
150 |
+
shortcode += '" ';
|
151 |
+
//shortcode += ' btntag="'+table.find('#oscitas-button-type').val()+'" ';
|
152 |
+
|
153 |
+
|
154 |
+
|
155 |
+
shortcode += ']';
|
156 |
+
shortcode+= table.find('#oscitas-popover-button-text').val();
|
157 |
+
shortcode+='[/popover]';
|
158 |
+
|
159 |
+
// inserts the shortcode into the active editor
|
160 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
161 |
+
|
162 |
+
// closes fancybox
|
163 |
+
jQuery.fancybox.close();
|
164 |
+
});
|
165 |
+
}
|
166 |
+
|
shortcode/progressbar/icon.png
ADDED
Binary file
|
shortcode/progressbar/plugin_shortcode.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_progressbar($params, $content = null) {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'value' => '50',
|
10 |
+
'barstyle' => '',
|
11 |
+
'bartype' => '',
|
12 |
+
'class' => '',
|
13 |
+
'label' => ''
|
14 |
+
), $params));
|
15 |
+
$out = $label != '' ? '<div class="osc_bar_outer"><label class="osc-progressbar-label">' . $label . '</label>' : '';
|
16 |
+
$out.='<div class="progress ' . $barstyle . ' ' . $class . ' osc-progressbar">
|
17 |
+
<div class="progress-bar ' . $bartype . '" role="progressbar" aria-valuenow="' . $value . '" aria-valuemin="0" aria-valuemax="100" style="width: ' . $value . '%">
|
18 |
+
<span class="sr-only">' . $value . '% Complete</span>
|
19 |
+
</div>
|
20 |
+
</div>';
|
21 |
+
$out .= $label != '' ?'</div>':'';
|
22 |
+
return $out;
|
23 |
+
}
|
24 |
+
|
25 |
+
add_shortcode('progressbar', 'osc_theme_progressbar');
|
26 |
+
|
shortcode/progressbar/progressbar_plugin.js
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasProgressbar', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasprogressbar', {
|
5 |
+
title : 'Progressbar Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_progressbar();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'autoSize':false,
|
11 |
+
'autoWidth':false,
|
12 |
+
'fitToView':false,
|
13 |
+
'height':'auto',
|
14 |
+
'topRatio':0.1,
|
15 |
+
'width':800,
|
16 |
+
'type' : 'inline',
|
17 |
+
'title' : 'Progressbar Shortcode',
|
18 |
+
'href' : '#oscitas-form-progressbar',
|
19 |
+
helpers: {
|
20 |
+
title : {
|
21 |
+
type : 'over',
|
22 |
+
position:'top'
|
23 |
+
}
|
24 |
+
}
|
25 |
+
});
|
26 |
+
jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
|
27 |
+
jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
|
28 |
+
}
|
29 |
+
});
|
30 |
+
},
|
31 |
+
createControl : function(n, cm) {
|
32 |
+
return null;
|
33 |
+
},
|
34 |
+
getInfo : function() {
|
35 |
+
return {
|
36 |
+
longname : "Progressbar Shortcode",
|
37 |
+
author : 'Oscitas Themes',
|
38 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
39 |
+
infourl : 'http://www.oscitasthemes.com/',
|
40 |
+
version : "2.0.0"
|
41 |
+
};
|
42 |
+
}
|
43 |
+
});
|
44 |
+
tinymce.PluginManager.add('oscitasprogressbar', tinymce.plugins.oscitasProgressbar);
|
45 |
+
})();
|
46 |
+
|
47 |
+
function create_oscitas_progressbar(){
|
48 |
+
if(jQuery('#oscitas-form-progressbar').length){
|
49 |
+
jQuery('#oscitas-form-progressbar').remove();
|
50 |
+
}
|
51 |
+
// creates a form to be displayed everytime the button is clicked
|
52 |
+
// you should achieve this using AJAX instead of direct html code like this
|
53 |
+
var form = jQuery('<div id="oscitas-form-progressbar" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
54 |
+
<tr>\
|
55 |
+
<th><label for="oscitas-progressbar-style">Progress Bar Type:</label></th>\
|
56 |
+
<td><select name="type" id="oscitas-progressbar-style">\
|
57 |
+
<option value="">Default</option>\
|
58 |
+
<option value="progress-bar-success">Success</option>\
|
59 |
+
<option value="progress-bar-info">Information</option>\
|
60 |
+
<option value="progress-bar-warning">Warning</option>\
|
61 |
+
<option value="progress-bar-danger">Danger</option>\
|
62 |
+
</select><br />\
|
63 |
+
</td>\
|
64 |
+
</tr>\
|
65 |
+
<tr>\
|
66 |
+
<th><label for="oscitas-progressbar-label">Progressbar Label:</label></th>\
|
67 |
+
<td><input type="text" name="title" id="oscitas-progressbar-label" value=""/><br />\
|
68 |
+
</td>\
|
69 |
+
</tr>\
|
70 |
+
<tr>\
|
71 |
+
<th><label for="oscitas-progressbar-progress">Progress Value:</label></th>\
|
72 |
+
<td><input type="text" name="title" id="oscitas-progressbar-progress" value="50"/><br />\
|
73 |
+
<small>Enter a numeric value between 0 to 100, Default value is 50</small>\
|
74 |
+
</td>\
|
75 |
+
</tr>\
|
76 |
+
<tr>\
|
77 |
+
<th><label for="oscitas-progressbar-stripped">Stripped Progress Bar:</label></th>\
|
78 |
+
<td>\
|
79 |
+
<input type="checkbox" id="oscitas-progressbar-stripped">\
|
80 |
+
</td>\
|
81 |
+
</tr>\
|
82 |
+
<tr id="osc_progress_animate" style="display: none;">\
|
83 |
+
<th><label for="oscitas-progressbar-animated">Animated Progress Bar:</label></th>\
|
84 |
+
<td>\
|
85 |
+
<input type="checkbox" id="oscitas-progressbar-animated">\
|
86 |
+
</td>\
|
87 |
+
</tr>\
|
88 |
+
<tr>\
|
89 |
+
<th><label for="oscitas-progressbar-class">Custom Class:</label></th>\
|
90 |
+
<td><input type="text" name="line" id="oscitas-progressbar-class" value=""/><br />\
|
91 |
+
</td>\
|
92 |
+
</tr>\
|
93 |
+
</table>\
|
94 |
+
<p class="submit">\
|
95 |
+
<input type="button" id="oscitas-progressbar-submit" class="button-primary" value="Insert Button" name="submit" />\
|
96 |
+
</p>\
|
97 |
+
</div>');
|
98 |
+
|
99 |
+
var table = form.find('table');
|
100 |
+
form.appendTo('body').hide();
|
101 |
+
jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
|
102 |
+
jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
|
103 |
+
table.find('#oscitas-progressbar-stripped').click(function(){
|
104 |
+
if(jQuery(this).prop('checked')){
|
105 |
+
jQuery('#osc_progress_animate').show();
|
106 |
+
} else{
|
107 |
+
jQuery('#osc_progress_animate').hide();
|
108 |
+
}
|
109 |
+
jQuery('#oscitas-form-progressbar table tr:visible:even').css('background', '#F0F0F0');
|
110 |
+
jQuery('#oscitas-form-progressbar table tr:visible:odd').css('background', '#DADADD');
|
111 |
+
})
|
112 |
+
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
|
117 |
+
// handles the click event of the submit button
|
118 |
+
form.find('#oscitas-progressbar-submit').click(function(){
|
119 |
+
|
120 |
+
var cusclass='',type='',value='',stripped='',label='';
|
121 |
+
if(jQuery('#oscitas-progressbar-stripped').prop('checked')){
|
122 |
+
stripped=' barstyle="progress-striped';
|
123 |
+
if(jQuery('#oscitas-progressbar-animated').prop('checked')){
|
124 |
+
stripped +=' active';
|
125 |
+
}
|
126 |
+
stripped +='"';
|
127 |
+
}
|
128 |
+
if(table.find('#oscitas-progressbar-class').val()!=''){
|
129 |
+
cusclass= ' class="'+table.find('#oscitas-progressbar-class').val()+'"';
|
130 |
+
}
|
131 |
+
if(table.find('#oscitas-progressbar-style').val()!=''){
|
132 |
+
type= ' bartype="'+table.find('#oscitas-progressbar-style').val()+'"';
|
133 |
+
}
|
134 |
+
if(table.find('#oscitas-progressbar-progress').val()!=''){
|
135 |
+
value= ' value="'+table.find('#oscitas-progressbar-progress').val()+'"';
|
136 |
+
}
|
137 |
+
if(table.find('#oscitas-progressbar-label').val()!=''){
|
138 |
+
label= ' label="'+table.find('#oscitas-progressbar-label').val()+'"';
|
139 |
+
}
|
140 |
+
var shortcode = '[progressbar'+value+cusclass+type+stripped+label;
|
141 |
+
|
142 |
+
shortcode += ']';
|
143 |
+
|
144 |
+
// inserts the shortcode into the active editor
|
145 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
146 |
+
|
147 |
+
// closes fancybox
|
148 |
+
jQuery.fancybox.close();
|
149 |
+
});
|
150 |
+
}
|
151 |
+
|
shortcode/tables/plugin_shortcode.php
CHANGED
@@ -1,53 +1,61 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* TABLES
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_os_table($params, $content = null) {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'width' => '100%',
|
10 |
+
'style' => '',
|
11 |
+
'responsive' => 'false',
|
12 |
+
'class' => ''
|
13 |
+
), $params));
|
14 |
+
$content = str_replace("]<br />", ']', $content);
|
15 |
+
$out = '<table width="' . $width . '" class="table ' . $style . ' '.$class.'">' . do_shortcode($content) . '</table>';
|
16 |
+
$out = strtolower($responsive) == 'true' ? '<div class="table-responsive">' . $out . '</div>' : $out;
|
17 |
+
return $out;
|
18 |
+
}
|
19 |
+
|
20 |
+
add_shortcode('table', 'osc_theme_os_table');
|
21 |
+
|
22 |
+
function osc_theme_os_table_head($params, $content = null) {
|
23 |
+
$out = '<thead><tr>' . do_shortcode($content) . '</tr></thead>';
|
24 |
+
return $out;
|
25 |
+
}
|
26 |
+
|
27 |
+
add_shortcode('table_head', 'osc_theme_os_table_head');
|
28 |
+
|
29 |
+
function osc_theme_os_table_body($params, $content = null) {
|
30 |
+
$out = '<tbody>' . do_shortcode($content) . '</tbody>';
|
31 |
+
return $out;
|
32 |
+
}
|
33 |
+
|
34 |
+
add_shortcode('table_body', 'osc_theme_os_table_body');
|
35 |
+
|
36 |
+
function osc_theme_os_table_row($params, $content = null) {
|
37 |
+
$out = '<tr>';
|
38 |
+
$out .= do_shortcode($content);
|
39 |
+
$out .= '</tr>';
|
40 |
+
return $out;
|
41 |
+
}
|
42 |
+
|
43 |
+
add_shortcode('table_row', 'osc_theme_os_table_row');
|
44 |
+
|
45 |
+
function osc_theme_os_row_column($params, $content = null) {
|
46 |
+
$out = '<td>';
|
47 |
+
$out .= do_shortcode($content);
|
48 |
+
$out .= '</td>';
|
49 |
+
return $out;
|
50 |
+
}
|
51 |
+
|
52 |
+
add_shortcode('row_column', 'osc_theme_os_row_column');
|
53 |
+
|
54 |
+
function osc_theme_os_th_column($params, $content = null) {
|
55 |
+
$out = '<th>';
|
56 |
+
$out .= do_shortcode($content);
|
57 |
+
$out .= '</th>';
|
58 |
+
return $out;
|
59 |
+
}
|
60 |
+
|
61 |
+
add_shortcode('th_column', 'osc_theme_os_th_column');
|
shortcode/tables/tables_plugin.js
CHANGED
@@ -1,139 +1,151 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasTables', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitastables', {
|
5 |
-
title : '
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
<
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
<
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
</
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
</
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
//
|
107 |
-
var
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
shortcode += '[/
|
128 |
-
}
|
129 |
-
shortcode += '[/
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasTables', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitastables', {
|
5 |
+
title : 'Table Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_table();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Table Shortcode',
|
12 |
+
'href' : '#oscitas-form-table',
|
13 |
+
|
14 |
+
helpers: {
|
15 |
+
title : {
|
16 |
+
type : 'over',
|
17 |
+
position:'top'
|
18 |
+
}
|
19 |
+
}
|
20 |
+
});
|
21 |
+
}
|
22 |
+
});
|
23 |
+
},
|
24 |
+
createControl : function(n, cm) {
|
25 |
+
return null;
|
26 |
+
},
|
27 |
+
getInfo : function() {
|
28 |
+
return {
|
29 |
+
longname : "Table Shortcode",
|
30 |
+
author : 'Oscitas Themes',
|
31 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
32 |
+
infourl : 'http://www.oscitasthemes.com/',
|
33 |
+
version : "2.0.0"
|
34 |
+
};
|
35 |
+
}
|
36 |
+
});
|
37 |
+
tinymce.PluginManager.add('oscitastables', tinymce.plugins.oscitasTables);
|
38 |
+
})();
|
39 |
+
|
40 |
+
function create_oscitas_table(){
|
41 |
+
if(jQuery('#oscitas-form-table').length){
|
42 |
+
jQuery('#oscitas-form-table').remove();
|
43 |
+
}
|
44 |
+
// creates a form to be displayed everytime the button is clicked
|
45 |
+
// you should achieve this using AJAX instead of direct html code like this
|
46 |
+
var form = jQuery('<div id="oscitas-form-table" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
47 |
+
<tr>\
|
48 |
+
<th><label for="oscitas-table-width">Table Width</label></th>\
|
49 |
+
<td><input type="text" name="icontag" id="oscitas-table-width" value="100%" /><br />\
|
50 |
+
</td>\
|
51 |
+
</tr>\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-table-columns">Columns</label></th>\
|
54 |
+
<td><input type="text" name="link" id="oscitas-table-columns" value="4" /><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-table-rows">Rows</label></th>\
|
59 |
+
<td><input type="text" name="title" id="oscitas-table-rows" value="4" /><br />\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
<tr>\
|
63 |
+
<th><label for="oscitas-table-rows">Table style</label></th>\
|
64 |
+
<td>\
|
65 |
+
<select name="tablestyle" id="oscitas-table-style">\
|
66 |
+
<option value="">Simple</option>\
|
67 |
+
<option value="table-striped">Striped</option>\
|
68 |
+
<option value="table-bordered">Bordered</option>\
|
69 |
+
<option value="table-striped table-bordered">Striped + Bordered</option>\
|
70 |
+
</select>\
|
71 |
+
<br />\
|
72 |
+
</td>\
|
73 |
+
</tr>\
|
74 |
+
<tr>\
|
75 |
+
<th><label for="oscitas-table-rows">Show hover effect</label></th>\
|
76 |
+
<td>\
|
77 |
+
<input type="checkbox" id="oscitas-table-hover" value="table-hover">\
|
78 |
+
<br />\
|
79 |
+
</td>\
|
80 |
+
</tr>\
|
81 |
+
<tr>\
|
82 |
+
<th><label for="oscitas-table-rows">Responsive</label></th>\
|
83 |
+
<td>\
|
84 |
+
<input type="checkbox" id="oscitas-table-scroll" value="table-responsive">\
|
85 |
+
<br />\
|
86 |
+
</td>\
|
87 |
+
</tr>\
|
88 |
+
<tr>\
|
89 |
+
<th><label for="oscitas-table-class">Custom Class:</label></th>\
|
90 |
+
<td><input type="text" name="line" id="oscitas-table-class" value=""/><br />\
|
91 |
+
</td>\
|
92 |
+
</tr>\
|
93 |
+
</table>\
|
94 |
+
<p class="submit">\
|
95 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="Insert Table" name="submit" />\
|
96 |
+
</p>\
|
97 |
+
</div>');
|
98 |
+
|
99 |
+
var table = form.find('table');
|
100 |
+
form.appendTo('body').hide();
|
101 |
+
|
102 |
+
// handles the click event of the submit button
|
103 |
+
form.find('#oscitas-submit').click(function(){
|
104 |
+
// defines the options and their default values
|
105 |
+
// again, this is not the most elegant way to do this
|
106 |
+
// but well, this gets the job done nonetheless
|
107 |
+
var cusclass='';
|
108 |
+
if(table.find('#oscitas-table-class').val()!=''){
|
109 |
+
cusclass= ' class="'+table.find('#oscitas-table-class').val()+'"';
|
110 |
+
}
|
111 |
+
var columns = table.find('#oscitas-table-columns').val();
|
112 |
+
var rows = table.find('#oscitas-table-rows').val();
|
113 |
+
var value = table.find('#oscitas-table-width').val();
|
114 |
+
var osStyle = table.find('#oscitas-table-style').val();
|
115 |
+
|
116 |
+
var osHover = table.find('#oscitas-table-hover').prop('checked') ? ' table-hover' : '' ;
|
117 |
+
var osScroll = table.find('#oscitas-table-scroll').prop('checked')? 'true': 'false';
|
118 |
+
//creating table
|
119 |
+
var shortcode = '[table ';
|
120 |
+
shortcode += 'width ="' + value + '"';
|
121 |
+
shortcode += ' style ="' + osStyle +osHover+ '"';
|
122 |
+
shortcode += ' responsive ="' +osScroll+ '"'+cusclass;
|
123 |
+
|
124 |
+
shortcode += ']<br/>[table_head]<br/>';
|
125 |
+
for (var i=1;i<=columns;i++)
|
126 |
+
{
|
127 |
+
shortcode += '[th_column]Heading-'+i+'[/th_column]<br/>';
|
128 |
+
}
|
129 |
+
shortcode += '[/table_head]<br/>[table_body]<br/>';
|
130 |
+
|
131 |
+
for (var j=1;j<=rows;j++)
|
132 |
+
{
|
133 |
+
shortcode += '[table_row]<br/>';
|
134 |
+
for (var i=1;i<=columns;i++)
|
135 |
+
{
|
136 |
+
shortcode += '[row_column]value-'+i+'[/row_column]<br/>';
|
137 |
+
}
|
138 |
+
|
139 |
+
shortcode += '[/table_row]<br/>';
|
140 |
+
}
|
141 |
+
shortcode += '[/table_body]<br/>[/table]';
|
142 |
+
|
143 |
+
|
144 |
+
// inserts the shortcode into the active editor
|
145 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
146 |
+
|
147 |
+
// closes fancybox
|
148 |
+
jQuery.fancybox.close();
|
149 |
+
});
|
150 |
+
}
|
151 |
+
|
shortcode/tabs/plugin_shortcode.php
CHANGED
@@ -1,43 +1,48 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
*
|
4 |
-
*
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
$
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
$
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* jQuery UI Tabs
|
5 |
+
* ********************************************************* */
|
6 |
+
$_oscitas_tabs = array();
|
7 |
+
|
8 |
+
function osc_theme_tabs($params, $content = null) {
|
9 |
+
global $_oscitas_tabs;
|
10 |
+
extract(shortcode_atts(array(
|
11 |
+
'id' => count($_oscitas_tabs),
|
12 |
+
'class' => ''
|
13 |
+
), $params));
|
14 |
+
$_oscitas_tabs[$id] = array();
|
15 |
+
do_shortcode($content);
|
16 |
+
$scontent = '<ul class="nav nav-tabs " id="oscitas-tabs-' . $id . '">' . implode('', $_oscitas_tabs[$id]['tabs']) . '</ul><div
|
17 |
+
class="tab-content">' . implode('', $_oscitas_tabs[$id]['panes']) . '</div>';
|
18 |
+
if (trim($scontent) != "") {
|
19 |
+
$output = '<div class="' . $class . '">' . $scontent;
|
20 |
+
$output .= '</div>';
|
21 |
+
|
22 |
+
return $output;
|
23 |
+
} else {
|
24 |
+
return "";
|
25 |
+
}
|
26 |
+
}
|
27 |
+
add_shortcode('tabs', 'osc_theme_tabs');
|
28 |
+
|
29 |
+
function osc_theme_tab($params, $content = null) {
|
30 |
+
global $_oscitas_tabs;
|
31 |
+
extract(shortcode_atts(array(
|
32 |
+
'title' => 'title',
|
33 |
+
'active' => '',
|
34 |
+
), $params));
|
35 |
+
|
36 |
+
$index = count($_oscitas_tabs) - 1;
|
37 |
+
if (!isset($_oscitas_tabs[$index]['tabs'])) {
|
38 |
+
$_oscitas_tabs[$index]['tabs'] = array();
|
39 |
+
}
|
40 |
+
$pane_id = 'pane-' . $index . '-' . count($_oscitas_tabs[$index]['tabs']);
|
41 |
+
$_oscitas_tabs[$index]['tabs'][] = '<li class="' . $active . '"><a href="#' . $pane_id . '" data-toggle="tab">' . $title
|
42 |
+
. '</a></li>';
|
43 |
+
$_oscitas_tabs[$index]['panes'][] = '<div class="tab-pane ' . $active . '" id="'
|
44 |
+
. $pane_id . '">'
|
45 |
+
. do_shortcode
|
46 |
+
(trim($content)) . '</div>';
|
47 |
+
}
|
48 |
+
add_shortcode('tab', 'osc_theme_tab');
|
shortcode/tabs/tabs_plugin.js
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasTabs', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitastabs', {
|
5 |
-
title : 'Tabs
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
ed.selection.setContent('[tabs]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
|
9 |
-
}
|
10 |
-
});
|
11 |
-
},
|
12 |
-
createControl : function(n, cm) {
|
13 |
-
return null;
|
14 |
-
},
|
15 |
-
getInfo : function() {
|
16 |
-
return {
|
17 |
-
longname : "Tabs Shortcode",
|
18 |
-
author : 'Oscitas Themes',
|
19 |
-
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
-
infourl : 'http://www.oscitasthemes.com/',
|
21 |
-
version : "
|
22 |
-
};
|
23 |
-
}
|
24 |
-
});
|
25 |
-
tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
|
26 |
-
})();
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasTabs', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitastabs', {
|
5 |
+
title : 'Tabs Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
ed.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
|
9 |
+
}
|
10 |
+
});
|
11 |
+
},
|
12 |
+
createControl : function(n, cm) {
|
13 |
+
return null;
|
14 |
+
},
|
15 |
+
getInfo : function() {
|
16 |
+
return {
|
17 |
+
longname : "Tabs Shortcode",
|
18 |
+
author : 'Oscitas Themes',
|
19 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
+
infourl : 'http://www.oscitasthemes.com/',
|
21 |
+
version : "2.0.0"
|
22 |
+
};
|
23 |
+
}
|
24 |
+
});
|
25 |
+
tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
|
26 |
+
})();
|
shortcode/thumbnail/icon.png
ADDED
Binary file
|
shortcode/thumbnail/plugin_shortcode.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_oscitasthumbnail($params, $content = 'Label') {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'src' => '',
|
10 |
+
'class' => '',
|
11 |
+
'link' => '',
|
12 |
+
'border'=>''
|
13 |
+
), $params));
|
14 |
+
$out = '';
|
15 |
+
$borderClass = '';
|
16 |
+
$imageBorderClass = 'img-responsive';
|
17 |
+
if ($border != '') {
|
18 |
+
$borderClass = 'img-thumbnail ';
|
19 |
+
}
|
20 |
+
|
21 |
+
$out = ' <div class="' . $borderClass.$class . '">';
|
22 |
+
|
23 |
+
//$out = ' <div class="img-thumbnail ' . $class . '">';
|
24 |
+
if ($link != '') {
|
25 |
+
$out .='<a href="' . $link . '">';
|
26 |
+
}
|
27 |
+
$out .= '<img src="' . $src . '" '.($imageBorderClass? ' class="'.$imageBorderClass.'"':'').'>';
|
28 |
+
if ($link != '') {
|
29 |
+
$out .='</a>';
|
30 |
+
}
|
31 |
+
|
32 |
+
$out .= '</div>';
|
33 |
+
return $out;
|
34 |
+
}
|
35 |
+
|
36 |
+
add_shortcode('thumbnail', 'osc_theme_oscitasthumbnail');
|
37 |
+
|
shortcode/thumbnail/thumbnail_plugin.js
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasThumbnail', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitasthumbnail', {
|
5 |
+
title : 'Responsive Image Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_thumbnail();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Responsive Image Shortcode',
|
12 |
+
'href' : '#oscitas-form-thumbnail',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
});
|
21 |
+
}
|
22 |
+
});
|
23 |
+
},
|
24 |
+
createControl : function(n, cm) {
|
25 |
+
return null;
|
26 |
+
},
|
27 |
+
getInfo : function() {
|
28 |
+
return {
|
29 |
+
longname : "Responsive Image Shortcode",
|
30 |
+
author : 'Oscitas Themes',
|
31 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
32 |
+
infourl : 'http://www.oscitasthemes.com/',
|
33 |
+
version : "2.0.0"
|
34 |
+
};
|
35 |
+
}
|
36 |
+
});
|
37 |
+
tinymce.PluginManager.add('oscitasthumbnail', tinymce.plugins.oscitasThumbnail);
|
38 |
+
})();
|
39 |
+
|
40 |
+
function create_oscitas_thumbnail(){
|
41 |
+
if(jQuery('#oscitas-form-thumbnail').length){
|
42 |
+
jQuery('#oscitas-form-thumbnail').remove();
|
43 |
+
}
|
44 |
+
// creates a form to be displayed everytime the button is clicked
|
45 |
+
// you should achieve this using AJAX instead of direct html code like this
|
46 |
+
var form = jQuery('<div id="oscitas-form-thumbnail" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
47 |
+
<th><label for="oscitas-label-content">Upload Image:</label></th>\
|
48 |
+
<td id="osc_thumbnail_upload"><input id="oscitas-thumbnail-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
49 |
+
<input id="_btn" class="upload_image_button" type="button" value="Upload Image" />\
|
50 |
+
</td>\
|
51 |
+
</tr>\
|
52 |
+
<tr>\
|
53 |
+
<th><label for="oscitas-thumbnail-link">Link:</label></th>\
|
54 |
+
<td><input type="text" name="oscitas-thumbnail-link" id="oscitas-thumbnail-link" value=""/><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-thumbnail-link">Show Border:</label></th>\
|
59 |
+
<td><input type="checkbox" name="oscitas-thumbnail-border" id="oscitas-thumbnail-border" value="1"/><br />\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
<tr>\
|
63 |
+
<th><label for="oscitas-thumbnail-class">Custom Class:</label></th>\
|
64 |
+
<td><input type="text" name="line" id="oscitas-thumbnail-class" value=""/><br />\
|
65 |
+
</td>\
|
66 |
+
</tr>\
|
67 |
+
</table>\
|
68 |
+
<p class="submit">\
|
69 |
+
<input type="button" id="oscitas-thumbnail-submit" class="button-primary" value="Insert Thumbnail" name="submit" />\
|
70 |
+
</p>\
|
71 |
+
</div>');
|
72 |
+
|
73 |
+
var table = form.find('table');
|
74 |
+
form.appendTo('body').hide();
|
75 |
+
|
76 |
+
|
77 |
+
form.find('.upload_image_button').click(function() {
|
78 |
+
jQuery('.fancybox-overlay').css('z-index',100);
|
79 |
+
jQuery('html').addClass('Image');
|
80 |
+
formfield = jQuery(this).prev().attr('id');
|
81 |
+
tb_show('', 'media-upload.php?type=image&TB_iframe=true');
|
82 |
+
return false;
|
83 |
+
});
|
84 |
+
|
85 |
+
window.original_send_to_editor = window.send_to_editor;
|
86 |
+
|
87 |
+
window.send_to_editor = function(html) {
|
88 |
+
if (formfield) {
|
89 |
+
if (jQuery(html).find('img').length) {
|
90 |
+
fileurl = jQuery('img', html).attr('src');
|
91 |
+
} else if (jQuery(html).attr('src')) {
|
92 |
+
fileurl = jQuery(html).attr('src');
|
93 |
+
}
|
94 |
+
jQuery('#' + formfield).val(fileurl);
|
95 |
+
tb_remove();
|
96 |
+
form.find('#osc_thumbnail_upload img').remove();
|
97 |
+
form.find('#osc_thumbnail_upload').append('<img src="'+fileurl+'">')
|
98 |
+
jQuery('html').removeClass('Image');
|
99 |
+
|
100 |
+
} else {
|
101 |
+
window.original_send_to_editor(html);
|
102 |
+
}
|
103 |
+
|
104 |
+
};
|
105 |
+
|
106 |
+
|
107 |
+
// handles the click event of the submit button
|
108 |
+
form.find('#oscitas-thumbnail-submit').click(function(){
|
109 |
+
var shortcode='';
|
110 |
+
var cusclass='',link='', border='';
|
111 |
+
if(table.find('#oscitas-thumbnail-class').val()!=''){
|
112 |
+
cusclass= ' class="'+table.find('#oscitas-thumbnail-class').val()+'"';
|
113 |
+
}
|
114 |
+
if(table.find('#oscitas-thumbnail-class').val()!=''){
|
115 |
+
link= ' link="'+form.find('#oscitas-thumbnail-link').val()+'"';
|
116 |
+
}
|
117 |
+
|
118 |
+
if(table.find('#oscitas-thumbnail-border').is(':checked')){
|
119 |
+
border= ' border="1"';
|
120 |
+
}
|
121 |
+
|
122 |
+
if(form.find('#oscitas-thumbnail-src').val()!=''){
|
123 |
+
shortcode = '[thumbnail'+link+cusclass+border+' src="'+form.find('#oscitas-thumbnail-src').val()+'"]';
|
124 |
+
}
|
125 |
+
// inserts the shortcode into the active editor
|
126 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
127 |
+
|
128 |
+
// closes fancybox
|
129 |
+
jQuery.fancybox.close();
|
130 |
+
});
|
131 |
+
}
|
132 |
+
|
shortcode/toggles/plugin_shortcode.php
CHANGED
@@ -1,49 +1,56 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
*
|
4 |
-
*
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* jQuery UI Accordion (toggles)
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
$_oscitas_accordion = array();
|
8 |
+
|
9 |
+
function osc_theme_toggles($params, $content = null) {
|
10 |
+
global $_oscitas_accordion;
|
11 |
+
extract(shortcode_atts(array(
|
12 |
+
'id' => count($_oscitas_accordion),
|
13 |
+
'class' => ''
|
14 |
+
), $params));
|
15 |
+
$_oscitas_accordion[$id] = array();
|
16 |
+
$scontent = do_shortcode($content);
|
17 |
+
|
18 |
+
$output = '';
|
19 |
+
if (trim($scontent) != '' || count($_oscitas_accordion[$id]['details'])) {
|
20 |
+
$scontent = isset($_oscitas_accordion[$id]['details']) && is_array($_oscitas_accordion[$id]['details']) ? implode('', $_oscitas_accordion[$id]['details']) : '';
|
21 |
+
$output .= '<div class="panel-group ' . $class . '" id="oscitas-accordion-' . $id . '">' . $scontent;
|
22 |
+
$output .= '</div>';
|
23 |
+
}
|
24 |
+
return $output;
|
25 |
+
}
|
26 |
+
|
27 |
+
add_shortcode('toggles', 'osc_theme_toggles');
|
28 |
+
|
29 |
+
function osc_theme_toggle($params, $content = null) {
|
30 |
+
global $_oscitas_accordion;
|
31 |
+
extract(shortcode_atts(array(
|
32 |
+
'title' => 'title',
|
33 |
+
'class' => ''
|
34 |
+
), $params));
|
35 |
+
$con = do_shortcode($content);
|
36 |
+
$index = count($_oscitas_accordion) - 1;
|
37 |
+
$id = 'details-' . $index . '-' . count($_oscitas_accordion[$index]['details']);
|
38 |
+
$_oscitas_accordion[$index]['details'][] = <<<EOS
|
39 |
+
<div class="panel panel-default">
|
40 |
+
<div class="panel-heading">
|
41 |
+
<h4 class="panel-title">
|
42 |
+
<a class="accordion-toggle" data-toggle="collapse"
|
43 |
+
data-parent="#oscitas-accordion-{$index}"
|
44 |
+
href="#{$id}">
|
45 |
+
{$title}
|
46 |
+
</a>
|
47 |
+
</h4>
|
48 |
+
</div>
|
49 |
+
<div id="{$id}" class="panel-collapse collapse {$class}">
|
50 |
+
<div class="panel-body">{$con}</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
EOS;
|
54 |
+
}
|
55 |
+
|
56 |
+
add_shortcode('toggle', 'osc_theme_toggle');
|
shortcode/toggles/toggles_plugin.js
CHANGED
@@ -1,26 +1,26 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasToggles', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitastoggles', {
|
5 |
-
title : '
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
ed.selection.setContent('[toggles]<br/>[toggle title="Accordion number 1"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
|
9 |
-
}
|
10 |
-
});
|
11 |
-
},
|
12 |
-
createControl : function(n, cm) {
|
13 |
-
return null;
|
14 |
-
},
|
15 |
-
getInfo : function() {
|
16 |
-
return {
|
17 |
-
longname : "
|
18 |
-
author : 'Oscitas Themes',
|
19 |
-
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
-
infourl : 'http://www.oscitasthemes.com/',
|
21 |
-
version : "
|
22 |
-
};
|
23 |
-
}
|
24 |
-
});
|
25 |
-
tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
|
26 |
-
})();
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasToggles', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitastoggles', {
|
5 |
+
title : 'Toggle Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
ed.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1" class="in"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
|
9 |
+
}
|
10 |
+
});
|
11 |
+
},
|
12 |
+
createControl : function(n, cm) {
|
13 |
+
return null;
|
14 |
+
},
|
15 |
+
getInfo : function() {
|
16 |
+
return {
|
17 |
+
longname : "Toggle Shortcode",
|
18 |
+
author : 'Oscitas Themes',
|
19 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
+
infourl : 'http://www.oscitasthemes.com/',
|
21 |
+
version : "2.0.0"
|
22 |
+
};
|
23 |
+
}
|
24 |
+
});
|
25 |
+
tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
|
26 |
+
})();
|
shortcode/tooltip/plugin_shortcode.php
CHANGED
@@ -1,35 +1,36 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/* * *********************************************************
|
4 |
-
* Tooltip
|
5 |
-
* ********************************************************* */
|
6 |
-
|
7 |
-
function osc_theme_tooltip($params, $content = 'Tooltip') {
|
8 |
-
extract(shortcode_atts(array(
|
9 |
-
'type' => '',
|
10 |
-
'link' => '',
|
11 |
-
'tooltip' => '',
|
12 |
-
'style' => ''
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
'
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* Tooltip
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_tooltip($params, $content = 'Tooltip') {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'type' => '',
|
10 |
+
'link' => '',
|
11 |
+
'tooltip' => '',
|
12 |
+
'style' => '',
|
13 |
+
'class' => ''
|
14 |
+
), $params));
|
15 |
+
$out = '';
|
16 |
+
if ($type == 'link') {
|
17 |
+
$out = '<a href="' . $link . '" data-placement="' . $style . '" title="' . $tooltip . '" class="osc_tooltip ' . $class . '">' . do_shortcode($content) . '</a>
|
18 |
+
';
|
19 |
+
} elseif ($type == 'button') {
|
20 |
+
$out = '<button type="button" data-toggle="tooltip" data-placement="' . $style . '" title="' . $tooltip . '" class="btn osc_tooltip ' . $class . '">' . do_shortcode($content) . '</button>';
|
21 |
+
}
|
22 |
+
|
23 |
+
|
24 |
+
$out .= "
|
25 |
+
<script>
|
26 |
+
jQuery(document).ready(function() {
|
27 |
+
jQuery('.osc_tooltip').tooltip();
|
28 |
+
});
|
29 |
+
</script>
|
30 |
+
";
|
31 |
+
|
32 |
+
return $out;
|
33 |
+
}
|
34 |
+
|
35 |
+
add_shortcode('tooltip', 'osc_theme_tooltip');
|
36 |
+
|
shortcode/tooltip/tooltip_plugin.js
CHANGED
@@ -1,132 +1,145 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasTooltip', {
|
3 |
-
init: function(ed, url) {
|
4 |
-
ed.addButton('oscitastooltip', {
|
5 |
-
title: 'Tooltip Shortcode',
|
6 |
-
image: url + '/icon.png',
|
7 |
-
onclick: function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
<
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
<
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
<
|
72 |
-
<
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
jQuery(
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
shortcode
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
shortcode+= table.find('#oscitas-tooltip-link
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasTooltip', {
|
3 |
+
init: function(ed, url) {
|
4 |
+
ed.addButton('oscitastooltip', {
|
5 |
+
title: 'Tooltip Shortcode',
|
6 |
+
image: url + '/icon.png',
|
7 |
+
onclick: function() {
|
8 |
+
create_oscitas_tooltip();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Tooltip Shortcode',
|
12 |
+
'href' : '#oscitas-form-tooltip',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl: function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo: function() {
|
27 |
+
return {
|
28 |
+
longname: "Tooltip Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitastooltip', tinymce.plugins.oscitasTooltip);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_tooltip(){
|
40 |
+
if(jQuery('#oscitas-form-tooltip').length){
|
41 |
+
jQuery('#oscitas-form-tooltip').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-tooltip" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-tooltip-style">Tooltip Style:</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-tooltip-style">\
|
49 |
+
<option value="top">Top</option>\
|
50 |
+
<option value="bottom">Bottom</option>\
|
51 |
+
<option value="left">Left</option>\
|
52 |
+
<option value="right">Right</option>\
|
53 |
+
<option value="auto">Auto</option>\
|
54 |
+
</select><br />\
|
55 |
+
</td>\
|
56 |
+
</tr>\
|
57 |
+
<tr>\
|
58 |
+
<th><label for="oscitas-tooltip-text">Tooltip Text:</label></th>\
|
59 |
+
<td><input type="text" name="tooltip-text" id="oscitas-tooltip-text" value="Tooltip"/><br />\
|
60 |
+
</td>\
|
61 |
+
</tr>\
|
62 |
+
<tr>\
|
63 |
+
<th><label for="oscitas-tooltip-type">Type:</label></th>\
|
64 |
+
<td><select name="type" id="oscitas-tooltip-type">\
|
65 |
+
<option value="link">Link</option>\
|
66 |
+
<option value="button">Button</option>\
|
67 |
+
</select><br />\
|
68 |
+
</td>\
|
69 |
+
</tr >\
|
70 |
+
<tr id="oscitas-tooltip-link-tr">\
|
71 |
+
<th><label for="oscitas-tooltip-link">Link:</label></th>\
|
72 |
+
<td><input type="text" name="tooltip-link" id="oscitas-tooltip-link" value="#"/><br />\
|
73 |
+
</td>\
|
74 |
+
</tr>\
|
75 |
+
<tr>\
|
76 |
+
<th><label for="oscitas-tooltip-link-text">Value:</label></th>\
|
77 |
+
<td><input type="text" name="link-text" id="oscitas-tooltip-link-text" value="Hover Me"/><br />\
|
78 |
+
</td>\
|
79 |
+
</tr>\
|
80 |
+
<tr>\
|
81 |
+
<th><label for="oscitas-tooltip-class">Custom Class:</label></th>\
|
82 |
+
<td><input type="text" name="line" id="oscitas-tooltip-class" value=""/><br />\
|
83 |
+
</td>\
|
84 |
+
</tr>\
|
85 |
+
</table>\
|
86 |
+
<p class="submit">\
|
87 |
+
<input type="button" id="oscitas-tooltip-submit" class="button-primary" value="Insert Tooltip" name="submit" />\
|
88 |
+
</p>\
|
89 |
+
</div>');
|
90 |
+
|
91 |
+
var table = form.find('table');
|
92 |
+
form.appendTo('body').hide();
|
93 |
+
var colors = ['color', 'bgcolor'];
|
94 |
+
|
95 |
+
form.find('#oscitas-tooltip-type').change(function(){
|
96 |
+
if(jQuery(this).val()=='link'){
|
97 |
+
table.find('#oscitas-tooltip-link-tr').show();
|
98 |
+
table.find('#oscitas-tooltip-link').val('#');
|
99 |
+
} else{
|
100 |
+
table.find('#oscitas-tooltip-link-tr').hide();
|
101 |
+
table.find('#oscitas-tooltip-link').val('');
|
102 |
+
|
103 |
+
}
|
104 |
+
jQuery('#oscitas-table tr:visible:even').css('background', '#F0F0F0');
|
105 |
+
jQuery('#oscitas-table tr:visible:odd').css('background', '#DADADD');
|
106 |
+
})
|
107 |
+
|
108 |
+
// handles the click event of the submit button
|
109 |
+
form.find('#oscitas-tooltip-submit').click(function() {
|
110 |
+
// defines the options and their default values
|
111 |
+
// again, this is not the most elegant way to do this
|
112 |
+
// but well, this gets the job done nonetheless
|
113 |
+
var cusclass='';
|
114 |
+
if(table.find('#oscitas-tooltip-class').val()!=''){
|
115 |
+
cusclass= ' class="'+table.find('#oscitas-tooltip-class').val()+'"';
|
116 |
+
}
|
117 |
+
var shortcode = '[tooltip';
|
118 |
+
shortcode += ' type="' + table.find('#oscitas-tooltip-type').val();
|
119 |
+
|
120 |
+
shortcode += '" ';
|
121 |
+
|
122 |
+
shortcode += ' link="' + table.find('#oscitas-tooltip-link').val();
|
123 |
+
|
124 |
+
shortcode += '" ';
|
125 |
+
shortcode += ' tooltip="' + table.find('#oscitas-tooltip-text').val();
|
126 |
+
|
127 |
+
shortcode += '" ';
|
128 |
+
shortcode += ' style="' + table.find('#oscitas-tooltip-style').val();
|
129 |
+
|
130 |
+
shortcode += '" ';
|
131 |
+
|
132 |
+
shortcode += cusclass;
|
133 |
+
|
134 |
+
shortcode += ']';
|
135 |
+
shortcode+= table.find('#oscitas-tooltip-link-text').val();
|
136 |
+
shortcode+='[/tooltip]';
|
137 |
+
|
138 |
+
// inserts the shortcode into the active editor
|
139 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
140 |
+
|
141 |
+
// closes fancybox
|
142 |
+
jQuery.fancybox.close();
|
143 |
+
});
|
144 |
+
}
|
145 |
+
|
shortcode/well/icon.png
ADDED
Binary file
|
shortcode/well/plugin_shortcode.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* BUTTONS
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_well($params, $content = 'Label') {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'type' => '',
|
10 |
+
'class' => ''
|
11 |
+
), $params));
|
12 |
+
$out = '';
|
13 |
+
$content = str_replace('<br class="osc" />', '', $content);
|
14 |
+
$content = str_replace('<br class="osc" />\n', '', $content);
|
15 |
+
$out = '<div class="well ' . $type . ' ' . $class . '">' . do_shortcode($content) . '</div>';
|
16 |
+
return $out;
|
17 |
+
}
|
18 |
+
|
19 |
+
add_shortcode('well', 'osc_theme_well');
|
20 |
+
|
shortcode/well/well_plugin.js
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasWell', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitaswell', {
|
5 |
+
title : 'Well Shortcode',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_well();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'type' : 'inline',
|
11 |
+
'title' : 'Well Shortcode',
|
12 |
+
'href' : '#oscitas-form-well',
|
13 |
+
helpers: {
|
14 |
+
title : {
|
15 |
+
type : 'over',
|
16 |
+
position:'top'
|
17 |
+
}
|
18 |
+
}
|
19 |
+
});
|
20 |
+
}
|
21 |
+
});
|
22 |
+
},
|
23 |
+
createControl : function(n, cm) {
|
24 |
+
return null;
|
25 |
+
},
|
26 |
+
getInfo : function() {
|
27 |
+
return {
|
28 |
+
longname : "Well Shortcode",
|
29 |
+
author : 'Oscitas Themes',
|
30 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
31 |
+
infourl : 'http://www.oscitasthemes.com/',
|
32 |
+
version : "2.0.0"
|
33 |
+
};
|
34 |
+
}
|
35 |
+
});
|
36 |
+
tinymce.PluginManager.add('oscitaswell', tinymce.plugins.oscitasWell);
|
37 |
+
})();
|
38 |
+
|
39 |
+
function create_oscitas_well(){
|
40 |
+
if(jQuery('#oscitas-form-well').length){
|
41 |
+
jQuery('#oscitas-form-well').remove();
|
42 |
+
}
|
43 |
+
// creates a form to be displayed everytime the button is clicked
|
44 |
+
// you should achieve this using AJAX instead of direct html code like this
|
45 |
+
var form = jQuery('<div id="oscitas-form-well" class="oscitas-container"><table id="oscitas-table" class="form-table">\
|
46 |
+
<tr>\
|
47 |
+
<th><label for="oscitas-well-type">Well Type:</label></th>\
|
48 |
+
<td><select name="type" id="oscitas-well-type">\
|
49 |
+
<option value="">Default</option>\
|
50 |
+
<option value="well-lg">Large</option>\
|
51 |
+
<option value="well-sm">Small</option>\
|
52 |
+
</select><br />\
|
53 |
+
</td>\
|
54 |
+
</tr>\
|
55 |
+
<tr>\
|
56 |
+
<th><label for="oscitas-well-content">Well Content:</label></th>\
|
57 |
+
<td><textarea name="well" id="oscitas-well-content">Your Content</textarea><br />\
|
58 |
+
</td>\
|
59 |
+
</tr>\
|
60 |
+
<tr>\
|
61 |
+
<th><label for="oscitas-well-class">Custom Class:</label></th>\
|
62 |
+
<td><input type="text" name="line" id="oscitas-well-class" value=""/><br />\
|
63 |
+
</td>\
|
64 |
+
</tr>\
|
65 |
+
</table>\
|
66 |
+
<p class="submit">\
|
67 |
+
<input type="button" id="oscitas-well-submit" class="button-primary" value="Insert Well" name="submit" />\
|
68 |
+
</p>\
|
69 |
+
</div>');
|
70 |
+
|
71 |
+
var table = form.find('table');
|
72 |
+
form.appendTo('body').hide();
|
73 |
+
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
// handles the click event of the submit button
|
78 |
+
form.find('#oscitas-well-submit').click(function(){
|
79 |
+
var cusclass='';
|
80 |
+
if(table.find('#oscitas-well-class').val()!=''){
|
81 |
+
cusclass= ' class="'+table.find('#oscitas-well-class').val()+'"';
|
82 |
+
}
|
83 |
+
var shortcode = '[well type="'+jQuery('#oscitas-well-type').val()+'"'+cusclass+']<br class="osc"/>';
|
84 |
+
shortcode += jQuery('#oscitas-well-content').val()+'<br class="osc"/>';
|
85 |
+
shortcode += '[/well]';
|
86 |
+
|
87 |
+
// inserts the shortcode into the active editor
|
88 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
89 |
+
|
90 |
+
// closes fancybox
|
91 |
+
jQuery.fancybox.close();
|
92 |
+
});
|
93 |
+
}
|
94 |
+
|
shortcode/wpcolumns/plugin_shortcode.php
CHANGED
@@ -1,495 +1,569 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/* * *********************************************************
|
4 |
-
* Row
|
5 |
-
* ********************************************************* */
|
6 |
-
|
7 |
-
function osc_theme_row($params, $content = null) {
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
$
|
12 |
-
|
13 |
-
$
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
}
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
$
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
$
|
108 |
-
}
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
}
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
$
|
139 |
-
}
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
}
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
$
|
172 |
-
}
|
173 |
-
|
174 |
-
|
175 |
-
$
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
$
|
203 |
-
}
|
204 |
-
|
205 |
-
|
206 |
-
$
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
$
|
236 |
-
}
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
}
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
$
|
267 |
-
}
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
}
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
$
|
300 |
-
}
|
301 |
-
|
302 |
-
|
303 |
-
$
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
$
|
331 |
-
}
|
332 |
-
|
333 |
-
|
334 |
-
$
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
$
|
362 |
-
}
|
363 |
-
|
364 |
-
|
365 |
-
$
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
$
|
393 |
-
}
|
394 |
-
|
395 |
-
|
396 |
-
$
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
}
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
$
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
}
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
$
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
}
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
$
|
487 |
-
}
|
488 |
-
|
489 |
-
|
490 |
-
$
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* * *********************************************************
|
4 |
+
* Row
|
5 |
+
* ********************************************************* */
|
6 |
+
|
7 |
+
function osc_theme_row($params, $content = null) {
|
8 |
+
extract(shortcode_atts(array(
|
9 |
+
'class' => ''
|
10 |
+
), $params));
|
11 |
+
$result = '<div class="row ' . $class . '">';
|
12 |
+
//echo '<textarea>'.$content.'</textarea>';
|
13 |
+
$content = str_replace("]<br />", ']', $content);
|
14 |
+
$content = str_replace("<br />\n[", '[', $content);
|
15 |
+
$result .= do_shortcode($content);
|
16 |
+
$result .= '</div>';
|
17 |
+
|
18 |
+
return $result;
|
19 |
+
}
|
20 |
+
|
21 |
+
add_shortcode('row', 'osc_theme_row');
|
22 |
+
/* * *********************************************************
|
23 |
+
* TWO
|
24 |
+
* ********************************************************* */
|
25 |
+
|
26 |
+
function osc_theme_column($params, $content = null) {
|
27 |
+
extract(shortcode_atts(array(
|
28 |
+
'md' => '',
|
29 |
+
'sm' => '',
|
30 |
+
'xs' => '',
|
31 |
+
'lg' => '',
|
32 |
+
'mdoff' => '',
|
33 |
+
'smoff' => '',
|
34 |
+
'xsoff' => '',
|
35 |
+
'lgoff' => '',
|
36 |
+
'mdhide' => '',
|
37 |
+
'smhide' => '',
|
38 |
+
'xshide' => '',
|
39 |
+
'lghide' => '',
|
40 |
+
'mdclear' => '',
|
41 |
+
'smclear' => '',
|
42 |
+
'xsclear' => '',
|
43 |
+
'lgclear' => '',
|
44 |
+
'off'=>''
|
45 |
+
), $params));
|
46 |
+
|
47 |
+
|
48 |
+
$arr = array('md', 'xs', 'sm');
|
49 |
+
$classes = array();
|
50 |
+
foreach ($arr as $k => $aa) {
|
51 |
+
if (${$aa} == 12 || ${$aa} == '') {
|
52 |
+
$classes[] = 'col-' . $aa . '-12';
|
53 |
+
} else {
|
54 |
+
$classes[] = 'col-' . $aa . '-' . ${$aa};
|
55 |
+
}
|
56 |
+
}
|
57 |
+
$arr2 = array('mdoff', 'smoff', 'xsoff', 'lgoff');
|
58 |
+
foreach ($arr2 as $k => $aa) {
|
59 |
+
$nn = str_replace('off', '', $aa);
|
60 |
+
if (${$aa} == 0 || ${$aa} == '') {
|
61 |
+
//$classes[] = '';
|
62 |
+
} else {
|
63 |
+
$classes[] = 'col-' . $nn . '-offset-' . ${$aa};
|
64 |
+
}
|
65 |
+
}
|
66 |
+
$arr2 = array('mdhide', 'smhide', 'xshide', 'lghide');
|
67 |
+
foreach ($arr2 as $k => $aa) {
|
68 |
+
$nn = str_replace('hide', '', $aa);
|
69 |
+
if (${$aa} == 'yes') {
|
70 |
+
$classes[] = 'hidden-' . $nn;
|
71 |
+
}
|
72 |
+
}
|
73 |
+
$arr2 = array('mdclear', 'smclear', 'xsclear', 'lgclear');
|
74 |
+
foreach ($arr2 as $k => $aa) {
|
75 |
+
$nn = str_replace('clear', '', $aa);
|
76 |
+
if (${$aa} == 'yes') {
|
77 |
+
$classes[] = 'clear-' . $nn;
|
78 |
+
}
|
79 |
+
}
|
80 |
+
if ($off != '') {
|
81 |
+
$classes[] = 'col-lg-offset-'.$off;
|
82 |
+
}
|
83 |
+
|
84 |
+
if ($off != '') {
|
85 |
+
$classes[] = 'col-lg-offset-'.$off;
|
86 |
+
}
|
87 |
+
$result = '<div class="col-lg-' . $lg . ' ' . implode(' ', $classes) . '">';
|
88 |
+
$result .= do_shortcode($content);
|
89 |
+
$result .= '</div>';
|
90 |
+
|
91 |
+
return $result;
|
92 |
+
}
|
93 |
+
|
94 |
+
add_shortcode('column', 'osc_theme_column');
|
95 |
+
|
96 |
+
|
97 |
+
function osc_theme_one_half($params, $content = null) {
|
98 |
+
extract(shortcode_atts(array(
|
99 |
+
'md' => '',
|
100 |
+
'sm' => '',
|
101 |
+
'xs' => '',
|
102 |
+
'off' => ''
|
103 |
+
), $params));
|
104 |
+
if ($md == 12) {
|
105 |
+
$mds = '';
|
106 |
+
} else {
|
107 |
+
$mds = 'col-md-' . $md;
|
108 |
+
}
|
109 |
+
if ($sm == 12) {
|
110 |
+
$sms = '';
|
111 |
+
} else {
|
112 |
+
$sms = 'col-sm-' . $sm;
|
113 |
+
}
|
114 |
+
if ($xs == 12) {
|
115 |
+
$xss = '';
|
116 |
+
} else {
|
117 |
+
$xss = 'col-xs-' . $xs;
|
118 |
+
}
|
119 |
+
$result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half">';
|
120 |
+
$result .= do_shortcode($content);
|
121 |
+
$result .= '</div>';
|
122 |
+
|
123 |
+
return $result;
|
124 |
+
}
|
125 |
+
|
126 |
+
add_shortcode('one_half', 'osc_theme_one_half');
|
127 |
+
|
128 |
+
function osc_theme_one_half_last($params, $content = null) {
|
129 |
+
extract(shortcode_atts(array(
|
130 |
+
'md' => '',
|
131 |
+
'sm' => '',
|
132 |
+
'xs' => '',
|
133 |
+
'off' => ''
|
134 |
+
), $params));
|
135 |
+
if ($md == 12) {
|
136 |
+
$mds = '';
|
137 |
+
} else {
|
138 |
+
$mds = 'col-md-' . $md;
|
139 |
+
}
|
140 |
+
if ($sm == 12) {
|
141 |
+
$sms = '';
|
142 |
+
} else {
|
143 |
+
$sms = 'col-sm-' . $sm;
|
144 |
+
}
|
145 |
+
if ($xs == 12) {
|
146 |
+
$xss = '';
|
147 |
+
} else {
|
148 |
+
$xss = 'col-xs-' . $xs;
|
149 |
+
}
|
150 |
+
$result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-last">';
|
151 |
+
$result .= do_shortcode($content);
|
152 |
+
$result .= '</div>';
|
153 |
+
|
154 |
+
return $result;
|
155 |
+
}
|
156 |
+
|
157 |
+
add_shortcode('one_half_last', 'osc_theme_one_half_last');
|
158 |
+
|
159 |
+
/* * *********************************************************
|
160 |
+
* THIRD
|
161 |
+
* ********************************************************* */
|
162 |
+
|
163 |
+
function osc_theme_one_third($params, $content = null) {
|
164 |
+
extract(shortcode_atts(array(
|
165 |
+
'md' => '',
|
166 |
+
'sm' => '',
|
167 |
+
'xs' => '',
|
168 |
+
'off' => ''
|
169 |
+
), $params));
|
170 |
+
if ($md == 12) {
|
171 |
+
$mds = '';
|
172 |
+
} else {
|
173 |
+
$mds = 'col-md-' . $md;
|
174 |
+
}
|
175 |
+
if ($sm == 12) {
|
176 |
+
$sms = '';
|
177 |
+
} else {
|
178 |
+
$sms = 'col-sm-' . $sm;
|
179 |
+
}
|
180 |
+
if ($xs == 12) {
|
181 |
+
$xss = '';
|
182 |
+
} else {
|
183 |
+
$xss = 'col-xs-' . $xs;
|
184 |
+
}
|
185 |
+
$result = '<div class="sc-column col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //one-third
|
186 |
+
$result .= do_shortcode($content);
|
187 |
+
$result .= '</div>';
|
188 |
+
|
189 |
+
return $result;
|
190 |
+
}
|
191 |
+
|
192 |
+
add_shortcode('one_third', 'osc_theme_one_third');
|
193 |
+
|
194 |
+
function osc_theme_one_third_last($params, $content = null) {
|
195 |
+
extract(shortcode_atts(array(
|
196 |
+
'md' => '',
|
197 |
+
'sm' => '',
|
198 |
+
'xs' => '',
|
199 |
+
'off' => ''
|
200 |
+
), $params));
|
201 |
+
if ($md == 12) {
|
202 |
+
$mds = '';
|
203 |
+
} else {
|
204 |
+
$mds = 'col-md-' . $md;
|
205 |
+
}
|
206 |
+
if ($sm == 12) {
|
207 |
+
$sms = '';
|
208 |
+
} else {
|
209 |
+
$sms = 'col-sm-' . $sm;
|
210 |
+
}
|
211 |
+
if ($xs == 12) {
|
212 |
+
$xss = '';
|
213 |
+
} else {
|
214 |
+
$xss = 'col-xs-' . $xs;
|
215 |
+
}
|
216 |
+
$result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last">'; // one-third-last
|
217 |
+
$result .= do_shortcode($content);
|
218 |
+
$result .= '</div>';
|
219 |
+
|
220 |
+
return $result;
|
221 |
+
}
|
222 |
+
|
223 |
+
add_shortcode('one_third_last', 'osc_theme_one_third_last');
|
224 |
+
|
225 |
+
function osc_theme_two_third($params, $content = null) {
|
226 |
+
extract(shortcode_atts(array(
|
227 |
+
'md' => '',
|
228 |
+
'sm' => '',
|
229 |
+
'xs' => '',
|
230 |
+
'off' => ''
|
231 |
+
), $params));
|
232 |
+
if ($md == 12) {
|
233 |
+
$mds = '';
|
234 |
+
} else {
|
235 |
+
$mds = 'col-md-' . $md;
|
236 |
+
}
|
237 |
+
if ($sm == 12) {
|
238 |
+
$sms = '';
|
239 |
+
} else {
|
240 |
+
$sms = 'col-sm-' . $sm;
|
241 |
+
}
|
242 |
+
if ($xs == 12) {
|
243 |
+
$xss = '';
|
244 |
+
} else {
|
245 |
+
$xss = 'col-xs-' . $xs;
|
246 |
+
}
|
247 |
+
$result = '<div class=" col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' ">'; //two-third
|
248 |
+
$result .= do_shortcode($content);
|
249 |
+
$result .= '</div>';
|
250 |
+
|
251 |
+
return $result;
|
252 |
+
}
|
253 |
+
|
254 |
+
add_shortcode('two_third', 'osc_theme_two_third');
|
255 |
+
|
256 |
+
function osc_theme_two_third_last($params, $content = null) {
|
257 |
+
extract(shortcode_atts(array(
|
258 |
+
'md' => '',
|
259 |
+
'sm' => '',
|
260 |
+
'xs' => '',
|
261 |
+
'off' => ''
|
262 |
+
), $params));
|
263 |
+
if ($md == 12) {
|
264 |
+
$mds = '';
|
265 |
+
} else {
|
266 |
+
$mds = 'col-md-' . $md;
|
267 |
+
}
|
268 |
+
if ($sm == 12) {
|
269 |
+
$sms = '';
|
270 |
+
} else {
|
271 |
+
$sms = 'col-sm-' . $sm;
|
272 |
+
}
|
273 |
+
if ($xs == 12) {
|
274 |
+
$xss = '';
|
275 |
+
} else {
|
276 |
+
$xss = 'col-xs-' . $xs;
|
277 |
+
}
|
278 |
+
$result = '<div class="col-lg-8 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last ">'; //two-third-last
|
279 |
+
$result .= do_shortcode($content);
|
280 |
+
$result .= '</div>';
|
281 |
+
|
282 |
+
return $result;
|
283 |
+
}
|
284 |
+
|
285 |
+
add_shortcode('two_third_last', 'osc_theme_two_third_last');
|
286 |
+
|
287 |
+
/* * *********************************************************
|
288 |
+
* FOURTH
|
289 |
+
* ********************************************************* */
|
290 |
+
|
291 |
+
function osc_theme_one_fourth($params, $content = null) {
|
292 |
+
extract(shortcode_atts(array(
|
293 |
+
'md' => '',
|
294 |
+
'sm' => '',
|
295 |
+
'xs' => '',
|
296 |
+
'off' => ''
|
297 |
+
), $params));
|
298 |
+
if ($md == 12) {
|
299 |
+
$mds = '';
|
300 |
+
} else {
|
301 |
+
$mds = 'col-md-' . $md;
|
302 |
+
}
|
303 |
+
if ($sm == 12) {
|
304 |
+
$sms = '';
|
305 |
+
} else {
|
306 |
+
$sms = 'col-sm-' . $sm;
|
307 |
+
}
|
308 |
+
if ($xs == 12) {
|
309 |
+
$xss = '';
|
310 |
+
} else {
|
311 |
+
$xss = 'col-xs-' . $xs;
|
312 |
+
}
|
313 |
+
$result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth">';
|
314 |
+
$result .= do_shortcode($content);
|
315 |
+
$result .= '</div>';
|
316 |
+
|
317 |
+
return $result;
|
318 |
+
}
|
319 |
+
|
320 |
+
add_shortcode('one_fourth', 'osc_theme_one_fourth');
|
321 |
+
|
322 |
+
function osc_theme_one_fourth_last($params, $content = null) {
|
323 |
+
extract(shortcode_atts(array(
|
324 |
+
'md' => '',
|
325 |
+
'sm' => '',
|
326 |
+
'xs' => '',
|
327 |
+
'off' => ''
|
328 |
+
), $params));
|
329 |
+
if ($md == 12) {
|
330 |
+
$mds = '';
|
331 |
+
} else {
|
332 |
+
$mds = 'col-md-' . $md;
|
333 |
+
}
|
334 |
+
if ($sm == 12) {
|
335 |
+
$sms = '';
|
336 |
+
} else {
|
337 |
+
$sms = 'col-sm-' . $sm;
|
338 |
+
}
|
339 |
+
if ($xs == 12) {
|
340 |
+
$xss = '';
|
341 |
+
} else {
|
342 |
+
$xss = 'col-xs-' . $xs;
|
343 |
+
}
|
344 |
+
$result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last one-fourth-last">';
|
345 |
+
$result .= do_shortcode($content);
|
346 |
+
$result .= '</div>';
|
347 |
+
|
348 |
+
return $result;
|
349 |
+
}
|
350 |
+
|
351 |
+
add_shortcode('one_fourth_last', 'osc_theme_one_fourth_last');
|
352 |
+
|
353 |
+
function osc_theme_three_fourth($params, $content = null) {
|
354 |
+
extract(shortcode_atts(array(
|
355 |
+
'md' => '',
|
356 |
+
'sm' => '',
|
357 |
+
'xs' => '',
|
358 |
+
'off' => ''
|
359 |
+
), $params));
|
360 |
+
if ($md == 12) {
|
361 |
+
$mds = '';
|
362 |
+
} else {
|
363 |
+
$mds = 'col-md-' . $md;
|
364 |
+
}
|
365 |
+
if ($sm == 12) {
|
366 |
+
$sms = '';
|
367 |
+
} else {
|
368 |
+
$sms = 'col-sm-' . $sm;
|
369 |
+
}
|
370 |
+
if ($xs == 12) {
|
371 |
+
$xss = '';
|
372 |
+
} else {
|
373 |
+
$xss = 'col-xs-' . $xs;
|
374 |
+
}
|
375 |
+
$result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' three-fourth">';
|
376 |
+
$result .= do_shortcode($content);
|
377 |
+
$result .= '</div>';
|
378 |
+
|
379 |
+
return $result;
|
380 |
+
}
|
381 |
+
|
382 |
+
add_shortcode('three_fourth', 'osc_theme_three_fourth');
|
383 |
+
|
384 |
+
function osc_theme_three_fourth_last($params, $content = null) {
|
385 |
+
extract(shortcode_atts(array(
|
386 |
+
'md' => '',
|
387 |
+
'sm' => '',
|
388 |
+
'xs' => '',
|
389 |
+
'off' => ''
|
390 |
+
), $params));
|
391 |
+
if ($md == 12) {
|
392 |
+
$mds = '';
|
393 |
+
} else {
|
394 |
+
$mds = 'col-md-' . $md;
|
395 |
+
}
|
396 |
+
if ($sm == 12) {
|
397 |
+
$sms = '';
|
398 |
+
} else {
|
399 |
+
$sms = 'col-sm-' . $sm;
|
400 |
+
}
|
401 |
+
if ($xs == 12) {
|
402 |
+
$xss = '';
|
403 |
+
} else {
|
404 |
+
$xss = 'col-xs-' . $xs;
|
405 |
+
}
|
406 |
+
$result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' column-last three-fourth-last">';
|
407 |
+
$result .= do_shortcode($content);
|
408 |
+
$result .= '</div>';
|
409 |
+
|
410 |
+
return $result;
|
411 |
+
}
|
412 |
+
|
413 |
+
add_shortcode('three_fourth_last', 'osc_theme_three_fourth_last');
|
414 |
+
|
415 |
+
function osc_theme_one_fourth_second($params, $content = null) {
|
416 |
+
extract(shortcode_atts(array(
|
417 |
+
'md' => '',
|
418 |
+
'sm' => '',
|
419 |
+
'xs' => '',
|
420 |
+
'off' => ''
|
421 |
+
), $params));
|
422 |
+
if ($md == 12) {
|
423 |
+
$mds = '';
|
424 |
+
} else {
|
425 |
+
$mds = 'col-md-' . $md;
|
426 |
+
}
|
427 |
+
if ($sm == 12) {
|
428 |
+
$sms = '';
|
429 |
+
} else {
|
430 |
+
$sms = 'col-sm-' . $sm;
|
431 |
+
}
|
432 |
+
if ($xs == 12) {
|
433 |
+
$xss = '';
|
434 |
+
} else {
|
435 |
+
$xss = 'col-xs-' . $xs;
|
436 |
+
}
|
437 |
+
$result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-second">';
|
438 |
+
$result .= do_shortcode($content);
|
439 |
+
$result .= '</div>';
|
440 |
+
|
441 |
+
return $result;
|
442 |
+
}
|
443 |
+
|
444 |
+
add_shortcode('one_fourth_second', 'osc_theme_one_fourth_second');
|
445 |
+
|
446 |
+
function osc_theme_one_fourth_third($params, $content = null) {
|
447 |
+
extract(shortcode_atts(array(
|
448 |
+
'md' => '',
|
449 |
+
'sm' => '',
|
450 |
+
'xs' => '',
|
451 |
+
'off' => ''
|
452 |
+
), $params));
|
453 |
+
if ($md == 12) {
|
454 |
+
$mds = '';
|
455 |
+
} else {
|
456 |
+
$mds = 'col-md-' . $md;
|
457 |
+
}
|
458 |
+
if ($sm == 12) {
|
459 |
+
$sms = '';
|
460 |
+
} else {
|
461 |
+
$sms = 'col-sm-' . $sm;
|
462 |
+
}
|
463 |
+
if ($xs == 12) {
|
464 |
+
$xss = '';
|
465 |
+
} else {
|
466 |
+
$xss = 'col-xs-' . $xs;
|
467 |
+
}
|
468 |
+
|
469 |
+
$result = '<div class="col-lg-3 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-fourth-third">';
|
470 |
+
$result .= do_shortcode($content);
|
471 |
+
$result .= '</div>';
|
472 |
+
|
473 |
+
return $result;
|
474 |
+
}
|
475 |
+
|
476 |
+
add_shortcode('one_fourth_third', 'osc_theme_one_fourth_third');
|
477 |
+
|
478 |
+
function osc_theme_one_half_second($params, $content = null) {
|
479 |
+
extract(shortcode_atts(array(
|
480 |
+
'md' => '',
|
481 |
+
'sm' => '',
|
482 |
+
'xs' => '',
|
483 |
+
'off' => ''
|
484 |
+
), $params));
|
485 |
+
if ($md == 12) {
|
486 |
+
$mds = '';
|
487 |
+
} else {
|
488 |
+
$mds = 'col-md-' . $md;
|
489 |
+
}
|
490 |
+
if ($sm == 12) {
|
491 |
+
$sms = '';
|
492 |
+
} else {
|
493 |
+
$sms = 'col-sm-' . $sm;
|
494 |
+
}
|
495 |
+
if ($xs == 12) {
|
496 |
+
$xss = '';
|
497 |
+
} else {
|
498 |
+
$xss = 'col-xs-' . $xs;
|
499 |
+
}
|
500 |
+
$result = '<div class="col-lg-6 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-half-second">';
|
501 |
+
$result .= do_shortcode($content);
|
502 |
+
$result .= '</div>';
|
503 |
+
|
504 |
+
return $result;
|
505 |
+
}
|
506 |
+
|
507 |
+
add_shortcode('one_half_second', 'osc_theme_one_half_second');
|
508 |
+
|
509 |
+
function osc_theme_one_third_second($params, $content = null) {
|
510 |
+
extract(shortcode_atts(array(
|
511 |
+
'md' => '',
|
512 |
+
'sm' => '',
|
513 |
+
'xs' => '',
|
514 |
+
'off' => ''
|
515 |
+
), $params));
|
516 |
+
if ($md == 12) {
|
517 |
+
$mds = '';
|
518 |
+
} else {
|
519 |
+
$mds = 'col-md-' . $md;
|
520 |
+
}
|
521 |
+
if ($sm == 12) {
|
522 |
+
$sms = '';
|
523 |
+
} else {
|
524 |
+
$sms = 'col-sm-' . $sm;
|
525 |
+
}
|
526 |
+
if ($xs == 12) {
|
527 |
+
$xss = '';
|
528 |
+
} else {
|
529 |
+
$xss = 'col-xs-' . $xs;
|
530 |
+
}
|
531 |
+
$result = '<div class="col-lg-4 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-third-second">';
|
532 |
+
$result .= do_shortcode($content);
|
533 |
+
$result .= '</div>';
|
534 |
+
|
535 |
+
return $result;
|
536 |
+
}
|
537 |
+
|
538 |
+
add_shortcode('one_third_second', 'osc_theme_one_third_second');
|
539 |
+
|
540 |
+
function osc_theme_one_column($params, $content = null) {
|
541 |
+
extract(shortcode_atts(array(
|
542 |
+
'md' => '',
|
543 |
+
'sm' => '',
|
544 |
+
'xs' => '',
|
545 |
+
'off' => ''
|
546 |
+
), $params));
|
547 |
+
if ($md == 12) {
|
548 |
+
$mds = '';
|
549 |
+
} else {
|
550 |
+
$mds = 'col-md-' . $md;
|
551 |
+
}
|
552 |
+
if ($sm == 12) {
|
553 |
+
$sms = '';
|
554 |
+
} else {
|
555 |
+
$sms = 'col-sm-' . $sm;
|
556 |
+
}
|
557 |
+
if ($xs == 12) {
|
558 |
+
$xss = '';
|
559 |
+
} else {
|
560 |
+
$xss = 'col-xs-' . $xs;
|
561 |
+
}
|
562 |
+
$result = '<div class="col-lg-12 ' . $mds . ' ' . $sms . ' ' . $xss . ' col-lg-offset-' . $off . ' one-column">';
|
563 |
+
$result .= do_shortcode($content);
|
564 |
+
$result .= '</div>';
|
565 |
+
|
566 |
+
return $result;
|
567 |
+
}
|
568 |
+
|
569 |
+
add_shortcode('one_column', 'osc_theme_one_column');
|
shortcode/wpcolumns/wpcolumns_plugin.js
CHANGED
@@ -1,211 +1,384 @@
|
|
1 |
-
(function() {
|
2 |
-
tinymce.create('tinymce.plugins.oscitasWpcolumns', {
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitaswpcolumns', {
|
5 |
-
title : 'Columns Shortcodes',
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
|
9 |
-
|
10 |
-
'
|
11 |
-
'
|
12 |
-
'
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
<option value="
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
</
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
'
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
}
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
}
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function() {
|
2 |
+
tinymce.create('tinymce.plugins.oscitasWpcolumns', {
|
3 |
+
init : function(ed, url) {
|
4 |
+
ed.addButton('oscitaswpcolumns', {
|
5 |
+
title : 'Columns Shortcodes',
|
6 |
+
image : url+'/icon.png',
|
7 |
+
onclick : function() {
|
8 |
+
create_oscitas_wpcolumns();
|
9 |
+
jQuery.fancybox({
|
10 |
+
'autoSize':false,
|
11 |
+
'autoWidth':false,
|
12 |
+
'fitToView':false,
|
13 |
+
'width':1094,
|
14 |
+
'type' : 'inline',
|
15 |
+
'title' : 'Columns Shortcode',
|
16 |
+
'height': 'auto',
|
17 |
+
'href' : '#oscitas-form-wpcolumns',
|
18 |
+
helpers: {
|
19 |
+
title : {
|
20 |
+
type : 'over',
|
21 |
+
position:'top'
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
+
});
|
26 |
+
}
|
27 |
+
});
|
28 |
+
},
|
29 |
+
createControl : function(n, cm) {
|
30 |
+
return null;
|
31 |
+
},
|
32 |
+
getInfo : function() {
|
33 |
+
return {
|
34 |
+
longname : "Columns Shortcode",
|
35 |
+
author : 'Oscitas Themes',
|
36 |
+
authorurl : 'http://www.oscitasthemes.com/',
|
37 |
+
infourl : 'http://www.oscitasthemes.com/',
|
38 |
+
version : "2.0.0"
|
39 |
+
};
|
40 |
+
}
|
41 |
+
});
|
42 |
+
tinymce.PluginManager.add('oscitaswpcolumns', tinymce.plugins.oscitasWpcolumns);
|
43 |
+
})();
|
44 |
+
|
45 |
+
function create_oscitas_wpcolumns(){
|
46 |
+
if(jQuery('#oscitas-form-wpcolumns').length){
|
47 |
+
jQuery('#oscitas-form-wpcolumns').remove();
|
48 |
+
}
|
49 |
+
// creates a form to be displayed everytime the button is clicked
|
50 |
+
// you should achieve this using AJAX instead of direct html code like this
|
51 |
+
var form = jQuery('<div id="oscitas-form-wpcolumns" class="oscitas-container">\
|
52 |
+
<table id="oscitas-table" class="form-table">\
|
53 |
+
<tr>\
|
54 |
+
<th><label for="oscitas-no-of-wpcolumns">Number of columns</label></th>\
|
55 |
+
<td><select name="type" id="oscitas-no-of-wpcolumns">\
|
56 |
+
<option value="1" selected="selected">One column</option>\
|
57 |
+
<option value="2">Two columns</option>\
|
58 |
+
<option value="3">Three columns</option>\
|
59 |
+
<option value="4">Four columns</option>\
|
60 |
+
</select><br />\
|
61 |
+
</td>\
|
62 |
+
</tr>\
|
63 |
+
<tr id="wptwo" style="display:none;">\
|
64 |
+
<th><label for="oscitas-two-columns">2 column division</label></th>\
|
65 |
+
<td><select name="type" id="oscitas-two-columns" class="osc-change-col">\
|
66 |
+
<option value="6$6">1/2-1/2</option>\
|
67 |
+
<option value="4$8">1/3-2/3</option>\
|
68 |
+
<option value="8$3">2/3-1/3</option>\
|
69 |
+
<option value="3$9">1/4-3/4</option>\
|
70 |
+
<option value="9$3">3/4-1/4</option>\
|
71 |
+
</select> For Large Screen<br />\
|
72 |
+
</td>\
|
73 |
+
</tr>\
|
74 |
+
<tr id="wpthree" style="display:none;">\
|
75 |
+
<th><label for="oscitas-three-columns">3 column division</label></th>\
|
76 |
+
<td><select name="type" id="oscitas-three-columns" class="osc-change-col">\
|
77 |
+
<option value="4$4$4">1/3-1/3-1/3</option>\
|
78 |
+
<option value="3$6$3">1/4-2/4-1/4</option>\
|
79 |
+
<option value="3$3$6">1/4-1/4-2/4</option>\
|
80 |
+
<option value="6$3$3">2/4-1/4-1/4</option>\
|
81 |
+
</select> For Large Screen<br />\
|
82 |
+
</tr>\
|
83 |
+
<tr id="">\
|
84 |
+
<th><label for="append_column_table">Column Specification</label></th>\
|
85 |
+
<td id="append_column_table"></td>\
|
86 |
+
</tr>\
|
87 |
+
<tr>\
|
88 |
+
<th><label for="oscitas-column-class">Custom Class:</label></th>\
|
89 |
+
<td><input type="text" name="line" id="oscitas-column-class" value=""/>\
|
90 |
+
</td>\
|
91 |
+
</tr>\
|
92 |
+
</table>\
|
93 |
+
<p class="submit">\
|
94 |
+
<input type="button" id="oscitas-submit-wp_column" class="button-primary" value="Insert Columns" name="submit" />\
|
95 |
+
</p>\
|
96 |
+
</div>');
|
97 |
+
var table = form.find('table');
|
98 |
+
form.appendTo('body').hide();
|
99 |
+
|
100 |
+
function show_table(){
|
101 |
+
|
102 |
+
var ele='',e=0,sm,smoff,md,mdoff,lg,lgoff,xs,xsoff,sel,val=0,selcol,hidecol;
|
103 |
+
var col= form.find('#oscitas-no-of-wpcolumns').val();
|
104 |
+
ele = '<i>You can select different column style for different screens such as medium, small(e.g < 992px), x-small(e.g < 768px)</i><br/>';
|
105 |
+
|
106 |
+
var option={
|
107 |
+
'lg':'Large Screen',
|
108 |
+
'md': 'Medium Screen',
|
109 |
+
'sm': 'Small Screen',
|
110 |
+
'xs':'X-small Screen'
|
111 |
+
}
|
112 |
+
ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>Screen</th><th style="min-width:50px;max-width:50px">Hide Row</th>';
|
113 |
+
|
114 |
+
for(i=1;i<=col;i++){
|
115 |
+
ele+='<th><div class="head_division head_division_check">Clear Left</div><div class="head_division">Column</div><div class="head_division">Offset</div><div class="head_division head_division_check right">Hide</div></th>';
|
116 |
+
|
117 |
+
}
|
118 |
+
ele+= '</tr></thead><tbody class="column_tbody">';
|
119 |
+
jQuery.each(option,function(index,val){
|
120 |
+
ele+='<tr><th class="column_td_first">'+val+'</th><td style="min-width:50px;max-width:50px"><input type="checkbox" name="'+index+'rowhide" id="'+index+'rowhide" value="yes"></td>';
|
121 |
+
for(var i=1;i<=col;i++){
|
122 |
+
sm='<select name="'+index+'['+i+']" id="'+index+i+'">';
|
123 |
+
for( e=1;e<=12;e++){
|
124 |
+
if(index=='lg'){
|
125 |
+
|
126 |
+
selcol=12/col;
|
127 |
+
if(e==selcol){
|
128 |
+
sel='selected=selected'
|
129 |
+
}
|
130 |
+
else{
|
131 |
+
sel='';
|
132 |
+
}
|
133 |
+
} else{
|
134 |
+
if(e==12){
|
135 |
+
sel='selected=selected'
|
136 |
+
}
|
137 |
+
else{
|
138 |
+
sel='';
|
139 |
+
}
|
140 |
+
}
|
141 |
+
sm+='<option value="'+e+'" '+sel+'>'+e+'</option>';
|
142 |
+
}
|
143 |
+
sm+='</select>';
|
144 |
+
smoff='<select name="'+index+'off['+i+']" id="'+index+'off'+i+'">';
|
145 |
+
for( e=0;e<12;e++){
|
146 |
+
|
147 |
+
smoff+='<option value="'+e+'">'+e+'</option>';
|
148 |
+
}
|
149 |
+
smoff+='</select>';
|
150 |
+
|
151 |
+
clearleft='<input type="checkbox" name="'+index+'clear['+i+']" id="'+index+'clear'+i+'" value="yes">';
|
152 |
+
|
153 |
+
hidecol='<input type="checkbox" name="'+index+'hide['+i+']" id="'+index+'hide'+i+'" value="yes">';
|
154 |
+
|
155 |
+
|
156 |
+
ele+='<td><div class="head_division head_division_check">'+clearleft+'</div><div class="head_division">'+sm+'</div><div class="head_division">'+smoff+'</div><div class="head_division head_division_check right">'+hidecol+'</div></td>';
|
157 |
+
|
158 |
+
|
159 |
+
|
160 |
+
}
|
161 |
+
ele+='</tr>';
|
162 |
+
});
|
163 |
+
ele +='</tbody></table>';
|
164 |
+
table.find('#append_column_table').html(ele);
|
165 |
+
jQuery('#oscitas-form-wpcolumns table>tr:visible:even').css('background', '#F0F0F0');
|
166 |
+
jQuery('#oscitas-form-wpcolumns table>tr:visible:odd').css('background', '#DADADD');
|
167 |
+
|
168 |
+
}
|
169 |
+
function chnage_col_value(){
|
170 |
+
|
171 |
+
var col= form.find('#oscitas-no-of-wpcolumns').val(),str,arr=[],i=0;
|
172 |
+
if(col==2 || col==3){
|
173 |
+
if(col==2){
|
174 |
+
str=form.find('#oscitas-two-columns').val();
|
175 |
+
} else if(col==3){
|
176 |
+
str=form.find('#oscitas-three-columns').val();
|
177 |
+
}
|
178 |
+
arr=str.split('$');
|
179 |
+
jQuery.each(arr,function(index,val){
|
180 |
+
i=parseInt(index)+1;
|
181 |
+
jQuery('#lg'+i).val(val);
|
182 |
+
})
|
183 |
+
|
184 |
+
}
|
185 |
+
jQuery('#oscitas-form-wpcolumns table tr:visible:even').css('background', '#F0F0F0');
|
186 |
+
jQuery('#oscitas-form-wpcolumns table tr:visible:odd').css('background', '#DADADD');
|
187 |
+
}
|
188 |
+
|
189 |
+
show_table();
|
190 |
+
|
191 |
+
jQuery('#oscitas-no-of-wpcolumns').change(function(){
|
192 |
+
var noOfColumns = jQuery(this).val();
|
193 |
+
if(2 == noOfColumns){
|
194 |
+
|
195 |
+
jQuery("#wpthree").hide();
|
196 |
+
jQuery("#wptwo").show();
|
197 |
+
}
|
198 |
+
else if(3 == noOfColumns){
|
199 |
+
jQuery("#wptwo").hide();
|
200 |
+
jQuery("#wpthree").show();
|
201 |
+
}
|
202 |
+
else{
|
203 |
+
jQuery("#wptwo").hide();
|
204 |
+
jQuery("#wpthree").hide();
|
205 |
+
|
206 |
+
}
|
207 |
+
show_table();
|
208 |
+
chnage_col_value();
|
209 |
+
|
210 |
+
|
211 |
+
});
|
212 |
+
form.find('.osc-change-col').change(function(){
|
213 |
+
chnage_col_value();
|
214 |
+
})
|
215 |
+
var arr={
|
216 |
+
1:'lg',
|
217 |
+
2: 'md',
|
218 |
+
3:'sm',
|
219 |
+
4:'xs'
|
220 |
+
};
|
221 |
+
|
222 |
+
|
223 |
+
var value1 =0,valueoff=0,lastSel,previous;
|
224 |
+
jQuery.each(arr,function(i,valuenum){
|
225 |
+
jQuery.each(arr,function(tt,index){
|
226 |
+
|
227 |
+
jQuery('#'+index+i).live('focus',function(){
|
228 |
+
previous = this.value;
|
229 |
+
}).live('change',function(){
|
230 |
+
value1= parseInt(jQuery(this).val());
|
231 |
+
valueoff =parseInt(jQuery('#'+index+'off'+i).val());
|
232 |
+
value1=value1+valueoff;
|
233 |
+
if(value1<=12){
|
234 |
+
previous = this.value;
|
235 |
+
}
|
236 |
+
else{
|
237 |
+
jQuery('#'+index+i).val(previous);
|
238 |
+
alert('Can\'t Change, exceeds the limit');
|
239 |
+
}
|
240 |
+
});
|
241 |
+
|
242 |
+
jQuery('#'+index+'off'+i).live('focus',function(){
|
243 |
+
previous = this.value;
|
244 |
+
}).live('change',function(){
|
245 |
+
value1= parseInt(jQuery(this).val());
|
246 |
+
valueoff = parseInt(jQuery('#'+index+i).val());
|
247 |
+
value1=value1+valueoff;
|
248 |
+
if(value1<=12){
|
249 |
+
previous = this.value;
|
250 |
+
}
|
251 |
+
else{
|
252 |
+
jQuery('#'+index+'off'+i).val(previous);
|
253 |
+
alert('Can\'t Change, exceeds the limit');
|
254 |
+
}
|
255 |
+
})
|
256 |
+
})
|
257 |
+
});
|
258 |
+
|
259 |
+
// handles the click event of the submit button
|
260 |
+
form.find('#oscitas-submit-wp_column').click(function(){
|
261 |
+
// defines the options and their default values
|
262 |
+
// again, this is not the most elegant way to do this
|
263 |
+
// but well, this gets the job done nonetheless
|
264 |
+
var a_md=[],a_sm=[],a_xs=[],a_lg=[],j=0,a_md_off=[],a_sm_off=[],a_xs_off=[],a_lg_off=[],a_md_hide=[],a_sm_hide=[],a_xs_hide=[],a_lg_hide=[],sm='',md='',xs='',smoff='',mdoff='',xsoff='',lgoff='',smhide='',mdhide='',xshide='',lghide='',smclear='',mdclear='',xsclear='',lgclear='';
|
265 |
+
|
266 |
+
|
267 |
+
var noOfColumns = jQuery('#oscitas-no-of-wpcolumns').val();
|
268 |
+
var shortcode = '';
|
269 |
+
var cusclass='';
|
270 |
+
if(table.find('#oscitas-column-class').val()!=''){
|
271 |
+
cusclass= ' class="'+table.find('#oscitas-column-class').val()+'"';
|
272 |
+
}
|
273 |
+
shortcode ='[row'+cusclass+']';
|
274 |
+
for(var i=1;i<=parseInt(noOfColumns);i++){
|
275 |
+
|
276 |
+
a_md[i] = jQuery('#md'+i).val();
|
277 |
+
a_sm[i] = jQuery('#sm'+i).val();
|
278 |
+
a_xs[i] = jQuery('#xs'+i).val();
|
279 |
+
a_lg[i] = jQuery('#lg'+i).val();
|
280 |
+
a_md_off[i] = jQuery('#mdoff'+i).val();
|
281 |
+
a_sm_off[i] = jQuery('#smoff'+i).val();
|
282 |
+
a_xs_off[i] = jQuery('#xsoff'+i).val();
|
283 |
+
a_lg_off[i] = jQuery('#lgoff'+i).val();
|
284 |
+
|
285 |
+
//if(a_md[i]!=12){
|
286 |
+
md=' md="'+a_md[i]+'"';
|
287 |
+
//} else{
|
288 |
+
// md='';
|
289 |
+
//}
|
290 |
+
//if(a_sm[i]!=12){
|
291 |
+
sm=' sm="'+a_sm[i]+'"';
|
292 |
+
//} else{
|
293 |
+
// sm='';
|
294 |
+
//}
|
295 |
+
//if(a_xs[i]!=12){
|
296 |
+
xs=' xs="'+a_xs[i]+'"';
|
297 |
+
//} else{
|
298 |
+
// xs='';
|
299 |
+
//}
|
300 |
+
if(a_md_off[i]!=0){
|
301 |
+
mdoff=' mdoff="'+a_md_off[i]+'"';
|
302 |
+
}
|
303 |
+
else{
|
304 |
+
mdoff='';
|
305 |
+
}
|
306 |
+
if(a_sm_off[i]!=0){
|
307 |
+
smoff=' smoff="'+a_sm_off[i]+'"';
|
308 |
+
}
|
309 |
+
else{
|
310 |
+
smoff='';
|
311 |
+
}
|
312 |
+
if(a_xs_off[i]!=0){
|
313 |
+
xsoff=' xsoff="'+a_xs_off[i]+'"';
|
314 |
+
}
|
315 |
+
else{
|
316 |
+
xsoff='';
|
317 |
+
}
|
318 |
+
if(a_lg_off[i]!=0){
|
319 |
+
lgoff=' lgoff="'+a_lg_off[i]+'"';
|
320 |
+
}
|
321 |
+
else{
|
322 |
+
lgoff='';
|
323 |
+
}
|
324 |
+
|
325 |
+
if(jQuery('#mdrowhide').is(':checked') || jQuery('#mdhide'+i).is(':checked')){
|
326 |
+
mdhide=' mdhide="yes"';
|
327 |
+
}
|
328 |
+
else{
|
329 |
+
mdhide='';
|
330 |
+
}
|
331 |
+
if(jQuery('#smrowhide').is(':checked') ||jQuery('#smhide'+i).is(':checked')){
|
332 |
+
smhide=' smhide="yes"';
|
333 |
+
}
|
334 |
+
else{
|
335 |
+
smhide='';
|
336 |
+
}
|
337 |
+
if(jQuery('#xsrowhide').is(':checked') ||jQuery('#xshide'+i).is(':checked')){
|
338 |
+
xshide=' xshide="yes"';
|
339 |
+
}
|
340 |
+
else{
|
341 |
+
xshide='';
|
342 |
+
}
|
343 |
+
if(jQuery('#lgrowhide').is(':checked') ||jQuery('#lghide'+i).is(':checked')){
|
344 |
+
lghide=' lghide="yes"';
|
345 |
+
}
|
346 |
+
else{
|
347 |
+
lghide='';
|
348 |
+
}
|
349 |
+
|
350 |
+
if(jQuery('#mdclear'+i).is(':checked')){
|
351 |
+
mdclear=' mdclear="yes"';
|
352 |
+
}
|
353 |
+
else{
|
354 |
+
mdclear='';
|
355 |
+
}
|
356 |
+
if(jQuery('#smclear'+i).is(':checked')){
|
357 |
+
smclear=' smclear="yes"';
|
358 |
+
}
|
359 |
+
else{
|
360 |
+
smclear='';
|
361 |
+
}
|
362 |
+
if(jQuery('#xsclear'+i).is(':checked')){
|
363 |
+
xsclear=' xsclear="yes"';
|
364 |
+
}
|
365 |
+
else{
|
366 |
+
xsclear='';
|
367 |
+
}
|
368 |
+
if(jQuery('#lgclear'+i).is(':checked')){
|
369 |
+
lgclear=' lgclear="yes"';
|
370 |
+
}
|
371 |
+
else{
|
372 |
+
lgclear='';
|
373 |
+
}
|
374 |
+
|
375 |
+
shortcode += '<br/>[column lg="'+a_lg[i]+'"'+md+sm+xs+mdoff+smoff+xsoff+lgoff+mdhide+smhide+xshide+lghide+mdclear+smclear+xsclear+lgclear+' ]<br/>text<br/>[/column]';
|
376 |
+
}
|
377 |
+
|
378 |
+
shortcode += '<br/>[/row]';
|
379 |
+
// inserts the shortcode into the active editor
|
380 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
381 |
+
// closes Thickbox
|
382 |
+
jQuery.fancybox.close();
|
383 |
+
});
|
384 |
+
}
|
styles/bootstrap-icon.css
DELETED
@@ -1,853 +0,0 @@
|
|
1 |
-
@font-face {
|
2 |
-
font-family: 'Glyphicons Halflings';
|
3 |
-
src: url('../fonts/glyphicons-halflings-regular.eot');
|
4 |
-
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
|
5 |
-
}
|
6 |
-
.glyphicon {
|
7 |
-
position: relative;
|
8 |
-
top: 1px;
|
9 |
-
/*display: inline-block;*/
|
10 |
-
font-family: 'Glyphicons Halflings';
|
11 |
-
-webkit-font-smoothing: antialiased;
|
12 |
-
font-style: normal;
|
13 |
-
font-weight: normal;
|
14 |
-
line-height: 1;
|
15 |
-
float: left;
|
16 |
-
margin: 4px;
|
17 |
-
}
|
18 |
-
|
19 |
-
.glyphicon-asterisk:before {
|
20 |
-
content: "\2a";
|
21 |
-
}
|
22 |
-
|
23 |
-
.glyphicon-plus:before {
|
24 |
-
content: "\2b";
|
25 |
-
}
|
26 |
-
|
27 |
-
.glyphicon-euro:before {
|
28 |
-
content: "\20ac";
|
29 |
-
}
|
30 |
-
|
31 |
-
.glyphicon-minus:before {
|
32 |
-
content: "\2212";
|
33 |
-
}
|
34 |
-
|
35 |
-
.glyphicon-cloud:before {
|
36 |
-
content: "\2601";
|
37 |
-
}
|
38 |
-
|
39 |
-
.glyphicon-envelope:before {
|
40 |
-
content: "\2709";
|
41 |
-
}
|
42 |
-
|
43 |
-
.glyphicon-pencil:before {
|
44 |
-
content: "\270f";
|
45 |
-
}
|
46 |
-
|
47 |
-
.glyphicon-glass:before {
|
48 |
-
content: "\e001";
|
49 |
-
}
|
50 |
-
|
51 |
-
.glyphicon-music:before {
|
52 |
-
content: "\e002";
|
53 |
-
}
|
54 |
-
|
55 |
-
.glyphicon-search:before {
|
56 |
-
content: "\e003";
|
57 |
-
}
|
58 |
-
|
59 |
-
.glyphicon-heart:before {
|
60 |
-
content: "\e005";
|
61 |
-
}
|
62 |
-
|
63 |
-
.glyphicon-star:before {
|
64 |
-
content: "\e006";
|
65 |
-
}
|
66 |
-
|
67 |
-
.glyphicon-star-empty:before {
|
68 |
-
content: "\e007";
|
69 |
-
}
|
70 |
-
|
71 |
-
.glyphicon-user:before {
|
72 |
-
content: "\e008";
|
73 |
-
}
|
74 |
-
|
75 |
-
.glyphicon-film:before {
|
76 |
-
content: "\e009";
|
77 |
-
}
|
78 |
-
|
79 |
-
.glyphicon-th-large:before {
|
80 |
-
content: "\e010";
|
81 |
-
}
|
82 |
-
|
83 |
-
.glyphicon-th:before {
|
84 |
-
content: "\e011";
|
85 |
-
}
|
86 |
-
|
87 |
-
.glyphicon-th-list:before {
|
88 |
-
content: "\e012";
|
89 |
-
}
|
90 |
-
|
91 |
-
.glyphicon-ok:before {
|
92 |
-
content: "\e013";
|
93 |
-
}
|
94 |
-
|
95 |
-
.glyphicon-remove:before {
|
96 |
-
content: "\e014";
|
97 |
-
}
|
98 |
-
|
99 |
-
.glyphicon-zoom-in:before {
|
100 |
-
content: "\e015";
|
101 |
-
}
|
102 |
-
|
103 |
-
.glyphicon-zoom-out:before {
|
104 |
-
content: "\e016";
|
105 |
-
}
|
106 |
-
|
107 |
-
.glyphicon-off:before {
|
108 |
-
content: "\e017";
|
109 |
-
}
|
110 |
-
|
111 |
-
.glyphicon-signal:before {
|
112 |
-
content: "\e018";
|
113 |
-
}
|
114 |
-
|
115 |
-
.glyphicon-cog:before {
|
116 |
-
content: "\e019";
|
117 |
-
}
|
118 |
-
|
119 |
-
.glyphicon-trash:before {
|
120 |
-
content: "\e020";
|
121 |
-
}
|
122 |
-
|
123 |
-
.glyphicon-home:before {
|
124 |
-
content: "\e021";
|
125 |
-
}
|
126 |
-
|
127 |
-
.glyphicon-file:before {
|
128 |
-
content: "\e022";
|
129 |
-
}
|
130 |
-
|
131 |
-
.glyphicon-time:before {
|
132 |
-
content: "\e023";
|
133 |
-
}
|
134 |
-
|
135 |
-
.glyphicon-road:before {
|
136 |
-
content: "\e024";
|
137 |
-
}
|
138 |
-
|
139 |
-
.glyphicon-download-alt:before {
|
140 |
-
content: "\e025";
|
141 |
-
}
|
142 |
-
|
143 |
-
.glyphicon-download:before {
|
144 |
-
content: "\e026";
|
145 |
-
}
|
146 |
-
|
147 |
-
.glyphicon-upload:before {
|
148 |
-
content: "\e027";
|
149 |
-
}
|
150 |
-
|
151 |
-
.glyphicon-inbox:before {
|
152 |
-
content: "\e028";
|
153 |
-
}
|
154 |
-
|
155 |
-
.glyphicon-play-circle:before {
|
156 |
-
content: "\e029";
|
157 |
-
}
|
158 |
-
|
159 |
-
.glyphicon-repeat:before {
|
160 |
-
content: "\e030";
|
161 |
-
}
|
162 |
-
|
163 |
-
.glyphicon-refresh:before {
|
164 |
-
content: "\e031";
|
165 |
-
}
|
166 |
-
|
167 |
-
.glyphicon-list-alt:before {
|
168 |
-
content: "\e032";
|
169 |
-
}
|
170 |
-
|
171 |
-
.glyphicon-flag:before {
|
172 |
-
content: "\e034";
|
173 |
-
}
|
174 |
-
|
175 |
-
.glyphicon-headphones:before {
|
176 |
-
content: "\e035";
|
177 |
-
}
|
178 |
-
|
179 |
-
.glyphicon-volume-off:before {
|
180 |
-
content: "\e036";
|
181 |
-
}
|
182 |
-
|
183 |
-
.glyphicon-volume-down:before {
|
184 |
-
content: "\e037";
|
185 |
-
}
|
186 |
-
|
187 |
-
.glyphicon-volume-up:before {
|
188 |
-
content: "\e038";
|
189 |
-
}
|
190 |
-
|
191 |
-
.glyphicon-qrcode:before {
|
192 |
-
content: "\e039";
|
193 |
-
}
|
194 |
-
|
195 |
-
.glyphicon-barcode:before {
|
196 |
-
content: "\e040";
|
197 |
-
}
|
198 |
-
|
199 |
-
.glyphicon-tag:before {
|
200 |
-
content: "\e041";
|
201 |
-
}
|
202 |
-
|
203 |
-
.glyphicon-tags:before {
|
204 |
-
content: "\e042";
|
205 |
-
}
|
206 |
-
|
207 |
-
.glyphicon-book:before {
|
208 |
-
content: "\e043";
|
209 |
-
}
|
210 |
-
|
211 |
-
.glyphicon-print:before {
|
212 |
-
content: "\e045";
|
213 |
-
}
|
214 |
-
|
215 |
-
.glyphicon-font:before {
|
216 |
-
content: "\e047";
|
217 |
-
}
|
218 |
-
|
219 |
-
.glyphicon-bold:before {
|
220 |
-
content: "\e048";
|
221 |
-
}
|
222 |
-
|
223 |
-
.glyphicon-italic:before {
|
224 |
-
content: "\e049";
|
225 |
-
}
|
226 |
-
|
227 |
-
.glyphicon-text-height:before {
|
228 |
-
content: "\e050";
|
229 |
-
}
|
230 |
-
|
231 |
-
.glyphicon-text-width:before {
|
232 |
-
content: "\e051";
|
233 |
-
}
|
234 |
-
|
235 |
-
.glyphicon-align-left:before {
|
236 |
-
content: "\e052";
|
237 |
-
}
|
238 |
-
|
239 |
-
.glyphicon-align-center:before {
|
240 |
-
content: "\e053";
|
241 |
-
}
|
242 |
-
|
243 |
-
.glyphicon-align-right:before {
|
244 |
-
content: "\e054";
|
245 |
-
}
|
246 |
-
|
247 |
-
.glyphicon-align-justify:before {
|
248 |
-
content: "\e055";
|
249 |
-
}
|
250 |
-
|
251 |
-
.glyphicon-list:before {
|
252 |
-
content: "\e056";
|
253 |
-
}
|
254 |
-
|
255 |
-
.glyphicon-indent-left:before {
|
256 |
-
content: "\e057";
|
257 |
-
}
|
258 |
-
|
259 |
-
.glyphicon-indent-right:before {
|
260 |
-
content: "\e058";
|
261 |
-
}
|
262 |
-
|
263 |
-
.glyphicon-facetime-video:before {
|
264 |
-
content: "\e059";
|
265 |
-
}
|
266 |
-
|
267 |
-
.glyphicon-picture:before {
|
268 |
-
content: "\e060";
|
269 |
-
}
|
270 |
-
|
271 |
-
.glyphicon-map-marker:before {
|
272 |
-
content: "\e062";
|
273 |
-
}
|
274 |
-
|
275 |
-
.glyphicon-adjust:before {
|
276 |
-
content: "\e063";
|
277 |
-
}
|
278 |
-
|
279 |
-
.glyphicon-tint:before {
|
280 |
-
content: "\e064";
|
281 |
-
}
|
282 |
-
|
283 |
-
.glyphicon-edit:before {
|
284 |
-
content: "\e065";
|
285 |
-
}
|
286 |
-
|
287 |
-
.glyphicon-share:before {
|
288 |
-
content: "\e066";
|
289 |
-
}
|
290 |
-
|
291 |
-
.glyphicon-check:before {
|
292 |
-
content: "\e067";
|
293 |
-
}
|
294 |
-
|
295 |
-
.glyphicon-move:before {
|
296 |
-
content: "\e068";
|
297 |
-
}
|
298 |
-
|
299 |
-
.glyphicon-step-backward:before {
|
300 |
-
content: "\e069";
|
301 |
-
}
|
302 |
-
|
303 |
-
.glyphicon-fast-backward:before {
|
304 |
-
content: "\e070";
|
305 |
-
}
|
306 |
-
|
307 |
-
.glyphicon-backward:before {
|
308 |
-
content: "\e071";
|
309 |
-
}
|
310 |
-
|
311 |
-
.glyphicon-play:before {
|
312 |
-
content: "\e072";
|
313 |
-
}
|
314 |
-
|
315 |
-
.glyphicon-pause:before {
|
316 |
-
content: "\e073";
|
317 |
-
}
|
318 |
-
|
319 |
-
.glyphicon-stop:before {
|
320 |
-
content: "\e074";
|
321 |
-
}
|
322 |
-
|
323 |
-
.glyphicon-forward:before {
|
324 |
-
content: "\e075";
|
325 |
-
}
|
326 |
-
|
327 |
-
.glyphicon-fast-forward:before {
|
328 |
-
content: "\e076";
|
329 |
-
}
|
330 |
-
|
331 |
-
.glyphicon-step-forward:before {
|
332 |
-
content: "\e077";
|
333 |
-
}
|
334 |
-
|
335 |
-
.glyphicon-eject:before {
|
336 |
-
content: "\e078";
|
337 |
-
}
|
338 |
-
|
339 |
-
.glyphicon-chevron-left:before {
|
340 |
-
content: "\e079";
|
341 |
-
}
|
342 |
-
|
343 |
-
.glyphicon-chevron-right:before {
|
344 |
-
content: "\e080";
|
345 |
-
}
|
346 |
-
|
347 |
-
.glyphicon-plus-sign:before {
|
348 |
-
content: "\e081";
|
349 |
-
}
|
350 |
-
|
351 |
-
.glyphicon-minus-sign:before {
|
352 |
-
content: "\e082";
|
353 |
-
}
|
354 |
-
|
355 |
-
.glyphicon-remove-sign:before {
|
356 |
-
content: "\e083";
|
357 |
-
}
|
358 |
-
|
359 |
-
.glyphicon-ok-sign:before {
|
360 |
-
content: "\e084";
|
361 |
-
}
|
362 |
-
|
363 |
-
.glyphicon-question-sign:before {
|
364 |
-
content: "\e085";
|
365 |
-
}
|
366 |
-
|
367 |
-
.glyphicon-info-sign:before {
|
368 |
-
content: "\e086";
|
369 |
-
}
|
370 |
-
|
371 |
-
.glyphicon-screenshot:before {
|
372 |
-
content: "\e087";
|
373 |
-
}
|
374 |
-
|
375 |
-
.glyphicon-remove-circle:before {
|
376 |
-
content: "\e088";
|
377 |
-
}
|
378 |
-
|
379 |
-
.glyphicon-ok-circle:before {
|
380 |
-
content: "\e089";
|
381 |
-
}
|
382 |
-
|
383 |
-
.glyphicon-ban-circle:before {
|
384 |
-
content: "\e090";
|
385 |
-
}
|
386 |
-
|
387 |
-
.glyphicon-arrow-left:before {
|
388 |
-
content: "\e091";
|
389 |
-
}
|
390 |
-
|
391 |
-
.glyphicon-arrow-right:before {
|
392 |
-
content: "\e092";
|
393 |
-
}
|
394 |
-
|
395 |
-
.glyphicon-arrow-up:before {
|
396 |
-
content: "\e093";
|
397 |
-
}
|
398 |
-
|
399 |
-
.glyphicon-arrow-down:before {
|
400 |
-
content: "\e094";
|
401 |
-
}
|
402 |
-
|
403 |
-
.glyphicon-share-alt:before {
|
404 |
-
content: "\e095";
|
405 |
-
}
|
406 |
-
|
407 |
-
.glyphicon-resize-full:before {
|
408 |
-
content: "\e096";
|
409 |
-
}
|
410 |
-
|
411 |
-
.glyphicon-resize-small:before {
|
412 |
-
content: "\e097";
|
413 |
-
}
|
414 |
-
|
415 |
-
.glyphicon-exclamation-sign:before {
|
416 |
-
content: "\e101";
|
417 |
-
}
|
418 |
-
|
419 |
-
.glyphicon-gift:before {
|
420 |
-
content: "\e102";
|
421 |
-
}
|
422 |
-
|
423 |
-
.glyphicon-leaf:before {
|
424 |
-
content: "\e103";
|
425 |
-
}
|
426 |
-
|
427 |
-
.glyphicon-eye-open:before {
|
428 |
-
content: "\e105";
|
429 |
-
}
|
430 |
-
|
431 |
-
.glyphicon-eye-close:before {
|
432 |
-
content: "\e106";
|
433 |
-
}
|
434 |
-
|
435 |
-
.glyphicon-warning-sign:before {
|
436 |
-
content: "\e107";
|
437 |
-
}
|
438 |
-
|
439 |
-
.glyphicon-plane:before {
|
440 |
-
content: "\e108";
|
441 |
-
}
|
442 |
-
|
443 |
-
.glyphicon-random:before {
|
444 |
-
content: "\e110";
|
445 |
-
}
|
446 |
-
|
447 |
-
.glyphicon-comment:before {
|
448 |
-
content: "\e111";
|
449 |
-
}
|
450 |
-
|
451 |
-
.glyphicon-magnet:before {
|
452 |
-
content: "\e112";
|
453 |
-
}
|
454 |
-
|
455 |
-
.glyphicon-chevron-up:before {
|
456 |
-
content: "\e113";
|
457 |
-
}
|
458 |
-
|
459 |
-
.glyphicon-chevron-down:before {
|
460 |
-
content: "\e114";
|
461 |
-
}
|
462 |
-
|
463 |
-
.glyphicon-retweet:before {
|
464 |
-
content: "\e115";
|
465 |
-
}
|
466 |
-
|
467 |
-
.glyphicon-shopping-cart:before {
|
468 |
-
content: "\e116";
|
469 |
-
}
|
470 |
-
|
471 |
-
.glyphicon-folder-close:before {
|
472 |
-
content: "\e117";
|
473 |
-
}
|
474 |
-
|
475 |
-
.glyphicon-folder-open:before {
|
476 |
-
content: "\e118";
|
477 |
-
}
|
478 |
-
|
479 |
-
.glyphicon-resize-vertical:before {
|
480 |
-
content: "\e119";
|
481 |
-
}
|
482 |
-
|
483 |
-
.glyphicon-resize-horizontal:before {
|
484 |
-
content: "\e120";
|
485 |
-
}
|
486 |
-
|
487 |
-
.glyphicon-hdd:before {
|
488 |
-
content: "\e121";
|
489 |
-
}
|
490 |
-
|
491 |
-
.glyphicon-bullhorn:before {
|
492 |
-
content: "\e122";
|
493 |
-
}
|
494 |
-
|
495 |
-
.glyphicon-certificate:before {
|
496 |
-
content: "\e124";
|
497 |
-
}
|
498 |
-
|
499 |
-
.glyphicon-thumbs-up:before {
|
500 |
-
content: "\e125";
|
501 |
-
}
|
502 |
-
|
503 |
-
.glyphicon-thumbs-down:before {
|
504 |
-
content: "\e126";
|
505 |
-
}
|
506 |
-
|
507 |
-
.glyphicon-hand-right:before {
|
508 |
-
content: "\e127";
|
509 |
-
}
|
510 |
-
|
511 |
-
.glyphicon-hand-left:before {
|
512 |
-
content: "\e128";
|
513 |
-
}
|
514 |
-
|
515 |
-
.glyphicon-hand-up:before {
|
516 |
-
content: "\e129";
|
517 |
-
}
|
518 |
-
|
519 |
-
.glyphicon-hand-down:before {
|
520 |
-
content: "\e130";
|
521 |
-
}
|
522 |
-
|
523 |
-
.glyphicon-circle-arrow-right:before {
|
524 |
-
content: "\e131";
|
525 |
-
}
|
526 |
-
|
527 |
-
.glyphicon-circle-arrow-left:before {
|
528 |
-
content: "\e132";
|
529 |
-
}
|
530 |
-
|
531 |
-
.glyphicon-circle-arrow-up:before {
|
532 |
-
content: "\e133";
|
533 |
-
}
|
534 |
-
|
535 |
-
.glyphicon-circle-arrow-down:before {
|
536 |
-
content: "\e134";
|
537 |
-
}
|
538 |
-
|
539 |
-
.glyphicon-globe:before {
|
540 |
-
content: "\e135";
|
541 |
-
}
|
542 |
-
|
543 |
-
.glyphicon-tasks:before {
|
544 |
-
content: "\e137";
|
545 |
-
}
|
546 |
-
|
547 |
-
.glyphicon-filter:before {
|
548 |
-
content: "\e138";
|
549 |
-
}
|
550 |
-
|
551 |
-
.glyphicon-fullscreen:before {
|
552 |
-
content: "\e140";
|
553 |
-
}
|
554 |
-
|
555 |
-
.glyphicon-dashboard:before {
|
556 |
-
content: "\e141";
|
557 |
-
}
|
558 |
-
|
559 |
-
.glyphicon-heart-empty:before {
|
560 |
-
content: "\e143";
|
561 |
-
}
|
562 |
-
|
563 |
-
.glyphicon-link:before {
|
564 |
-
content: "\e144";
|
565 |
-
}
|
566 |
-
|
567 |
-
.glyphicon-phone:before {
|
568 |
-
content: "\e145";
|
569 |
-
}
|
570 |
-
|
571 |
-
.glyphicon-usd:before {
|
572 |
-
content: "\e148";
|
573 |
-
}
|
574 |
-
|
575 |
-
.glyphicon-gbp:before {
|
576 |
-
content: "\e149";
|
577 |
-
}
|
578 |
-
|
579 |
-
.glyphicon-sort:before {
|
580 |
-
content: "\e150";
|
581 |
-
}
|
582 |
-
|
583 |
-
.glyphicon-sort-by-alphabet:before {
|
584 |
-
content: "\e151";
|
585 |
-
}
|
586 |
-
|
587 |
-
.glyphicon-sort-by-alphabet-alt:before {
|
588 |
-
content: "\e152";
|
589 |
-
}
|
590 |
-
|
591 |
-
.glyphicon-sort-by-order:before {
|
592 |
-
content: "\e153";
|
593 |
-
}
|
594 |
-
|
595 |
-
.glyphicon-sort-by-order-alt:before {
|
596 |
-
content: "\e154";
|
597 |
-
}
|
598 |
-
|
599 |
-
.glyphicon-sort-by-attributes:before {
|
600 |
-
content: "\e155";
|
601 |
-
}
|
602 |
-
|
603 |
-
.glyphicon-sort-by-attributes-alt:before {
|
604 |
-
content: "\e156";
|
605 |
-
}
|
606 |
-
|
607 |
-
.glyphicon-unchecked:before {
|
608 |
-
content: "\e157";
|
609 |
-
}
|
610 |
-
|
611 |
-
.glyphicon-expand:before {
|
612 |
-
content: "\e158";
|
613 |
-
}
|
614 |
-
|
615 |
-
.glyphicon-collapse-down:before {
|
616 |
-
content: "\e159";
|
617 |
-
}
|
618 |
-
|
619 |
-
.glyphicon-collapse-up:before {
|
620 |
-
content: "\e160";
|
621 |
-
}
|
622 |
-
|
623 |
-
.glyphicon-log-in:before {
|
624 |
-
content: "\e161";
|
625 |
-
}
|
626 |
-
|
627 |
-
.glyphicon-flash:before {
|
628 |
-
content: "\e162";
|
629 |
-
}
|
630 |
-
|
631 |
-
.glyphicon-log-out:before {
|
632 |
-
content: "\e163";
|
633 |
-
}
|
634 |
-
|
635 |
-
.glyphicon-new-window:before {
|
636 |
-
content: "\e164";
|
637 |
-
}
|
638 |
-
|
639 |
-
.glyphicon-record:before {
|
640 |
-
content: "\e165";
|
641 |
-
}
|
642 |
-
|
643 |
-
.glyphicon-save:before {
|
644 |
-
content: "\e166";
|
645 |
-
}
|
646 |
-
|
647 |
-
.glyphicon-open:before {
|
648 |
-
content: "\e167";
|
649 |
-
}
|
650 |
-
|
651 |
-
.glyphicon-saved:before {
|
652 |
-
content: "\e168";
|
653 |
-
}
|
654 |
-
|
655 |
-
.glyphicon-import:before {
|
656 |
-
content: "\e169";
|
657 |
-
}
|
658 |
-
|
659 |
-
.glyphicon-export:before {
|
660 |
-
content: "\e170";
|
661 |
-
}
|
662 |
-
|
663 |
-
.glyphicon-send:before {
|
664 |
-
content: "\e171";
|
665 |
-
}
|
666 |
-
|
667 |
-
.glyphicon-floppy-disk:before {
|
668 |
-
content: "\e172";
|
669 |
-
}
|
670 |
-
|
671 |
-
.glyphicon-floppy-saved:before {
|
672 |
-
content: "\e173";
|
673 |
-
}
|
674 |
-
|
675 |
-
.glyphicon-floppy-remove:before {
|
676 |
-
content: "\e174";
|
677 |
-
}
|
678 |
-
|
679 |
-
.glyphicon-floppy-save:before {
|
680 |
-
content: "\e175";
|
681 |
-
}
|
682 |
-
|
683 |
-
.glyphicon-floppy-open:before {
|
684 |
-
content: "\e176";
|
685 |
-
}
|
686 |
-
|
687 |
-
.glyphicon-credit-card:before {
|
688 |
-
content: "\e177";
|
689 |
-
}
|
690 |
-
|
691 |
-
.glyphicon-transfer:before {
|
692 |
-
content: "\e178";
|
693 |
-
}
|
694 |
-
|
695 |
-
.glyphicon-cutlery:before {
|
696 |
-
content: "\e179";
|
697 |
-
}
|
698 |
-
|
699 |
-
.glyphicon-header:before {
|
700 |
-
content: "\e180";
|
701 |
-
}
|
702 |
-
|
703 |
-
.glyphicon-compressed:before {
|
704 |
-
content: "\e181";
|
705 |
-
}
|
706 |
-
|
707 |
-
.glyphicon-earphone:before {
|
708 |
-
content: "\e182";
|
709 |
-
}
|
710 |
-
|
711 |
-
.glyphicon-phone-alt:before {
|
712 |
-
content: "\e183";
|
713 |
-
}
|
714 |
-
|
715 |
-
.glyphicon-tower:before {
|
716 |
-
content: "\e184";
|
717 |
-
}
|
718 |
-
|
719 |
-
.glyphicon-stats:before {
|
720 |
-
content: "\e185";
|
721 |
-
}
|
722 |
-
|
723 |
-
.glyphicon-sd-video:before {
|
724 |
-
content: "\e186";
|
725 |
-
}
|
726 |
-
|
727 |
-
.glyphicon-hd-video:before {
|
728 |
-
content: "\e187";
|
729 |
-
}
|
730 |
-
|
731 |
-
.glyphicon-subtitles:before {
|
732 |
-
content: "\e188";
|
733 |
-
}
|
734 |
-
|
735 |
-
.glyphicon-sound-stereo:before {
|
736 |
-
content: "\e189";
|
737 |
-
}
|
738 |
-
|
739 |
-
.glyphicon-sound-dolby:before {
|
740 |
-
content: "\e190";
|
741 |
-
}
|
742 |
-
|
743 |
-
.glyphicon-sound-5-1:before {
|
744 |
-
content: "\e191";
|
745 |
-
}
|
746 |
-
|
747 |
-
.glyphicon-sound-6-1:before {
|
748 |
-
content: "\e192";
|
749 |
-
}
|
750 |
-
|
751 |
-
.glyphicon-sound-7-1:before {
|
752 |
-
content: "\e193";
|
753 |
-
}
|
754 |
-
|
755 |
-
.glyphicon-copyright-mark:before {
|
756 |
-
content: "\e194";
|
757 |
-
}
|
758 |
-
|
759 |
-
.glyphicon-registration-mark:before {
|
760 |
-
content: "\e195";
|
761 |
-
}
|
762 |
-
|
763 |
-
.glyphicon-cloud-download:before {
|
764 |
-
content: "\e197";
|
765 |
-
}
|
766 |
-
|
767 |
-
.glyphicon-cloud-upload:before {
|
768 |
-
content: "\e198";
|
769 |
-
}
|
770 |
-
|
771 |
-
.glyphicon-tree-conifer:before {
|
772 |
-
content: "\e199";
|
773 |
-
}
|
774 |
-
|
775 |
-
.glyphicon-tree-deciduous:before {
|
776 |
-
content: "\e200";
|
777 |
-
}
|
778 |
-
|
779 |
-
.glyphicon-briefcase:before {
|
780 |
-
content: "\1f4bc";
|
781 |
-
}
|
782 |
-
|
783 |
-
.glyphicon-calendar:before {
|
784 |
-
content: "\1f4c5";
|
785 |
-
}
|
786 |
-
|
787 |
-
.glyphicon-pushpin:before {
|
788 |
-
content: "\1f4cc";
|
789 |
-
}
|
790 |
-
|
791 |
-
.glyphicon-paperclip:before {
|
792 |
-
content: "\1f4ce";
|
793 |
-
}
|
794 |
-
|
795 |
-
.glyphicon-camera:before {
|
796 |
-
content: "\1f4f7";
|
797 |
-
}
|
798 |
-
|
799 |
-
.glyphicon-lock:before {
|
800 |
-
content: "\1f512";
|
801 |
-
}
|
802 |
-
|
803 |
-
.glyphicon-bell:before {
|
804 |
-
content: "\1f514";
|
805 |
-
}
|
806 |
-
|
807 |
-
.glyphicon-bookmark:before {
|
808 |
-
content: "\1f516";
|
809 |
-
}
|
810 |
-
|
811 |
-
.glyphicon-fire:before {
|
812 |
-
content: "\1f525";
|
813 |
-
}
|
814 |
-
|
815 |
-
.glyphicon-wrench:before {
|
816 |
-
content: "\1f527";
|
817 |
-
}
|
818 |
-
|
819 |
-
#icon_show{
|
820 |
-
margin-left: 8px;
|
821 |
-
background: none repeat scroll 0 0 #DBDBDB;
|
822 |
-
border: 1px solid #B3B3CD;
|
823 |
-
padding: 2px 4px;
|
824 |
-
}
|
825 |
-
|
826 |
-
|
827 |
-
#click_icon_list {
|
828 |
-
background: none repeat scroll 0 0 #F4F4F4;
|
829 |
-
border: 1px solid #AAAAAA;
|
830 |
-
height: 22px;
|
831 |
-
width: 190px;
|
832 |
-
}
|
833 |
-
#osc_show_iconlist {
|
834 |
-
border: 3px double #A6A6A6;
|
835 |
-
display: inline-block;
|
836 |
-
margin-top: 5px;
|
837 |
-
}
|
838 |
-
#osc_show_iconlist ul li{
|
839 |
-
text-align: center;
|
840 |
-
padding:4px;
|
841 |
-
}
|
842 |
-
#osc_show_iconlist ul li:hover, .osc_icon_selected{
|
843 |
-
background: #F4F4F4;
|
844 |
-
border: 1px solid #A6A6A6;
|
845 |
-
padding:3px !important;
|
846 |
-
}
|
847 |
-
.show-drop{
|
848 |
-
background: url("../images/drop_down.png") no-repeat scroll 0 0 transparent;
|
849 |
-
float: right;
|
850 |
-
height: 16px;
|
851 |
-
margin:5px 0px 0 0;
|
852 |
-
width: 18px;
|
853 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/bootstrap-icon.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;float:left;margin:4px}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-print:before{content:"\e045"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-briefcase:before{content:"\1f4bc"}.glyphicon-calendar:before{content:"\1f4c5"}.glyphicon-pushpin:before{content:"\1f4cc"}.glyphicon-paperclip:before{content:"\1f4ce"}.glyphicon-camera:before{content:"\1f4f7"}.glyphicon-lock:before{content:"\1f512"}.glyphicon-bell:before{content:"\1f514"}.glyphicon-bookmark:before{content:"\1f516"}.glyphicon-fire:before{content:"\1f525"}.glyphicon-wrench:before{content:"\1f527"}#icon_show,#icon_show_button{margin-left:8px;background:none repeat scroll 0 0 #dbdbdb;border:1px solid #b3b3cd;padding:2px 4px}.oscitas-icon-div{background:none repeat scroll 0 0 #f4f4f4;border:1px solid #aaa;height:22px;width:190px}.oscitas-icon{border:3px double #a6a6a6;display:inline-block;margin-top:5px}.oscitas-icon ul li{text-align:center;padding:4px}.oscitas-icon ul li:hover,.osc_icon_selected,.osc_icon_selected_button{background:#f4f4f4;border:1px solid #a6a6a6;padding:3px !important}.show-drop{background:url("../images/drop_down.png") no-repeat scroll 0 0 transparent;float:right;height:16px;margin:5px 0 0 0;width:18px}
|
styles/bootstrap.css
DELETED
@@ -1,6805 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* Bootstrap v3.0.0
|
3 |
-
*
|
4 |
-
* Copyright 2013 Twitter, Inc
|
5 |
-
* Licensed under the Apache License v2.0
|
6 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
*
|
8 |
-
* Designed and built with all the love in the world by @mdo and @fat.
|
9 |
-
*/
|
10 |
-
|
11 |
-
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
12 |
-
|
13 |
-
article,
|
14 |
-
aside,
|
15 |
-
details,
|
16 |
-
figcaption,
|
17 |
-
figure,
|
18 |
-
footer,
|
19 |
-
header,
|
20 |
-
hgroup,
|
21 |
-
main,
|
22 |
-
nav,
|
23 |
-
section,
|
24 |
-
summary {
|
25 |
-
display: block;
|
26 |
-
}
|
27 |
-
|
28 |
-
audio,
|
29 |
-
canvas,
|
30 |
-
video {
|
31 |
-
display: inline-block;
|
32 |
-
}
|
33 |
-
|
34 |
-
audio:not([controls]) {
|
35 |
-
display: none;
|
36 |
-
height: 0;
|
37 |
-
}
|
38 |
-
|
39 |
-
[hidden] {
|
40 |
-
display: none;
|
41 |
-
}
|
42 |
-
|
43 |
-
html {
|
44 |
-
font-family: sans-serif;
|
45 |
-
-webkit-text-size-adjust: 100%;
|
46 |
-
-ms-text-size-adjust: 100%;
|
47 |
-
}
|
48 |
-
|
49 |
-
body {
|
50 |
-
margin: 0;
|
51 |
-
}
|
52 |
-
|
53 |
-
a:focus {
|
54 |
-
outline: thin dotted;
|
55 |
-
}
|
56 |
-
|
57 |
-
a:active,
|
58 |
-
a:hover {
|
59 |
-
outline: 0;
|
60 |
-
}
|
61 |
-
|
62 |
-
h1 {
|
63 |
-
margin: 0.67em 0;
|
64 |
-
font-size: 2em;
|
65 |
-
}
|
66 |
-
|
67 |
-
abbr[title] {
|
68 |
-
border-bottom: 1px dotted;
|
69 |
-
}
|
70 |
-
|
71 |
-
b,
|
72 |
-
strong {
|
73 |
-
font-weight: bold;
|
74 |
-
}
|
75 |
-
|
76 |
-
dfn {
|
77 |
-
font-style: italic;
|
78 |
-
}
|
79 |
-
|
80 |
-
hr {
|
81 |
-
height: 0;
|
82 |
-
-moz-box-sizing: content-box;
|
83 |
-
box-sizing: content-box;
|
84 |
-
}
|
85 |
-
|
86 |
-
mark {
|
87 |
-
color: #000;
|
88 |
-
background: #ff0;
|
89 |
-
}
|
90 |
-
|
91 |
-
code,
|
92 |
-
kbd,
|
93 |
-
pre,
|
94 |
-
samp {
|
95 |
-
font-family: monospace, serif;
|
96 |
-
font-size: 1em;
|
97 |
-
}
|
98 |
-
|
99 |
-
pre {
|
100 |
-
white-space: pre-wrap;
|
101 |
-
}
|
102 |
-
|
103 |
-
q {
|
104 |
-
quotes: "\201C" "\201D" "\2018" "\2019";
|
105 |
-
}
|
106 |
-
|
107 |
-
small {
|
108 |
-
font-size: 80%;
|
109 |
-
}
|
110 |
-
|
111 |
-
sub,
|
112 |
-
sup {
|
113 |
-
position: relative;
|
114 |
-
font-size: 75%;
|
115 |
-
line-height: 0;
|
116 |
-
vertical-align: baseline;
|
117 |
-
}
|
118 |
-
|
119 |
-
sup {
|
120 |
-
top: -0.5em;
|
121 |
-
}
|
122 |
-
|
123 |
-
sub {
|
124 |
-
bottom: -0.25em;
|
125 |
-
}
|
126 |
-
|
127 |
-
img {
|
128 |
-
border: 0;
|
129 |
-
}
|
130 |
-
|
131 |
-
svg:not(:root) {
|
132 |
-
overflow: hidden;
|
133 |
-
}
|
134 |
-
|
135 |
-
figure {
|
136 |
-
margin: 0;
|
137 |
-
}
|
138 |
-
|
139 |
-
fieldset {
|
140 |
-
padding: 0.35em 0.625em 0.75em;
|
141 |
-
margin: 0 2px;
|
142 |
-
border: 1px solid #c0c0c0;
|
143 |
-
}
|
144 |
-
|
145 |
-
legend {
|
146 |
-
padding: 0;
|
147 |
-
border: 0;
|
148 |
-
}
|
149 |
-
|
150 |
-
button,
|
151 |
-
input,
|
152 |
-
select,
|
153 |
-
textarea {
|
154 |
-
margin: 0;
|
155 |
-
font-family: inherit;
|
156 |
-
font-size: 100%;
|
157 |
-
}
|
158 |
-
|
159 |
-
button,
|
160 |
-
input {
|
161 |
-
line-height: normal;
|
162 |
-
}
|
163 |
-
|
164 |
-
button,
|
165 |
-
select {
|
166 |
-
text-transform: none;
|
167 |
-
}
|
168 |
-
|
169 |
-
button,
|
170 |
-
html input[type="button"],
|
171 |
-
input[type="reset"],
|
172 |
-
input[type="submit"] {
|
173 |
-
cursor: pointer;
|
174 |
-
-webkit-appearance: button;
|
175 |
-
}
|
176 |
-
|
177 |
-
button[disabled],
|
178 |
-
html input[disabled] {
|
179 |
-
cursor: default;
|
180 |
-
}
|
181 |
-
|
182 |
-
input[type="checkbox"],
|
183 |
-
input[type="radio"] {
|
184 |
-
padding: 0;
|
185 |
-
box-sizing: border-box;
|
186 |
-
}
|
187 |
-
|
188 |
-
input[type="search"] {
|
189 |
-
-webkit-box-sizing: content-box;
|
190 |
-
-moz-box-sizing: content-box;
|
191 |
-
box-sizing: content-box;
|
192 |
-
-webkit-appearance: textfield;
|
193 |
-
}
|
194 |
-
|
195 |
-
input[type="search"]::-webkit-search-cancel-button,
|
196 |
-
input[type="search"]::-webkit-search-decoration {
|
197 |
-
-webkit-appearance: none;
|
198 |
-
}
|
199 |
-
|
200 |
-
button::-moz-focus-inner,
|
201 |
-
input::-moz-focus-inner {
|
202 |
-
padding: 0;
|
203 |
-
border: 0;
|
204 |
-
}
|
205 |
-
|
206 |
-
textarea {
|
207 |
-
overflow: auto;
|
208 |
-
vertical-align: top;
|
209 |
-
}
|
210 |
-
|
211 |
-
table {
|
212 |
-
border-collapse: collapse;
|
213 |
-
border-spacing: 0;
|
214 |
-
}
|
215 |
-
|
216 |
-
@media print {
|
217 |
-
* {
|
218 |
-
color: #000 !important;
|
219 |
-
text-shadow: none !important;
|
220 |
-
background: transparent !important;
|
221 |
-
box-shadow: none !important;
|
222 |
-
}
|
223 |
-
a,
|
224 |
-
a:visited {
|
225 |
-
text-decoration: underline;
|
226 |
-
}
|
227 |
-
a[href]:after {
|
228 |
-
content: " (" attr(href) ")";
|
229 |
-
}
|
230 |
-
abbr[title]:after {
|
231 |
-
content: " (" attr(title) ")";
|
232 |
-
}
|
233 |
-
.ir a:after,
|
234 |
-
a[href^="javascript:"]:after,
|
235 |
-
a[href^="#"]:after {
|
236 |
-
content: "";
|
237 |
-
}
|
238 |
-
pre,
|
239 |
-
blockquote {
|
240 |
-
border: 1px solid #999;
|
241 |
-
page-break-inside: avoid;
|
242 |
-
}
|
243 |
-
thead {
|
244 |
-
display: table-header-group;
|
245 |
-
}
|
246 |
-
tr,
|
247 |
-
img {
|
248 |
-
page-break-inside: avoid;
|
249 |
-
}
|
250 |
-
img {
|
251 |
-
max-width: 100% !important;
|
252 |
-
}
|
253 |
-
@page {
|
254 |
-
margin: 2cm .5cm;
|
255 |
-
}
|
256 |
-
p,
|
257 |
-
h2,
|
258 |
-
h3 {
|
259 |
-
orphans: 3;
|
260 |
-
widows: 3;
|
261 |
-
}
|
262 |
-
h2,
|
263 |
-
h3 {
|
264 |
-
page-break-after: avoid;
|
265 |
-
}
|
266 |
-
.navbar {
|
267 |
-
display: none;
|
268 |
-
}
|
269 |
-
.table td,
|
270 |
-
.table th {
|
271 |
-
background-color: #fff !important;
|
272 |
-
}
|
273 |
-
.btn > .caret,
|
274 |
-
.dropup > .btn > .caret {
|
275 |
-
border-top-color: #000 !important;
|
276 |
-
}
|
277 |
-
.label {
|
278 |
-
border: 1px solid #000;
|
279 |
-
}
|
280 |
-
.table {
|
281 |
-
border-collapse: collapse !important;
|
282 |
-
}
|
283 |
-
.table-bordered th,
|
284 |
-
.table-bordered td {
|
285 |
-
border: 1px solid #ddd !important;
|
286 |
-
}
|
287 |
-
}
|
288 |
-
|
289 |
-
*,
|
290 |
-
*:before,
|
291 |
-
*:after {
|
292 |
-
-webkit-box-sizing: border-box;
|
293 |
-
-moz-box-sizing: border-box;
|
294 |
-
box-sizing: border-box;
|
295 |
-
}
|
296 |
-
|
297 |
-
html {
|
298 |
-
font-size: 62.5%;
|
299 |
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
300 |
-
}
|
301 |
-
|
302 |
-
body {
|
303 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
304 |
-
font-size: 14px;
|
305 |
-
line-height: 1.428571429;
|
306 |
-
color: #333333;
|
307 |
-
background-color: #ffffff;
|
308 |
-
}
|
309 |
-
|
310 |
-
input,
|
311 |
-
button,
|
312 |
-
select,
|
313 |
-
textarea {
|
314 |
-
font-family: inherit;
|
315 |
-
font-size: inherit;
|
316 |
-
line-height: inherit;
|
317 |
-
}
|
318 |
-
|
319 |
-
button,
|
320 |
-
input,
|
321 |
-
select[multiple],
|
322 |
-
textarea {
|
323 |
-
background-image: none;
|
324 |
-
}
|
325 |
-
|
326 |
-
a {
|
327 |
-
color: #428bca;
|
328 |
-
text-decoration: none;
|
329 |
-
}
|
330 |
-
|
331 |
-
a:hover,
|
332 |
-
a:focus {
|
333 |
-
color: #2a6496;
|
334 |
-
text-decoration: underline;
|
335 |
-
}
|
336 |
-
|
337 |
-
a:focus {
|
338 |
-
outline: thin dotted #333;
|
339 |
-
outline: 5px auto -webkit-focus-ring-color;
|
340 |
-
outline-offset: -2px;
|
341 |
-
}
|
342 |
-
|
343 |
-
img {
|
344 |
-
vertical-align: middle;
|
345 |
-
}
|
346 |
-
|
347 |
-
.img-responsive {
|
348 |
-
display: block;
|
349 |
-
height: auto;
|
350 |
-
max-width: 100%;
|
351 |
-
}
|
352 |
-
|
353 |
-
.img-rounded {
|
354 |
-
border-radius: 6px;
|
355 |
-
}
|
356 |
-
|
357 |
-
.img-thumbnail {
|
358 |
-
display: inline-block;
|
359 |
-
height: auto;
|
360 |
-
max-width: 100%;
|
361 |
-
padding: 4px;
|
362 |
-
line-height: 1.428571429;
|
363 |
-
background-color: #ffffff;
|
364 |
-
border: 1px solid #dddddd;
|
365 |
-
border-radius: 4px;
|
366 |
-
-webkit-transition: all 0.2s ease-in-out;
|
367 |
-
transition: all 0.2s ease-in-out;
|
368 |
-
}
|
369 |
-
|
370 |
-
.img-circle {
|
371 |
-
border-radius: 50%;
|
372 |
-
}
|
373 |
-
|
374 |
-
hr {
|
375 |
-
margin-top: 20px;
|
376 |
-
margin-bottom: 20px;
|
377 |
-
border: 0;
|
378 |
-
border-top: 1px solid #eeeeee;
|
379 |
-
}
|
380 |
-
|
381 |
-
.sr-only {
|
382 |
-
position: absolute;
|
383 |
-
width: 1px;
|
384 |
-
height: 1px;
|
385 |
-
padding: 0;
|
386 |
-
margin: -1px;
|
387 |
-
overflow: hidden;
|
388 |
-
clip: rect(0 0 0 0);
|
389 |
-
border: 0;
|
390 |
-
}
|
391 |
-
|
392 |
-
p {
|
393 |
-
margin: 0 0 10px;
|
394 |
-
}
|
395 |
-
|
396 |
-
.lead {
|
397 |
-
margin-bottom: 20px;
|
398 |
-
font-size: 16.099999999999998px;
|
399 |
-
font-weight: 200;
|
400 |
-
line-height: 1.4;
|
401 |
-
}
|
402 |
-
|
403 |
-
@media (min-width: 768px) {
|
404 |
-
.lead {
|
405 |
-
font-size: 21px;
|
406 |
-
}
|
407 |
-
}
|
408 |
-
|
409 |
-
small {
|
410 |
-
font-size: 85%;
|
411 |
-
}
|
412 |
-
|
413 |
-
cite {
|
414 |
-
font-style: normal;
|
415 |
-
}
|
416 |
-
|
417 |
-
.text-muted {
|
418 |
-
color: #999999;
|
419 |
-
}
|
420 |
-
|
421 |
-
.text-primary {
|
422 |
-
color: #428bca;
|
423 |
-
}
|
424 |
-
|
425 |
-
.text-warning {
|
426 |
-
color: #c09853;
|
427 |
-
}
|
428 |
-
|
429 |
-
.text-danger {
|
430 |
-
color: #b94a48;
|
431 |
-
}
|
432 |
-
|
433 |
-
.text-success {
|
434 |
-
color: #468847;
|
435 |
-
}
|
436 |
-
|
437 |
-
.text-info {
|
438 |
-
color: #3a87ad;
|
439 |
-
}
|
440 |
-
|
441 |
-
.text-left {
|
442 |
-
text-align: left;
|
443 |
-
}
|
444 |
-
|
445 |
-
.text-right {
|
446 |
-
text-align: right;
|
447 |
-
}
|
448 |
-
|
449 |
-
.text-center {
|
450 |
-
text-align: center;
|
451 |
-
}
|
452 |
-
|
453 |
-
h1,
|
454 |
-
h2,
|
455 |
-
h3,
|
456 |
-
h4,
|
457 |
-
h5,
|
458 |
-
h6,
|
459 |
-
.h1,
|
460 |
-
.h2,
|
461 |
-
.h3,
|
462 |
-
.h4,
|
463 |
-
.h5,
|
464 |
-
.h6 {
|
465 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
466 |
-
font-weight: 500;
|
467 |
-
line-height: 1.1;
|
468 |
-
}
|
469 |
-
|
470 |
-
h1 small,
|
471 |
-
h2 small,
|
472 |
-
h3 small,
|
473 |
-
h4 small,
|
474 |
-
h5 small,
|
475 |
-
h6 small,
|
476 |
-
.h1 small,
|
477 |
-
.h2 small,
|
478 |
-
.h3 small,
|
479 |
-
.h4 small,
|
480 |
-
.h5 small,
|
481 |
-
.h6 small {
|
482 |
-
font-weight: normal;
|
483 |
-
line-height: 1;
|
484 |
-
color: #999999;
|
485 |
-
}
|
486 |
-
|
487 |
-
h1,
|
488 |
-
h2,
|
489 |
-
h3 {
|
490 |
-
margin-top: 20px;
|
491 |
-
margin-bottom: 10px;
|
492 |
-
}
|
493 |
-
|
494 |
-
h4,
|
495 |
-
h5,
|
496 |
-
h6 {
|
497 |
-
margin-top: 10px;
|
498 |
-
margin-bottom: 10px;
|
499 |
-
}
|
500 |
-
|
501 |
-
h1,
|
502 |
-
.h1 {
|
503 |
-
font-size: 36px;
|
504 |
-
}
|
505 |
-
|
506 |
-
h2,
|
507 |
-
.h2 {
|
508 |
-
font-size: 30px;
|
509 |
-
}
|
510 |
-
|
511 |
-
h3,
|
512 |
-
.h3 {
|
513 |
-
font-size: 24px;
|
514 |
-
}
|
515 |
-
|
516 |
-
h4,
|
517 |
-
.h4 {
|
518 |
-
font-size: 18px;
|
519 |
-
}
|
520 |
-
|
521 |
-
h5,
|
522 |
-
.h5 {
|
523 |
-
font-size: 14px;
|
524 |
-
}
|
525 |
-
|
526 |
-
h6,
|
527 |
-
.h6 {
|
528 |
-
font-size: 12px;
|
529 |
-
}
|
530 |
-
|
531 |
-
h1 small,
|
532 |
-
.h1 small {
|
533 |
-
font-size: 24px;
|
534 |
-
}
|
535 |
-
|
536 |
-
h2 small,
|
537 |
-
.h2 small {
|
538 |
-
font-size: 18px;
|
539 |
-
}
|
540 |
-
|
541 |
-
h3 small,
|
542 |
-
.h3 small,
|
543 |
-
h4 small,
|
544 |
-
.h4 small {
|
545 |
-
font-size: 14px;
|
546 |
-
}
|
547 |
-
|
548 |
-
.page-header {
|
549 |
-
padding-bottom: 9px;
|
550 |
-
margin: 40px 0 20px;
|
551 |
-
border-bottom: 1px solid #eeeeee;
|
552 |
-
}
|
553 |
-
|
554 |
-
ul,
|
555 |
-
ol {
|
556 |
-
margin-top: 0;
|
557 |
-
margin-bottom: 10px;
|
558 |
-
}
|
559 |
-
|
560 |
-
ul ul,
|
561 |
-
ol ul,
|
562 |
-
ul ol,
|
563 |
-
ol ol {
|
564 |
-
margin-bottom: 0;
|
565 |
-
}
|
566 |
-
|
567 |
-
.list-unstyled {
|
568 |
-
padding-left: 0;
|
569 |
-
list-style: none;
|
570 |
-
}
|
571 |
-
|
572 |
-
.list-inline {
|
573 |
-
padding-left: 0;
|
574 |
-
list-style: none;
|
575 |
-
}
|
576 |
-
|
577 |
-
.list-inline > li {
|
578 |
-
display: inline-block;
|
579 |
-
padding-right: 5px;
|
580 |
-
padding-left: 5px;
|
581 |
-
}
|
582 |
-
|
583 |
-
dl {
|
584 |
-
margin-bottom: 20px;
|
585 |
-
}
|
586 |
-
|
587 |
-
dt,
|
588 |
-
dd {
|
589 |
-
line-height: 1.428571429;
|
590 |
-
}
|
591 |
-
|
592 |
-
dt {
|
593 |
-
font-weight: bold;
|
594 |
-
}
|
595 |
-
|
596 |
-
dd {
|
597 |
-
margin-left: 0;
|
598 |
-
}
|
599 |
-
|
600 |
-
@media (min-width: 768px) {
|
601 |
-
.dl-horizontal dt {
|
602 |
-
float: left;
|
603 |
-
width: 160px;
|
604 |
-
overflow: hidden;
|
605 |
-
clear: left;
|
606 |
-
text-align: right;
|
607 |
-
text-overflow: ellipsis;
|
608 |
-
white-space: nowrap;
|
609 |
-
}
|
610 |
-
.dl-horizontal dd {
|
611 |
-
margin-left: 180px;
|
612 |
-
}
|
613 |
-
.dl-horizontal dd:before,
|
614 |
-
.dl-horizontal dd:after {
|
615 |
-
display: table;
|
616 |
-
content: " ";
|
617 |
-
}
|
618 |
-
.dl-horizontal dd:after {
|
619 |
-
clear: both;
|
620 |
-
}
|
621 |
-
.dl-horizontal dd:before,
|
622 |
-
.dl-horizontal dd:after {
|
623 |
-
display: table;
|
624 |
-
content: " ";
|
625 |
-
}
|
626 |
-
.dl-horizontal dd:after {
|
627 |
-
clear: both;
|
628 |
-
}
|
629 |
-
}
|
630 |
-
|
631 |
-
abbr[title],
|
632 |
-
abbr[data-original-title] {
|
633 |
-
cursor: help;
|
634 |
-
border-bottom: 1px dotted #999999;
|
635 |
-
}
|
636 |
-
|
637 |
-
abbr.initialism {
|
638 |
-
font-size: 90%;
|
639 |
-
text-transform: uppercase;
|
640 |
-
}
|
641 |
-
|
642 |
-
blockquote {
|
643 |
-
padding: 10px 20px;
|
644 |
-
margin: 0 0 20px;
|
645 |
-
border-left: 5px solid #eeeeee;
|
646 |
-
}
|
647 |
-
|
648 |
-
blockquote p {
|
649 |
-
font-size: 17.5px;
|
650 |
-
font-weight: 300;
|
651 |
-
line-height: 1.25;
|
652 |
-
}
|
653 |
-
|
654 |
-
blockquote p:last-child {
|
655 |
-
margin-bottom: 0;
|
656 |
-
}
|
657 |
-
|
658 |
-
blockquote small {
|
659 |
-
display: block;
|
660 |
-
line-height: 1.428571429;
|
661 |
-
color: #999999;
|
662 |
-
}
|
663 |
-
|
664 |
-
blockquote small:before {
|
665 |
-
content: '\2014 \00A0';
|
666 |
-
}
|
667 |
-
|
668 |
-
blockquote.pull-right {
|
669 |
-
padding-right: 15px;
|
670 |
-
padding-left: 0;
|
671 |
-
border-right: 5px solid #eeeeee;
|
672 |
-
border-left: 0;
|
673 |
-
}
|
674 |
-
|
675 |
-
blockquote.pull-right p,
|
676 |
-
blockquote.pull-right small {
|
677 |
-
text-align: right;
|
678 |
-
}
|
679 |
-
|
680 |
-
blockquote.pull-right small:before {
|
681 |
-
content: '';
|
682 |
-
}
|
683 |
-
|
684 |
-
blockquote.pull-right small:after {
|
685 |
-
content: '\00A0 \2014';
|
686 |
-
}
|
687 |
-
|
688 |
-
q:before,
|
689 |
-
q:after,
|
690 |
-
blockquote:before,
|
691 |
-
blockquote:after {
|
692 |
-
content: "";
|
693 |
-
}
|
694 |
-
|
695 |
-
address {
|
696 |
-
display: block;
|
697 |
-
margin-bottom: 20px;
|
698 |
-
font-style: normal;
|
699 |
-
line-height: 1.428571429;
|
700 |
-
}
|
701 |
-
|
702 |
-
code,
|
703 |
-
pre {
|
704 |
-
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
705 |
-
}
|
706 |
-
|
707 |
-
code {
|
708 |
-
padding: 2px 4px;
|
709 |
-
font-size: 90%;
|
710 |
-
color: #c7254e;
|
711 |
-
white-space: nowrap;
|
712 |
-
background-color: #f9f2f4;
|
713 |
-
border-radius: 4px;
|
714 |
-
}
|
715 |
-
|
716 |
-
pre {
|
717 |
-
display: block;
|
718 |
-
padding: 9.5px;
|
719 |
-
margin: 0 0 10px;
|
720 |
-
font-size: 13px;
|
721 |
-
line-height: 1.428571429;
|
722 |
-
color: #333333;
|
723 |
-
word-break: break-all;
|
724 |
-
word-wrap: break-word;
|
725 |
-
background-color: #f5f5f5;
|
726 |
-
border: 1px solid #cccccc;
|
727 |
-
border-radius: 4px;
|
728 |
-
}
|
729 |
-
|
730 |
-
pre.prettyprint {
|
731 |
-
margin-bottom: 20px;
|
732 |
-
}
|
733 |
-
|
734 |
-
pre code {
|
735 |
-
padding: 0;
|
736 |
-
font-size: inherit;
|
737 |
-
color: inherit;
|
738 |
-
white-space: pre-wrap;
|
739 |
-
background-color: transparent;
|
740 |
-
border: 0;
|
741 |
-
}
|
742 |
-
|
743 |
-
.pre-scrollable {
|
744 |
-
max-height: 340px;
|
745 |
-
overflow-y: scroll;
|
746 |
-
}
|
747 |
-
|
748 |
-
.container {
|
749 |
-
padding-right: 15px;
|
750 |
-
padding-left: 15px;
|
751 |
-
margin-right: auto;
|
752 |
-
margin-left: auto;
|
753 |
-
}
|
754 |
-
|
755 |
-
.container:before,
|
756 |
-
.container:after {
|
757 |
-
display: table;
|
758 |
-
content: " ";
|
759 |
-
}
|
760 |
-
|
761 |
-
.container:after {
|
762 |
-
clear: both;
|
763 |
-
}
|
764 |
-
|
765 |
-
.container:before,
|
766 |
-
.container:after {
|
767 |
-
display: table;
|
768 |
-
content: " ";
|
769 |
-
}
|
770 |
-
|
771 |
-
.container:after {
|
772 |
-
clear: both;
|
773 |
-
}
|
774 |
-
|
775 |
-
.row {
|
776 |
-
margin-right: -15px;
|
777 |
-
margin-left: -15px;
|
778 |
-
}
|
779 |
-
|
780 |
-
.row:before,
|
781 |
-
.row:after {
|
782 |
-
display: table;
|
783 |
-
content: " ";
|
784 |
-
}
|
785 |
-
|
786 |
-
.row:after {
|
787 |
-
clear: both;
|
788 |
-
}
|
789 |
-
|
790 |
-
.row:before,
|
791 |
-
.row:after {
|
792 |
-
display: table;
|
793 |
-
content: " ";
|
794 |
-
}
|
795 |
-
|
796 |
-
.row:after {
|
797 |
-
clear: both;
|
798 |
-
}
|
799 |
-
|
800 |
-
.col-xs-1,
|
801 |
-
.col-xs-2,
|
802 |
-
.col-xs-3,
|
803 |
-
.col-xs-4,
|
804 |
-
.col-xs-5,
|
805 |
-
.col-xs-6,
|
806 |
-
.col-xs-7,
|
807 |
-
.col-xs-8,
|
808 |
-
.col-xs-9,
|
809 |
-
.col-xs-10,
|
810 |
-
.col-xs-11,
|
811 |
-
.col-xs-12,
|
812 |
-
.col-sm-1,
|
813 |
-
.col-sm-2,
|
814 |
-
.col-sm-3,
|
815 |
-
.col-sm-4,
|
816 |
-
.col-sm-5,
|
817 |
-
.col-sm-6,
|
818 |
-
.col-sm-7,
|
819 |
-
.col-sm-8,
|
820 |
-
.col-sm-9,
|
821 |
-
.col-sm-10,
|
822 |
-
.col-sm-11,
|
823 |
-
.col-sm-12,
|
824 |
-
.col-md-1,
|
825 |
-
.col-md-2,
|
826 |
-
.col-md-3,
|
827 |
-
.col-md-4,
|
828 |
-
.col-md-5,
|
829 |
-
.col-md-6,
|
830 |
-
.col-md-7,
|
831 |
-
.col-md-8,
|
832 |
-
.col-md-9,
|
833 |
-
.col-md-10,
|
834 |
-
.col-md-11,
|
835 |
-
.col-md-12,
|
836 |
-
.col-lg-1,
|
837 |
-
.col-lg-2,
|
838 |
-
.col-lg-3,
|
839 |
-
.col-lg-4,
|
840 |
-
.col-lg-5,
|
841 |
-
.col-lg-6,
|
842 |
-
.col-lg-7,
|
843 |
-
.col-lg-8,
|
844 |
-
.col-lg-9,
|
845 |
-
.col-lg-10,
|
846 |
-
.col-lg-11,
|
847 |
-
.col-lg-12 {
|
848 |
-
position: relative;
|
849 |
-
min-height: 1px;
|
850 |
-
padding-right: 15px;
|
851 |
-
padding-left: 15px;
|
852 |
-
}
|
853 |
-
|
854 |
-
.col-xs-1,
|
855 |
-
.col-xs-2,
|
856 |
-
.col-xs-3,
|
857 |
-
.col-xs-4,
|
858 |
-
.col-xs-5,
|
859 |
-
.col-xs-6,
|
860 |
-
.col-xs-7,
|
861 |
-
.col-xs-8,
|
862 |
-
.col-xs-9,
|
863 |
-
.col-xs-10,
|
864 |
-
.col-xs-11 {
|
865 |
-
float: left;
|
866 |
-
}
|
867 |
-
|
868 |
-
.col-xs-1 {
|
869 |
-
width: 8.333333333333332%;
|
870 |
-
}
|
871 |
-
|
872 |
-
.col-xs-2 {
|
873 |
-
width: 16.666666666666664%;
|
874 |
-
}
|
875 |
-
|
876 |
-
.col-xs-3 {
|
877 |
-
width: 25%;
|
878 |
-
}
|
879 |
-
|
880 |
-
.col-xs-4 {
|
881 |
-
width: 33.33333333333333%;
|
882 |
-
}
|
883 |
-
|
884 |
-
.col-xs-5 {
|
885 |
-
width: 41.66666666666667%;
|
886 |
-
}
|
887 |
-
|
888 |
-
.col-xs-6 {
|
889 |
-
width: 50%;
|
890 |
-
}
|
891 |
-
|
892 |
-
.col-xs-7 {
|
893 |
-
width: 58.333333333333336%;
|
894 |
-
}
|
895 |
-
|
896 |
-
.col-xs-8 {
|
897 |
-
width: 66.66666666666666%;
|
898 |
-
}
|
899 |
-
|
900 |
-
.col-xs-9 {
|
901 |
-
width: 75%;
|
902 |
-
}
|
903 |
-
|
904 |
-
.col-xs-10 {
|
905 |
-
width: 83.33333333333334%;
|
906 |
-
}
|
907 |
-
|
908 |
-
.col-xs-11 {
|
909 |
-
width: 91.66666666666666%;
|
910 |
-
}
|
911 |
-
|
912 |
-
.col-xs-12 {
|
913 |
-
width: 100%;
|
914 |
-
}
|
915 |
-
|
916 |
-
@media (min-width: 768px) {
|
917 |
-
.container {
|
918 |
-
max-width: 750px;
|
919 |
-
}
|
920 |
-
.col-sm-1,
|
921 |
-
.col-sm-2,
|
922 |
-
.col-sm-3,
|
923 |
-
.col-sm-4,
|
924 |
-
.col-sm-5,
|
925 |
-
.col-sm-6,
|
926 |
-
.col-sm-7,
|
927 |
-
.col-sm-8,
|
928 |
-
.col-sm-9,
|
929 |
-
.col-sm-10,
|
930 |
-
.col-sm-11 {
|
931 |
-
float: left;
|
932 |
-
}
|
933 |
-
.col-sm-1 {
|
934 |
-
width: 8.333333333333332%;
|
935 |
-
}
|
936 |
-
.col-sm-2 {
|
937 |
-
width: 16.666666666666664%;
|
938 |
-
}
|
939 |
-
.col-sm-3 {
|
940 |
-
width: 25%;
|
941 |
-
}
|
942 |
-
.col-sm-4 {
|
943 |
-
width: 33.33333333333333%;
|
944 |
-
}
|
945 |
-
.col-sm-5 {
|
946 |
-
width: 41.66666666666667%;
|
947 |
-
}
|
948 |
-
.col-sm-6 {
|
949 |
-
width: 50%;
|
950 |
-
}
|
951 |
-
.col-sm-7 {
|
952 |
-
width: 58.333333333333336%;
|
953 |
-
}
|
954 |
-
.col-sm-8 {
|
955 |
-
width: 66.66666666666666%;
|
956 |
-
}
|
957 |
-
.col-sm-9 {
|
958 |
-
width: 75%;
|
959 |
-
}
|
960 |
-
.col-sm-10 {
|
961 |
-
width: 83.33333333333334%;
|
962 |
-
}
|
963 |
-
.col-sm-11 {
|
964 |
-
width: 91.66666666666666%;
|
965 |
-
}
|
966 |
-
.col-sm-12 {
|
967 |
-
width: 100%;
|
968 |
-
}
|
969 |
-
.col-sm-push-1 {
|
970 |
-
left: 8.333333333333332%;
|
971 |
-
}
|
972 |
-
.col-sm-push-2 {
|
973 |
-
left: 16.666666666666664%;
|
974 |
-
}
|
975 |
-
.col-sm-push-3 {
|
976 |
-
left: 25%;
|
977 |
-
}
|
978 |
-
.col-sm-push-4 {
|
979 |
-
left: 33.33333333333333%;
|
980 |
-
}
|
981 |
-
.col-sm-push-5 {
|
982 |
-
left: 41.66666666666667%;
|
983 |
-
}
|
984 |
-
.col-sm-push-6 {
|
985 |
-
left: 50%;
|
986 |
-
}
|
987 |
-
.col-sm-push-7 {
|
988 |
-
left: 58.333333333333336%;
|
989 |
-
}
|
990 |
-
.col-sm-push-8 {
|
991 |
-
left: 66.66666666666666%;
|
992 |
-
}
|
993 |
-
.col-sm-push-9 {
|
994 |
-
left: 75%;
|
995 |
-
}
|
996 |
-
.col-sm-push-10 {
|
997 |
-
left: 83.33333333333334%;
|
998 |
-
}
|
999 |
-
.col-sm-push-11 {
|
1000 |
-
left: 91.66666666666666%;
|
1001 |
-
}
|
1002 |
-
.col-sm-pull-1 {
|
1003 |
-
right: 8.333333333333332%;
|
1004 |
-
}
|
1005 |
-
.col-sm-pull-2 {
|
1006 |
-
right: 16.666666666666664%;
|
1007 |
-
}
|
1008 |
-
.col-sm-pull-3 {
|
1009 |
-
right: 25%;
|
1010 |
-
}
|
1011 |
-
.col-sm-pull-4 {
|
1012 |
-
right: 33.33333333333333%;
|
1013 |
-
}
|
1014 |
-
.col-sm-pull-5 {
|
1015 |
-
right: 41.66666666666667%;
|
1016 |
-
}
|
1017 |
-
.col-sm-pull-6 {
|
1018 |
-
right: 50%;
|
1019 |
-
}
|
1020 |
-
.col-sm-pull-7 {
|
1021 |
-
right: 58.333333333333336%;
|
1022 |
-
}
|
1023 |
-
.col-sm-pull-8 {
|
1024 |
-
right: 66.66666666666666%;
|
1025 |
-
}
|
1026 |
-
.col-sm-pull-9 {
|
1027 |
-
right: 75%;
|
1028 |
-
}
|
1029 |
-
.col-sm-pull-10 {
|
1030 |
-
right: 83.33333333333334%;
|
1031 |
-
}
|
1032 |
-
.col-sm-pull-11 {
|
1033 |
-
right: 91.66666666666666%;
|
1034 |
-
}
|
1035 |
-
.col-sm-offset-1 {
|
1036 |
-
margin-left: 8.333333333333332%;
|
1037 |
-
}
|
1038 |
-
.col-sm-offset-2 {
|
1039 |
-
margin-left: 16.666666666666664%;
|
1040 |
-
}
|
1041 |
-
.col-sm-offset-3 {
|
1042 |
-
margin-left: 25%;
|
1043 |
-
}
|
1044 |
-
.col-sm-offset-4 {
|
1045 |
-
margin-left: 33.33333333333333%;
|
1046 |
-
}
|
1047 |
-
.col-sm-offset-5 {
|
1048 |
-
margin-left: 41.66666666666667%;
|
1049 |
-
}
|
1050 |
-
.col-sm-offset-6 {
|
1051 |
-
margin-left: 50%;
|
1052 |
-
}
|
1053 |
-
.col-sm-offset-7 {
|
1054 |
-
margin-left: 58.333333333333336%;
|
1055 |
-
}
|
1056 |
-
.col-sm-offset-8 {
|
1057 |
-
margin-left: 66.66666666666666%;
|
1058 |
-
}
|
1059 |
-
.col-sm-offset-9 {
|
1060 |
-
margin-left: 75%;
|
1061 |
-
}
|
1062 |
-
.col-sm-offset-10 {
|
1063 |
-
margin-left: 83.33333333333334%;
|
1064 |
-
}
|
1065 |
-
.col-sm-offset-11 {
|
1066 |
-
margin-left: 91.66666666666666%;
|
1067 |
-
}
|
1068 |
-
}
|
1069 |
-
|
1070 |
-
@media (min-width: 992px) {
|
1071 |
-
.container {
|
1072 |
-
max-width: 970px;
|
1073 |
-
}
|
1074 |
-
.col-md-1,
|
1075 |
-
.col-md-2,
|
1076 |
-
.col-md-3,
|
1077 |
-
.col-md-4,
|
1078 |
-
.col-md-5,
|
1079 |
-
.col-md-6,
|
1080 |
-
.col-md-7,
|
1081 |
-
.col-md-8,
|
1082 |
-
.col-md-9,
|
1083 |
-
.col-md-10,
|
1084 |
-
.col-md-11 {
|
1085 |
-
float: left;
|
1086 |
-
}
|
1087 |
-
.col-md-1 {
|
1088 |
-
width: 8.333333333333332%;
|
1089 |
-
}
|
1090 |
-
.col-md-2 {
|
1091 |
-
width: 16.666666666666664%;
|
1092 |
-
}
|
1093 |
-
.col-md-3 {
|
1094 |
-
width: 25%;
|
1095 |
-
}
|
1096 |
-
.col-md-4 {
|
1097 |
-
width: 33.33333333333333%;
|
1098 |
-
}
|
1099 |
-
.col-md-5 {
|
1100 |
-
width: 41.66666666666667%;
|
1101 |
-
}
|
1102 |
-
.col-md-6 {
|
1103 |
-
width: 50%;
|
1104 |
-
}
|
1105 |
-
.col-md-7 {
|
1106 |
-
width: 58.333333333333336%;
|
1107 |
-
}
|
1108 |
-
.col-md-8 {
|
1109 |
-
width: 66.66666666666666%;
|
1110 |
-
}
|
1111 |
-
.col-md-9 {
|
1112 |
-
width: 75%;
|
1113 |
-
}
|
1114 |
-
.col-md-10 {
|
1115 |
-
width: 83.33333333333334%;
|
1116 |
-
}
|
1117 |
-
.col-md-11 {
|
1118 |
-
width: 91.66666666666666%;
|
1119 |
-
}
|
1120 |
-
.col-md-12 {
|
1121 |
-
width: 100%;
|
1122 |
-
}
|
1123 |
-
.col-md-push-0 {
|
1124 |
-
left: auto;
|
1125 |
-
}
|
1126 |
-
.col-md-push-1 {
|
1127 |
-
left: 8.333333333333332%;
|
1128 |
-
}
|
1129 |
-
.col-md-push-2 {
|
1130 |
-
left: 16.666666666666664%;
|
1131 |
-
}
|
1132 |
-
.col-md-push-3 {
|
1133 |
-
left: 25%;
|
1134 |
-
}
|
1135 |
-
.col-md-push-4 {
|
1136 |
-
left: 33.33333333333333%;
|
1137 |
-
}
|
1138 |
-
.col-md-push-5 {
|
1139 |
-
left: 41.66666666666667%;
|
1140 |
-
}
|
1141 |
-
.col-md-push-6 {
|
1142 |
-
left: 50%;
|
1143 |
-
}
|
1144 |
-
.col-md-push-7 {
|
1145 |
-
left: 58.333333333333336%;
|
1146 |
-
}
|
1147 |
-
.col-md-push-8 {
|
1148 |
-
left: 66.66666666666666%;
|
1149 |
-
}
|
1150 |
-
.col-md-push-9 {
|
1151 |
-
left: 75%;
|
1152 |
-
}
|
1153 |
-
.col-md-push-10 {
|
1154 |
-
left: 83.33333333333334%;
|
1155 |
-
}
|
1156 |
-
.col-md-push-11 {
|
1157 |
-
left: 91.66666666666666%;
|
1158 |
-
}
|
1159 |
-
.col-md-pull-0 {
|
1160 |
-
right: auto;
|
1161 |
-
}
|
1162 |
-
.col-md-pull-1 {
|
1163 |
-
right: 8.333333333333332%;
|
1164 |
-
}
|
1165 |
-
.col-md-pull-2 {
|
1166 |
-
right: 16.666666666666664%;
|
1167 |
-
}
|
1168 |
-
.col-md-pull-3 {
|
1169 |
-
right: 25%;
|
1170 |
-
}
|
1171 |
-
.col-md-pull-4 {
|
1172 |
-
right: 33.33333333333333%;
|
1173 |
-
}
|
1174 |
-
.col-md-pull-5 {
|
1175 |
-
right: 41.66666666666667%;
|
1176 |
-
}
|
1177 |
-
.col-md-pull-6 {
|
1178 |
-
right: 50%;
|
1179 |
-
}
|
1180 |
-
.col-md-pull-7 {
|
1181 |
-
right: 58.333333333333336%;
|
1182 |
-
}
|
1183 |
-
.col-md-pull-8 {
|
1184 |
-
right: 66.66666666666666%;
|
1185 |
-
}
|
1186 |
-
.col-md-pull-9 {
|
1187 |
-
right: 75%;
|
1188 |
-
}
|
1189 |
-
.col-md-pull-10 {
|
1190 |
-
right: 83.33333333333334%;
|
1191 |
-
}
|
1192 |
-
.col-md-pull-11 {
|
1193 |
-
right: 91.66666666666666%;
|
1194 |
-
}
|
1195 |
-
.col-md-offset-0 {
|
1196 |
-
margin-left: 0;
|
1197 |
-
}
|
1198 |
-
.col-md-offset-1 {
|
1199 |
-
margin-left: 8.333333333333332%;
|
1200 |
-
}
|
1201 |
-
.col-md-offset-2 {
|
1202 |
-
margin-left: 16.666666666666664%;
|
1203 |
-
}
|
1204 |
-
.col-md-offset-3 {
|
1205 |
-
margin-left: 25%;
|
1206 |
-
}
|
1207 |
-
.col-md-offset-4 {
|
1208 |
-
margin-left: 33.33333333333333%;
|
1209 |
-
}
|
1210 |
-
.col-md-offset-5 {
|
1211 |
-
margin-left: 41.66666666666667%;
|
1212 |
-
}
|
1213 |
-
.col-md-offset-6 {
|
1214 |
-
margin-left: 50%;
|
1215 |
-
}
|
1216 |
-
.col-md-offset-7 {
|
1217 |
-
margin-left: 58.333333333333336%;
|
1218 |
-
}
|
1219 |
-
.col-md-offset-8 {
|
1220 |
-
margin-left: 66.66666666666666%;
|
1221 |
-
}
|
1222 |
-
.col-md-offset-9 {
|
1223 |
-
margin-left: 75%;
|
1224 |
-
}
|
1225 |
-
.col-md-offset-10 {
|
1226 |
-
margin-left: 83.33333333333334%;
|
1227 |
-
}
|
1228 |
-
.col-md-offset-11 {
|
1229 |
-
margin-left: 91.66666666666666%;
|
1230 |
-
}
|
1231 |
-
}
|
1232 |
-
|
1233 |
-
@media (min-width: 1200px) {
|
1234 |
-
.container {
|
1235 |
-
max-width: 1170px;
|
1236 |
-
}
|
1237 |
-
.col-lg-1,
|
1238 |
-
.col-lg-2,
|
1239 |
-
.col-lg-3,
|
1240 |
-
.col-lg-4,
|
1241 |
-
.col-lg-5,
|
1242 |
-
.col-lg-6,
|
1243 |
-
.col-lg-7,
|
1244 |
-
.col-lg-8,
|
1245 |
-
.col-lg-9,
|
1246 |
-
.col-lg-10,
|
1247 |
-
.col-lg-11 {
|
1248 |
-
float: left;
|
1249 |
-
}
|
1250 |
-
.col-lg-1 {
|
1251 |
-
width: 8.333333333333332%;
|
1252 |
-
}
|
1253 |
-
.col-lg-2 {
|
1254 |
-
width: 16.666666666666664%;
|
1255 |
-
}
|
1256 |
-
.col-lg-3 {
|
1257 |
-
width: 25%;
|
1258 |
-
}
|
1259 |
-
.col-lg-4 {
|
1260 |
-
width: 33.33333333333333%;
|
1261 |
-
}
|
1262 |
-
.col-lg-5 {
|
1263 |
-
width: 41.66666666666667%;
|
1264 |
-
}
|
1265 |
-
.col-lg-6 {
|
1266 |
-
width: 50%;
|
1267 |
-
}
|
1268 |
-
.col-lg-7 {
|
1269 |
-
width: 58.333333333333336%;
|
1270 |
-
}
|
1271 |
-
.col-lg-8 {
|
1272 |
-
width: 66.66666666666666%;
|
1273 |
-
}
|
1274 |
-
.col-lg-9 {
|
1275 |
-
width: 75%;
|
1276 |
-
}
|
1277 |
-
.col-lg-10 {
|
1278 |
-
width: 83.33333333333334%;
|
1279 |
-
}
|
1280 |
-
.col-lg-11 {
|
1281 |
-
width: 91.66666666666666%;
|
1282 |
-
}
|
1283 |
-
.col-lg-12 {
|
1284 |
-
width: 100%;
|
1285 |
-
}
|
1286 |
-
.col-lg-push-0 {
|
1287 |
-
left: auto;
|
1288 |
-
}
|
1289 |
-
.col-lg-push-1 {
|
1290 |
-
left: 8.333333333333332%;
|
1291 |
-
}
|
1292 |
-
.col-lg-push-2 {
|
1293 |
-
left: 16.666666666666664%;
|
1294 |
-
}
|
1295 |
-
.col-lg-push-3 {
|
1296 |
-
left: 25%;
|
1297 |
-
}
|
1298 |
-
.col-lg-push-4 {
|
1299 |
-
left: 33.33333333333333%;
|
1300 |
-
}
|
1301 |
-
.col-lg-push-5 {
|
1302 |
-
left: 41.66666666666667%;
|
1303 |
-
}
|
1304 |
-
.col-lg-push-6 {
|
1305 |
-
left: 50%;
|
1306 |
-
}
|
1307 |
-
.col-lg-push-7 {
|
1308 |
-
left: 58.333333333333336%;
|
1309 |
-
}
|
1310 |
-
.col-lg-push-8 {
|
1311 |
-
left: 66.66666666666666%;
|
1312 |
-
}
|
1313 |
-
.col-lg-push-9 {
|
1314 |
-
left: 75%;
|
1315 |
-
}
|
1316 |
-
.col-lg-push-10 {
|
1317 |
-
left: 83.33333333333334%;
|
1318 |
-
}
|
1319 |
-
.col-lg-push-11 {
|
1320 |
-
left: 91.66666666666666%;
|
1321 |
-
}
|
1322 |
-
.col-lg-pull-0 {
|
1323 |
-
right: auto;
|
1324 |
-
}
|
1325 |
-
.col-lg-pull-1 {
|
1326 |
-
right: 8.333333333333332%;
|
1327 |
-
}
|
1328 |
-
.col-lg-pull-2 {
|
1329 |
-
right: 16.666666666666664%;
|
1330 |
-
}
|
1331 |
-
.col-lg-pull-3 {
|
1332 |
-
right: 25%;
|
1333 |
-
}
|
1334 |
-
.col-lg-pull-4 {
|
1335 |
-
right: 33.33333333333333%;
|
1336 |
-
}
|
1337 |
-
.col-lg-pull-5 {
|
1338 |
-
right: 41.66666666666667%;
|
1339 |
-
}
|
1340 |
-
.col-lg-pull-6 {
|
1341 |
-
right: 50%;
|
1342 |
-
}
|
1343 |
-
.col-lg-pull-7 {
|
1344 |
-
right: 58.333333333333336%;
|
1345 |
-
}
|
1346 |
-
.col-lg-pull-8 {
|
1347 |
-
right: 66.66666666666666%;
|
1348 |
-
}
|
1349 |
-
.col-lg-pull-9 {
|
1350 |
-
right: 75%;
|
1351 |
-
}
|
1352 |
-
.col-lg-pull-10 {
|
1353 |
-
right: 83.33333333333334%;
|
1354 |
-
}
|
1355 |
-
.col-lg-pull-11 {
|
1356 |
-
right: 91.66666666666666%;
|
1357 |
-
}
|
1358 |
-
.col-lg-offset-0 {
|
1359 |
-
margin-left: 0;
|
1360 |
-
}
|
1361 |
-
.col-lg-offset-1 {
|
1362 |
-
margin-left: 8.333333333333332%;
|
1363 |
-
}
|
1364 |
-
.col-lg-offset-2 {
|
1365 |
-
margin-left: 16.666666666666664%;
|
1366 |
-
}
|
1367 |
-
.col-lg-offset-3 {
|
1368 |
-
margin-left: 25%;
|
1369 |
-
}
|
1370 |
-
.col-lg-offset-4 {
|
1371 |
-
margin-left: 33.33333333333333%;
|
1372 |
-
}
|
1373 |
-
.col-lg-offset-5 {
|
1374 |
-
margin-left: 41.66666666666667%;
|
1375 |
-
}
|
1376 |
-
.col-lg-offset-6 {
|
1377 |
-
margin-left: 50%;
|
1378 |
-
}
|
1379 |
-
.col-lg-offset-7 {
|
1380 |
-
margin-left: 58.333333333333336%;
|
1381 |
-
}
|
1382 |
-
.col-lg-offset-8 {
|
1383 |
-
margin-left: 66.66666666666666%;
|
1384 |
-
}
|
1385 |
-
.col-lg-offset-9 {
|
1386 |
-
margin-left: 75%;
|
1387 |
-
}
|
1388 |
-
.col-lg-offset-10 {
|
1389 |
-
margin-left: 83.33333333333334%;
|
1390 |
-
}
|
1391 |
-
.col-lg-offset-11 {
|
1392 |
-
margin-left: 91.66666666666666%;
|
1393 |
-
}
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
table {
|
1397 |
-
max-width: 100%;
|
1398 |
-
background-color: transparent;
|
1399 |
-
}
|
1400 |
-
|
1401 |
-
th {
|
1402 |
-
text-align: left;
|
1403 |
-
}
|
1404 |
-
|
1405 |
-
.table {
|
1406 |
-
width: 100%;
|
1407 |
-
margin-bottom: 20px;
|
1408 |
-
}
|
1409 |
-
|
1410 |
-
.table thead > tr > th,
|
1411 |
-
.table tbody > tr > th,
|
1412 |
-
.table tfoot > tr > th,
|
1413 |
-
.table thead > tr > td,
|
1414 |
-
.table tbody > tr > td,
|
1415 |
-
.table tfoot > tr > td {
|
1416 |
-
padding: 8px;
|
1417 |
-
line-height: 1.428571429;
|
1418 |
-
vertical-align: top;
|
1419 |
-
border-top: 1px solid #dddddd;
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
.table thead > tr > th {
|
1423 |
-
vertical-align: bottom;
|
1424 |
-
border-bottom: 2px solid #dddddd;
|
1425 |
-
}
|
1426 |
-
|
1427 |
-
.table caption + thead tr:first-child th,
|
1428 |
-
.table colgroup + thead tr:first-child th,
|
1429 |
-
.table thead:first-child tr:first-child th,
|
1430 |
-
.table caption + thead tr:first-child td,
|
1431 |
-
.table colgroup + thead tr:first-child td,
|
1432 |
-
.table thead:first-child tr:first-child td {
|
1433 |
-
border-top: 0;
|
1434 |
-
}
|
1435 |
-
|
1436 |
-
.table tbody + tbody {
|
1437 |
-
border-top: 2px solid #dddddd;
|
1438 |
-
}
|
1439 |
-
|
1440 |
-
.table .table {
|
1441 |
-
background-color: #ffffff;
|
1442 |
-
}
|
1443 |
-
|
1444 |
-
.table-condensed thead > tr > th,
|
1445 |
-
.table-condensed tbody > tr > th,
|
1446 |
-
.table-condensed tfoot > tr > th,
|
1447 |
-
.table-condensed thead > tr > td,
|
1448 |
-
.table-condensed tbody > tr > td,
|
1449 |
-
.table-condensed tfoot > tr > td {
|
1450 |
-
padding: 5px;
|
1451 |
-
}
|
1452 |
-
|
1453 |
-
.table-bordered {
|
1454 |
-
border: 1px solid #dddddd;
|
1455 |
-
}
|
1456 |
-
|
1457 |
-
.table-bordered > thead > tr > th,
|
1458 |
-
.table-bordered > tbody > tr > th,
|
1459 |
-
.table-bordered > tfoot > tr > th,
|
1460 |
-
.table-bordered > thead > tr > td,
|
1461 |
-
.table-bordered > tbody > tr > td,
|
1462 |
-
.table-bordered > tfoot > tr > td {
|
1463 |
-
border: 1px solid #dddddd;
|
1464 |
-
}
|
1465 |
-
|
1466 |
-
.table-bordered > thead > tr > th,
|
1467 |
-
.table-bordered > thead > tr > td {
|
1468 |
-
border-bottom-width: 2px;
|
1469 |
-
}
|
1470 |
-
|
1471 |
-
.table-striped > tbody > tr:nth-child(odd) > td,
|
1472 |
-
.table-striped > tbody > tr:nth-child(odd) > th {
|
1473 |
-
background-color: #f9f9f9;
|
1474 |
-
}
|
1475 |
-
|
1476 |
-
.table-hover > tbody > tr:hover > td,
|
1477 |
-
.table-hover > tbody > tr:hover > th {
|
1478 |
-
background-color: #f5f5f5;
|
1479 |
-
}
|
1480 |
-
|
1481 |
-
table col[class*="col-"] {
|
1482 |
-
display: table-column;
|
1483 |
-
float: none;
|
1484 |
-
}
|
1485 |
-
|
1486 |
-
table td[class*="col-"],
|
1487 |
-
table th[class*="col-"] {
|
1488 |
-
display: table-cell;
|
1489 |
-
float: none;
|
1490 |
-
}
|
1491 |
-
|
1492 |
-
.table > thead > tr > td.active,
|
1493 |
-
.table > tbody > tr > td.active,
|
1494 |
-
.table > tfoot > tr > td.active,
|
1495 |
-
.table > thead > tr > th.active,
|
1496 |
-
.table > tbody > tr > th.active,
|
1497 |
-
.table > tfoot > tr > th.active,
|
1498 |
-
.table > thead > tr.active > td,
|
1499 |
-
.table > tbody > tr.active > td,
|
1500 |
-
.table > tfoot > tr.active > td,
|
1501 |
-
.table > thead > tr.active > th,
|
1502 |
-
.table > tbody > tr.active > th,
|
1503 |
-
.table > tfoot > tr.active > th {
|
1504 |
-
background-color: #f5f5f5;
|
1505 |
-
}
|
1506 |
-
|
1507 |
-
.table > thead > tr > td.success,
|
1508 |
-
.table > tbody > tr > td.success,
|
1509 |
-
.table > tfoot > tr > td.success,
|
1510 |
-
.table > thead > tr > th.success,
|
1511 |
-
.table > tbody > tr > th.success,
|
1512 |
-
.table > tfoot > tr > th.success,
|
1513 |
-
.table > thead > tr.success > td,
|
1514 |
-
.table > tbody > tr.success > td,
|
1515 |
-
.table > tfoot > tr.success > td,
|
1516 |
-
.table > thead > tr.success > th,
|
1517 |
-
.table > tbody > tr.success > th,
|
1518 |
-
.table > tfoot > tr.success > th {
|
1519 |
-
background-color: #dff0d8;
|
1520 |
-
border-color: #d6e9c6;
|
1521 |
-
}
|
1522 |
-
|
1523 |
-
.table-hover > tbody > tr > td.success:hover,
|
1524 |
-
.table-hover > tbody > tr > th.success:hover,
|
1525 |
-
.table-hover > tbody > tr.success:hover > td {
|
1526 |
-
background-color: #d0e9c6;
|
1527 |
-
border-color: #c9e2b3;
|
1528 |
-
}
|
1529 |
-
|
1530 |
-
.table > thead > tr > td.danger,
|
1531 |
-
.table > tbody > tr > td.danger,
|
1532 |
-
.table > tfoot > tr > td.danger,
|
1533 |
-
.table > thead > tr > th.danger,
|
1534 |
-
.table > tbody > tr > th.danger,
|
1535 |
-
.table > tfoot > tr > th.danger,
|
1536 |
-
.table > thead > tr.danger > td,
|
1537 |
-
.table > tbody > tr.danger > td,
|
1538 |
-
.table > tfoot > tr.danger > td,
|
1539 |
-
.table > thead > tr.danger > th,
|
1540 |
-
.table > tbody > tr.danger > th,
|
1541 |
-
.table > tfoot > tr.danger > th {
|
1542 |
-
background-color: #f2dede;
|
1543 |
-
border-color: #eed3d7;
|
1544 |
-
}
|
1545 |
-
|
1546 |
-
.table-hover > tbody > tr > td.danger:hover,
|
1547 |
-
.table-hover > tbody > tr > th.danger:hover,
|
1548 |
-
.table-hover > tbody > tr.danger:hover > td {
|
1549 |
-
background-color: #ebcccc;
|
1550 |
-
border-color: #e6c1c7;
|
1551 |
-
}
|
1552 |
-
|
1553 |
-
.table > thead > tr > td.warning,
|
1554 |
-
.table > tbody > tr > td.warning,
|
1555 |
-
.table > tfoot > tr > td.warning,
|
1556 |
-
.table > thead > tr > th.warning,
|
1557 |
-
.table > tbody > tr > th.warning,
|
1558 |
-
.table > tfoot > tr > th.warning,
|
1559 |
-
.table > thead > tr.warning > td,
|
1560 |
-
.table > tbody > tr.warning > td,
|
1561 |
-
.table > tfoot > tr.warning > td,
|
1562 |
-
.table > thead > tr.warning > th,
|
1563 |
-
.table > tbody > tr.warning > th,
|
1564 |
-
.table > tfoot > tr.warning > th {
|
1565 |
-
background-color: #fcf8e3;
|
1566 |
-
border-color: #fbeed5;
|
1567 |
-
}
|
1568 |
-
|
1569 |
-
.table-hover > tbody > tr > td.warning:hover,
|
1570 |
-
.table-hover > tbody > tr > th.warning:hover,
|
1571 |
-
.table-hover > tbody > tr.warning:hover > td {
|
1572 |
-
background-color: #faf2cc;
|
1573 |
-
border-color: #f8e5be;
|
1574 |
-
}
|
1575 |
-
|
1576 |
-
@media (max-width: 768px) {
|
1577 |
-
.table-responsive {
|
1578 |
-
width: 100%;
|
1579 |
-
margin-bottom: 15px;
|
1580 |
-
overflow-x: scroll;
|
1581 |
-
overflow-y: hidden;
|
1582 |
-
border: 1px solid #dddddd;
|
1583 |
-
}
|
1584 |
-
.table-responsive > .table {
|
1585 |
-
margin-bottom: 0;
|
1586 |
-
background-color: #fff;
|
1587 |
-
}
|
1588 |
-
.table-responsive > .table > thead > tr > th,
|
1589 |
-
.table-responsive > .table > tbody > tr > th,
|
1590 |
-
.table-responsive > .table > tfoot > tr > th,
|
1591 |
-
.table-responsive > .table > thead > tr > td,
|
1592 |
-
.table-responsive > .table > tbody > tr > td,
|
1593 |
-
.table-responsive > .table > tfoot > tr > td {
|
1594 |
-
white-space: nowrap;
|
1595 |
-
}
|
1596 |
-
.table-responsive > .table-bordered {
|
1597 |
-
border: 0;
|
1598 |
-
}
|
1599 |
-
.table-responsive > .table-bordered > thead > tr > th:first-child,
|
1600 |
-
.table-responsive > .table-bordered > tbody > tr > th:first-child,
|
1601 |
-
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
|
1602 |
-
.table-responsive > .table-bordered > thead > tr > td:first-child,
|
1603 |
-
.table-responsive > .table-bordered > tbody > tr > td:first-child,
|
1604 |
-
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
|
1605 |
-
border-left: 0;
|
1606 |
-
}
|
1607 |
-
.table-responsive > .table-bordered > thead > tr > th:last-child,
|
1608 |
-
.table-responsive > .table-bordered > tbody > tr > th:last-child,
|
1609 |
-
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
|
1610 |
-
.table-responsive > .table-bordered > thead > tr > td:last-child,
|
1611 |
-
.table-responsive > .table-bordered > tbody > tr > td:last-child,
|
1612 |
-
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
1613 |
-
border-right: 0;
|
1614 |
-
}
|
1615 |
-
.table-responsive > .table-bordered > thead > tr:last-child > th,
|
1616 |
-
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
1617 |
-
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
1618 |
-
.table-responsive > .table-bordered > thead > tr:last-child > td,
|
1619 |
-
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
1620 |
-
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
1621 |
-
border-bottom: 0;
|
1622 |
-
}
|
1623 |
-
}
|
1624 |
-
|
1625 |
-
fieldset {
|
1626 |
-
padding: 0;
|
1627 |
-
margin: 0;
|
1628 |
-
border: 0;
|
1629 |
-
}
|
1630 |
-
|
1631 |
-
legend {
|
1632 |
-
display: block;
|
1633 |
-
width: 100%;
|
1634 |
-
padding: 0;
|
1635 |
-
margin-bottom: 20px;
|
1636 |
-
font-size: 21px;
|
1637 |
-
line-height: inherit;
|
1638 |
-
color: #333333;
|
1639 |
-
border: 0;
|
1640 |
-
border-bottom: 1px solid #e5e5e5;
|
1641 |
-
}
|
1642 |
-
|
1643 |
-
label {
|
1644 |
-
display: inline-block;
|
1645 |
-
margin-bottom: 5px;
|
1646 |
-
font-weight: bold;
|
1647 |
-
}
|
1648 |
-
|
1649 |
-
input[type="search"] {
|
1650 |
-
-webkit-box-sizing: border-box;
|
1651 |
-
-moz-box-sizing: border-box;
|
1652 |
-
box-sizing: border-box;
|
1653 |
-
}
|
1654 |
-
|
1655 |
-
input[type="radio"],
|
1656 |
-
input[type="checkbox"] {
|
1657 |
-
margin: 4px 0 0;
|
1658 |
-
margin-top: 1px \9;
|
1659 |
-
/* IE8-9 */
|
1660 |
-
|
1661 |
-
line-height: normal;
|
1662 |
-
}
|
1663 |
-
|
1664 |
-
input[type="file"] {
|
1665 |
-
display: block;
|
1666 |
-
}
|
1667 |
-
|
1668 |
-
select[multiple],
|
1669 |
-
select[size] {
|
1670 |
-
height: auto;
|
1671 |
-
}
|
1672 |
-
|
1673 |
-
select optgroup {
|
1674 |
-
font-family: inherit;
|
1675 |
-
font-size: inherit;
|
1676 |
-
font-style: inherit;
|
1677 |
-
}
|
1678 |
-
|
1679 |
-
input[type="file"]:focus,
|
1680 |
-
input[type="radio"]:focus,
|
1681 |
-
input[type="checkbox"]:focus {
|
1682 |
-
outline: thin dotted #333;
|
1683 |
-
outline: 5px auto -webkit-focus-ring-color;
|
1684 |
-
outline-offset: -2px;
|
1685 |
-
}
|
1686 |
-
|
1687 |
-
input[type="number"]::-webkit-outer-spin-button,
|
1688 |
-
input[type="number"]::-webkit-inner-spin-button {
|
1689 |
-
height: auto;
|
1690 |
-
}
|
1691 |
-
|
1692 |
-
.form-control:-moz-placeholder {
|
1693 |
-
color: #999999;
|
1694 |
-
}
|
1695 |
-
|
1696 |
-
.form-control::-moz-placeholder {
|
1697 |
-
color: #999999;
|
1698 |
-
}
|
1699 |
-
|
1700 |
-
.form-control:-ms-input-placeholder {
|
1701 |
-
color: #999999;
|
1702 |
-
}
|
1703 |
-
|
1704 |
-
.form-control::-webkit-input-placeholder {
|
1705 |
-
color: #999999;
|
1706 |
-
}
|
1707 |
-
|
1708 |
-
.form-control {
|
1709 |
-
display: block;
|
1710 |
-
width: 100%;
|
1711 |
-
height: 34px;
|
1712 |
-
padding: 6px 12px;
|
1713 |
-
font-size: 14px;
|
1714 |
-
line-height: 1.428571429;
|
1715 |
-
color: #555555;
|
1716 |
-
vertical-align: middle;
|
1717 |
-
background-color: #ffffff;
|
1718 |
-
border: 1px solid #cccccc;
|
1719 |
-
border-radius: 4px;
|
1720 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1721 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1722 |
-
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
1723 |
-
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
1724 |
-
}
|
1725 |
-
|
1726 |
-
.form-control:focus {
|
1727 |
-
border-color: #66afe9;
|
1728 |
-
outline: 0;
|
1729 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
1730 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
|
1731 |
-
}
|
1732 |
-
|
1733 |
-
.form-control[disabled],
|
1734 |
-
.form-control[readonly],
|
1735 |
-
fieldset[disabled] .form-control {
|
1736 |
-
cursor: not-allowed;
|
1737 |
-
background-color: #eeeeee;
|
1738 |
-
}
|
1739 |
-
|
1740 |
-
textarea.form-control {
|
1741 |
-
height: auto;
|
1742 |
-
}
|
1743 |
-
|
1744 |
-
.form-group {
|
1745 |
-
margin-bottom: 15px;
|
1746 |
-
}
|
1747 |
-
|
1748 |
-
.radio,
|
1749 |
-
.checkbox {
|
1750 |
-
display: block;
|
1751 |
-
min-height: 20px;
|
1752 |
-
padding-left: 20px;
|
1753 |
-
margin-top: 10px;
|
1754 |
-
margin-bottom: 10px;
|
1755 |
-
vertical-align: middle;
|
1756 |
-
}
|
1757 |
-
|
1758 |
-
.radio label,
|
1759 |
-
.checkbox label {
|
1760 |
-
display: inline;
|
1761 |
-
margin-bottom: 0;
|
1762 |
-
font-weight: normal;
|
1763 |
-
cursor: pointer;
|
1764 |
-
}
|
1765 |
-
|
1766 |
-
.radio input[type="radio"],
|
1767 |
-
.radio-inline input[type="radio"],
|
1768 |
-
.checkbox input[type="checkbox"],
|
1769 |
-
.checkbox-inline input[type="checkbox"] {
|
1770 |
-
float: left;
|
1771 |
-
margin-left: -20px;
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
.radio + .radio,
|
1775 |
-
.checkbox + .checkbox {
|
1776 |
-
margin-top: -5px;
|
1777 |
-
}
|
1778 |
-
|
1779 |
-
.radio-inline,
|
1780 |
-
.checkbox-inline {
|
1781 |
-
display: inline-block;
|
1782 |
-
padding-left: 20px;
|
1783 |
-
margin-bottom: 0;
|
1784 |
-
font-weight: normal;
|
1785 |
-
vertical-align: middle;
|
1786 |
-
cursor: pointer;
|
1787 |
-
}
|
1788 |
-
|
1789 |
-
.radio-inline + .radio-inline,
|
1790 |
-
.checkbox-inline + .checkbox-inline {
|
1791 |
-
margin-top: 0;
|
1792 |
-
margin-left: 10px;
|
1793 |
-
}
|
1794 |
-
|
1795 |
-
input[type="radio"][disabled],
|
1796 |
-
input[type="checkbox"][disabled],
|
1797 |
-
.radio[disabled],
|
1798 |
-
.radio-inline[disabled],
|
1799 |
-
.checkbox[disabled],
|
1800 |
-
.checkbox-inline[disabled],
|
1801 |
-
fieldset[disabled] input[type="radio"],
|
1802 |
-
fieldset[disabled] input[type="checkbox"],
|
1803 |
-
fieldset[disabled] .radio,
|
1804 |
-
fieldset[disabled] .radio-inline,
|
1805 |
-
fieldset[disabled] .checkbox,
|
1806 |
-
fieldset[disabled] .checkbox-inline {
|
1807 |
-
cursor: not-allowed;
|
1808 |
-
}
|
1809 |
-
|
1810 |
-
.input-sm {
|
1811 |
-
height: 30px;
|
1812 |
-
padding: 5px 10px;
|
1813 |
-
font-size: 12px;
|
1814 |
-
line-height: 1.5;
|
1815 |
-
border-radius: 3px;
|
1816 |
-
}
|
1817 |
-
|
1818 |
-
select.input-sm {
|
1819 |
-
height: 30px;
|
1820 |
-
line-height: 30px;
|
1821 |
-
}
|
1822 |
-
|
1823 |
-
textarea.input-sm {
|
1824 |
-
height: auto;
|
1825 |
-
}
|
1826 |
-
|
1827 |
-
.input-lg {
|
1828 |
-
height: 45px;
|
1829 |
-
padding: 10px 16px;
|
1830 |
-
font-size: 18px;
|
1831 |
-
line-height: 1.33;
|
1832 |
-
border-radius: 6px;
|
1833 |
-
}
|
1834 |
-
|
1835 |
-
select.input-lg {
|
1836 |
-
height: 45px;
|
1837 |
-
line-height: 45px;
|
1838 |
-
}
|
1839 |
-
|
1840 |
-
textarea.input-lg {
|
1841 |
-
height: auto;
|
1842 |
-
}
|
1843 |
-
|
1844 |
-
.has-warning .help-block,
|
1845 |
-
.has-warning .control-label {
|
1846 |
-
color: #c09853;
|
1847 |
-
}
|
1848 |
-
|
1849 |
-
.has-warning .form-control {
|
1850 |
-
border-color: #c09853;
|
1851 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1852 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1853 |
-
}
|
1854 |
-
|
1855 |
-
.has-warning .form-control:focus {
|
1856 |
-
border-color: #a47e3c;
|
1857 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
|
1858 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
|
1859 |
-
}
|
1860 |
-
|
1861 |
-
.has-warning .input-group-addon {
|
1862 |
-
color: #c09853;
|
1863 |
-
background-color: #fcf8e3;
|
1864 |
-
border-color: #c09853;
|
1865 |
-
}
|
1866 |
-
|
1867 |
-
.has-error .help-block,
|
1868 |
-
.has-error .control-label {
|
1869 |
-
color: #b94a48;
|
1870 |
-
}
|
1871 |
-
|
1872 |
-
.has-error .form-control {
|
1873 |
-
border-color: #b94a48;
|
1874 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1875 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1876 |
-
}
|
1877 |
-
|
1878 |
-
.has-error .form-control:focus {
|
1879 |
-
border-color: #953b39;
|
1880 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
1881 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
1882 |
-
}
|
1883 |
-
|
1884 |
-
.has-error .input-group-addon {
|
1885 |
-
color: #b94a48;
|
1886 |
-
background-color: #f2dede;
|
1887 |
-
border-color: #b94a48;
|
1888 |
-
}
|
1889 |
-
|
1890 |
-
.has-success .help-block,
|
1891 |
-
.has-success .control-label {
|
1892 |
-
color: #468847;
|
1893 |
-
}
|
1894 |
-
|
1895 |
-
.has-success .form-control {
|
1896 |
-
border-color: #468847;
|
1897 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1898 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
1899 |
-
}
|
1900 |
-
|
1901 |
-
.has-success .form-control:focus {
|
1902 |
-
border-color: #356635;
|
1903 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
|
1904 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
|
1905 |
-
}
|
1906 |
-
|
1907 |
-
.has-success .input-group-addon {
|
1908 |
-
color: #468847;
|
1909 |
-
background-color: #dff0d8;
|
1910 |
-
border-color: #468847;
|
1911 |
-
}
|
1912 |
-
|
1913 |
-
.form-control-static {
|
1914 |
-
padding-top: 7px;
|
1915 |
-
margin-bottom: 0;
|
1916 |
-
}
|
1917 |
-
|
1918 |
-
.help-block {
|
1919 |
-
display: block;
|
1920 |
-
margin-top: 5px;
|
1921 |
-
margin-bottom: 10px;
|
1922 |
-
color: #737373;
|
1923 |
-
}
|
1924 |
-
|
1925 |
-
@media (min-width: 768px) {
|
1926 |
-
.form-inline .form-group {
|
1927 |
-
display: inline-block;
|
1928 |
-
margin-bottom: 0;
|
1929 |
-
vertical-align: middle;
|
1930 |
-
}
|
1931 |
-
.form-inline .form-control {
|
1932 |
-
display: inline-block;
|
1933 |
-
}
|
1934 |
-
.form-inline .radio,
|
1935 |
-
.form-inline .checkbox {
|
1936 |
-
display: inline-block;
|
1937 |
-
padding-left: 0;
|
1938 |
-
margin-top: 0;
|
1939 |
-
margin-bottom: 0;
|
1940 |
-
}
|
1941 |
-
.form-inline .radio input[type="radio"],
|
1942 |
-
.form-inline .checkbox input[type="checkbox"] {
|
1943 |
-
float: none;
|
1944 |
-
margin-left: 0;
|
1945 |
-
}
|
1946 |
-
}
|
1947 |
-
|
1948 |
-
.form-horizontal .control-label,
|
1949 |
-
.form-horizontal .radio,
|
1950 |
-
.form-horizontal .checkbox,
|
1951 |
-
.form-horizontal .radio-inline,
|
1952 |
-
.form-horizontal .checkbox-inline {
|
1953 |
-
padding-top: 7px;
|
1954 |
-
margin-top: 0;
|
1955 |
-
margin-bottom: 0;
|
1956 |
-
}
|
1957 |
-
|
1958 |
-
.form-horizontal .form-group {
|
1959 |
-
margin-right: -15px;
|
1960 |
-
margin-left: -15px;
|
1961 |
-
}
|
1962 |
-
|
1963 |
-
.form-horizontal .form-group:before,
|
1964 |
-
.form-horizontal .form-group:after {
|
1965 |
-
display: table;
|
1966 |
-
content: " ";
|
1967 |
-
}
|
1968 |
-
|
1969 |
-
.form-horizontal .form-group:after {
|
1970 |
-
clear: both;
|
1971 |
-
}
|
1972 |
-
|
1973 |
-
.form-horizontal .form-group:before,
|
1974 |
-
.form-horizontal .form-group:after {
|
1975 |
-
display: table;
|
1976 |
-
content: " ";
|
1977 |
-
}
|
1978 |
-
|
1979 |
-
.form-horizontal .form-group:after {
|
1980 |
-
clear: both;
|
1981 |
-
}
|
1982 |
-
|
1983 |
-
@media (min-width: 768px) {
|
1984 |
-
.form-horizontal .control-label {
|
1985 |
-
text-align: right;
|
1986 |
-
}
|
1987 |
-
}
|
1988 |
-
|
1989 |
-
.btn {
|
1990 |
-
display: inline-block;
|
1991 |
-
padding: 6px 12px;
|
1992 |
-
margin-bottom: 0;
|
1993 |
-
font-size: 14px;
|
1994 |
-
font-weight: normal;
|
1995 |
-
line-height: 1.428571429;
|
1996 |
-
text-align: center;
|
1997 |
-
white-space: nowrap;
|
1998 |
-
vertical-align: middle;
|
1999 |
-
cursor: pointer;
|
2000 |
-
border: 1px solid transparent;
|
2001 |
-
border-radius: 4px;
|
2002 |
-
-webkit-user-select: none;
|
2003 |
-
-moz-user-select: none;
|
2004 |
-
-ms-user-select: none;
|
2005 |
-
-o-user-select: none;
|
2006 |
-
user-select: none;
|
2007 |
-
}
|
2008 |
-
|
2009 |
-
.btn:focus {
|
2010 |
-
outline: thin dotted #333;
|
2011 |
-
outline: 5px auto -webkit-focus-ring-color;
|
2012 |
-
outline-offset: -2px;
|
2013 |
-
}
|
2014 |
-
|
2015 |
-
.btn:hover,
|
2016 |
-
.btn:focus {
|
2017 |
-
color: #333333;
|
2018 |
-
text-decoration: none;
|
2019 |
-
}
|
2020 |
-
|
2021 |
-
.btn:active,
|
2022 |
-
.btn.active {
|
2023 |
-
background-image: none;
|
2024 |
-
outline: 0;
|
2025 |
-
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
2026 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
2027 |
-
}
|
2028 |
-
|
2029 |
-
.btn.disabled,
|
2030 |
-
.btn[disabled],
|
2031 |
-
fieldset[disabled] .btn {
|
2032 |
-
pointer-events: none;
|
2033 |
-
cursor: not-allowed;
|
2034 |
-
opacity: 0.65;
|
2035 |
-
filter: alpha(opacity=65);
|
2036 |
-
-webkit-box-shadow: none;
|
2037 |
-
box-shadow: none;
|
2038 |
-
}
|
2039 |
-
|
2040 |
-
.btn-default {
|
2041 |
-
color: #333333;
|
2042 |
-
background-color: #ffffff;
|
2043 |
-
border-color: #cccccc;
|
2044 |
-
}
|
2045 |
-
|
2046 |
-
.btn-default:hover,
|
2047 |
-
.btn-default:focus,
|
2048 |
-
.btn-default:active,
|
2049 |
-
.btn-default.active,
|
2050 |
-
.open .dropdown-toggle.btn-default {
|
2051 |
-
color: #333333;
|
2052 |
-
background-color: #ebebeb;
|
2053 |
-
border-color: #adadad;
|
2054 |
-
}
|
2055 |
-
|
2056 |
-
.btn-default:active,
|
2057 |
-
.btn-default.active,
|
2058 |
-
.open .dropdown-toggle.btn-default {
|
2059 |
-
background-image: none;
|
2060 |
-
}
|
2061 |
-
|
2062 |
-
.btn-default.disabled,
|
2063 |
-
.btn-default[disabled],
|
2064 |
-
fieldset[disabled] .btn-default,
|
2065 |
-
.btn-default.disabled:hover,
|
2066 |
-
.btn-default[disabled]:hover,
|
2067 |
-
fieldset[disabled] .btn-default:hover,
|
2068 |
-
.btn-default.disabled:focus,
|
2069 |
-
.btn-default[disabled]:focus,
|
2070 |
-
fieldset[disabled] .btn-default:focus,
|
2071 |
-
.btn-default.disabled:active,
|
2072 |
-
.btn-default[disabled]:active,
|
2073 |
-
fieldset[disabled] .btn-default:active,
|
2074 |
-
.btn-default.disabled.active,
|
2075 |
-
.btn-default[disabled].active,
|
2076 |
-
fieldset[disabled] .btn-default.active {
|
2077 |
-
background-color: #ffffff;
|
2078 |
-
border-color: #cccccc;
|
2079 |
-
}
|
2080 |
-
|
2081 |
-
.btn-primary {
|
2082 |
-
color: #ffffff;
|
2083 |
-
background-color: #428bca;
|
2084 |
-
border-color: #357ebd;
|
2085 |
-
}
|
2086 |
-
|
2087 |
-
.btn-primary:hover,
|
2088 |
-
.btn-primary:focus,
|
2089 |
-
.btn-primary:active,
|
2090 |
-
.btn-primary.active,
|
2091 |
-
.open .dropdown-toggle.btn-primary {
|
2092 |
-
color: #ffffff;
|
2093 |
-
background-color: #3276b1;
|
2094 |
-
border-color: #285e8e;
|
2095 |
-
}
|
2096 |
-
|
2097 |
-
.btn-primary:active,
|
2098 |
-
.btn-primary.active,
|
2099 |
-
.open .dropdown-toggle.btn-primary {
|
2100 |
-
background-image: none;
|
2101 |
-
}
|
2102 |
-
|
2103 |
-
.btn-primary.disabled,
|
2104 |
-
.btn-primary[disabled],
|
2105 |
-
fieldset[disabled] .btn-primary,
|
2106 |
-
.btn-primary.disabled:hover,
|
2107 |
-
.btn-primary[disabled]:hover,
|
2108 |
-
fieldset[disabled] .btn-primary:hover,
|
2109 |
-
.btn-primary.disabled:focus,
|
2110 |
-
.btn-primary[disabled]:focus,
|
2111 |
-
fieldset[disabled] .btn-primary:focus,
|
2112 |
-
.btn-primary.disabled:active,
|
2113 |
-
.btn-primary[disabled]:active,
|
2114 |
-
fieldset[disabled] .btn-primary:active,
|
2115 |
-
.btn-primary.disabled.active,
|
2116 |
-
.btn-primary[disabled].active,
|
2117 |
-
fieldset[disabled] .btn-primary.active {
|
2118 |
-
background-color: #428bca;
|
2119 |
-
border-color: #357ebd;
|
2120 |
-
}
|
2121 |
-
|
2122 |
-
.btn-warning {
|
2123 |
-
color: #ffffff;
|
2124 |
-
background-color: #f0ad4e;
|
2125 |
-
border-color: #eea236;
|
2126 |
-
}
|
2127 |
-
|
2128 |
-
.btn-warning:hover,
|
2129 |
-
.btn-warning:focus,
|
2130 |
-
.btn-warning:active,
|
2131 |
-
.btn-warning.active,
|
2132 |
-
.open .dropdown-toggle.btn-warning {
|
2133 |
-
color: #ffffff;
|
2134 |
-
background-color: #ed9c28;
|
2135 |
-
border-color: #d58512;
|
2136 |
-
}
|
2137 |
-
|
2138 |
-
.btn-warning:active,
|
2139 |
-
.btn-warning.active,
|
2140 |
-
.open .dropdown-toggle.btn-warning {
|
2141 |
-
background-image: none;
|
2142 |
-
}
|
2143 |
-
|
2144 |
-
.btn-warning.disabled,
|
2145 |
-
.btn-warning[disabled],
|
2146 |
-
fieldset[disabled] .btn-warning,
|
2147 |
-
.btn-warning.disabled:hover,
|
2148 |
-
.btn-warning[disabled]:hover,
|
2149 |
-
fieldset[disabled] .btn-warning:hover,
|
2150 |
-
.btn-warning.disabled:focus,
|
2151 |
-
.btn-warning[disabled]:focus,
|
2152 |
-
fieldset[disabled] .btn-warning:focus,
|
2153 |
-
.btn-warning.disabled:active,
|
2154 |
-
.btn-warning[disabled]:active,
|
2155 |
-
fieldset[disabled] .btn-warning:active,
|
2156 |
-
.btn-warning.disabled.active,
|
2157 |
-
.btn-warning[disabled].active,
|
2158 |
-
fieldset[disabled] .btn-warning.active {
|
2159 |
-
background-color: #f0ad4e;
|
2160 |
-
border-color: #eea236;
|
2161 |
-
}
|
2162 |
-
|
2163 |
-
.btn-danger {
|
2164 |
-
color: #ffffff;
|
2165 |
-
background-color: #d9534f;
|
2166 |
-
border-color: #d43f3a;
|
2167 |
-
}
|
2168 |
-
|
2169 |
-
.btn-danger:hover,
|
2170 |
-
.btn-danger:focus,
|
2171 |
-
.btn-danger:active,
|
2172 |
-
.btn-danger.active,
|
2173 |
-
.open .dropdown-toggle.btn-danger {
|
2174 |
-
color: #ffffff;
|
2175 |
-
background-color: #d2322d;
|
2176 |
-
border-color: #ac2925;
|
2177 |
-
}
|
2178 |
-
|
2179 |
-
.btn-danger:active,
|
2180 |
-
.btn-danger.active,
|
2181 |
-
.open .dropdown-toggle.btn-danger {
|
2182 |
-
background-image: none;
|
2183 |
-
}
|
2184 |
-
|
2185 |
-
.btn-danger.disabled,
|
2186 |
-
.btn-danger[disabled],
|
2187 |
-
fieldset[disabled] .btn-danger,
|
2188 |
-
.btn-danger.disabled:hover,
|
2189 |
-
.btn-danger[disabled]:hover,
|
2190 |
-
fieldset[disabled] .btn-danger:hover,
|
2191 |
-
.btn-danger.disabled:focus,
|
2192 |
-
.btn-danger[disabled]:focus,
|
2193 |
-
fieldset[disabled] .btn-danger:focus,
|
2194 |
-
.btn-danger.disabled:active,
|
2195 |
-
.btn-danger[disabled]:active,
|
2196 |
-
fieldset[disabled] .btn-danger:active,
|
2197 |
-
.btn-danger.disabled.active,
|
2198 |
-
.btn-danger[disabled].active,
|
2199 |
-
fieldset[disabled] .btn-danger.active {
|
2200 |
-
background-color: #d9534f;
|
2201 |
-
border-color: #d43f3a;
|
2202 |
-
}
|
2203 |
-
|
2204 |
-
.btn-success {
|
2205 |
-
color: #ffffff;
|
2206 |
-
background-color: #5cb85c;
|
2207 |
-
border-color: #4cae4c;
|
2208 |
-
}
|
2209 |
-
|
2210 |
-
.btn-success:hover,
|
2211 |
-
.btn-success:focus,
|
2212 |
-
.btn-success:active,
|
2213 |
-
.btn-success.active,
|
2214 |
-
.open .dropdown-toggle.btn-success {
|
2215 |
-
color: #ffffff;
|
2216 |
-
background-color: #47a447;
|
2217 |
-
border-color: #398439;
|
2218 |
-
}
|
2219 |
-
|
2220 |
-
.btn-success:active,
|
2221 |
-
.btn-success.active,
|
2222 |
-
.open .dropdown-toggle.btn-success {
|
2223 |
-
background-image: none;
|
2224 |
-
}
|
2225 |
-
|
2226 |
-
.btn-success.disabled,
|
2227 |
-
.btn-success[disabled],
|
2228 |
-
fieldset[disabled] .btn-success,
|
2229 |
-
.btn-success.disabled:hover,
|
2230 |
-
.btn-success[disabled]:hover,
|
2231 |
-
fieldset[disabled] .btn-success:hover,
|
2232 |
-
.btn-success.disabled:focus,
|
2233 |
-
.btn-success[disabled]:focus,
|
2234 |
-
fieldset[disabled] .btn-success:focus,
|
2235 |
-
.btn-success.disabled:active,
|
2236 |
-
.btn-success[disabled]:active,
|
2237 |
-
fieldset[disabled] .btn-success:active,
|
2238 |
-
.btn-success.disabled.active,
|
2239 |
-
.btn-success[disabled].active,
|
2240 |
-
fieldset[disabled] .btn-success.active {
|
2241 |
-
background-color: #5cb85c;
|
2242 |
-
border-color: #4cae4c;
|
2243 |
-
}
|
2244 |
-
|
2245 |
-
.btn-info {
|
2246 |
-
color: #ffffff;
|
2247 |
-
background-color: #5bc0de;
|
2248 |
-
border-color: #46b8da;
|
2249 |
-
}
|
2250 |
-
|
2251 |
-
.btn-info:hover,
|
2252 |
-
.btn-info:focus,
|
2253 |
-
.btn-info:active,
|
2254 |
-
.btn-info.active,
|
2255 |
-
.open .dropdown-toggle.btn-info {
|
2256 |
-
color: #ffffff;
|
2257 |
-
background-color: #39b3d7;
|
2258 |
-
border-color: #269abc;
|
2259 |
-
}
|
2260 |
-
|
2261 |
-
.btn-info:active,
|
2262 |
-
.btn-info.active,
|
2263 |
-
.open .dropdown-toggle.btn-info {
|
2264 |
-
background-image: none;
|
2265 |
-
}
|
2266 |
-
|
2267 |
-
.btn-info.disabled,
|
2268 |
-
.btn-info[disabled],
|
2269 |
-
fieldset[disabled] .btn-info,
|
2270 |
-
.btn-info.disabled:hover,
|
2271 |
-
.btn-info[disabled]:hover,
|
2272 |
-
fieldset[disabled] .btn-info:hover,
|
2273 |
-
.btn-info.disabled:focus,
|
2274 |
-
.btn-info[disabled]:focus,
|
2275 |
-
fieldset[disabled] .btn-info:focus,
|
2276 |
-
.btn-info.disabled:active,
|
2277 |
-
.btn-info[disabled]:active,
|
2278 |
-
fieldset[disabled] .btn-info:active,
|
2279 |
-
.btn-info.disabled.active,
|
2280 |
-
.btn-info[disabled].active,
|
2281 |
-
fieldset[disabled] .btn-info.active {
|
2282 |
-
background-color: #5bc0de;
|
2283 |
-
border-color: #46b8da;
|
2284 |
-
}
|
2285 |
-
|
2286 |
-
.btn-link {
|
2287 |
-
font-weight: normal;
|
2288 |
-
color: #428bca;
|
2289 |
-
cursor: pointer;
|
2290 |
-
border-radius: 0;
|
2291 |
-
}
|
2292 |
-
|
2293 |
-
.btn-link,
|
2294 |
-
.btn-link:active,
|
2295 |
-
.btn-link[disabled],
|
2296 |
-
fieldset[disabled] .btn-link {
|
2297 |
-
background-color: transparent;
|
2298 |
-
-webkit-box-shadow: none;
|
2299 |
-
box-shadow: none;
|
2300 |
-
}
|
2301 |
-
|
2302 |
-
.btn-link,
|
2303 |
-
.btn-link:hover,
|
2304 |
-
.btn-link:focus,
|
2305 |
-
.btn-link:active {
|
2306 |
-
border-color: transparent;
|
2307 |
-
}
|
2308 |
-
|
2309 |
-
.btn-link:hover,
|
2310 |
-
.btn-link:focus {
|
2311 |
-
color: #2a6496;
|
2312 |
-
text-decoration: underline;
|
2313 |
-
background-color: transparent;
|
2314 |
-
}
|
2315 |
-
|
2316 |
-
.btn-link[disabled]:hover,
|
2317 |
-
fieldset[disabled] .btn-link:hover,
|
2318 |
-
.btn-link[disabled]:focus,
|
2319 |
-
fieldset[disabled] .btn-link:focus {
|
2320 |
-
color: #999999;
|
2321 |
-
text-decoration: none;
|
2322 |
-
}
|
2323 |
-
|
2324 |
-
.btn-lg {
|
2325 |
-
padding: 10px 16px;
|
2326 |
-
font-size: 18px;
|
2327 |
-
line-height: 1.33;
|
2328 |
-
border-radius: 6px;
|
2329 |
-
}
|
2330 |
-
|
2331 |
-
.btn-sm,
|
2332 |
-
.btn-xs {
|
2333 |
-
padding: 5px 10px;
|
2334 |
-
font-size: 12px;
|
2335 |
-
line-height: 1.5;
|
2336 |
-
border-radius: 3px;
|
2337 |
-
}
|
2338 |
-
|
2339 |
-
.btn-xs {
|
2340 |
-
padding: 1px 5px;
|
2341 |
-
}
|
2342 |
-
|
2343 |
-
.btn-block {
|
2344 |
-
display: block;
|
2345 |
-
width: 100%;
|
2346 |
-
padding-right: 0;
|
2347 |
-
padding-left: 0;
|
2348 |
-
}
|
2349 |
-
|
2350 |
-
.btn-block + .btn-block {
|
2351 |
-
margin-top: 5px;
|
2352 |
-
}
|
2353 |
-
|
2354 |
-
input[type="submit"].btn-block,
|
2355 |
-
input[type="reset"].btn-block,
|
2356 |
-
input[type="button"].btn-block {
|
2357 |
-
width: 100%;
|
2358 |
-
}
|
2359 |
-
|
2360 |
-
.fade {
|
2361 |
-
opacity: 0;
|
2362 |
-
-webkit-transition: opacity 0.15s linear;
|
2363 |
-
transition: opacity 0.15s linear;
|
2364 |
-
}
|
2365 |
-
|
2366 |
-
.fade.in {
|
2367 |
-
opacity: 1;
|
2368 |
-
}
|
2369 |
-
|
2370 |
-
.collapse {
|
2371 |
-
display: none;
|
2372 |
-
}
|
2373 |
-
|
2374 |
-
.collapse.in {
|
2375 |
-
display: block;
|
2376 |
-
}
|
2377 |
-
|
2378 |
-
.collapsing {
|
2379 |
-
position: relative;
|
2380 |
-
height: 0;
|
2381 |
-
overflow: hidden;
|
2382 |
-
-webkit-transition: height 0.35s ease;
|
2383 |
-
transition: height 0.35s ease;
|
2384 |
-
}
|
2385 |
-
|
2386 |
-
@font-face {
|
2387 |
-
font-family: 'Glyphicons Halflings';
|
2388 |
-
src: url('../fonts/glyphicons-halflings-regular.eot');
|
2389 |
-
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
|
2390 |
-
}
|
2391 |
-
|
2392 |
-
.glyphicon {
|
2393 |
-
position: relative;
|
2394 |
-
top: 1px;
|
2395 |
-
display: inline-block;
|
2396 |
-
font-family: 'Glyphicons Halflings';
|
2397 |
-
-webkit-font-smoothing: antialiased;
|
2398 |
-
font-style: normal;
|
2399 |
-
font-weight: normal;
|
2400 |
-
line-height: 1;
|
2401 |
-
}
|
2402 |
-
|
2403 |
-
.glyphicon-asterisk:before {
|
2404 |
-
content: "\2a";
|
2405 |
-
}
|
2406 |
-
|
2407 |
-
.glyphicon-plus:before {
|
2408 |
-
content: "\2b";
|
2409 |
-
}
|
2410 |
-
|
2411 |
-
.glyphicon-euro:before {
|
2412 |
-
content: "\20ac";
|
2413 |
-
}
|
2414 |
-
|
2415 |
-
.glyphicon-minus:before {
|
2416 |
-
content: "\2212";
|
2417 |
-
}
|
2418 |
-
|
2419 |
-
.glyphicon-cloud:before {
|
2420 |
-
content: "\2601";
|
2421 |
-
}
|
2422 |
-
|
2423 |
-
.glyphicon-envelope:before {
|
2424 |
-
content: "\2709";
|
2425 |
-
}
|
2426 |
-
|
2427 |
-
.glyphicon-pencil:before {
|
2428 |
-
content: "\270f";
|
2429 |
-
}
|
2430 |
-
|
2431 |
-
.glyphicon-glass:before {
|
2432 |
-
content: "\e001";
|
2433 |
-
}
|
2434 |
-
|
2435 |
-
.glyphicon-music:before {
|
2436 |
-
content: "\e002";
|
2437 |
-
}
|
2438 |
-
|
2439 |
-
.glyphicon-search:before {
|
2440 |
-
content: "\e003";
|
2441 |
-
}
|
2442 |
-
|
2443 |
-
.glyphicon-heart:before {
|
2444 |
-
content: "\e005";
|
2445 |
-
}
|
2446 |
-
|
2447 |
-
.glyphicon-star:before {
|
2448 |
-
content: "\e006";
|
2449 |
-
}
|
2450 |
-
|
2451 |
-
.glyphicon-star-empty:before {
|
2452 |
-
content: "\e007";
|
2453 |
-
}
|
2454 |
-
|
2455 |
-
.glyphicon-user:before {
|
2456 |
-
content: "\e008";
|
2457 |
-
}
|
2458 |
-
|
2459 |
-
.glyphicon-film:before {
|
2460 |
-
content: "\e009";
|
2461 |
-
}
|
2462 |
-
|
2463 |
-
.glyphicon-th-large:before {
|
2464 |
-
content: "\e010";
|
2465 |
-
}
|
2466 |
-
|
2467 |
-
.glyphicon-th:before {
|
2468 |
-
content: "\e011";
|
2469 |
-
}
|
2470 |
-
|
2471 |
-
.glyphicon-th-list:before {
|
2472 |
-
content: "\e012";
|
2473 |
-
}
|
2474 |
-
|
2475 |
-
.glyphicon-ok:before {
|
2476 |
-
content: "\e013";
|
2477 |
-
}
|
2478 |
-
|
2479 |
-
.glyphicon-remove:before {
|
2480 |
-
content: "\e014";
|
2481 |
-
}
|
2482 |
-
|
2483 |
-
.glyphicon-zoom-in:before {
|
2484 |
-
content: "\e015";
|
2485 |
-
}
|
2486 |
-
|
2487 |
-
.glyphicon-zoom-out:before {
|
2488 |
-
content: "\e016";
|
2489 |
-
}
|
2490 |
-
|
2491 |
-
.glyphicon-off:before {
|
2492 |
-
content: "\e017";
|
2493 |
-
}
|
2494 |
-
|
2495 |
-
.glyphicon-signal:before {
|
2496 |
-
content: "\e018";
|
2497 |
-
}
|
2498 |
-
|
2499 |
-
.glyphicon-cog:before {
|
2500 |
-
content: "\e019";
|
2501 |
-
}
|
2502 |
-
|
2503 |
-
.glyphicon-trash:before {
|
2504 |
-
content: "\e020";
|
2505 |
-
}
|
2506 |
-
|
2507 |
-
.glyphicon-home:before {
|
2508 |
-
content: "\e021";
|
2509 |
-
}
|
2510 |
-
|
2511 |
-
.glyphicon-file:before {
|
2512 |
-
content: "\e022";
|
2513 |
-
}
|
2514 |
-
|
2515 |
-
.glyphicon-time:before {
|
2516 |
-
content: "\e023";
|
2517 |
-
}
|
2518 |
-
|
2519 |
-
.glyphicon-road:before {
|
2520 |
-
content: "\e024";
|
2521 |
-
}
|
2522 |
-
|
2523 |
-
.glyphicon-download-alt:before {
|
2524 |
-
content: "\e025";
|
2525 |
-
}
|
2526 |
-
|
2527 |
-
.glyphicon-download:before {
|
2528 |
-
content: "\e026";
|
2529 |
-
}
|
2530 |
-
|
2531 |
-
.glyphicon-upload:before {
|
2532 |
-
content: "\e027";
|
2533 |
-
}
|
2534 |
-
|
2535 |
-
.glyphicon-inbox:before {
|
2536 |
-
content: "\e028";
|
2537 |
-
}
|
2538 |
-
|
2539 |
-
.glyphicon-play-circle:before {
|
2540 |
-
content: "\e029";
|
2541 |
-
}
|
2542 |
-
|
2543 |
-
.glyphicon-repeat:before {
|
2544 |
-
content: "\e030";
|
2545 |
-
}
|
2546 |
-
|
2547 |
-
.glyphicon-refresh:before {
|
2548 |
-
content: "\e031";
|
2549 |
-
}
|
2550 |
-
|
2551 |
-
.glyphicon-list-alt:before {
|
2552 |
-
content: "\e032";
|
2553 |
-
}
|
2554 |
-
|
2555 |
-
.glyphicon-flag:before {
|
2556 |
-
content: "\e034";
|
2557 |
-
}
|
2558 |
-
|
2559 |
-
.glyphicon-headphones:before {
|
2560 |
-
content: "\e035";
|
2561 |
-
}
|
2562 |
-
|
2563 |
-
.glyphicon-volume-off:before {
|
2564 |
-
content: "\e036";
|
2565 |
-
}
|
2566 |
-
|
2567 |
-
.glyphicon-volume-down:before {
|
2568 |
-
content: "\e037";
|
2569 |
-
}
|
2570 |
-
|
2571 |
-
.glyphicon-volume-up:before {
|
2572 |
-
content: "\e038";
|
2573 |
-
}
|
2574 |
-
|
2575 |
-
.glyphicon-qrcode:before {
|
2576 |
-
content: "\e039";
|
2577 |
-
}
|
2578 |
-
|
2579 |
-
.glyphicon-barcode:before {
|
2580 |
-
content: "\e040";
|
2581 |
-
}
|
2582 |
-
|
2583 |
-
.glyphicon-tag:before {
|
2584 |
-
content: "\e041";
|
2585 |
-
}
|
2586 |
-
|
2587 |
-
.glyphicon-tags:before {
|
2588 |
-
content: "\e042";
|
2589 |
-
}
|
2590 |
-
|
2591 |
-
.glyphicon-book:before {
|
2592 |
-
content: "\e043";
|
2593 |
-
}
|
2594 |
-
|
2595 |
-
.glyphicon-print:before {
|
2596 |
-
content: "\e045";
|
2597 |
-
}
|
2598 |
-
|
2599 |
-
.glyphicon-font:before {
|
2600 |
-
content: "\e047";
|
2601 |
-
}
|
2602 |
-
|
2603 |
-
.glyphicon-bold:before {
|
2604 |
-
content: "\e048";
|
2605 |
-
}
|
2606 |
-
|
2607 |
-
.glyphicon-italic:before {
|
2608 |
-
content: "\e049";
|
2609 |
-
}
|
2610 |
-
|
2611 |
-
.glyphicon-text-height:before {
|
2612 |
-
content: "\e050";
|
2613 |
-
}
|
2614 |
-
|
2615 |
-
.glyphicon-text-width:before {
|
2616 |
-
content: "\e051";
|
2617 |
-
}
|
2618 |
-
|
2619 |
-
.glyphicon-align-left:before {
|
2620 |
-
content: "\e052";
|
2621 |
-
}
|
2622 |
-
|
2623 |
-
.glyphicon-align-center:before {
|
2624 |
-
content: "\e053";
|
2625 |
-
}
|
2626 |
-
|
2627 |
-
.glyphicon-align-right:before {
|
2628 |
-
content: "\e054";
|
2629 |
-
}
|
2630 |
-
|
2631 |
-
.glyphicon-align-justify:before {
|
2632 |
-
content: "\e055";
|
2633 |
-
}
|
2634 |
-
|
2635 |
-
.glyphicon-list:before {
|
2636 |
-
content: "\e056";
|
2637 |
-
}
|
2638 |
-
|
2639 |
-
.glyphicon-indent-left:before {
|
2640 |
-
content: "\e057";
|
2641 |
-
}
|
2642 |
-
|
2643 |
-
.glyphicon-indent-right:before {
|
2644 |
-
content: "\e058";
|
2645 |
-
}
|
2646 |
-
|
2647 |
-
.glyphicon-facetime-video:before {
|
2648 |
-
content: "\e059";
|
2649 |
-
}
|
2650 |
-
|
2651 |
-
.glyphicon-picture:before {
|
2652 |
-
content: "\e060";
|
2653 |
-
}
|
2654 |
-
|
2655 |
-
.glyphicon-map-marker:before {
|
2656 |
-
content: "\e062";
|
2657 |
-
}
|
2658 |
-
|
2659 |
-
.glyphicon-adjust:before {
|
2660 |
-
content: "\e063";
|
2661 |
-
}
|
2662 |
-
|
2663 |
-
.glyphicon-tint:before {
|
2664 |
-
content: "\e064";
|
2665 |
-
}
|
2666 |
-
|
2667 |
-
.glyphicon-edit:before {
|
2668 |
-
content: "\e065";
|
2669 |
-
}
|
2670 |
-
|
2671 |
-
.glyphicon-share:before {
|
2672 |
-
content: "\e066";
|
2673 |
-
}
|
2674 |
-
|
2675 |
-
.glyphicon-check:before {
|
2676 |
-
content: "\e067";
|
2677 |
-
}
|
2678 |
-
|
2679 |
-
.glyphicon-move:before {
|
2680 |
-
content: "\e068";
|
2681 |
-
}
|
2682 |
-
|
2683 |
-
.glyphicon-step-backward:before {
|
2684 |
-
content: "\e069";
|
2685 |
-
}
|
2686 |
-
|
2687 |
-
.glyphicon-fast-backward:before {
|
2688 |
-
content: "\e070";
|
2689 |
-
}
|
2690 |
-
|
2691 |
-
.glyphicon-backward:before {
|
2692 |
-
content: "\e071";
|
2693 |
-
}
|
2694 |
-
|
2695 |
-
.glyphicon-play:before {
|
2696 |
-
content: "\e072";
|
2697 |
-
}
|
2698 |
-
|
2699 |
-
.glyphicon-pause:before {
|
2700 |
-
content: "\e073";
|
2701 |
-
}
|
2702 |
-
|
2703 |
-
.glyphicon-stop:before {
|
2704 |
-
content: "\e074";
|
2705 |
-
}
|
2706 |
-
|
2707 |
-
.glyphicon-forward:before {
|
2708 |
-
content: "\e075";
|
2709 |
-
}
|
2710 |
-
|
2711 |
-
.glyphicon-fast-forward:before {
|
2712 |
-
content: "\e076";
|
2713 |
-
}
|
2714 |
-
|
2715 |
-
.glyphicon-step-forward:before {
|
2716 |
-
content: "\e077";
|
2717 |
-
}
|
2718 |
-
|
2719 |
-
.glyphicon-eject:before {
|
2720 |
-
content: "\e078";
|
2721 |
-
}
|
2722 |
-
|
2723 |
-
.glyphicon-chevron-left:before {
|
2724 |
-
content: "\e079";
|
2725 |
-
}
|
2726 |
-
|
2727 |
-
.glyphicon-chevron-right:before {
|
2728 |
-
content: "\e080";
|
2729 |
-
}
|
2730 |
-
|
2731 |
-
.glyphicon-plus-sign:before {
|
2732 |
-
content: "\e081";
|
2733 |
-
}
|
2734 |
-
|
2735 |
-
.glyphicon-minus-sign:before {
|
2736 |
-
content: "\e082";
|
2737 |
-
}
|
2738 |
-
|
2739 |
-
.glyphicon-remove-sign:before {
|
2740 |
-
content: "\e083";
|
2741 |
-
}
|
2742 |
-
|
2743 |
-
.glyphicon-ok-sign:before {
|
2744 |
-
content: "\e084";
|
2745 |
-
}
|
2746 |
-
|
2747 |
-
.glyphicon-question-sign:before {
|
2748 |
-
content: "\e085";
|
2749 |
-
}
|
2750 |
-
|
2751 |
-
.glyphicon-info-sign:before {
|
2752 |
-
content: "\e086";
|
2753 |
-
}
|
2754 |
-
|
2755 |
-
.glyphicon-screenshot:before {
|
2756 |
-
content: "\e087";
|
2757 |
-
}
|
2758 |
-
|
2759 |
-
.glyphicon-remove-circle:before {
|
2760 |
-
content: "\e088";
|
2761 |
-
}
|
2762 |
-
|
2763 |
-
.glyphicon-ok-circle:before {
|
2764 |
-
content: "\e089";
|
2765 |
-
}
|
2766 |
-
|
2767 |
-
.glyphicon-ban-circle:before {
|
2768 |
-
content: "\e090";
|
2769 |
-
}
|
2770 |
-
|
2771 |
-
.glyphicon-arrow-left:before {
|
2772 |
-
content: "\e091";
|
2773 |
-
}
|
2774 |
-
|
2775 |
-
.glyphicon-arrow-right:before {
|
2776 |
-
content: "\e092";
|
2777 |
-
}
|
2778 |
-
|
2779 |
-
.glyphicon-arrow-up:before {
|
2780 |
-
content: "\e093";
|
2781 |
-
}
|
2782 |
-
|
2783 |
-
.glyphicon-arrow-down:before {
|
2784 |
-
content: "\e094";
|
2785 |
-
}
|
2786 |
-
|
2787 |
-
.glyphicon-share-alt:before {
|
2788 |
-
content: "\e095";
|
2789 |
-
}
|
2790 |
-
|
2791 |
-
.glyphicon-resize-full:before {
|
2792 |
-
content: "\e096";
|
2793 |
-
}
|
2794 |
-
|
2795 |
-
.glyphicon-resize-small:before {
|
2796 |
-
content: "\e097";
|
2797 |
-
}
|
2798 |
-
|
2799 |
-
.glyphicon-exclamation-sign:before {
|
2800 |
-
content: "\e101";
|
2801 |
-
}
|
2802 |
-
|
2803 |
-
.glyphicon-gift:before {
|
2804 |
-
content: "\e102";
|
2805 |
-
}
|
2806 |
-
|
2807 |
-
.glyphicon-leaf:before {
|
2808 |
-
content: "\e103";
|
2809 |
-
}
|
2810 |
-
|
2811 |
-
.glyphicon-eye-open:before {
|
2812 |
-
content: "\e105";
|
2813 |
-
}
|
2814 |
-
|
2815 |
-
.glyphicon-eye-close:before {
|
2816 |
-
content: "\e106";
|
2817 |
-
}
|
2818 |
-
|
2819 |
-
.glyphicon-warning-sign:before {
|
2820 |
-
content: "\e107";
|
2821 |
-
}
|
2822 |
-
|
2823 |
-
.glyphicon-plane:before {
|
2824 |
-
content: "\e108";
|
2825 |
-
}
|
2826 |
-
|
2827 |
-
.glyphicon-random:before {
|
2828 |
-
content: "\e110";
|
2829 |
-
}
|
2830 |
-
|
2831 |
-
.glyphicon-comment:before {
|
2832 |
-
content: "\e111";
|
2833 |
-
}
|
2834 |
-
|
2835 |
-
.glyphicon-magnet:before {
|
2836 |
-
content: "\e112";
|
2837 |
-
}
|
2838 |
-
|
2839 |
-
.glyphicon-chevron-up:before {
|
2840 |
-
content: "\e113";
|
2841 |
-
}
|
2842 |
-
|
2843 |
-
.glyphicon-chevron-down:before {
|
2844 |
-
content: "\e114";
|
2845 |
-
}
|
2846 |
-
|
2847 |
-
.glyphicon-retweet:before {
|
2848 |
-
content: "\e115";
|
2849 |
-
}
|
2850 |
-
|
2851 |
-
.glyphicon-shopping-cart:before {
|
2852 |
-
content: "\e116";
|
2853 |
-
}
|
2854 |
-
|
2855 |
-
.glyphicon-folder-close:before {
|
2856 |
-
content: "\e117";
|
2857 |
-
}
|
2858 |
-
|
2859 |
-
.glyphicon-folder-open:before {
|
2860 |
-
content: "\e118";
|
2861 |
-
}
|
2862 |
-
|
2863 |
-
.glyphicon-resize-vertical:before {
|
2864 |
-
content: "\e119";
|
2865 |
-
}
|
2866 |
-
|
2867 |
-
.glyphicon-resize-horizontal:before {
|
2868 |
-
content: "\e120";
|
2869 |
-
}
|
2870 |
-
|
2871 |
-
.glyphicon-hdd:before {
|
2872 |
-
content: "\e121";
|
2873 |
-
}
|
2874 |
-
|
2875 |
-
.glyphicon-bullhorn:before {
|
2876 |
-
content: "\e122";
|
2877 |
-
}
|
2878 |
-
|
2879 |
-
.glyphicon-certificate:before {
|
2880 |
-
content: "\e124";
|
2881 |
-
}
|
2882 |
-
|
2883 |
-
.glyphicon-thumbs-up:before {
|
2884 |
-
content: "\e125";
|
2885 |
-
}
|
2886 |
-
|
2887 |
-
.glyphicon-thumbs-down:before {
|
2888 |
-
content: "\e126";
|
2889 |
-
}
|
2890 |
-
|
2891 |
-
.glyphicon-hand-right:before {
|
2892 |
-
content: "\e127";
|
2893 |
-
}
|
2894 |
-
|
2895 |
-
.glyphicon-hand-left:before {
|
2896 |
-
content: "\e128";
|
2897 |
-
}
|
2898 |
-
|
2899 |
-
.glyphicon-hand-up:before {
|
2900 |
-
content: "\e129";
|
2901 |
-
}
|
2902 |
-
|
2903 |
-
.glyphicon-hand-down:before {
|
2904 |
-
content: "\e130";
|
2905 |
-
}
|
2906 |
-
|
2907 |
-
.glyphicon-circle-arrow-right:before {
|
2908 |
-
content: "\e131";
|
2909 |
-
}
|
2910 |
-
|
2911 |
-
.glyphicon-circle-arrow-left:before {
|
2912 |
-
content: "\e132";
|
2913 |
-
}
|
2914 |
-
|
2915 |
-
.glyphicon-circle-arrow-up:before {
|
2916 |
-
content: "\e133";
|
2917 |
-
}
|
2918 |
-
|
2919 |
-
.glyphicon-circle-arrow-down:before {
|
2920 |
-
content: "\e134";
|
2921 |
-
}
|
2922 |
-
|
2923 |
-
.glyphicon-globe:before {
|
2924 |
-
content: "\e135";
|
2925 |
-
}
|
2926 |
-
|
2927 |
-
.glyphicon-tasks:before {
|
2928 |
-
content: "\e137";
|
2929 |
-
}
|
2930 |
-
|
2931 |
-
.glyphicon-filter:before {
|
2932 |
-
content: "\e138";
|
2933 |
-
}
|
2934 |
-
|
2935 |
-
.glyphicon-fullscreen:before {
|
2936 |
-
content: "\e140";
|
2937 |
-
}
|
2938 |
-
|
2939 |
-
.glyphicon-dashboard:before {
|
2940 |
-
content: "\e141";
|
2941 |
-
}
|
2942 |
-
|
2943 |
-
.glyphicon-heart-empty:before {
|
2944 |
-
content: "\e143";
|
2945 |
-
}
|
2946 |
-
|
2947 |
-
.glyphicon-link:before {
|
2948 |
-
content: "\e144";
|
2949 |
-
}
|
2950 |
-
|
2951 |
-
.glyphicon-phone:before {
|
2952 |
-
content: "\e145";
|
2953 |
-
}
|
2954 |
-
|
2955 |
-
.glyphicon-usd:before {
|
2956 |
-
content: "\e148";
|
2957 |
-
}
|
2958 |
-
|
2959 |
-
.glyphicon-gbp:before {
|
2960 |
-
content: "\e149";
|
2961 |
-
}
|
2962 |
-
|
2963 |
-
.glyphicon-sort:before {
|
2964 |
-
content: "\e150";
|
2965 |
-
}
|
2966 |
-
|
2967 |
-
.glyphicon-sort-by-alphabet:before {
|
2968 |
-
content: "\e151";
|
2969 |
-
}
|
2970 |
-
|
2971 |
-
.glyphicon-sort-by-alphabet-alt:before {
|
2972 |
-
content: "\e152";
|
2973 |
-
}
|
2974 |
-
|
2975 |
-
.glyphicon-sort-by-order:before {
|
2976 |
-
content: "\e153";
|
2977 |
-
}
|
2978 |
-
|
2979 |
-
.glyphicon-sort-by-order-alt:before {
|
2980 |
-
content: "\e154";
|
2981 |
-
}
|
2982 |
-
|
2983 |
-
.glyphicon-sort-by-attributes:before {
|
2984 |
-
content: "\e155";
|
2985 |
-
}
|
2986 |
-
|
2987 |
-
.glyphicon-sort-by-attributes-alt:before {
|
2988 |
-
content: "\e156";
|
2989 |
-
}
|
2990 |
-
|
2991 |
-
.glyphicon-unchecked:before {
|
2992 |
-
content: "\e157";
|
2993 |
-
}
|
2994 |
-
|
2995 |
-
.glyphicon-expand:before {
|
2996 |
-
content: "\e158";
|
2997 |
-
}
|
2998 |
-
|
2999 |
-
.glyphicon-collapse-down:before {
|
3000 |
-
content: "\e159";
|
3001 |
-
}
|
3002 |
-
|
3003 |
-
.glyphicon-collapse-up:before {
|
3004 |
-
content: "\e160";
|
3005 |
-
}
|
3006 |
-
|
3007 |
-
.glyphicon-log-in:before {
|
3008 |
-
content: "\e161";
|
3009 |
-
}
|
3010 |
-
|
3011 |
-
.glyphicon-flash:before {
|
3012 |
-
content: "\e162";
|
3013 |
-
}
|
3014 |
-
|
3015 |
-
.glyphicon-log-out:before {
|
3016 |
-
content: "\e163";
|
3017 |
-
}
|
3018 |
-
|
3019 |
-
.glyphicon-new-window:before {
|
3020 |
-
content: "\e164";
|
3021 |
-
}
|
3022 |
-
|
3023 |
-
.glyphicon-record:before {
|
3024 |
-
content: "\e165";
|
3025 |
-
}
|
3026 |
-
|
3027 |
-
.glyphicon-save:before {
|
3028 |
-
content: "\e166";
|
3029 |
-
}
|
3030 |
-
|
3031 |
-
.glyphicon-open:before {
|
3032 |
-
content: "\e167";
|
3033 |
-
}
|
3034 |
-
|
3035 |
-
.glyphicon-saved:before {
|
3036 |
-
content: "\e168";
|
3037 |
-
}
|
3038 |
-
|
3039 |
-
.glyphicon-import:before {
|
3040 |
-
content: "\e169";
|
3041 |
-
}
|
3042 |
-
|
3043 |
-
.glyphicon-export:before {
|
3044 |
-
content: "\e170";
|
3045 |
-
}
|
3046 |
-
|
3047 |
-
.glyphicon-send:before {
|
3048 |
-
content: "\e171";
|
3049 |
-
}
|
3050 |
-
|
3051 |
-
.glyphicon-floppy-disk:before {
|
3052 |
-
content: "\e172";
|
3053 |
-
}
|
3054 |
-
|
3055 |
-
.glyphicon-floppy-saved:before {
|
3056 |
-
content: "\e173";
|
3057 |
-
}
|
3058 |
-
|
3059 |
-
.glyphicon-floppy-remove:before {
|
3060 |
-
content: "\e174";
|
3061 |
-
}
|
3062 |
-
|
3063 |
-
.glyphicon-floppy-save:before {
|
3064 |
-
content: "\e175";
|
3065 |
-
}
|
3066 |
-
|
3067 |
-
.glyphicon-floppy-open:before {
|
3068 |
-
content: "\e176";
|
3069 |
-
}
|
3070 |
-
|
3071 |
-
.glyphicon-credit-card:before {
|
3072 |
-
content: "\e177";
|
3073 |
-
}
|
3074 |
-
|
3075 |
-
.glyphicon-transfer:before {
|
3076 |
-
content: "\e178";
|
3077 |
-
}
|
3078 |
-
|
3079 |
-
.glyphicon-cutlery:before {
|
3080 |
-
content: "\e179";
|
3081 |
-
}
|
3082 |
-
|
3083 |
-
.glyphicon-header:before {
|
3084 |
-
content: "\e180";
|
3085 |
-
}
|
3086 |
-
|
3087 |
-
.glyphicon-compressed:before {
|
3088 |
-
content: "\e181";
|
3089 |
-
}
|
3090 |
-
|
3091 |
-
.glyphicon-earphone:before {
|
3092 |
-
content: "\e182";
|
3093 |
-
}
|
3094 |
-
|
3095 |
-
.glyphicon-phone-alt:before {
|
3096 |
-
content: "\e183";
|
3097 |
-
}
|
3098 |
-
|
3099 |
-
.glyphicon-tower:before {
|
3100 |
-
content: "\e184";
|
3101 |
-
}
|
3102 |
-
|
3103 |
-
.glyphicon-stats:before {
|
3104 |
-
content: "\e185";
|
3105 |
-
}
|
3106 |
-
|
3107 |
-
.glyphicon-sd-video:before {
|
3108 |
-
content: "\e186";
|
3109 |
-
}
|
3110 |
-
|
3111 |
-
.glyphicon-hd-video:before {
|
3112 |
-
content: "\e187";
|
3113 |
-
}
|
3114 |
-
|
3115 |
-
.glyphicon-subtitles:before {
|
3116 |
-
content: "\e188";
|
3117 |
-
}
|
3118 |
-
|
3119 |
-
.glyphicon-sound-stereo:before {
|
3120 |
-
content: "\e189";
|
3121 |
-
}
|
3122 |
-
|
3123 |
-
.glyphicon-sound-dolby:before {
|
3124 |
-
content: "\e190";
|
3125 |
-
}
|
3126 |
-
|
3127 |
-
.glyphicon-sound-5-1:before {
|
3128 |
-
content: "\e191";
|
3129 |
-
}
|
3130 |
-
|
3131 |
-
.glyphicon-sound-6-1:before {
|
3132 |
-
content: "\e192";
|
3133 |
-
}
|
3134 |
-
|
3135 |
-
.glyphicon-sound-7-1:before {
|
3136 |
-
content: "\e193";
|
3137 |
-
}
|
3138 |
-
|
3139 |
-
.glyphicon-copyright-mark:before {
|
3140 |
-
content: "\e194";
|
3141 |
-
}
|
3142 |
-
|
3143 |
-
.glyphicon-registration-mark:before {
|
3144 |
-
content: "\e195";
|
3145 |
-
}
|
3146 |
-
|
3147 |
-
.glyphicon-cloud-download:before {
|
3148 |
-
content: "\e197";
|
3149 |
-
}
|
3150 |
-
|
3151 |
-
.glyphicon-cloud-upload:before {
|
3152 |
-
content: "\e198";
|
3153 |
-
}
|
3154 |
-
|
3155 |
-
.glyphicon-tree-conifer:before {
|
3156 |
-
content: "\e199";
|
3157 |
-
}
|
3158 |
-
|
3159 |
-
.glyphicon-tree-deciduous:before {
|
3160 |
-
content: "\e200";
|
3161 |
-
}
|
3162 |
-
|
3163 |
-
.glyphicon-briefcase:before {
|
3164 |
-
content: "\1f4bc";
|
3165 |
-
}
|
3166 |
-
|
3167 |
-
.glyphicon-calendar:before {
|
3168 |
-
content: "\1f4c5";
|
3169 |
-
}
|
3170 |
-
|
3171 |
-
.glyphicon-pushpin:before {
|
3172 |
-
content: "\1f4cc";
|
3173 |
-
}
|
3174 |
-
|
3175 |
-
.glyphicon-paperclip:before {
|
3176 |
-
content: "\1f4ce";
|
3177 |
-
}
|
3178 |
-
|
3179 |
-
.glyphicon-camera:before {
|
3180 |
-
content: "\1f4f7";
|
3181 |
-
}
|
3182 |
-
|
3183 |
-
.glyphicon-lock:before {
|
3184 |
-
content: "\1f512";
|
3185 |
-
}
|
3186 |
-
|
3187 |
-
.glyphicon-bell:before {
|
3188 |
-
content: "\1f514";
|
3189 |
-
}
|
3190 |
-
|
3191 |
-
.glyphicon-bookmark:before {
|
3192 |
-
content: "\1f516";
|
3193 |
-
}
|
3194 |
-
|
3195 |
-
.glyphicon-fire:before {
|
3196 |
-
content: "\1f525";
|
3197 |
-
}
|
3198 |
-
|
3199 |
-
.glyphicon-wrench:before {
|
3200 |
-
content: "\1f527";
|
3201 |
-
}
|
3202 |
-
|
3203 |
-
.caret {
|
3204 |
-
display: inline-block;
|
3205 |
-
width: 0;
|
3206 |
-
height: 0;
|
3207 |
-
margin-left: 2px;
|
3208 |
-
vertical-align: middle;
|
3209 |
-
border-top: 4px solid #000000;
|
3210 |
-
border-right: 4px solid transparent;
|
3211 |
-
border-bottom: 0 dotted;
|
3212 |
-
border-left: 4px solid transparent;
|
3213 |
-
content: "";
|
3214 |
-
}
|
3215 |
-
|
3216 |
-
.dropdown {
|
3217 |
-
position: relative;
|
3218 |
-
}
|
3219 |
-
|
3220 |
-
.dropdown-toggle:focus {
|
3221 |
-
outline: 0;
|
3222 |
-
}
|
3223 |
-
|
3224 |
-
.dropdown-menu {
|
3225 |
-
position: absolute;
|
3226 |
-
top: 100%;
|
3227 |
-
left: 0;
|
3228 |
-
z-index: 1000;
|
3229 |
-
display: none;
|
3230 |
-
float: left;
|
3231 |
-
min-width: 160px;
|
3232 |
-
padding: 5px 0;
|
3233 |
-
margin: 2px 0 0;
|
3234 |
-
font-size: 14px;
|
3235 |
-
list-style: none;
|
3236 |
-
background-color: #ffffff;
|
3237 |
-
border: 1px solid #cccccc;
|
3238 |
-
border: 1px solid rgba(0, 0, 0, 0.15);
|
3239 |
-
border-radius: 4px;
|
3240 |
-
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
3241 |
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
3242 |
-
background-clip: padding-box;
|
3243 |
-
}
|
3244 |
-
|
3245 |
-
.dropdown-menu.pull-right {
|
3246 |
-
right: 0;
|
3247 |
-
left: auto;
|
3248 |
-
}
|
3249 |
-
|
3250 |
-
.dropdown-menu .divider {
|
3251 |
-
height: 1px;
|
3252 |
-
margin: 9px 0;
|
3253 |
-
overflow: hidden;
|
3254 |
-
background-color: #e5e5e5;
|
3255 |
-
}
|
3256 |
-
|
3257 |
-
.dropdown-menu > li > a {
|
3258 |
-
display: block;
|
3259 |
-
padding: 3px 20px;
|
3260 |
-
clear: both;
|
3261 |
-
font-weight: normal;
|
3262 |
-
line-height: 1.428571429;
|
3263 |
-
color: #333333;
|
3264 |
-
white-space: nowrap;
|
3265 |
-
}
|
3266 |
-
|
3267 |
-
.dropdown-menu > li > a:hover,
|
3268 |
-
.dropdown-menu > li > a:focus {
|
3269 |
-
color: #ffffff;
|
3270 |
-
text-decoration: none;
|
3271 |
-
background-color: #428bca;
|
3272 |
-
}
|
3273 |
-
|
3274 |
-
.dropdown-menu > .active > a,
|
3275 |
-
.dropdown-menu > .active > a:hover,
|
3276 |
-
.dropdown-menu > .active > a:focus {
|
3277 |
-
color: #ffffff;
|
3278 |
-
text-decoration: none;
|
3279 |
-
background-color: #428bca;
|
3280 |
-
outline: 0;
|
3281 |
-
}
|
3282 |
-
|
3283 |
-
.dropdown-menu > .disabled > a,
|
3284 |
-
.dropdown-menu > .disabled > a:hover,
|
3285 |
-
.dropdown-menu > .disabled > a:focus {
|
3286 |
-
color: #999999;
|
3287 |
-
}
|
3288 |
-
|
3289 |
-
.dropdown-menu > .disabled > a:hover,
|
3290 |
-
.dropdown-menu > .disabled > a:focus {
|
3291 |
-
text-decoration: none;
|
3292 |
-
cursor: not-allowed;
|
3293 |
-
background-color: transparent;
|
3294 |
-
background-image: none;
|
3295 |
-
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
3296 |
-
}
|
3297 |
-
|
3298 |
-
.open > .dropdown-menu {
|
3299 |
-
display: block;
|
3300 |
-
}
|
3301 |
-
|
3302 |
-
.open > a {
|
3303 |
-
outline: 0;
|
3304 |
-
}
|
3305 |
-
|
3306 |
-
.dropdown-header {
|
3307 |
-
display: block;
|
3308 |
-
padding: 3px 20px;
|
3309 |
-
font-size: 12px;
|
3310 |
-
line-height: 1.428571429;
|
3311 |
-
color: #999999;
|
3312 |
-
}
|
3313 |
-
|
3314 |
-
.dropdown-backdrop {
|
3315 |
-
position: fixed;
|
3316 |
-
top: 0;
|
3317 |
-
right: 0;
|
3318 |
-
bottom: 0;
|
3319 |
-
left: 0;
|
3320 |
-
z-index: 990;
|
3321 |
-
}
|
3322 |
-
|
3323 |
-
.pull-right > .dropdown-menu {
|
3324 |
-
right: 0;
|
3325 |
-
left: auto;
|
3326 |
-
}
|
3327 |
-
|
3328 |
-
.dropup .caret,
|
3329 |
-
.navbar-fixed-bottom .dropdown .caret {
|
3330 |
-
border-top: 0 dotted;
|
3331 |
-
border-bottom: 4px solid #000000;
|
3332 |
-
content: "";
|
3333 |
-
}
|
3334 |
-
|
3335 |
-
.dropup .dropdown-menu,
|
3336 |
-
.navbar-fixed-bottom .dropdown .dropdown-menu {
|
3337 |
-
top: auto;
|
3338 |
-
bottom: 100%;
|
3339 |
-
margin-bottom: 1px;
|
3340 |
-
}
|
3341 |
-
|
3342 |
-
@media (min-width: 768px) {
|
3343 |
-
.navbar-right .dropdown-menu {
|
3344 |
-
right: 0;
|
3345 |
-
left: auto;
|
3346 |
-
}
|
3347 |
-
}
|
3348 |
-
|
3349 |
-
.btn-default .caret {
|
3350 |
-
border-top-color: #333333;
|
3351 |
-
}
|
3352 |
-
|
3353 |
-
.btn-primary .caret,
|
3354 |
-
.btn-success .caret,
|
3355 |
-
.btn-warning .caret,
|
3356 |
-
.btn-danger .caret,
|
3357 |
-
.btn-info .caret {
|
3358 |
-
border-top-color: #fff;
|
3359 |
-
}
|
3360 |
-
|
3361 |
-
.dropup .btn-default .caret {
|
3362 |
-
border-bottom-color: #333333;
|
3363 |
-
}
|
3364 |
-
|
3365 |
-
.dropup .btn-primary .caret,
|
3366 |
-
.dropup .btn-success .caret,
|
3367 |
-
.dropup .btn-warning .caret,
|
3368 |
-
.dropup .btn-danger .caret,
|
3369 |
-
.dropup .btn-info .caret {
|
3370 |
-
border-bottom-color: #fff;
|
3371 |
-
}
|
3372 |
-
|
3373 |
-
.btn-group,
|
3374 |
-
.btn-group-vertical {
|
3375 |
-
position: relative;
|
3376 |
-
display: inline-block;
|
3377 |
-
vertical-align: middle;
|
3378 |
-
}
|
3379 |
-
|
3380 |
-
.btn-group > .btn,
|
3381 |
-
.btn-group-vertical > .btn {
|
3382 |
-
position: relative;
|
3383 |
-
float: left;
|
3384 |
-
}
|
3385 |
-
|
3386 |
-
.btn-group > .btn:hover,
|
3387 |
-
.btn-group-vertical > .btn:hover,
|
3388 |
-
.btn-group > .btn:focus,
|
3389 |
-
.btn-group-vertical > .btn:focus,
|
3390 |
-
.btn-group > .btn:active,
|
3391 |
-
.btn-group-vertical > .btn:active,
|
3392 |
-
.btn-group > .btn.active,
|
3393 |
-
.btn-group-vertical > .btn.active {
|
3394 |
-
z-index: 2;
|
3395 |
-
}
|
3396 |
-
|
3397 |
-
.btn-group > .btn:focus,
|
3398 |
-
.btn-group-vertical > .btn:focus {
|
3399 |
-
outline: none;
|
3400 |
-
}
|
3401 |
-
|
3402 |
-
.btn-group .btn + .btn,
|
3403 |
-
.btn-group .btn + .btn-group,
|
3404 |
-
.btn-group .btn-group + .btn,
|
3405 |
-
.btn-group .btn-group + .btn-group {
|
3406 |
-
margin-left: -1px;
|
3407 |
-
}
|
3408 |
-
|
3409 |
-
.btn-toolbar:before,
|
3410 |
-
.btn-toolbar:after {
|
3411 |
-
display: table;
|
3412 |
-
content: " ";
|
3413 |
-
}
|
3414 |
-
|
3415 |
-
.btn-toolbar:after {
|
3416 |
-
clear: both;
|
3417 |
-
}
|
3418 |
-
|
3419 |
-
.btn-toolbar:before,
|
3420 |
-
.btn-toolbar:after {
|
3421 |
-
display: table;
|
3422 |
-
content: " ";
|
3423 |
-
}
|
3424 |
-
|
3425 |
-
.btn-toolbar:after {
|
3426 |
-
clear: both;
|
3427 |
-
}
|
3428 |
-
|
3429 |
-
.btn-toolbar .btn-group {
|
3430 |
-
float: left;
|
3431 |
-
}
|
3432 |
-
|
3433 |
-
.btn-toolbar > .btn + .btn,
|
3434 |
-
.btn-toolbar > .btn-group + .btn,
|
3435 |
-
.btn-toolbar > .btn + .btn-group,
|
3436 |
-
.btn-toolbar > .btn-group + .btn-group {
|
3437 |
-
margin-left: 5px;
|
3438 |
-
}
|
3439 |
-
|
3440 |
-
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
|
3441 |
-
border-radius: 0;
|
3442 |
-
}
|
3443 |
-
|
3444 |
-
.btn-group > .btn:first-child {
|
3445 |
-
margin-left: 0;
|
3446 |
-
}
|
3447 |
-
|
3448 |
-
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
|
3449 |
-
border-top-right-radius: 0;
|
3450 |
-
border-bottom-right-radius: 0;
|
3451 |
-
}
|
3452 |
-
|
3453 |
-
.btn-group > .btn:last-child:not(:first-child),
|
3454 |
-
.btn-group > .dropdown-toggle:not(:first-child) {
|
3455 |
-
border-bottom-left-radius: 0;
|
3456 |
-
border-top-left-radius: 0;
|
3457 |
-
}
|
3458 |
-
|
3459 |
-
.btn-group > .btn-group {
|
3460 |
-
float: left;
|
3461 |
-
}
|
3462 |
-
|
3463 |
-
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
|
3464 |
-
border-radius: 0;
|
3465 |
-
}
|
3466 |
-
|
3467 |
-
.btn-group > .btn-group:first-child > .btn:last-child,
|
3468 |
-
.btn-group > .btn-group:first-child > .dropdown-toggle {
|
3469 |
-
border-top-right-radius: 0;
|
3470 |
-
border-bottom-right-radius: 0;
|
3471 |
-
}
|
3472 |
-
|
3473 |
-
.btn-group > .btn-group:last-child > .btn:first-child {
|
3474 |
-
border-bottom-left-radius: 0;
|
3475 |
-
border-top-left-radius: 0;
|
3476 |
-
}
|
3477 |
-
|
3478 |
-
.btn-group .dropdown-toggle:active,
|
3479 |
-
.btn-group.open .dropdown-toggle {
|
3480 |
-
outline: 0;
|
3481 |
-
}
|
3482 |
-
|
3483 |
-
.btn-group-xs > .btn {
|
3484 |
-
padding: 5px 10px;
|
3485 |
-
padding: 1px 5px;
|
3486 |
-
font-size: 12px;
|
3487 |
-
line-height: 1.5;
|
3488 |
-
border-radius: 3px;
|
3489 |
-
}
|
3490 |
-
|
3491 |
-
.btn-group-sm > .btn {
|
3492 |
-
padding: 5px 10px;
|
3493 |
-
font-size: 12px;
|
3494 |
-
line-height: 1.5;
|
3495 |
-
border-radius: 3px;
|
3496 |
-
}
|
3497 |
-
|
3498 |
-
.btn-group-lg > .btn {
|
3499 |
-
padding: 10px 16px;
|
3500 |
-
font-size: 18px;
|
3501 |
-
line-height: 1.33;
|
3502 |
-
border-radius: 6px;
|
3503 |
-
}
|
3504 |
-
|
3505 |
-
.btn-group > .btn + .dropdown-toggle {
|
3506 |
-
padding-right: 8px;
|
3507 |
-
padding-left: 8px;
|
3508 |
-
}
|
3509 |
-
|
3510 |
-
.btn-group > .btn-lg + .dropdown-toggle {
|
3511 |
-
padding-right: 12px;
|
3512 |
-
padding-left: 12px;
|
3513 |
-
}
|
3514 |
-
|
3515 |
-
.btn-group.open .dropdown-toggle {
|
3516 |
-
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
3517 |
-
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
3518 |
-
}
|
3519 |
-
|
3520 |
-
.btn .caret {
|
3521 |
-
margin-left: 0;
|
3522 |
-
}
|
3523 |
-
|
3524 |
-
.btn-lg .caret {
|
3525 |
-
border-width: 5px 5px 0;
|
3526 |
-
border-bottom-width: 0;
|
3527 |
-
}
|
3528 |
-
|
3529 |
-
.dropup .btn-lg .caret {
|
3530 |
-
border-width: 0 5px 5px;
|
3531 |
-
}
|
3532 |
-
|
3533 |
-
.btn-group-vertical > .btn,
|
3534 |
-
.btn-group-vertical > .btn-group {
|
3535 |
-
display: block;
|
3536 |
-
float: none;
|
3537 |
-
width: 100%;
|
3538 |
-
max-width: 100%;
|
3539 |
-
}
|
3540 |
-
|
3541 |
-
.btn-group-vertical > .btn-group:before,
|
3542 |
-
.btn-group-vertical > .btn-group:after {
|
3543 |
-
display: table;
|
3544 |
-
content: " ";
|
3545 |
-
}
|
3546 |
-
|
3547 |
-
.btn-group-vertical > .btn-group:after {
|
3548 |
-
clear: both;
|
3549 |
-
}
|
3550 |
-
|
3551 |
-
.btn-group-vertical > .btn-group:before,
|
3552 |
-
.btn-group-vertical > .btn-group:after {
|
3553 |
-
display: table;
|
3554 |
-
content: " ";
|
3555 |
-
}
|
3556 |
-
|
3557 |
-
.btn-group-vertical > .btn-group:after {
|
3558 |
-
clear: both;
|
3559 |
-
}
|
3560 |
-
|
3561 |
-
.btn-group-vertical > .btn-group > .btn {
|
3562 |
-
float: none;
|
3563 |
-
}
|
3564 |
-
|
3565 |
-
.btn-group-vertical > .btn + .btn,
|
3566 |
-
.btn-group-vertical > .btn + .btn-group,
|
3567 |
-
.btn-group-vertical > .btn-group + .btn,
|
3568 |
-
.btn-group-vertical > .btn-group + .btn-group {
|
3569 |
-
margin-top: -1px;
|
3570 |
-
margin-left: 0;
|
3571 |
-
}
|
3572 |
-
|
3573 |
-
.btn-group-vertical > .btn:not(:first-child):not(:last-child) {
|
3574 |
-
border-radius: 0;
|
3575 |
-
}
|
3576 |
-
|
3577 |
-
.btn-group-vertical > .btn:first-child:not(:last-child) {
|
3578 |
-
border-top-right-radius: 4px;
|
3579 |
-
border-bottom-right-radius: 0;
|
3580 |
-
border-bottom-left-radius: 0;
|
3581 |
-
}
|
3582 |
-
|
3583 |
-
.btn-group-vertical > .btn:last-child:not(:first-child) {
|
3584 |
-
border-top-right-radius: 0;
|
3585 |
-
border-bottom-left-radius: 4px;
|
3586 |
-
border-top-left-radius: 0;
|
3587 |
-
}
|
3588 |
-
|
3589 |
-
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
|
3590 |
-
border-radius: 0;
|
3591 |
-
}
|
3592 |
-
|
3593 |
-
.btn-group-vertical > .btn-group:first-child > .btn:last-child,
|
3594 |
-
.btn-group-vertical > .btn-group:first-child > .dropdown-toggle {
|
3595 |
-
border-bottom-right-radius: 0;
|
3596 |
-
border-bottom-left-radius: 0;
|
3597 |
-
}
|
3598 |
-
|
3599 |
-
.btn-group-vertical > .btn-group:last-child > .btn:first-child {
|
3600 |
-
border-top-right-radius: 0;
|
3601 |
-
border-top-left-radius: 0;
|
3602 |
-
}
|
3603 |
-
|
3604 |
-
.btn-group-justified {
|
3605 |
-
display: table;
|
3606 |
-
width: 100%;
|
3607 |
-
border-collapse: separate;
|
3608 |
-
table-layout: fixed;
|
3609 |
-
}
|
3610 |
-
|
3611 |
-
.btn-group-justified .btn {
|
3612 |
-
display: table-cell;
|
3613 |
-
float: none;
|
3614 |
-
width: 1%;
|
3615 |
-
}
|
3616 |
-
|
3617 |
-
[data-toggle="buttons"] > .btn > input[type="radio"],
|
3618 |
-
[data-toggle="buttons"] > .btn > input[type="checkbox"] {
|
3619 |
-
display: none;
|
3620 |
-
}
|
3621 |
-
|
3622 |
-
.input-group {
|
3623 |
-
position: relative;
|
3624 |
-
display: table;
|
3625 |
-
border-collapse: separate;
|
3626 |
-
}
|
3627 |
-
|
3628 |
-
.input-group.col {
|
3629 |
-
float: none;
|
3630 |
-
padding-right: 0;
|
3631 |
-
padding-left: 0;
|
3632 |
-
}
|
3633 |
-
|
3634 |
-
.input-group .form-control {
|
3635 |
-
width: 100%;
|
3636 |
-
margin-bottom: 0;
|
3637 |
-
}
|
3638 |
-
|
3639 |
-
.input-group-lg > .form-control,
|
3640 |
-
.input-group-lg > .input-group-addon,
|
3641 |
-
.input-group-lg > .input-group-btn > .btn {
|
3642 |
-
height: 45px;
|
3643 |
-
padding: 10px 16px;
|
3644 |
-
font-size: 18px;
|
3645 |
-
line-height: 1.33;
|
3646 |
-
border-radius: 6px;
|
3647 |
-
}
|
3648 |
-
|
3649 |
-
select.input-group-lg > .form-control,
|
3650 |
-
select.input-group-lg > .input-group-addon,
|
3651 |
-
select.input-group-lg > .input-group-btn > .btn {
|
3652 |
-
height: 45px;
|
3653 |
-
line-height: 45px;
|
3654 |
-
}
|
3655 |
-
|
3656 |
-
textarea.input-group-lg > .form-control,
|
3657 |
-
textarea.input-group-lg > .input-group-addon,
|
3658 |
-
textarea.input-group-lg > .input-group-btn > .btn {
|
3659 |
-
height: auto;
|
3660 |
-
}
|
3661 |
-
|
3662 |
-
.input-group-sm > .form-control,
|
3663 |
-
.input-group-sm > .input-group-addon,
|
3664 |
-
.input-group-sm > .input-group-btn > .btn {
|
3665 |
-
height: 30px;
|
3666 |
-
padding: 5px 10px;
|
3667 |
-
font-size: 12px;
|
3668 |
-
line-height: 1.5;
|
3669 |
-
border-radius: 3px;
|
3670 |
-
}
|
3671 |
-
|
3672 |
-
select.input-group-sm > .form-control,
|
3673 |
-
select.input-group-sm > .input-group-addon,
|
3674 |
-
select.input-group-sm > .input-group-btn > .btn {
|
3675 |
-
height: 30px;
|
3676 |
-
line-height: 30px;
|
3677 |
-
}
|
3678 |
-
|
3679 |
-
textarea.input-group-sm > .form-control,
|
3680 |
-
textarea.input-group-sm > .input-group-addon,
|
3681 |
-
textarea.input-group-sm > .input-group-btn > .btn {
|
3682 |
-
height: auto;
|
3683 |
-
}
|
3684 |
-
|
3685 |
-
.input-group-addon,
|
3686 |
-
.input-group-btn,
|
3687 |
-
.input-group .form-control {
|
3688 |
-
display: table-cell;
|
3689 |
-
}
|
3690 |
-
|
3691 |
-
.input-group-addon:not(:first-child):not(:last-child),
|
3692 |
-
.input-group-btn:not(:first-child):not(:last-child),
|
3693 |
-
.input-group .form-control:not(:first-child):not(:last-child) {
|
3694 |
-
border-radius: 0;
|
3695 |
-
}
|
3696 |
-
|
3697 |
-
.input-group-addon,
|
3698 |
-
.input-group-btn {
|
3699 |
-
width: 1%;
|
3700 |
-
white-space: nowrap;
|
3701 |
-
vertical-align: middle;
|
3702 |
-
}
|
3703 |
-
|
3704 |
-
.input-group-addon {
|
3705 |
-
padding: 6px 12px;
|
3706 |
-
font-size: 14px;
|
3707 |
-
font-weight: normal;
|
3708 |
-
line-height: 1;
|
3709 |
-
text-align: center;
|
3710 |
-
background-color: #eeeeee;
|
3711 |
-
border: 1px solid #cccccc;
|
3712 |
-
border-radius: 4px;
|
3713 |
-
}
|
3714 |
-
|
3715 |
-
.input-group-addon.input-sm {
|
3716 |
-
padding: 5px 10px;
|
3717 |
-
font-size: 12px;
|
3718 |
-
border-radius: 3px;
|
3719 |
-
}
|
3720 |
-
|
3721 |
-
.input-group-addon.input-lg {
|
3722 |
-
padding: 10px 16px;
|
3723 |
-
font-size: 18px;
|
3724 |
-
border-radius: 6px;
|
3725 |
-
}
|
3726 |
-
|
3727 |
-
.input-group-addon input[type="radio"],
|
3728 |
-
.input-group-addon input[type="checkbox"] {
|
3729 |
-
margin-top: 0;
|
3730 |
-
}
|
3731 |
-
|
3732 |
-
.input-group .form-control:first-child,
|
3733 |
-
.input-group-addon:first-child,
|
3734 |
-
.input-group-btn:first-child > .btn,
|
3735 |
-
.input-group-btn:first-child > .dropdown-toggle,
|
3736 |
-
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
|
3737 |
-
border-top-right-radius: 0;
|
3738 |
-
border-bottom-right-radius: 0;
|
3739 |
-
}
|
3740 |
-
|
3741 |
-
.input-group-addon:first-child {
|
3742 |
-
border-right: 0;
|
3743 |
-
}
|
3744 |
-
|
3745 |
-
.input-group .form-control:last-child,
|
3746 |
-
.input-group-addon:last-child,
|
3747 |
-
.input-group-btn:last-child > .btn,
|
3748 |
-
.input-group-btn:last-child > .dropdown-toggle,
|
3749 |
-
.input-group-btn:first-child > .btn:not(:first-child) {
|
3750 |
-
border-bottom-left-radius: 0;
|
3751 |
-
border-top-left-radius: 0;
|
3752 |
-
}
|
3753 |
-
|
3754 |
-
.input-group-addon:last-child {
|
3755 |
-
border-left: 0;
|
3756 |
-
}
|
3757 |
-
|
3758 |
-
.input-group-btn {
|
3759 |
-
position: relative;
|
3760 |
-
white-space: nowrap;
|
3761 |
-
}
|
3762 |
-
|
3763 |
-
.input-group-btn > .btn {
|
3764 |
-
position: relative;
|
3765 |
-
}
|
3766 |
-
|
3767 |
-
.input-group-btn > .btn + .btn {
|
3768 |
-
margin-left: -4px;
|
3769 |
-
}
|
3770 |
-
|
3771 |
-
.input-group-btn > .btn:hover,
|
3772 |
-
.input-group-btn > .btn:active {
|
3773 |
-
z-index: 2;
|
3774 |
-
}
|
3775 |
-
|
3776 |
-
.nav {
|
3777 |
-
padding-left: 0;
|
3778 |
-
margin-bottom: 0;
|
3779 |
-
list-style: none;
|
3780 |
-
}
|
3781 |
-
|
3782 |
-
.nav:before,
|
3783 |
-
.nav:after {
|
3784 |
-
display: table;
|
3785 |
-
content: " ";
|
3786 |
-
}
|
3787 |
-
|
3788 |
-
.nav:after {
|
3789 |
-
clear: both;
|
3790 |
-
}
|
3791 |
-
|
3792 |
-
.nav:before,
|
3793 |
-
.nav:after {
|
3794 |
-
display: table;
|
3795 |
-
content: " ";
|
3796 |
-
}
|
3797 |
-
|
3798 |
-
.nav:after {
|
3799 |
-
clear: both;
|
3800 |
-
}
|
3801 |
-
|
3802 |
-
.nav > li {
|
3803 |
-
position: relative;
|
3804 |
-
display: block;
|
3805 |
-
}
|
3806 |
-
|
3807 |
-
.nav > li > a {
|
3808 |
-
position: relative;
|
3809 |
-
display: block;
|
3810 |
-
padding: 10px 15px;
|
3811 |
-
}
|
3812 |
-
|
3813 |
-
.nav > li > a:hover,
|
3814 |
-
.nav > li > a:focus {
|
3815 |
-
text-decoration: none;
|
3816 |
-
background-color: #eeeeee;
|
3817 |
-
}
|
3818 |
-
|
3819 |
-
.nav > li.disabled > a {
|
3820 |
-
color: #999999;
|
3821 |
-
}
|
3822 |
-
|
3823 |
-
.nav > li.disabled > a:hover,
|
3824 |
-
.nav > li.disabled > a:focus {
|
3825 |
-
color: #999999;
|
3826 |
-
text-decoration: none;
|
3827 |
-
cursor: not-allowed;
|
3828 |
-
background-color: transparent;
|
3829 |
-
}
|
3830 |
-
|
3831 |
-
.nav .open > a,
|
3832 |
-
.nav .open > a:hover,
|
3833 |
-
.nav .open > a:focus {
|
3834 |
-
background-color: #eeeeee;
|
3835 |
-
border-color: #428bca;
|
3836 |
-
}
|
3837 |
-
|
3838 |
-
.nav .nav-divider {
|
3839 |
-
height: 1px;
|
3840 |
-
margin: 9px 0;
|
3841 |
-
overflow: hidden;
|
3842 |
-
background-color: #e5e5e5;
|
3843 |
-
}
|
3844 |
-
|
3845 |
-
.nav > li > a > img {
|
3846 |
-
max-width: none;
|
3847 |
-
}
|
3848 |
-
|
3849 |
-
.nav-tabs {
|
3850 |
-
border-bottom: 1px solid #dddddd;
|
3851 |
-
}
|
3852 |
-
|
3853 |
-
.nav-tabs > li {
|
3854 |
-
float: left;
|
3855 |
-
margin-bottom: -1px;
|
3856 |
-
}
|
3857 |
-
|
3858 |
-
.nav-tabs > li > a {
|
3859 |
-
margin-right: 2px;
|
3860 |
-
line-height: 1.428571429;
|
3861 |
-
border: 1px solid transparent;
|
3862 |
-
border-radius: 4px 4px 0 0;
|
3863 |
-
}
|
3864 |
-
|
3865 |
-
.nav-tabs > li > a:hover {
|
3866 |
-
border-color: #eeeeee #eeeeee #dddddd;
|
3867 |
-
}
|
3868 |
-
|
3869 |
-
.nav-tabs > li.active > a,
|
3870 |
-
.nav-tabs > li.active > a:hover,
|
3871 |
-
.nav-tabs > li.active > a:focus {
|
3872 |
-
color: #555555;
|
3873 |
-
cursor: default;
|
3874 |
-
background-color: #ffffff;
|
3875 |
-
border: 1px solid #dddddd;
|
3876 |
-
border-bottom-color: transparent;
|
3877 |
-
}
|
3878 |
-
|
3879 |
-
.nav-tabs.nav-justified {
|
3880 |
-
width: 100%;
|
3881 |
-
border-bottom: 0;
|
3882 |
-
}
|
3883 |
-
|
3884 |
-
.nav-tabs.nav-justified > li {
|
3885 |
-
float: none;
|
3886 |
-
}
|
3887 |
-
|
3888 |
-
.nav-tabs.nav-justified > li > a {
|
3889 |
-
text-align: center;
|
3890 |
-
}
|
3891 |
-
|
3892 |
-
@media (min-width: 768px) {
|
3893 |
-
.nav-tabs.nav-justified > li {
|
3894 |
-
display: table-cell;
|
3895 |
-
width: 1%;
|
3896 |
-
}
|
3897 |
-
}
|
3898 |
-
|
3899 |
-
.nav-tabs.nav-justified > li > a {
|
3900 |
-
margin-right: 0;
|
3901 |
-
border-bottom: 1px solid #dddddd;
|
3902 |
-
}
|
3903 |
-
|
3904 |
-
.nav-tabs.nav-justified > .active > a {
|
3905 |
-
border-bottom-color: #ffffff;
|
3906 |
-
}
|
3907 |
-
|
3908 |
-
.nav-pills > li {
|
3909 |
-
float: left;
|
3910 |
-
}
|
3911 |
-
|
3912 |
-
.nav-pills > li > a {
|
3913 |
-
border-radius: 5px;
|
3914 |
-
}
|
3915 |
-
|
3916 |
-
.nav-pills > li + li {
|
3917 |
-
margin-left: 2px;
|
3918 |
-
}
|
3919 |
-
|
3920 |
-
.nav-pills > li.active > a,
|
3921 |
-
.nav-pills > li.active > a:hover,
|
3922 |
-
.nav-pills > li.active > a:focus {
|
3923 |
-
color: #ffffff;
|
3924 |
-
background-color: #428bca;
|
3925 |
-
}
|
3926 |
-
|
3927 |
-
.nav-stacked > li {
|
3928 |
-
float: none;
|
3929 |
-
}
|
3930 |
-
|
3931 |
-
.nav-stacked > li + li {
|
3932 |
-
margin-top: 2px;
|
3933 |
-
margin-left: 0;
|
3934 |
-
}
|
3935 |
-
|
3936 |
-
.nav-justified {
|
3937 |
-
width: 100%;
|
3938 |
-
}
|
3939 |
-
|
3940 |
-
.nav-justified > li {
|
3941 |
-
float: none;
|
3942 |
-
}
|
3943 |
-
|
3944 |
-
.nav-justified > li > a {
|
3945 |
-
text-align: center;
|
3946 |
-
}
|
3947 |
-
|
3948 |
-
@media (min-width: 768px) {
|
3949 |
-
.nav-justified > li {
|
3950 |
-
display: table-cell;
|
3951 |
-
width: 1%;
|
3952 |
-
}
|
3953 |
-
}
|
3954 |
-
|
3955 |
-
.nav-tabs-justified {
|
3956 |
-
border-bottom: 0;
|
3957 |
-
}
|
3958 |
-
|
3959 |
-
.nav-tabs-justified > li > a {
|
3960 |
-
margin-right: 0;
|
3961 |
-
border-bottom: 1px solid #dddddd;
|
3962 |
-
}
|
3963 |
-
|
3964 |
-
.nav-tabs-justified > .active > a {
|
3965 |
-
border-bottom-color: #ffffff;
|
3966 |
-
}
|
3967 |
-
|
3968 |
-
.tabbable:before,
|
3969 |
-
.tabbable:after {
|
3970 |
-
display: table;
|
3971 |
-
content: " ";
|
3972 |
-
}
|
3973 |
-
|
3974 |
-
.tabbable:after {
|
3975 |
-
clear: both;
|
3976 |
-
}
|
3977 |
-
|
3978 |
-
.tabbable:before,
|
3979 |
-
.tabbable:after {
|
3980 |
-
display: table;
|
3981 |
-
content: " ";
|
3982 |
-
}
|
3983 |
-
|
3984 |
-
.tabbable:after {
|
3985 |
-
clear: both;
|
3986 |
-
}
|
3987 |
-
|
3988 |
-
.tab-content > .tab-pane,
|
3989 |
-
.pill-content > .pill-pane {
|
3990 |
-
display: none;
|
3991 |
-
}
|
3992 |
-
|
3993 |
-
.tab-content > .active,
|
3994 |
-
.pill-content > .active {
|
3995 |
-
display: block;
|
3996 |
-
}
|
3997 |
-
|
3998 |
-
.nav .caret {
|
3999 |
-
border-top-color: #428bca;
|
4000 |
-
border-bottom-color: #428bca;
|
4001 |
-
}
|
4002 |
-
|
4003 |
-
.nav a:hover .caret {
|
4004 |
-
border-top-color: #2a6496;
|
4005 |
-
border-bottom-color: #2a6496;
|
4006 |
-
}
|
4007 |
-
|
4008 |
-
.nav-tabs .dropdown-menu {
|
4009 |
-
margin-top: -1px;
|
4010 |
-
border-top-right-radius: 0;
|
4011 |
-
border-top-left-radius: 0;
|
4012 |
-
}
|
4013 |
-
|
4014 |
-
.navbar {
|
4015 |
-
position: relative;
|
4016 |
-
z-index: 1000;
|
4017 |
-
min-height: 50px;
|
4018 |
-
margin-bottom: 20px;
|
4019 |
-
border: 1px solid transparent;
|
4020 |
-
}
|
4021 |
-
|
4022 |
-
.navbar:before,
|
4023 |
-
.navbar:after {
|
4024 |
-
display: table;
|
4025 |
-
content: " ";
|
4026 |
-
}
|
4027 |
-
|
4028 |
-
.navbar:after {
|
4029 |
-
clear: both;
|
4030 |
-
}
|
4031 |
-
|
4032 |
-
.navbar:before,
|
4033 |
-
.navbar:after {
|
4034 |
-
display: table;
|
4035 |
-
content: " ";
|
4036 |
-
}
|
4037 |
-
|
4038 |
-
.navbar:after {
|
4039 |
-
clear: both;
|
4040 |
-
}
|
4041 |
-
|
4042 |
-
@media (min-width: 768px) {
|
4043 |
-
.navbar {
|
4044 |
-
border-radius: 4px;
|
4045 |
-
}
|
4046 |
-
}
|
4047 |
-
|
4048 |
-
.navbar-header:before,
|
4049 |
-
.navbar-header:after {
|
4050 |
-
display: table;
|
4051 |
-
content: " ";
|
4052 |
-
}
|
4053 |
-
|
4054 |
-
.navbar-header:after {
|
4055 |
-
clear: both;
|
4056 |
-
}
|
4057 |
-
|
4058 |
-
.navbar-header:before,
|
4059 |
-
.navbar-header:after {
|
4060 |
-
display: table;
|
4061 |
-
content: " ";
|
4062 |
-
}
|
4063 |
-
|
4064 |
-
.navbar-header:after {
|
4065 |
-
clear: both;
|
4066 |
-
}
|
4067 |
-
|
4068 |
-
@media (min-width: 768px) {
|
4069 |
-
.navbar-header {
|
4070 |
-
float: left;
|
4071 |
-
}
|
4072 |
-
}
|
4073 |
-
|
4074 |
-
.navbar-collapse {
|
4075 |
-
max-height: 340px;
|
4076 |
-
padding-right: 15px;
|
4077 |
-
padding-left: 15px;
|
4078 |
-
overflow-x: visible;
|
4079 |
-
border-top: 1px solid transparent;
|
4080 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
4081 |
-
-webkit-overflow-scrolling: touch;
|
4082 |
-
}
|
4083 |
-
|
4084 |
-
.navbar-collapse:before,
|
4085 |
-
.navbar-collapse:after {
|
4086 |
-
display: table;
|
4087 |
-
content: " ";
|
4088 |
-
}
|
4089 |
-
|
4090 |
-
.navbar-collapse:after {
|
4091 |
-
clear: both;
|
4092 |
-
}
|
4093 |
-
|
4094 |
-
.navbar-collapse:before,
|
4095 |
-
.navbar-collapse:after {
|
4096 |
-
display: table;
|
4097 |
-
content: " ";
|
4098 |
-
}
|
4099 |
-
|
4100 |
-
.navbar-collapse:after {
|
4101 |
-
clear: both;
|
4102 |
-
}
|
4103 |
-
|
4104 |
-
.navbar-collapse.in {
|
4105 |
-
overflow-y: auto;
|
4106 |
-
}
|
4107 |
-
|
4108 |
-
@media (min-width: 768px) {
|
4109 |
-
.navbar-collapse {
|
4110 |
-
width: auto;
|
4111 |
-
border-top: 0;
|
4112 |
-
box-shadow: none;
|
4113 |
-
}
|
4114 |
-
.navbar-collapse.collapse {
|
4115 |
-
display: block !important;
|
4116 |
-
height: auto !important;
|
4117 |
-
padding-bottom: 0;
|
4118 |
-
overflow: visible !important;
|
4119 |
-
}
|
4120 |
-
.navbar-collapse.in {
|
4121 |
-
overflow-y: visible;
|
4122 |
-
}
|
4123 |
-
.navbar-collapse .navbar-nav.navbar-left:first-child {
|
4124 |
-
margin-left: -15px;
|
4125 |
-
}
|
4126 |
-
.navbar-collapse .navbar-nav.navbar-right:last-child {
|
4127 |
-
margin-right: -15px;
|
4128 |
-
}
|
4129 |
-
.navbar-collapse .navbar-text:last-child {
|
4130 |
-
margin-right: 0;
|
4131 |
-
}
|
4132 |
-
}
|
4133 |
-
|
4134 |
-
.container > .navbar-header,
|
4135 |
-
.container > .navbar-collapse {
|
4136 |
-
margin-right: -15px;
|
4137 |
-
margin-left: -15px;
|
4138 |
-
}
|
4139 |
-
|
4140 |
-
@media (min-width: 768px) {
|
4141 |
-
.container > .navbar-header,
|
4142 |
-
.container > .navbar-collapse {
|
4143 |
-
margin-right: 0;
|
4144 |
-
margin-left: 0;
|
4145 |
-
}
|
4146 |
-
}
|
4147 |
-
|
4148 |
-
.navbar-static-top {
|
4149 |
-
border-width: 0 0 1px;
|
4150 |
-
}
|
4151 |
-
|
4152 |
-
@media (min-width: 768px) {
|
4153 |
-
.navbar-static-top {
|
4154 |
-
border-radius: 0;
|
4155 |
-
}
|
4156 |
-
}
|
4157 |
-
|
4158 |
-
.navbar-fixed-top,
|
4159 |
-
.navbar-fixed-bottom {
|
4160 |
-
position: fixed;
|
4161 |
-
right: 0;
|
4162 |
-
left: 0;
|
4163 |
-
border-width: 0 0 1px;
|
4164 |
-
}
|
4165 |
-
|
4166 |
-
@media (min-width: 768px) {
|
4167 |
-
.navbar-fixed-top,
|
4168 |
-
.navbar-fixed-bottom {
|
4169 |
-
border-radius: 0;
|
4170 |
-
}
|
4171 |
-
}
|
4172 |
-
|
4173 |
-
.navbar-fixed-top {
|
4174 |
-
top: 0;
|
4175 |
-
z-index: 1030;
|
4176 |
-
}
|
4177 |
-
|
4178 |
-
.navbar-fixed-bottom {
|
4179 |
-
bottom: 0;
|
4180 |
-
margin-bottom: 0;
|
4181 |
-
}
|
4182 |
-
|
4183 |
-
.navbar-brand {
|
4184 |
-
float: left;
|
4185 |
-
padding: 15px 15px;
|
4186 |
-
font-size: 18px;
|
4187 |
-
line-height: 20px;
|
4188 |
-
}
|
4189 |
-
|
4190 |
-
.navbar-brand:hover,
|
4191 |
-
.navbar-brand:focus {
|
4192 |
-
text-decoration: none;
|
4193 |
-
}
|
4194 |
-
|
4195 |
-
@media (min-width: 768px) {
|
4196 |
-
.navbar > .container .navbar-brand {
|
4197 |
-
margin-left: -15px;
|
4198 |
-
}
|
4199 |
-
}
|
4200 |
-
|
4201 |
-
.navbar-toggle {
|
4202 |
-
position: relative;
|
4203 |
-
float: right;
|
4204 |
-
padding: 9px 10px;
|
4205 |
-
margin-top: 8px;
|
4206 |
-
margin-right: 15px;
|
4207 |
-
margin-bottom: 8px;
|
4208 |
-
background-color: transparent;
|
4209 |
-
border: 1px solid transparent;
|
4210 |
-
border-radius: 4px;
|
4211 |
-
}
|
4212 |
-
|
4213 |
-
.navbar-toggle .icon-bar {
|
4214 |
-
display: block;
|
4215 |
-
width: 22px;
|
4216 |
-
height: 2px;
|
4217 |
-
border-radius: 1px;
|
4218 |
-
}
|
4219 |
-
|
4220 |
-
.navbar-toggle .icon-bar + .icon-bar {
|
4221 |
-
margin-top: 4px;
|
4222 |
-
}
|
4223 |
-
|
4224 |
-
@media (min-width: 768px) {
|
4225 |
-
.navbar-toggle {
|
4226 |
-
display: none;
|
4227 |
-
}
|
4228 |
-
}
|
4229 |
-
|
4230 |
-
.navbar-nav {
|
4231 |
-
margin: 7.5px -15px;
|
4232 |
-
}
|
4233 |
-
|
4234 |
-
.navbar-nav > li > a {
|
4235 |
-
padding-top: 10px;
|
4236 |
-
padding-bottom: 10px;
|
4237 |
-
line-height: 20px;
|
4238 |
-
}
|
4239 |
-
|
4240 |
-
@media (max-width: 767px) {
|
4241 |
-
.navbar-nav .open .dropdown-menu {
|
4242 |
-
position: static;
|
4243 |
-
float: none;
|
4244 |
-
width: auto;
|
4245 |
-
margin-top: 0;
|
4246 |
-
background-color: transparent;
|
4247 |
-
border: 0;
|
4248 |
-
box-shadow: none;
|
4249 |
-
}
|
4250 |
-
.navbar-nav .open .dropdown-menu > li > a,
|
4251 |
-
.navbar-nav .open .dropdown-menu .dropdown-header {
|
4252 |
-
padding: 5px 15px 5px 25px;
|
4253 |
-
}
|
4254 |
-
.navbar-nav .open .dropdown-menu > li > a {
|
4255 |
-
line-height: 20px;
|
4256 |
-
}
|
4257 |
-
.navbar-nav .open .dropdown-menu > li > a:hover,
|
4258 |
-
.navbar-nav .open .dropdown-menu > li > a:focus {
|
4259 |
-
background-image: none;
|
4260 |
-
}
|
4261 |
-
}
|
4262 |
-
|
4263 |
-
@media (min-width: 768px) {
|
4264 |
-
.navbar-nav {
|
4265 |
-
float: left;
|
4266 |
-
margin: 0;
|
4267 |
-
}
|
4268 |
-
.navbar-nav > li {
|
4269 |
-
float: left;
|
4270 |
-
}
|
4271 |
-
.navbar-nav > li > a {
|
4272 |
-
padding-top: 15px;
|
4273 |
-
padding-bottom: 15px;
|
4274 |
-
}
|
4275 |
-
}
|
4276 |
-
|
4277 |
-
@media (min-width: 768px) {
|
4278 |
-
.navbar-left {
|
4279 |
-
float: left !important;
|
4280 |
-
}
|
4281 |
-
.navbar-right {
|
4282 |
-
float: right !important;
|
4283 |
-
}
|
4284 |
-
}
|
4285 |
-
|
4286 |
-
.navbar-form {
|
4287 |
-
padding: 10px 15px;
|
4288 |
-
margin-top: 8px;
|
4289 |
-
margin-right: -15px;
|
4290 |
-
margin-bottom: 8px;
|
4291 |
-
margin-left: -15px;
|
4292 |
-
border-top: 1px solid transparent;
|
4293 |
-
border-bottom: 1px solid transparent;
|
4294 |
-
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
4295 |
-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
4296 |
-
}
|
4297 |
-
|
4298 |
-
@media (min-width: 768px) {
|
4299 |
-
.navbar-form .form-group {
|
4300 |
-
display: inline-block;
|
4301 |
-
margin-bottom: 0;
|
4302 |
-
vertical-align: middle;
|
4303 |
-
}
|
4304 |
-
.navbar-form .form-control {
|
4305 |
-
display: inline-block;
|
4306 |
-
}
|
4307 |
-
.navbar-form .radio,
|
4308 |
-
.navbar-form .checkbox {
|
4309 |
-
display: inline-block;
|
4310 |
-
padding-left: 0;
|
4311 |
-
margin-top: 0;
|
4312 |
-
margin-bottom: 0;
|
4313 |
-
}
|
4314 |
-
.navbar-form .radio input[type="radio"],
|
4315 |
-
.navbar-form .checkbox input[type="checkbox"] {
|
4316 |
-
float: none;
|
4317 |
-
margin-left: 0;
|
4318 |
-
}
|
4319 |
-
}
|
4320 |
-
|
4321 |
-
@media (max-width: 767px) {
|
4322 |
-
.navbar-form .form-group {
|
4323 |
-
margin-bottom: 5px;
|
4324 |
-
}
|
4325 |
-
}
|
4326 |
-
|
4327 |
-
@media (min-width: 768px) {
|
4328 |
-
.navbar-form {
|
4329 |
-
width: auto;
|
4330 |
-
padding-top: 0;
|
4331 |
-
padding-bottom: 0;
|
4332 |
-
margin-right: 0;
|
4333 |
-
margin-left: 0;
|
4334 |
-
border: 0;
|
4335 |
-
-webkit-box-shadow: none;
|
4336 |
-
box-shadow: none;
|
4337 |
-
}
|
4338 |
-
}
|
4339 |
-
|
4340 |
-
.navbar-nav > li > .dropdown-menu {
|
4341 |
-
margin-top: 0;
|
4342 |
-
border-top-right-radius: 0;
|
4343 |
-
border-top-left-radius: 0;
|
4344 |
-
}
|
4345 |
-
|
4346 |
-
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
|
4347 |
-
border-bottom-right-radius: 0;
|
4348 |
-
border-bottom-left-radius: 0;
|
4349 |
-
}
|
4350 |
-
|
4351 |
-
.navbar-nav.pull-right > li > .dropdown-menu,
|
4352 |
-
.navbar-nav > li > .dropdown-menu.pull-right {
|
4353 |
-
right: 0;
|
4354 |
-
left: auto;
|
4355 |
-
}
|
4356 |
-
|
4357 |
-
.navbar-btn {
|
4358 |
-
margin-top: 8px;
|
4359 |
-
margin-bottom: 8px;
|
4360 |
-
}
|
4361 |
-
|
4362 |
-
.navbar-text {
|
4363 |
-
float: left;
|
4364 |
-
margin-top: 15px;
|
4365 |
-
margin-bottom: 15px;
|
4366 |
-
}
|
4367 |
-
|
4368 |
-
@media (min-width: 768px) {
|
4369 |
-
.navbar-text {
|
4370 |
-
margin-right: 15px;
|
4371 |
-
margin-left: 15px;
|
4372 |
-
}
|
4373 |
-
}
|
4374 |
-
|
4375 |
-
.navbar-default {
|
4376 |
-
background-color: #f8f8f8;
|
4377 |
-
border-color: #e7e7e7;
|
4378 |
-
}
|
4379 |
-
|
4380 |
-
.navbar-default .navbar-brand {
|
4381 |
-
color: #777777;
|
4382 |
-
}
|
4383 |
-
|
4384 |
-
.navbar-default .navbar-brand:hover,
|
4385 |
-
.navbar-default .navbar-brand:focus {
|
4386 |
-
color: #5e5e5e;
|
4387 |
-
background-color: transparent;
|
4388 |
-
}
|
4389 |
-
|
4390 |
-
.navbar-default .navbar-text {
|
4391 |
-
color: #777777;
|
4392 |
-
}
|
4393 |
-
|
4394 |
-
.navbar-default .navbar-nav > li > a {
|
4395 |
-
color: #777777;
|
4396 |
-
}
|
4397 |
-
|
4398 |
-
.navbar-default .navbar-nav > li > a:hover,
|
4399 |
-
.navbar-default .navbar-nav > li > a:focus {
|
4400 |
-
color: #333333;
|
4401 |
-
background-color: transparent;
|
4402 |
-
}
|
4403 |
-
|
4404 |
-
.navbar-default .navbar-nav > .active > a,
|
4405 |
-
.navbar-default .navbar-nav > .active > a:hover,
|
4406 |
-
.navbar-default .navbar-nav > .active > a:focus {
|
4407 |
-
color: #555555;
|
4408 |
-
background-color: #e7e7e7;
|
4409 |
-
}
|
4410 |
-
|
4411 |
-
.navbar-default .navbar-nav > .disabled > a,
|
4412 |
-
.navbar-default .navbar-nav > .disabled > a:hover,
|
4413 |
-
.navbar-default .navbar-nav > .disabled > a:focus {
|
4414 |
-
color: #cccccc;
|
4415 |
-
background-color: transparent;
|
4416 |
-
}
|
4417 |
-
|
4418 |
-
.navbar-default .navbar-toggle {
|
4419 |
-
border-color: #dddddd;
|
4420 |
-
}
|
4421 |
-
|
4422 |
-
.navbar-default .navbar-toggle:hover,
|
4423 |
-
.navbar-default .navbar-toggle:focus {
|
4424 |
-
background-color: #dddddd;
|
4425 |
-
}
|
4426 |
-
|
4427 |
-
.navbar-default .navbar-toggle .icon-bar {
|
4428 |
-
background-color: #cccccc;
|
4429 |
-
}
|
4430 |
-
|
4431 |
-
.navbar-default .navbar-collapse,
|
4432 |
-
.navbar-default .navbar-form {
|
4433 |
-
border-color: #e6e6e6;
|
4434 |
-
}
|
4435 |
-
|
4436 |
-
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
|
4437 |
-
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
|
4438 |
-
border-top-color: #333333;
|
4439 |
-
border-bottom-color: #333333;
|
4440 |
-
}
|
4441 |
-
|
4442 |
-
.navbar-default .navbar-nav > .open > a,
|
4443 |
-
.navbar-default .navbar-nav > .open > a:hover,
|
4444 |
-
.navbar-default .navbar-nav > .open > a:focus {
|
4445 |
-
color: #555555;
|
4446 |
-
background-color: #e7e7e7;
|
4447 |
-
}
|
4448 |
-
|
4449 |
-
.navbar-default .navbar-nav > .open > a .caret,
|
4450 |
-
.navbar-default .navbar-nav > .open > a:hover .caret,
|
4451 |
-
.navbar-default .navbar-nav > .open > a:focus .caret {
|
4452 |
-
border-top-color: #555555;
|
4453 |
-
border-bottom-color: #555555;
|
4454 |
-
}
|
4455 |
-
|
4456 |
-
.navbar-default .navbar-nav > .dropdown > a .caret {
|
4457 |
-
border-top-color: #777777;
|
4458 |
-
border-bottom-color: #777777;
|
4459 |
-
}
|
4460 |
-
|
4461 |
-
@media (max-width: 767px) {
|
4462 |
-
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
|
4463 |
-
color: #777777;
|
4464 |
-
}
|
4465 |
-
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
|
4466 |
-
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
|
4467 |
-
color: #333333;
|
4468 |
-
background-color: transparent;
|
4469 |
-
}
|
4470 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .active > a,
|
4471 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
|
4472 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
|
4473 |
-
color: #555555;
|
4474 |
-
background-color: #e7e7e7;
|
4475 |
-
}
|
4476 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
|
4477 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
|
4478 |
-
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
4479 |
-
color: #cccccc;
|
4480 |
-
background-color: transparent;
|
4481 |
-
}
|
4482 |
-
}
|
4483 |
-
|
4484 |
-
.navbar-default .navbar-link {
|
4485 |
-
color: #777777;
|
4486 |
-
}
|
4487 |
-
|
4488 |
-
.navbar-default .navbar-link:hover {
|
4489 |
-
color: #333333;
|
4490 |
-
}
|
4491 |
-
|
4492 |
-
.navbar-inverse {
|
4493 |
-
background-color: #222222;
|
4494 |
-
border-color: #080808;
|
4495 |
-
}
|
4496 |
-
|
4497 |
-
.navbar-inverse .navbar-brand {
|
4498 |
-
color: #999999;
|
4499 |
-
}
|
4500 |
-
|
4501 |
-
.navbar-inverse .navbar-brand:hover,
|
4502 |
-
.navbar-inverse .navbar-brand:focus {
|
4503 |
-
color: #ffffff;
|
4504 |
-
background-color: transparent;
|
4505 |
-
}
|
4506 |
-
|
4507 |
-
.navbar-inverse .navbar-text {
|
4508 |
-
color: #999999;
|
4509 |
-
}
|
4510 |
-
|
4511 |
-
.navbar-inverse .navbar-nav > li > a {
|
4512 |
-
color: #999999;
|
4513 |
-
}
|
4514 |
-
|
4515 |
-
.navbar-inverse .navbar-nav > li > a:hover,
|
4516 |
-
.navbar-inverse .navbar-nav > li > a:focus {
|
4517 |
-
color: #ffffff;
|
4518 |
-
background-color: transparent;
|
4519 |
-
}
|
4520 |
-
|
4521 |
-
.navbar-inverse .navbar-nav > .active > a,
|
4522 |
-
.navbar-inverse .navbar-nav > .active > a:hover,
|
4523 |
-
.navbar-inverse .navbar-nav > .active > a:focus {
|
4524 |
-
color: #ffffff;
|
4525 |
-
background-color: #080808;
|
4526 |
-
}
|
4527 |
-
|
4528 |
-
.navbar-inverse .navbar-nav > .disabled > a,
|
4529 |
-
.navbar-inverse .navbar-nav > .disabled > a:hover,
|
4530 |
-
.navbar-inverse .navbar-nav > .disabled > a:focus {
|
4531 |
-
color: #444444;
|
4532 |
-
background-color: transparent;
|
4533 |
-
}
|
4534 |
-
|
4535 |
-
.navbar-inverse .navbar-toggle {
|
4536 |
-
border-color: #333333;
|
4537 |
-
}
|
4538 |
-
|
4539 |
-
.navbar-inverse .navbar-toggle:hover,
|
4540 |
-
.navbar-inverse .navbar-toggle:focus {
|
4541 |
-
background-color: #333333;
|
4542 |
-
}
|
4543 |
-
|
4544 |
-
.navbar-inverse .navbar-toggle .icon-bar {
|
4545 |
-
background-color: #ffffff;
|
4546 |
-
}
|
4547 |
-
|
4548 |
-
.navbar-inverse .navbar-collapse,
|
4549 |
-
.navbar-inverse .navbar-form {
|
4550 |
-
border-color: #101010;
|
4551 |
-
}
|
4552 |
-
|
4553 |
-
.navbar-inverse .navbar-nav > .open > a,
|
4554 |
-
.navbar-inverse .navbar-nav > .open > a:hover,
|
4555 |
-
.navbar-inverse .navbar-nav > .open > a:focus {
|
4556 |
-
color: #ffffff;
|
4557 |
-
background-color: #080808;
|
4558 |
-
}
|
4559 |
-
|
4560 |
-
.navbar-inverse .navbar-nav > .dropdown > a:hover .caret {
|
4561 |
-
border-top-color: #ffffff;
|
4562 |
-
border-bottom-color: #ffffff;
|
4563 |
-
}
|
4564 |
-
|
4565 |
-
.navbar-inverse .navbar-nav > .dropdown > a .caret {
|
4566 |
-
border-top-color: #999999;
|
4567 |
-
border-bottom-color: #999999;
|
4568 |
-
}
|
4569 |
-
|
4570 |
-
.navbar-inverse .navbar-nav > .open > a .caret,
|
4571 |
-
.navbar-inverse .navbar-nav > .open > a:hover .caret,
|
4572 |
-
.navbar-inverse .navbar-nav > .open > a:focus .caret {
|
4573 |
-
border-top-color: #ffffff;
|
4574 |
-
border-bottom-color: #ffffff;
|
4575 |
-
}
|
4576 |
-
|
4577 |
-
@media (max-width: 767px) {
|
4578 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
|
4579 |
-
border-color: #080808;
|
4580 |
-
}
|
4581 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
|
4582 |
-
color: #999999;
|
4583 |
-
}
|
4584 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
|
4585 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
|
4586 |
-
color: #ffffff;
|
4587 |
-
background-color: transparent;
|
4588 |
-
}
|
4589 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
|
4590 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
|
4591 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
|
4592 |
-
color: #ffffff;
|
4593 |
-
background-color: #080808;
|
4594 |
-
}
|
4595 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
|
4596 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
|
4597 |
-
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
4598 |
-
color: #444444;
|
4599 |
-
background-color: transparent;
|
4600 |
-
}
|
4601 |
-
}
|
4602 |
-
|
4603 |
-
.navbar-inverse .navbar-link {
|
4604 |
-
color: #999999;
|
4605 |
-
}
|
4606 |
-
|
4607 |
-
.navbar-inverse .navbar-link:hover {
|
4608 |
-
color: #ffffff;
|
4609 |
-
}
|
4610 |
-
|
4611 |
-
.breadcrumb {
|
4612 |
-
padding: 8px 15px;
|
4613 |
-
margin-bottom: 20px;
|
4614 |
-
list-style: none;
|
4615 |
-
background-color: #f5f5f5;
|
4616 |
-
border-radius: 4px;
|
4617 |
-
}
|
4618 |
-
|
4619 |
-
.breadcrumb > li {
|
4620 |
-
display: inline-block;
|
4621 |
-
}
|
4622 |
-
|
4623 |
-
.breadcrumb > li + li:before {
|
4624 |
-
padding: 0 5px;
|
4625 |
-
color: #cccccc;
|
4626 |
-
content: "/\00a0";
|
4627 |
-
}
|
4628 |
-
|
4629 |
-
.breadcrumb > .active {
|
4630 |
-
color: #999999;
|
4631 |
-
}
|
4632 |
-
|
4633 |
-
.pagination {
|
4634 |
-
display: inline-block;
|
4635 |
-
padding-left: 0;
|
4636 |
-
margin: 20px 0;
|
4637 |
-
border-radius: 4px;
|
4638 |
-
}
|
4639 |
-
|
4640 |
-
.pagination > li {
|
4641 |
-
display: inline;
|
4642 |
-
}
|
4643 |
-
|
4644 |
-
.pagination > li > a,
|
4645 |
-
.pagination > li > span {
|
4646 |
-
position: relative;
|
4647 |
-
float: left;
|
4648 |
-
padding: 6px 12px;
|
4649 |
-
margin-left: -1px;
|
4650 |
-
line-height: 1.428571429;
|
4651 |
-
text-decoration: none;
|
4652 |
-
background-color: #ffffff;
|
4653 |
-
border: 1px solid #dddddd;
|
4654 |
-
}
|
4655 |
-
|
4656 |
-
.pagination > li:first-child > a,
|
4657 |
-
.pagination > li:first-child > span {
|
4658 |
-
margin-left: 0;
|
4659 |
-
border-bottom-left-radius: 4px;
|
4660 |
-
border-top-left-radius: 4px;
|
4661 |
-
}
|
4662 |
-
|
4663 |
-
.pagination > li:last-child > a,
|
4664 |
-
.pagination > li:last-child > span {
|
4665 |
-
border-top-right-radius: 4px;
|
4666 |
-
border-bottom-right-radius: 4px;
|
4667 |
-
}
|
4668 |
-
|
4669 |
-
.pagination > li > a:hover,
|
4670 |
-
.pagination > li > span:hover,
|
4671 |
-
.pagination > li > a:focus,
|
4672 |
-
.pagination > li > span:focus {
|
4673 |
-
background-color: #eeeeee;
|
4674 |
-
}
|
4675 |
-
|
4676 |
-
.pagination > .active > a,
|
4677 |
-
.pagination > .active > span,
|
4678 |
-
.pagination > .active > a:hover,
|
4679 |
-
.pagination > .active > span:hover,
|
4680 |
-
.pagination > .active > a:focus,
|
4681 |
-
.pagination > .active > span:focus {
|
4682 |
-
z-index: 2;
|
4683 |
-
color: #ffffff;
|
4684 |
-
cursor: default;
|
4685 |
-
background-color: #428bca;
|
4686 |
-
border-color: #428bca;
|
4687 |
-
}
|
4688 |
-
|
4689 |
-
.pagination > .disabled > span,
|
4690 |
-
.pagination > .disabled > a,
|
4691 |
-
.pagination > .disabled > a:hover,
|
4692 |
-
.pagination > .disabled > a:focus {
|
4693 |
-
color: #999999;
|
4694 |
-
cursor: not-allowed;
|
4695 |
-
background-color: #ffffff;
|
4696 |
-
border-color: #dddddd;
|
4697 |
-
}
|
4698 |
-
|
4699 |
-
.pagination-lg > li > a,
|
4700 |
-
.pagination-lg > li > span {
|
4701 |
-
padding: 10px 16px;
|
4702 |
-
font-size: 18px;
|
4703 |
-
}
|
4704 |
-
|
4705 |
-
.pagination-lg > li:first-child > a,
|
4706 |
-
.pagination-lg > li:first-child > span {
|
4707 |
-
border-bottom-left-radius: 6px;
|
4708 |
-
border-top-left-radius: 6px;
|
4709 |
-
}
|
4710 |
-
|
4711 |
-
.pagination-lg > li:last-child > a,
|
4712 |
-
.pagination-lg > li:last-child > span {
|
4713 |
-
border-top-right-radius: 6px;
|
4714 |
-
border-bottom-right-radius: 6px;
|
4715 |
-
}
|
4716 |
-
|
4717 |
-
.pagination-sm > li > a,
|
4718 |
-
.pagination-sm > li > span {
|
4719 |
-
padding: 5px 10px;
|
4720 |
-
font-size: 12px;
|
4721 |
-
}
|
4722 |
-
|
4723 |
-
.pagination-sm > li:first-child > a,
|
4724 |
-
.pagination-sm > li:first-child > span {
|
4725 |
-
border-bottom-left-radius: 3px;
|
4726 |
-
border-top-left-radius: 3px;
|
4727 |
-
}
|
4728 |
-
|
4729 |
-
.pagination-sm > li:last-child > a,
|
4730 |
-
.pagination-sm > li:last-child > span {
|
4731 |
-
border-top-right-radius: 3px;
|
4732 |
-
border-bottom-right-radius: 3px;
|
4733 |
-
}
|
4734 |
-
|
4735 |
-
.pager {
|
4736 |
-
padding-left: 0;
|
4737 |
-
margin: 20px 0;
|
4738 |
-
text-align: center;
|
4739 |
-
list-style: none;
|
4740 |
-
}
|
4741 |
-
|
4742 |
-
.pager:before,
|
4743 |
-
.pager:after {
|
4744 |
-
display: table;
|
4745 |
-
content: " ";
|
4746 |
-
}
|
4747 |
-
|
4748 |
-
.pager:after {
|
4749 |
-
clear: both;
|
4750 |
-
}
|
4751 |
-
|
4752 |
-
.pager:before,
|
4753 |
-
.pager:after {
|
4754 |
-
display: table;
|
4755 |
-
content: " ";
|
4756 |
-
}
|
4757 |
-
|
4758 |
-
.pager:after {
|
4759 |
-
clear: both;
|
4760 |
-
}
|
4761 |
-
|
4762 |
-
.pager li {
|
4763 |
-
display: inline;
|
4764 |
-
}
|
4765 |
-
|
4766 |
-
.pager li > a,
|
4767 |
-
.pager li > span {
|
4768 |
-
display: inline-block;
|
4769 |
-
padding: 5px 14px;
|
4770 |
-
background-color: #ffffff;
|
4771 |
-
border: 1px solid #dddddd;
|
4772 |
-
border-radius: 15px;
|
4773 |
-
}
|
4774 |
-
|
4775 |
-
.pager li > a:hover,
|
4776 |
-
.pager li > a:focus {
|
4777 |
-
text-decoration: none;
|
4778 |
-
background-color: #eeeeee;
|
4779 |
-
}
|
4780 |
-
|
4781 |
-
.pager .next > a,
|
4782 |
-
.pager .next > span {
|
4783 |
-
float: right;
|
4784 |
-
}
|
4785 |
-
|
4786 |
-
.pager .previous > a,
|
4787 |
-
.pager .previous > span {
|
4788 |
-
float: left;
|
4789 |
-
}
|
4790 |
-
|
4791 |
-
.pager .disabled > a,
|
4792 |
-
.pager .disabled > a:hover,
|
4793 |
-
.pager .disabled > a:focus,
|
4794 |
-
.pager .disabled > span {
|
4795 |
-
color: #999999;
|
4796 |
-
cursor: not-allowed;
|
4797 |
-
background-color: #ffffff;
|
4798 |
-
}
|
4799 |
-
|
4800 |
-
.label {
|
4801 |
-
display: inline;
|
4802 |
-
padding: .2em .6em .3em;
|
4803 |
-
font-size: 75%;
|
4804 |
-
font-weight: bold;
|
4805 |
-
line-height: 1;
|
4806 |
-
color: #ffffff;
|
4807 |
-
text-align: center;
|
4808 |
-
white-space: nowrap;
|
4809 |
-
vertical-align: baseline;
|
4810 |
-
border-radius: .25em;
|
4811 |
-
}
|
4812 |
-
|
4813 |
-
.label[href]:hover,
|
4814 |
-
.label[href]:focus {
|
4815 |
-
color: #ffffff;
|
4816 |
-
text-decoration: none;
|
4817 |
-
cursor: pointer;
|
4818 |
-
}
|
4819 |
-
|
4820 |
-
.label:empty {
|
4821 |
-
display: none;
|
4822 |
-
}
|
4823 |
-
|
4824 |
-
.label-default {
|
4825 |
-
background-color: #999999;
|
4826 |
-
}
|
4827 |
-
|
4828 |
-
.label-default[href]:hover,
|
4829 |
-
.label-default[href]:focus {
|
4830 |
-
background-color: #808080;
|
4831 |
-
}
|
4832 |
-
|
4833 |
-
.label-primary {
|
4834 |
-
background-color: #428bca;
|
4835 |
-
}
|
4836 |
-
|
4837 |
-
.label-primary[href]:hover,
|
4838 |
-
.label-primary[href]:focus {
|
4839 |
-
background-color: #3071a9;
|
4840 |
-
}
|
4841 |
-
|
4842 |
-
.label-success {
|
4843 |
-
background-color: #5cb85c;
|
4844 |
-
}
|
4845 |
-
|
4846 |
-
.label-success[href]:hover,
|
4847 |
-
.label-success[href]:focus {
|
4848 |
-
background-color: #449d44;
|
4849 |
-
}
|
4850 |
-
|
4851 |
-
.label-info {
|
4852 |
-
background-color: #5bc0de;
|
4853 |
-
}
|
4854 |
-
|
4855 |
-
.label-info[href]:hover,
|
4856 |
-
.label-info[href]:focus {
|
4857 |
-
background-color: #31b0d5;
|
4858 |
-
}
|
4859 |
-
|
4860 |
-
.label-warning {
|
4861 |
-
background-color: #f0ad4e;
|
4862 |
-
}
|
4863 |
-
|
4864 |
-
.label-warning[href]:hover,
|
4865 |
-
.label-warning[href]:focus {
|
4866 |
-
background-color: #ec971f;
|
4867 |
-
}
|
4868 |
-
|
4869 |
-
.label-danger {
|
4870 |
-
background-color: #d9534f;
|
4871 |
-
}
|
4872 |
-
|
4873 |
-
.label-danger[href]:hover,
|
4874 |
-
.label-danger[href]:focus {
|
4875 |
-
background-color: #c9302c;
|
4876 |
-
}
|
4877 |
-
|
4878 |
-
.badge {
|
4879 |
-
display: inline-block;
|
4880 |
-
min-width: 10px;
|
4881 |
-
padding: 3px 7px;
|
4882 |
-
font-size: 12px;
|
4883 |
-
font-weight: bold;
|
4884 |
-
line-height: 1;
|
4885 |
-
color: #ffffff;
|
4886 |
-
text-align: center;
|
4887 |
-
white-space: nowrap;
|
4888 |
-
vertical-align: baseline;
|
4889 |
-
background-color: #999999;
|
4890 |
-
border-radius: 10px;
|
4891 |
-
}
|
4892 |
-
|
4893 |
-
.badge:empty {
|
4894 |
-
display: none;
|
4895 |
-
}
|
4896 |
-
|
4897 |
-
a.badge:hover,
|
4898 |
-
a.badge:focus {
|
4899 |
-
color: #ffffff;
|
4900 |
-
text-decoration: none;
|
4901 |
-
cursor: pointer;
|
4902 |
-
}
|
4903 |
-
|
4904 |
-
.btn .badge {
|
4905 |
-
position: relative;
|
4906 |
-
top: -1px;
|
4907 |
-
}
|
4908 |
-
|
4909 |
-
a.list-group-item.active > .badge,
|
4910 |
-
.nav-pills > .active > a > .badge {
|
4911 |
-
color: #428bca;
|
4912 |
-
background-color: #ffffff;
|
4913 |
-
}
|
4914 |
-
|
4915 |
-
.nav-pills > li > a > .badge {
|
4916 |
-
margin-left: 3px;
|
4917 |
-
}
|
4918 |
-
|
4919 |
-
.jumbotron {
|
4920 |
-
padding: 30px;
|
4921 |
-
margin-bottom: 30px;
|
4922 |
-
font-size: 21px;
|
4923 |
-
font-weight: 200;
|
4924 |
-
line-height: 2.1428571435;
|
4925 |
-
color: inherit;
|
4926 |
-
background-color: #eeeeee;
|
4927 |
-
}
|
4928 |
-
|
4929 |
-
.jumbotron h1 {
|
4930 |
-
line-height: 1;
|
4931 |
-
color: inherit;
|
4932 |
-
}
|
4933 |
-
|
4934 |
-
.jumbotron p {
|
4935 |
-
line-height: 1.4;
|
4936 |
-
}
|
4937 |
-
|
4938 |
-
.container .jumbotron {
|
4939 |
-
border-radius: 6px;
|
4940 |
-
}
|
4941 |
-
|
4942 |
-
@media screen and (min-width: 768px) {
|
4943 |
-
.jumbotron {
|
4944 |
-
padding-top: 48px;
|
4945 |
-
padding-bottom: 48px;
|
4946 |
-
}
|
4947 |
-
.container .jumbotron {
|
4948 |
-
padding-right: 60px;
|
4949 |
-
padding-left: 60px;
|
4950 |
-
}
|
4951 |
-
.jumbotron h1 {
|
4952 |
-
font-size: 63px;
|
4953 |
-
}
|
4954 |
-
}
|
4955 |
-
|
4956 |
-
.thumbnail {
|
4957 |
-
display: inline-block;
|
4958 |
-
display: block;
|
4959 |
-
height: auto;
|
4960 |
-
max-width: 100%;
|
4961 |
-
padding: 4px;
|
4962 |
-
line-height: 1.428571429;
|
4963 |
-
background-color: #ffffff;
|
4964 |
-
border: 1px solid #dddddd;
|
4965 |
-
border-radius: 4px;
|
4966 |
-
-webkit-transition: all 0.2s ease-in-out;
|
4967 |
-
transition: all 0.2s ease-in-out;
|
4968 |
-
}
|
4969 |
-
|
4970 |
-
.thumbnail > img {
|
4971 |
-
display: block;
|
4972 |
-
height: auto;
|
4973 |
-
max-width: 100%;
|
4974 |
-
}
|
4975 |
-
|
4976 |
-
a.thumbnail:hover,
|
4977 |
-
a.thumbnail:focus {
|
4978 |
-
border-color: #428bca;
|
4979 |
-
}
|
4980 |
-
|
4981 |
-
.thumbnail > img {
|
4982 |
-
margin-right: auto;
|
4983 |
-
margin-left: auto;
|
4984 |
-
}
|
4985 |
-
|
4986 |
-
.thumbnail .caption {
|
4987 |
-
padding: 9px;
|
4988 |
-
color: #333333;
|
4989 |
-
}
|
4990 |
-
|
4991 |
-
.alert {
|
4992 |
-
padding: 15px;
|
4993 |
-
margin-bottom: 20px;
|
4994 |
-
border: 1px solid transparent;
|
4995 |
-
border-radius: 4px;
|
4996 |
-
}
|
4997 |
-
|
4998 |
-
.alert h4 {
|
4999 |
-
margin-top: 0;
|
5000 |
-
color: inherit;
|
5001 |
-
}
|
5002 |
-
|
5003 |
-
.alert .alert-link {
|
5004 |
-
font-weight: bold;
|
5005 |
-
}
|
5006 |
-
|
5007 |
-
.alert > p,
|
5008 |
-
.alert > ul {
|
5009 |
-
margin-bottom: 0;
|
5010 |
-
}
|
5011 |
-
|
5012 |
-
.alert > p + p {
|
5013 |
-
margin-top: 5px;
|
5014 |
-
}
|
5015 |
-
|
5016 |
-
.alert-dismissable {
|
5017 |
-
padding-right: 35px;
|
5018 |
-
}
|
5019 |
-
|
5020 |
-
.alert-dismissable .close {
|
5021 |
-
position: relative;
|
5022 |
-
top: -2px;
|
5023 |
-
right: -21px;
|
5024 |
-
color: inherit;
|
5025 |
-
}
|
5026 |
-
|
5027 |
-
.alert-success {
|
5028 |
-
color: #468847;
|
5029 |
-
background-color: #dff0d8;
|
5030 |
-
border-color: #d6e9c6;
|
5031 |
-
}
|
5032 |
-
|
5033 |
-
.alert-success hr {
|
5034 |
-
border-top-color: #c9e2b3;
|
5035 |
-
}
|
5036 |
-
|
5037 |
-
.alert-success .alert-link {
|
5038 |
-
color: #356635;
|
5039 |
-
}
|
5040 |
-
|
5041 |
-
.alert-info {
|
5042 |
-
color: #3a87ad;
|
5043 |
-
background-color: #d9edf7;
|
5044 |
-
border-color: #bce8f1;
|
5045 |
-
}
|
5046 |
-
|
5047 |
-
.alert-info hr {
|
5048 |
-
border-top-color: #a6e1ec;
|
5049 |
-
}
|
5050 |
-
|
5051 |
-
.alert-info .alert-link {
|
5052 |
-
color: #2d6987;
|
5053 |
-
}
|
5054 |
-
|
5055 |
-
.alert-warning {
|
5056 |
-
color: #c09853;
|
5057 |
-
background-color: #fcf8e3;
|
5058 |
-
border-color: #fbeed5;
|
5059 |
-
}
|
5060 |
-
|
5061 |
-
.alert-warning hr {
|
5062 |
-
border-top-color: #f8e5be;
|
5063 |
-
}
|
5064 |
-
|
5065 |
-
.alert-warning .alert-link {
|
5066 |
-
color: #a47e3c;
|
5067 |
-
}
|
5068 |
-
|
5069 |
-
.alert-danger {
|
5070 |
-
color: #b94a48;
|
5071 |
-
background-color: #f2dede;
|
5072 |
-
border-color: #eed3d7;
|
5073 |
-
}
|
5074 |
-
|
5075 |
-
.alert-danger hr {
|
5076 |
-
border-top-color: #e6c1c7;
|
5077 |
-
}
|
5078 |
-
|
5079 |
-
.alert-danger .alert-link {
|
5080 |
-
color: #953b39;
|
5081 |
-
}
|
5082 |
-
|
5083 |
-
@-webkit-keyframes progress-bar-stripes {
|
5084 |
-
from {
|
5085 |
-
background-position: 40px 0;
|
5086 |
-
}
|
5087 |
-
to {
|
5088 |
-
background-position: 0 0;
|
5089 |
-
}
|
5090 |
-
}
|
5091 |
-
|
5092 |
-
@-moz-keyframes progress-bar-stripes {
|
5093 |
-
from {
|
5094 |
-
background-position: 40px 0;
|
5095 |
-
}
|
5096 |
-
to {
|
5097 |
-
background-position: 0 0;
|
5098 |
-
}
|
5099 |
-
}
|
5100 |
-
|
5101 |
-
@-o-keyframes progress-bar-stripes {
|
5102 |
-
from {
|
5103 |
-
background-position: 0 0;
|
5104 |
-
}
|
5105 |
-
to {
|
5106 |
-
background-position: 40px 0;
|
5107 |
-
}
|
5108 |
-
}
|
5109 |
-
|
5110 |
-
@keyframes progress-bar-stripes {
|
5111 |
-
from {
|
5112 |
-
background-position: 40px 0;
|
5113 |
-
}
|
5114 |
-
to {
|
5115 |
-
background-position: 0 0;
|
5116 |
-
}
|
5117 |
-
}
|
5118 |
-
|
5119 |
-
.progress {
|
5120 |
-
height: 20px;
|
5121 |
-
margin-bottom: 20px;
|
5122 |
-
overflow: hidden;
|
5123 |
-
background-color: #f5f5f5;
|
5124 |
-
border-radius: 4px;
|
5125 |
-
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
5126 |
-
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
5127 |
-
}
|
5128 |
-
|
5129 |
-
.progress-bar {
|
5130 |
-
float: left;
|
5131 |
-
width: 0;
|
5132 |
-
height: 100%;
|
5133 |
-
font-size: 12px;
|
5134 |
-
color: #ffffff;
|
5135 |
-
text-align: center;
|
5136 |
-
background-color: #428bca;
|
5137 |
-
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
5138 |
-
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
5139 |
-
-webkit-transition: width 0.6s ease;
|
5140 |
-
transition: width 0.6s ease;
|
5141 |
-
}
|
5142 |
-
|
5143 |
-
.progress-striped .progress-bar {
|
5144 |
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
5145 |
-
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5146 |
-
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5147 |
-
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5148 |
-
background-size: 40px 40px;
|
5149 |
-
}
|
5150 |
-
|
5151 |
-
.progress.active .progress-bar {
|
5152 |
-
-webkit-animation: progress-bar-stripes 2s linear infinite;
|
5153 |
-
-moz-animation: progress-bar-stripes 2s linear infinite;
|
5154 |
-
-ms-animation: progress-bar-stripes 2s linear infinite;
|
5155 |
-
-o-animation: progress-bar-stripes 2s linear infinite;
|
5156 |
-
animation: progress-bar-stripes 2s linear infinite;
|
5157 |
-
}
|
5158 |
-
|
5159 |
-
.progress-bar-success {
|
5160 |
-
background-color: #5cb85c;
|
5161 |
-
}
|
5162 |
-
|
5163 |
-
.progress-striped .progress-bar-success {
|
5164 |
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
5165 |
-
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5166 |
-
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5167 |
-
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5168 |
-
}
|
5169 |
-
|
5170 |
-
.progress-bar-info {
|
5171 |
-
background-color: #5bc0de;
|
5172 |
-
}
|
5173 |
-
|
5174 |
-
.progress-striped .progress-bar-info {
|
5175 |
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
5176 |
-
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5177 |
-
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5178 |
-
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5179 |
-
}
|
5180 |
-
|
5181 |
-
.progress-bar-warning {
|
5182 |
-
background-color: #f0ad4e;
|
5183 |
-
}
|
5184 |
-
|
5185 |
-
.progress-striped .progress-bar-warning {
|
5186 |
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
5187 |
-
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5188 |
-
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5189 |
-
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5190 |
-
}
|
5191 |
-
|
5192 |
-
.progress-bar-danger {
|
5193 |
-
background-color: #d9534f;
|
5194 |
-
}
|
5195 |
-
|
5196 |
-
.progress-striped .progress-bar-danger {
|
5197 |
-
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));
|
5198 |
-
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5199 |
-
background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5200 |
-
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
5201 |
-
}
|
5202 |
-
|
5203 |
-
.media,
|
5204 |
-
.media-body {
|
5205 |
-
overflow: hidden;
|
5206 |
-
zoom: 1;
|
5207 |
-
}
|
5208 |
-
|
5209 |
-
.media,
|
5210 |
-
.media .media {
|
5211 |
-
margin-top: 15px;
|
5212 |
-
}
|
5213 |
-
|
5214 |
-
.media:first-child {
|
5215 |
-
margin-top: 0;
|
5216 |
-
}
|
5217 |
-
|
5218 |
-
.media-object {
|
5219 |
-
display: block;
|
5220 |
-
}
|
5221 |
-
|
5222 |
-
.media-heading {
|
5223 |
-
margin: 0 0 5px;
|
5224 |
-
}
|
5225 |
-
|
5226 |
-
.media > .pull-left {
|
5227 |
-
margin-right: 10px;
|
5228 |
-
}
|
5229 |
-
|
5230 |
-
.media > .pull-right {
|
5231 |
-
margin-left: 10px;
|
5232 |
-
}
|
5233 |
-
|
5234 |
-
.media-list {
|
5235 |
-
padding-left: 0;
|
5236 |
-
list-style: none;
|
5237 |
-
}
|
5238 |
-
|
5239 |
-
.list-group {
|
5240 |
-
padding-left: 0;
|
5241 |
-
margin-bottom: 20px;
|
5242 |
-
}
|
5243 |
-
|
5244 |
-
.list-group-item {
|
5245 |
-
position: relative;
|
5246 |
-
display: block;
|
5247 |
-
padding: 10px 15px;
|
5248 |
-
margin-bottom: -1px;
|
5249 |
-
background-color: #ffffff;
|
5250 |
-
border: 1px solid #dddddd;
|
5251 |
-
}
|
5252 |
-
|
5253 |
-
.list-group-item:first-child {
|
5254 |
-
border-top-right-radius: 4px;
|
5255 |
-
border-top-left-radius: 4px;
|
5256 |
-
}
|
5257 |
-
|
5258 |
-
.list-group-item:last-child {
|
5259 |
-
margin-bottom: 0;
|
5260 |
-
border-bottom-right-radius: 4px;
|
5261 |
-
border-bottom-left-radius: 4px;
|
5262 |
-
}
|
5263 |
-
|
5264 |
-
.list-group-item > .badge {
|
5265 |
-
float: right;
|
5266 |
-
}
|
5267 |
-
|
5268 |
-
.list-group-item > .badge + .badge {
|
5269 |
-
margin-right: 5px;
|
5270 |
-
}
|
5271 |
-
|
5272 |
-
a.list-group-item {
|
5273 |
-
color: #555555;
|
5274 |
-
}
|
5275 |
-
|
5276 |
-
a.list-group-item .list-group-item-heading {
|
5277 |
-
color: #333333;
|
5278 |
-
}
|
5279 |
-
|
5280 |
-
a.list-group-item:hover,
|
5281 |
-
a.list-group-item:focus {
|
5282 |
-
text-decoration: none;
|
5283 |
-
background-color: #f5f5f5;
|
5284 |
-
}
|
5285 |
-
|
5286 |
-
.list-group-item.active,
|
5287 |
-
.list-group-item.active:hover,
|
5288 |
-
.list-group-item.active:focus {
|
5289 |
-
z-index: 2;
|
5290 |
-
color: #ffffff;
|
5291 |
-
background-color: #428bca;
|
5292 |
-
border-color: #428bca;
|
5293 |
-
}
|
5294 |
-
|
5295 |
-
.list-group-item.active .list-group-item-heading,
|
5296 |
-
.list-group-item.active:hover .list-group-item-heading,
|
5297 |
-
.list-group-item.active:focus .list-group-item-heading {
|
5298 |
-
color: inherit;
|
5299 |
-
}
|
5300 |
-
|
5301 |
-
.list-group-item.active .list-group-item-text,
|
5302 |
-
.list-group-item.active:hover .list-group-item-text,
|
5303 |
-
.list-group-item.active:focus .list-group-item-text {
|
5304 |
-
color: #e1edf7;
|
5305 |
-
}
|
5306 |
-
|
5307 |
-
.list-group-item-heading {
|
5308 |
-
margin-top: 0;
|
5309 |
-
margin-bottom: 5px;
|
5310 |
-
}
|
5311 |
-
|
5312 |
-
.list-group-item-text {
|
5313 |
-
margin-bottom: 0;
|
5314 |
-
line-height: 1.3;
|
5315 |
-
}
|
5316 |
-
|
5317 |
-
.panel {
|
5318 |
-
margin-bottom: 20px;
|
5319 |
-
background-color: #ffffff;
|
5320 |
-
border: 1px solid transparent;
|
5321 |
-
border-radius: 4px;
|
5322 |
-
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
5323 |
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
|
5324 |
-
}
|
5325 |
-
|
5326 |
-
.panel-body {
|
5327 |
-
padding: 15px;
|
5328 |
-
}
|
5329 |
-
|
5330 |
-
.panel-body:before,
|
5331 |
-
.panel-body:after {
|
5332 |
-
display: table;
|
5333 |
-
content: " ";
|
5334 |
-
}
|
5335 |
-
|
5336 |
-
.panel-body:after {
|
5337 |
-
clear: both;
|
5338 |
-
}
|
5339 |
-
|
5340 |
-
.panel-body:before,
|
5341 |
-
.panel-body:after {
|
5342 |
-
display: table;
|
5343 |
-
content: " ";
|
5344 |
-
}
|
5345 |
-
|
5346 |
-
.panel-body:after {
|
5347 |
-
clear: both;
|
5348 |
-
}
|
5349 |
-
|
5350 |
-
.panel > .list-group {
|
5351 |
-
margin-bottom: 0;
|
5352 |
-
}
|
5353 |
-
|
5354 |
-
.panel > .list-group .list-group-item {
|
5355 |
-
border-width: 1px 0;
|
5356 |
-
}
|
5357 |
-
|
5358 |
-
.panel > .list-group .list-group-item:first-child {
|
5359 |
-
border-top-right-radius: 0;
|
5360 |
-
border-top-left-radius: 0;
|
5361 |
-
}
|
5362 |
-
|
5363 |
-
.panel > .list-group .list-group-item:last-child {
|
5364 |
-
border-bottom: 0;
|
5365 |
-
}
|
5366 |
-
|
5367 |
-
.panel-heading + .list-group .list-group-item:first-child {
|
5368 |
-
border-top-width: 0;
|
5369 |
-
}
|
5370 |
-
|
5371 |
-
.panel > .table {
|
5372 |
-
margin-bottom: 0;
|
5373 |
-
}
|
5374 |
-
|
5375 |
-
.panel > .panel-body + .table {
|
5376 |
-
border-top: 1px solid #dddddd;
|
5377 |
-
}
|
5378 |
-
|
5379 |
-
.panel-heading {
|
5380 |
-
padding: 10px 15px;
|
5381 |
-
border-bottom: 1px solid transparent;
|
5382 |
-
border-top-right-radius: 3px;
|
5383 |
-
border-top-left-radius: 3px;
|
5384 |
-
}
|
5385 |
-
|
5386 |
-
.panel-title {
|
5387 |
-
margin-top: 0;
|
5388 |
-
margin-bottom: 0;
|
5389 |
-
font-size: 16px;
|
5390 |
-
}
|
5391 |
-
|
5392 |
-
.panel-title > a {
|
5393 |
-
color: inherit;
|
5394 |
-
}
|
5395 |
-
|
5396 |
-
.panel-footer {
|
5397 |
-
padding: 10px 15px;
|
5398 |
-
background-color: #f5f5f5;
|
5399 |
-
border-top: 1px solid #dddddd;
|
5400 |
-
border-bottom-right-radius: 3px;
|
5401 |
-
border-bottom-left-radius: 3px;
|
5402 |
-
}
|
5403 |
-
|
5404 |
-
.panel-group .panel {
|
5405 |
-
margin-bottom: 0;
|
5406 |
-
overflow: hidden;
|
5407 |
-
border-radius: 4px;
|
5408 |
-
}
|
5409 |
-
|
5410 |
-
.panel-group .panel + .panel {
|
5411 |
-
margin-top: 5px;
|
5412 |
-
}
|
5413 |
-
|
5414 |
-
.panel-group .panel-heading {
|
5415 |
-
border-bottom: 0;
|
5416 |
-
}
|
5417 |
-
|
5418 |
-
.panel-group .panel-heading + .panel-collapse .panel-body {
|
5419 |
-
border-top: 1px solid #dddddd;
|
5420 |
-
}
|
5421 |
-
|
5422 |
-
.panel-group .panel-footer {
|
5423 |
-
border-top: 0;
|
5424 |
-
}
|
5425 |
-
|
5426 |
-
.panel-group .panel-footer + .panel-collapse .panel-body {
|
5427 |
-
border-bottom: 1px solid #dddddd;
|
5428 |
-
}
|
5429 |
-
|
5430 |
-
.panel-default {
|
5431 |
-
border-color: #dddddd;
|
5432 |
-
}
|
5433 |
-
|
5434 |
-
.panel-default > .panel-heading {
|
5435 |
-
color: #333333;
|
5436 |
-
background-color: #f5f5f5;
|
5437 |
-
border-color: #dddddd;
|
5438 |
-
}
|
5439 |
-
|
5440 |
-
.panel-default > .panel-heading + .panel-collapse .panel-body {
|
5441 |
-
border-top-color: #dddddd;
|
5442 |
-
}
|
5443 |
-
|
5444 |
-
.panel-default > .panel-footer + .panel-collapse .panel-body {
|
5445 |
-
border-bottom-color: #dddddd;
|
5446 |
-
}
|
5447 |
-
|
5448 |
-
.panel-primary {
|
5449 |
-
border-color: #428bca;
|
5450 |
-
}
|
5451 |
-
|
5452 |
-
.panel-primary > .panel-heading {
|
5453 |
-
color: #ffffff;
|
5454 |
-
background-color: #428bca;
|
5455 |
-
border-color: #428bca;
|
5456 |
-
}
|
5457 |
-
|
5458 |
-
.panel-primary > .panel-heading + .panel-collapse .panel-body {
|
5459 |
-
border-top-color: #428bca;
|
5460 |
-
}
|
5461 |
-
|
5462 |
-
.panel-primary > .panel-footer + .panel-collapse .panel-body {
|
5463 |
-
border-bottom-color: #428bca;
|
5464 |
-
}
|
5465 |
-
|
5466 |
-
.panel-success {
|
5467 |
-
border-color: #d6e9c6;
|
5468 |
-
}
|
5469 |
-
|
5470 |
-
.panel-success > .panel-heading {
|
5471 |
-
color: #468847;
|
5472 |
-
background-color: #dff0d8;
|
5473 |
-
border-color: #d6e9c6;
|
5474 |
-
}
|
5475 |
-
|
5476 |
-
.panel-success > .panel-heading + .panel-collapse .panel-body {
|
5477 |
-
border-top-color: #d6e9c6;
|
5478 |
-
}
|
5479 |
-
|
5480 |
-
.panel-success > .panel-footer + .panel-collapse .panel-body {
|
5481 |
-
border-bottom-color: #d6e9c6;
|
5482 |
-
}
|
5483 |
-
|
5484 |
-
.panel-warning {
|
5485 |
-
border-color: #fbeed5;
|
5486 |
-
}
|
5487 |
-
|
5488 |
-
.panel-warning > .panel-heading {
|
5489 |
-
color: #c09853;
|
5490 |
-
background-color: #fcf8e3;
|
5491 |
-
border-color: #fbeed5;
|
5492 |
-
}
|
5493 |
-
|
5494 |
-
.panel-warning > .panel-heading + .panel-collapse .panel-body {
|
5495 |
-
border-top-color: #fbeed5;
|
5496 |
-
}
|
5497 |
-
|
5498 |
-
.panel-warning > .panel-footer + .panel-collapse .panel-body {
|
5499 |
-
border-bottom-color: #fbeed5;
|
5500 |
-
}
|
5501 |
-
|
5502 |
-
.panel-danger {
|
5503 |
-
border-color: #eed3d7;
|
5504 |
-
}
|
5505 |
-
|
5506 |
-
.panel-danger > .panel-heading {
|
5507 |
-
color: #b94a48;
|
5508 |
-
background-color: #f2dede;
|
5509 |
-
border-color: #eed3d7;
|
5510 |
-
}
|
5511 |
-
|
5512 |
-
.panel-danger > .panel-heading + .panel-collapse .panel-body {
|
5513 |
-
border-top-color: #eed3d7;
|
5514 |
-
}
|
5515 |
-
|
5516 |
-
.panel-danger > .panel-footer + .panel-collapse .panel-body {
|
5517 |
-
border-bottom-color: #eed3d7;
|
5518 |
-
}
|
5519 |
-
|
5520 |
-
.panel-info {
|
5521 |
-
border-color: #bce8f1;
|
5522 |
-
}
|
5523 |
-
|
5524 |
-
.panel-info > .panel-heading {
|
5525 |
-
color: #3a87ad;
|
5526 |
-
background-color: #d9edf7;
|
5527 |
-
border-color: #bce8f1;
|
5528 |
-
}
|
5529 |
-
|
5530 |
-
.panel-info > .panel-heading + .panel-collapse .panel-body {
|
5531 |
-
border-top-color: #bce8f1;
|
5532 |
-
}
|
5533 |
-
|
5534 |
-
.panel-info > .panel-footer + .panel-collapse .panel-body {
|
5535 |
-
border-bottom-color: #bce8f1;
|
5536 |
-
}
|
5537 |
-
|
5538 |
-
.well {
|
5539 |
-
min-height: 20px;
|
5540 |
-
padding: 19px;
|
5541 |
-
margin-bottom: 20px;
|
5542 |
-
background-color: #f5f5f5;
|
5543 |
-
border: 1px solid #e3e3e3;
|
5544 |
-
border-radius: 4px;
|
5545 |
-
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
|
5546 |
-
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
|
5547 |
-
}
|
5548 |
-
|
5549 |
-
.well blockquote {
|
5550 |
-
border-color: #ddd;
|
5551 |
-
border-color: rgba(0, 0, 0, 0.15);
|
5552 |
-
}
|
5553 |
-
|
5554 |
-
.well-lg {
|
5555 |
-
padding: 24px;
|
5556 |
-
border-radius: 6px;
|
5557 |
-
}
|
5558 |
-
|
5559 |
-
.well-sm {
|
5560 |
-
padding: 9px;
|
5561 |
-
border-radius: 3px;
|
5562 |
-
}
|
5563 |
-
|
5564 |
-
.close {
|
5565 |
-
float: right;
|
5566 |
-
font-size: 21px;
|
5567 |
-
font-weight: bold;
|
5568 |
-
line-height: 1;
|
5569 |
-
color: #000000;
|
5570 |
-
text-shadow: 0 1px 0 #ffffff;
|
5571 |
-
opacity: 0.2;
|
5572 |
-
filter: alpha(opacity=20);
|
5573 |
-
}
|
5574 |
-
|
5575 |
-
.close:hover,
|
5576 |
-
.close:focus {
|
5577 |
-
color: #000000;
|
5578 |
-
text-decoration: none;
|
5579 |
-
cursor: pointer;
|
5580 |
-
opacity: 0.5;
|
5581 |
-
filter: alpha(opacity=50);
|
5582 |
-
}
|
5583 |
-
|
5584 |
-
button.close {
|
5585 |
-
padding: 0;
|
5586 |
-
cursor: pointer;
|
5587 |
-
background: transparent;
|
5588 |
-
border: 0;
|
5589 |
-
-webkit-appearance: none;
|
5590 |
-
}
|
5591 |
-
|
5592 |
-
.modal-open {
|
5593 |
-
overflow: hidden;
|
5594 |
-
}
|
5595 |
-
|
5596 |
-
body.modal-open,
|
5597 |
-
.modal-open .navbar-fixed-top,
|
5598 |
-
.modal-open .navbar-fixed-bottom {
|
5599 |
-
margin-right: 15px;
|
5600 |
-
}
|
5601 |
-
|
5602 |
-
.modal {
|
5603 |
-
position: fixed;
|
5604 |
-
top: 0;
|
5605 |
-
right: 0;
|
5606 |
-
bottom: 0;
|
5607 |
-
left: 0;
|
5608 |
-
z-index: 1040;
|
5609 |
-
display: none;
|
5610 |
-
overflow: auto;
|
5611 |
-
overflow-y: scroll;
|
5612 |
-
}
|
5613 |
-
|
5614 |
-
.modal.fade .modal-dialog {
|
5615 |
-
-webkit-transform: translate(0, -25%);
|
5616 |
-
-ms-transform: translate(0, -25%);
|
5617 |
-
transform: translate(0, -25%);
|
5618 |
-
-webkit-transition: -webkit-transform 0.3s ease-out;
|
5619 |
-
-moz-transition: -moz-transform 0.3s ease-out;
|
5620 |
-
-o-transition: -o-transform 0.3s ease-out;
|
5621 |
-
transition: transform 0.3s ease-out;
|
5622 |
-
}
|
5623 |
-
|
5624 |
-
.modal.in .modal-dialog {
|
5625 |
-
-webkit-transform: translate(0, 0);
|
5626 |
-
-ms-transform: translate(0, 0);
|
5627 |
-
transform: translate(0, 0);
|
5628 |
-
}
|
5629 |
-
|
5630 |
-
.modal-dialog {
|
5631 |
-
z-index: 1050;
|
5632 |
-
width: auto;
|
5633 |
-
padding: 10px;
|
5634 |
-
margin-right: auto;
|
5635 |
-
margin-left: auto;
|
5636 |
-
}
|
5637 |
-
|
5638 |
-
.modal-content {
|
5639 |
-
position: relative;
|
5640 |
-
background-color: #ffffff;
|
5641 |
-
border: 1px solid #999999;
|
5642 |
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
5643 |
-
border-radius: 6px;
|
5644 |
-
outline: none;
|
5645 |
-
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
5646 |
-
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
|
5647 |
-
background-clip: padding-box;
|
5648 |
-
}
|
5649 |
-
|
5650 |
-
.modal-backdrop {
|
5651 |
-
position: fixed;
|
5652 |
-
top: 0;
|
5653 |
-
right: 0;
|
5654 |
-
bottom: 0;
|
5655 |
-
left: 0;
|
5656 |
-
z-index: 1030;
|
5657 |
-
background-color: #000000;
|
5658 |
-
}
|
5659 |
-
|
5660 |
-
.modal-backdrop.fade {
|
5661 |
-
opacity: 0;
|
5662 |
-
filter: alpha(opacity=0);
|
5663 |
-
}
|
5664 |
-
|
5665 |
-
.modal-backdrop.in {
|
5666 |
-
opacity: 0.5;
|
5667 |
-
filter: alpha(opacity=50);
|
5668 |
-
}
|
5669 |
-
|
5670 |
-
.modal-header {
|
5671 |
-
min-height: 16.428571429px;
|
5672 |
-
padding: 15px;
|
5673 |
-
border-bottom: 1px solid #e5e5e5;
|
5674 |
-
}
|
5675 |
-
|
5676 |
-
.modal-header .close {
|
5677 |
-
margin-top: -2px;
|
5678 |
-
}
|
5679 |
-
|
5680 |
-
.modal-title {
|
5681 |
-
margin: 0;
|
5682 |
-
line-height: 1.428571429;
|
5683 |
-
}
|
5684 |
-
|
5685 |
-
.modal-body {
|
5686 |
-
position: relative;
|
5687 |
-
padding: 20px;
|
5688 |
-
}
|
5689 |
-
|
5690 |
-
.modal-footer {
|
5691 |
-
padding: 19px 20px 20px;
|
5692 |
-
margin-top: 15px;
|
5693 |
-
text-align: right;
|
5694 |
-
border-top: 1px solid #e5e5e5;
|
5695 |
-
}
|
5696 |
-
|
5697 |
-
.modal-footer:before,
|
5698 |
-
.modal-footer:after {
|
5699 |
-
display: table;
|
5700 |
-
content: " ";
|
5701 |
-
}
|
5702 |
-
|
5703 |
-
.modal-footer:after {
|
5704 |
-
clear: both;
|
5705 |
-
}
|
5706 |
-
|
5707 |
-
.modal-footer:before,
|
5708 |
-
.modal-footer:after {
|
5709 |
-
display: table;
|
5710 |
-
content: " ";
|
5711 |
-
}
|
5712 |
-
|
5713 |
-
.modal-footer:after {
|
5714 |
-
clear: both;
|
5715 |
-
}
|
5716 |
-
|
5717 |
-
.modal-footer .btn + .btn {
|
5718 |
-
margin-bottom: 0;
|
5719 |
-
margin-left: 5px;
|
5720 |
-
}
|
5721 |
-
|
5722 |
-
.modal-footer .btn-group .btn + .btn {
|
5723 |
-
margin-left: -1px;
|
5724 |
-
}
|
5725 |
-
|
5726 |
-
.modal-footer .btn-block + .btn-block {
|
5727 |
-
margin-left: 0;
|
5728 |
-
}
|
5729 |
-
|
5730 |
-
@media screen and (min-width: 768px) {
|
5731 |
-
.modal-dialog {
|
5732 |
-
right: auto;
|
5733 |
-
left: 50%;
|
5734 |
-
width: 600px;
|
5735 |
-
padding-top: 30px;
|
5736 |
-
padding-bottom: 30px;
|
5737 |
-
}
|
5738 |
-
.modal-content {
|
5739 |
-
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
5740 |
-
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
5741 |
-
}
|
5742 |
-
}
|
5743 |
-
|
5744 |
-
.tooltip {
|
5745 |
-
position: absolute;
|
5746 |
-
z-index: 1030;
|
5747 |
-
display: block;
|
5748 |
-
font-size: 12px;
|
5749 |
-
line-height: 1.4;
|
5750 |
-
opacity: 0;
|
5751 |
-
filter: alpha(opacity=0);
|
5752 |
-
visibility: visible;
|
5753 |
-
}
|
5754 |
-
|
5755 |
-
.tooltip.in {
|
5756 |
-
opacity: 0.9;
|
5757 |
-
filter: alpha(opacity=90);
|
5758 |
-
}
|
5759 |
-
|
5760 |
-
.tooltip.top {
|
5761 |
-
padding: 5px 0;
|
5762 |
-
margin-top: -3px;
|
5763 |
-
}
|
5764 |
-
|
5765 |
-
.tooltip.right {
|
5766 |
-
padding: 0 5px;
|
5767 |
-
margin-left: 3px;
|
5768 |
-
}
|
5769 |
-
|
5770 |
-
.tooltip.bottom {
|
5771 |
-
padding: 5px 0;
|
5772 |
-
margin-top: 3px;
|
5773 |
-
}
|
5774 |
-
|
5775 |
-
.tooltip.left {
|
5776 |
-
padding: 0 5px;
|
5777 |
-
margin-left: -3px;
|
5778 |
-
}
|
5779 |
-
|
5780 |
-
.tooltip-inner {
|
5781 |
-
max-width: 200px;
|
5782 |
-
padding: 3px 8px;
|
5783 |
-
color: #ffffff;
|
5784 |
-
text-align: center;
|
5785 |
-
text-decoration: none;
|
5786 |
-
background-color: #000000;
|
5787 |
-
border-radius: 4px;
|
5788 |
-
}
|
5789 |
-
|
5790 |
-
.tooltip-arrow {
|
5791 |
-
position: absolute;
|
5792 |
-
width: 0;
|
5793 |
-
height: 0;
|
5794 |
-
border-color: transparent;
|
5795 |
-
border-style: solid;
|
5796 |
-
}
|
5797 |
-
|
5798 |
-
.tooltip.top .tooltip-arrow {
|
5799 |
-
bottom: 0;
|
5800 |
-
left: 50%;
|
5801 |
-
margin-left: -5px;
|
5802 |
-
border-top-color: #000000;
|
5803 |
-
border-width: 5px 5px 0;
|
5804 |
-
}
|
5805 |
-
|
5806 |
-
.tooltip.top-left .tooltip-arrow {
|
5807 |
-
bottom: 0;
|
5808 |
-
left: 5px;
|
5809 |
-
border-top-color: #000000;
|
5810 |
-
border-width: 5px 5px 0;
|
5811 |
-
}
|
5812 |
-
|
5813 |
-
.tooltip.top-right .tooltip-arrow {
|
5814 |
-
right: 5px;
|
5815 |
-
bottom: 0;
|
5816 |
-
border-top-color: #000000;
|
5817 |
-
border-width: 5px 5px 0;
|
5818 |
-
}
|
5819 |
-
|
5820 |
-
.tooltip.right .tooltip-arrow {
|
5821 |
-
top: 50%;
|
5822 |
-
left: 0;
|
5823 |
-
margin-top: -5px;
|
5824 |
-
border-right-color: #000000;
|
5825 |
-
border-width: 5px 5px 5px 0;
|
5826 |
-
}
|
5827 |
-
|
5828 |
-
.tooltip.left .tooltip-arrow {
|
5829 |
-
top: 50%;
|
5830 |
-
right: 0;
|
5831 |
-
margin-top: -5px;
|
5832 |
-
border-left-color: #000000;
|
5833 |
-
border-width: 5px 0 5px 5px;
|
5834 |
-
}
|
5835 |
-
|
5836 |
-
.tooltip.bottom .tooltip-arrow {
|
5837 |
-
top: 0;
|
5838 |
-
left: 50%;
|
5839 |
-
margin-left: -5px;
|
5840 |
-
border-bottom-color: #000000;
|
5841 |
-
border-width: 0 5px 5px;
|
5842 |
-
}
|
5843 |
-
|
5844 |
-
.tooltip.bottom-left .tooltip-arrow {
|
5845 |
-
top: 0;
|
5846 |
-
left: 5px;
|
5847 |
-
border-bottom-color: #000000;
|
5848 |
-
border-width: 0 5px 5px;
|
5849 |
-
}
|
5850 |
-
|
5851 |
-
.tooltip.bottom-right .tooltip-arrow {
|
5852 |
-
top: 0;
|
5853 |
-
right: 5px;
|
5854 |
-
border-bottom-color: #000000;
|
5855 |
-
border-width: 0 5px 5px;
|
5856 |
-
}
|
5857 |
-
|
5858 |
-
.popover {
|
5859 |
-
position: absolute;
|
5860 |
-
top: 0;
|
5861 |
-
left: 0;
|
5862 |
-
z-index: 1010;
|
5863 |
-
display: none;
|
5864 |
-
max-width: 276px;
|
5865 |
-
padding: 1px;
|
5866 |
-
text-align: left;
|
5867 |
-
white-space: normal;
|
5868 |
-
background-color: #ffffff;
|
5869 |
-
border: 1px solid #cccccc;
|
5870 |
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
5871 |
-
border-radius: 6px;
|
5872 |
-
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
5873 |
-
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
5874 |
-
background-clip: padding-box;
|
5875 |
-
}
|
5876 |
-
|
5877 |
-
.popover.top {
|
5878 |
-
margin-top: -10px;
|
5879 |
-
}
|
5880 |
-
|
5881 |
-
.popover.right {
|
5882 |
-
margin-left: 10px;
|
5883 |
-
}
|
5884 |
-
|
5885 |
-
.popover.bottom {
|
5886 |
-
margin-top: 10px;
|
5887 |
-
}
|
5888 |
-
|
5889 |
-
.popover.left {
|
5890 |
-
margin-left: -10px;
|
5891 |
-
}
|
5892 |
-
|
5893 |
-
.popover-title {
|
5894 |
-
padding: 8px 14px;
|
5895 |
-
margin: 0;
|
5896 |
-
font-size: 14px;
|
5897 |
-
font-weight: normal;
|
5898 |
-
line-height: 18px;
|
5899 |
-
background-color: #f7f7f7;
|
5900 |
-
border-bottom: 1px solid #ebebeb;
|
5901 |
-
border-radius: 5px 5px 0 0;
|
5902 |
-
}
|
5903 |
-
|
5904 |
-
.popover-content {
|
5905 |
-
padding: 9px 14px;
|
5906 |
-
}
|
5907 |
-
|
5908 |
-
.popover .arrow,
|
5909 |
-
.popover .arrow:after {
|
5910 |
-
position: absolute;
|
5911 |
-
display: block;
|
5912 |
-
width: 0;
|
5913 |
-
height: 0;
|
5914 |
-
border-color: transparent;
|
5915 |
-
border-style: solid;
|
5916 |
-
}
|
5917 |
-
|
5918 |
-
.popover .arrow {
|
5919 |
-
border-width: 11px;
|
5920 |
-
}
|
5921 |
-
|
5922 |
-
.popover .arrow:after {
|
5923 |
-
border-width: 10px;
|
5924 |
-
content: "";
|
5925 |
-
}
|
5926 |
-
|
5927 |
-
.popover.top .arrow {
|
5928 |
-
bottom: -11px;
|
5929 |
-
left: 50%;
|
5930 |
-
margin-left: -11px;
|
5931 |
-
border-top-color: #999999;
|
5932 |
-
border-top-color: rgba(0, 0, 0, 0.25);
|
5933 |
-
border-bottom-width: 0;
|
5934 |
-
}
|
5935 |
-
|
5936 |
-
.popover.top .arrow:after {
|
5937 |
-
bottom: 1px;
|
5938 |
-
margin-left: -10px;
|
5939 |
-
border-top-color: #ffffff;
|
5940 |
-
border-bottom-width: 0;
|
5941 |
-
content: " ";
|
5942 |
-
}
|
5943 |
-
|
5944 |
-
.popover.right .arrow {
|
5945 |
-
top: 50%;
|
5946 |
-
left: -11px;
|
5947 |
-
margin-top: -11px;
|
5948 |
-
border-right-color: #999999;
|
5949 |
-
border-right-color: rgba(0, 0, 0, 0.25);
|
5950 |
-
border-left-width: 0;
|
5951 |
-
}
|
5952 |
-
|
5953 |
-
.popover.right .arrow:after {
|
5954 |
-
bottom: -10px;
|
5955 |
-
left: 1px;
|
5956 |
-
border-right-color: #ffffff;
|
5957 |
-
border-left-width: 0;
|
5958 |
-
content: " ";
|
5959 |
-
}
|
5960 |
-
|
5961 |
-
.popover.bottom .arrow {
|
5962 |
-
top: -11px;
|
5963 |
-
left: 50%;
|
5964 |
-
margin-left: -11px;
|
5965 |
-
border-bottom-color: #999999;
|
5966 |
-
border-bottom-color: rgba(0, 0, 0, 0.25);
|
5967 |
-
border-top-width: 0;
|
5968 |
-
}
|
5969 |
-
|
5970 |
-
.popover.bottom .arrow:after {
|
5971 |
-
top: 1px;
|
5972 |
-
margin-left: -10px;
|
5973 |
-
border-bottom-color: #ffffff;
|
5974 |
-
border-top-width: 0;
|
5975 |
-
content: " ";
|
5976 |
-
}
|
5977 |
-
|
5978 |
-
.popover.left .arrow {
|
5979 |
-
top: 50%;
|
5980 |
-
right: -11px;
|
5981 |
-
margin-top: -11px;
|
5982 |
-
border-left-color: #999999;
|
5983 |
-
border-left-color: rgba(0, 0, 0, 0.25);
|
5984 |
-
border-right-width: 0;
|
5985 |
-
}
|
5986 |
-
|
5987 |
-
.popover.left .arrow:after {
|
5988 |
-
right: 1px;
|
5989 |
-
bottom: -10px;
|
5990 |
-
border-left-color: #ffffff;
|
5991 |
-
border-right-width: 0;
|
5992 |
-
content: " ";
|
5993 |
-
}
|
5994 |
-
|
5995 |
-
.carousel {
|
5996 |
-
position: relative;
|
5997 |
-
}
|
5998 |
-
|
5999 |
-
.carousel-inner {
|
6000 |
-
position: relative;
|
6001 |
-
width: 100%;
|
6002 |
-
overflow: hidden;
|
6003 |
-
}
|
6004 |
-
|
6005 |
-
.carousel-inner > .item {
|
6006 |
-
position: relative;
|
6007 |
-
display: none;
|
6008 |
-
-webkit-transition: 0.6s ease-in-out left;
|
6009 |
-
transition: 0.6s ease-in-out left;
|
6010 |
-
}
|
6011 |
-
|
6012 |
-
.carousel-inner > .item > img,
|
6013 |
-
.carousel-inner > .item > a > img {
|
6014 |
-
display: block;
|
6015 |
-
height: auto;
|
6016 |
-
max-width: 100%;
|
6017 |
-
line-height: 1;
|
6018 |
-
}
|
6019 |
-
|
6020 |
-
.carousel-inner > .active,
|
6021 |
-
.carousel-inner > .next,
|
6022 |
-
.carousel-inner > .prev {
|
6023 |
-
display: block;
|
6024 |
-
}
|
6025 |
-
|
6026 |
-
.carousel-inner > .active {
|
6027 |
-
left: 0;
|
6028 |
-
}
|
6029 |
-
|
6030 |
-
.carousel-inner > .next,
|
6031 |
-
.carousel-inner > .prev {
|
6032 |
-
position: absolute;
|
6033 |
-
top: 0;
|
6034 |
-
width: 100%;
|
6035 |
-
}
|
6036 |
-
|
6037 |
-
.carousel-inner > .next {
|
6038 |
-
left: 100%;
|
6039 |
-
}
|
6040 |
-
|
6041 |
-
.carousel-inner > .prev {
|
6042 |
-
left: -100%;
|
6043 |
-
}
|
6044 |
-
|
6045 |
-
.carousel-inner > .next.left,
|
6046 |
-
.carousel-inner > .prev.right {
|
6047 |
-
left: 0;
|
6048 |
-
}
|
6049 |
-
|
6050 |
-
.carousel-inner > .active.left {
|
6051 |
-
left: -100%;
|
6052 |
-
}
|
6053 |
-
|
6054 |
-
.carousel-inner > .active.right {
|
6055 |
-
left: 100%;
|
6056 |
-
}
|
6057 |
-
|
6058 |
-
.carousel-control {
|
6059 |
-
position: absolute;
|
6060 |
-
top: 0;
|
6061 |
-
bottom: 0;
|
6062 |
-
left: 0;
|
6063 |
-
width: 15%;
|
6064 |
-
font-size: 20px;
|
6065 |
-
color: #ffffff;
|
6066 |
-
text-align: center;
|
6067 |
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
6068 |
-
opacity: 0.5;
|
6069 |
-
filter: alpha(opacity=50);
|
6070 |
-
}
|
6071 |
-
|
6072 |
-
.carousel-control.left {
|
6073 |
-
background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001)));
|
6074 |
-
background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.5) 0), color-stop(rgba(0, 0, 0, 0.0001) 100%));
|
6075 |
-
background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
|
6076 |
-
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.0001) 100%);
|
6077 |
-
background-repeat: repeat-x;
|
6078 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
|
6079 |
-
}
|
6080 |
-
|
6081 |
-
.carousel-control.right {
|
6082 |
-
right: 0;
|
6083 |
-
left: auto;
|
6084 |
-
background-image: -webkit-gradient(linear, 0 top, 100% top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5)));
|
6085 |
-
background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, 0.0001) 0), color-stop(rgba(0, 0, 0, 0.5) 100%));
|
6086 |
-
background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
|
6087 |
-
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(0, 0, 0, 0.5) 100%);
|
6088 |
-
background-repeat: repeat-x;
|
6089 |
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
|
6090 |
-
}
|
6091 |
-
|
6092 |
-
.carousel-control:hover,
|
6093 |
-
.carousel-control:focus {
|
6094 |
-
color: #ffffff;
|
6095 |
-
text-decoration: none;
|
6096 |
-
opacity: 0.9;
|
6097 |
-
filter: alpha(opacity=90);
|
6098 |
-
}
|
6099 |
-
|
6100 |
-
.carousel-control .icon-prev,
|
6101 |
-
.carousel-control .icon-next,
|
6102 |
-
.carousel-control .glyphicon-chevron-left,
|
6103 |
-
.carousel-control .glyphicon-chevron-right {
|
6104 |
-
position: absolute;
|
6105 |
-
top: 50%;
|
6106 |
-
left: 50%;
|
6107 |
-
z-index: 5;
|
6108 |
-
display: inline-block;
|
6109 |
-
}
|
6110 |
-
|
6111 |
-
.carousel-control .icon-prev,
|
6112 |
-
.carousel-control .icon-next {
|
6113 |
-
width: 20px;
|
6114 |
-
height: 20px;
|
6115 |
-
margin-top: -10px;
|
6116 |
-
margin-left: -10px;
|
6117 |
-
font-family: serif;
|
6118 |
-
}
|
6119 |
-
|
6120 |
-
.carousel-control .icon-prev:before {
|
6121 |
-
content: '\2039';
|
6122 |
-
}
|
6123 |
-
|
6124 |
-
.carousel-control .icon-next:before {
|
6125 |
-
content: '\203a';
|
6126 |
-
}
|
6127 |
-
|
6128 |
-
.carousel-indicators {
|
6129 |
-
position: absolute;
|
6130 |
-
bottom: 10px;
|
6131 |
-
left: 50%;
|
6132 |
-
z-index: 15;
|
6133 |
-
width: 60%;
|
6134 |
-
padding-left: 0;
|
6135 |
-
margin-left: -30%;
|
6136 |
-
text-align: center;
|
6137 |
-
list-style: none;
|
6138 |
-
}
|
6139 |
-
|
6140 |
-
.carousel-indicators li {
|
6141 |
-
display: inline-block;
|
6142 |
-
width: 10px;
|
6143 |
-
height: 10px;
|
6144 |
-
margin: 1px;
|
6145 |
-
text-indent: -999px;
|
6146 |
-
cursor: pointer;
|
6147 |
-
border: 1px solid #ffffff;
|
6148 |
-
border-radius: 10px;
|
6149 |
-
}
|
6150 |
-
|
6151 |
-
.carousel-indicators .active {
|
6152 |
-
width: 12px;
|
6153 |
-
height: 12px;
|
6154 |
-
margin: 0;
|
6155 |
-
background-color: #ffffff;
|
6156 |
-
}
|
6157 |
-
|
6158 |
-
.carousel-caption {
|
6159 |
-
position: absolute;
|
6160 |
-
right: 15%;
|
6161 |
-
bottom: 20px;
|
6162 |
-
left: 15%;
|
6163 |
-
z-index: 10;
|
6164 |
-
padding-top: 20px;
|
6165 |
-
padding-bottom: 20px;
|
6166 |
-
color: #ffffff;
|
6167 |
-
text-align: center;
|
6168 |
-
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
|
6169 |
-
}
|
6170 |
-
|
6171 |
-
.carousel-caption .btn {
|
6172 |
-
text-shadow: none;
|
6173 |
-
}
|
6174 |
-
|
6175 |
-
@media screen and (min-width: 768px) {
|
6176 |
-
.carousel-control .icon-prev,
|
6177 |
-
.carousel-control .icon-next {
|
6178 |
-
width: 30px;
|
6179 |
-
height: 30px;
|
6180 |
-
margin-top: -15px;
|
6181 |
-
margin-left: -15px;
|
6182 |
-
font-size: 30px;
|
6183 |
-
}
|
6184 |
-
.carousel-caption {
|
6185 |
-
right: 20%;
|
6186 |
-
left: 20%;
|
6187 |
-
padding-bottom: 30px;
|
6188 |
-
}
|
6189 |
-
.carousel-indicators {
|
6190 |
-
bottom: 20px;
|
6191 |
-
}
|
6192 |
-
}
|
6193 |
-
|
6194 |
-
.clearfix:before,
|
6195 |
-
.clearfix:after {
|
6196 |
-
display: table;
|
6197 |
-
content: " ";
|
6198 |
-
}
|
6199 |
-
|
6200 |
-
.clearfix:after {
|
6201 |
-
clear: both;
|
6202 |
-
}
|
6203 |
-
|
6204 |
-
.pull-right {
|
6205 |
-
float: right !important;
|
6206 |
-
}
|
6207 |
-
|
6208 |
-
.pull-left {
|
6209 |
-
float: left !important;
|
6210 |
-
}
|
6211 |
-
|
6212 |
-
.hide {
|
6213 |
-
display: none !important;
|
6214 |
-
}
|
6215 |
-
|
6216 |
-
.show {
|
6217 |
-
display: block !important;
|
6218 |
-
}
|
6219 |
-
|
6220 |
-
.invisible {
|
6221 |
-
visibility: hidden;
|
6222 |
-
}
|
6223 |
-
|
6224 |
-
.text-hide {
|
6225 |
-
font: 0/0 a;
|
6226 |
-
color: transparent;
|
6227 |
-
text-shadow: none;
|
6228 |
-
background-color: transparent;
|
6229 |
-
border: 0;
|
6230 |
-
}
|
6231 |
-
|
6232 |
-
.affix {
|
6233 |
-
position: fixed;
|
6234 |
-
}
|
6235 |
-
|
6236 |
-
@-ms-viewport {
|
6237 |
-
width: device-width;
|
6238 |
-
}
|
6239 |
-
|
6240 |
-
@media screen and (max-width: 400px) {
|
6241 |
-
@-ms-viewport {
|
6242 |
-
width: 320px;
|
6243 |
-
}
|
6244 |
-
}
|
6245 |
-
|
6246 |
-
.hidden {
|
6247 |
-
display: none !important;
|
6248 |
-
visibility: hidden !important;
|
6249 |
-
}
|
6250 |
-
|
6251 |
-
.visible-xs {
|
6252 |
-
display: none !important;
|
6253 |
-
}
|
6254 |
-
|
6255 |
-
tr.visible-xs {
|
6256 |
-
display: none !important;
|
6257 |
-
}
|
6258 |
-
|
6259 |
-
th.visible-xs,
|
6260 |
-
td.visible-xs {
|
6261 |
-
display: none !important;
|
6262 |
-
}
|
6263 |
-
|
6264 |
-
@media (max-width: 767px) {
|
6265 |
-
.visible-xs {
|
6266 |
-
display: block !important;
|
6267 |
-
}
|
6268 |
-
tr.visible-xs {
|
6269 |
-
display: table-row !important;
|
6270 |
-
}
|
6271 |
-
th.visible-xs,
|
6272 |
-
td.visible-xs {
|
6273 |
-
display: table-cell !important;
|
6274 |
-
}
|
6275 |
-
}
|
6276 |
-
|
6277 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6278 |
-
.visible-xs.visible-sm {
|
6279 |
-
display: block !important;
|
6280 |
-
}
|
6281 |
-
tr.visible-xs.visible-sm {
|
6282 |
-
display: table-row !important;
|
6283 |
-
}
|
6284 |
-
th.visible-xs.visible-sm,
|
6285 |
-
td.visible-xs.visible-sm {
|
6286 |
-
display: table-cell !important;
|
6287 |
-
}
|
6288 |
-
}
|
6289 |
-
|
6290 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6291 |
-
.visible-xs.visible-md {
|
6292 |
-
display: block !important;
|
6293 |
-
}
|
6294 |
-
tr.visible-xs.visible-md {
|
6295 |
-
display: table-row !important;
|
6296 |
-
}
|
6297 |
-
th.visible-xs.visible-md,
|
6298 |
-
td.visible-xs.visible-md {
|
6299 |
-
display: table-cell !important;
|
6300 |
-
}
|
6301 |
-
}
|
6302 |
-
|
6303 |
-
@media (min-width: 1200px) {
|
6304 |
-
.visible-xs.visible-lg {
|
6305 |
-
display: block !important;
|
6306 |
-
}
|
6307 |
-
tr.visible-xs.visible-lg {
|
6308 |
-
display: table-row !important;
|
6309 |
-
}
|
6310 |
-
th.visible-xs.visible-lg,
|
6311 |
-
td.visible-xs.visible-lg {
|
6312 |
-
display: table-cell !important;
|
6313 |
-
}
|
6314 |
-
}
|
6315 |
-
|
6316 |
-
.visible-sm {
|
6317 |
-
display: none !important;
|
6318 |
-
}
|
6319 |
-
|
6320 |
-
tr.visible-sm {
|
6321 |
-
display: none !important;
|
6322 |
-
}
|
6323 |
-
|
6324 |
-
th.visible-sm,
|
6325 |
-
td.visible-sm {
|
6326 |
-
display: none !important;
|
6327 |
-
}
|
6328 |
-
|
6329 |
-
@media (max-width: 767px) {
|
6330 |
-
.visible-sm.visible-xs {
|
6331 |
-
display: block !important;
|
6332 |
-
}
|
6333 |
-
tr.visible-sm.visible-xs {
|
6334 |
-
display: table-row !important;
|
6335 |
-
}
|
6336 |
-
th.visible-sm.visible-xs,
|
6337 |
-
td.visible-sm.visible-xs {
|
6338 |
-
display: table-cell !important;
|
6339 |
-
}
|
6340 |
-
}
|
6341 |
-
|
6342 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6343 |
-
.visible-sm {
|
6344 |
-
display: block !important;
|
6345 |
-
}
|
6346 |
-
tr.visible-sm {
|
6347 |
-
display: table-row !important;
|
6348 |
-
}
|
6349 |
-
th.visible-sm,
|
6350 |
-
td.visible-sm {
|
6351 |
-
display: table-cell !important;
|
6352 |
-
}
|
6353 |
-
}
|
6354 |
-
|
6355 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6356 |
-
.visible-sm.visible-md {
|
6357 |
-
display: block !important;
|
6358 |
-
}
|
6359 |
-
tr.visible-sm.visible-md {
|
6360 |
-
display: table-row !important;
|
6361 |
-
}
|
6362 |
-
th.visible-sm.visible-md,
|
6363 |
-
td.visible-sm.visible-md {
|
6364 |
-
display: table-cell !important;
|
6365 |
-
}
|
6366 |
-
}
|
6367 |
-
|
6368 |
-
@media (min-width: 1200px) {
|
6369 |
-
.visible-sm.visible-lg {
|
6370 |
-
display: block !important;
|
6371 |
-
}
|
6372 |
-
tr.visible-sm.visible-lg {
|
6373 |
-
display: table-row !important;
|
6374 |
-
}
|
6375 |
-
th.visible-sm.visible-lg,
|
6376 |
-
td.visible-sm.visible-lg {
|
6377 |
-
display: table-cell !important;
|
6378 |
-
}
|
6379 |
-
}
|
6380 |
-
|
6381 |
-
.visible-md {
|
6382 |
-
display: none !important;
|
6383 |
-
}
|
6384 |
-
|
6385 |
-
tr.visible-md {
|
6386 |
-
display: none !important;
|
6387 |
-
}
|
6388 |
-
|
6389 |
-
th.visible-md,
|
6390 |
-
td.visible-md {
|
6391 |
-
display: none !important;
|
6392 |
-
}
|
6393 |
-
|
6394 |
-
@media (max-width: 767px) {
|
6395 |
-
.visible-md.visible-xs {
|
6396 |
-
display: block !important;
|
6397 |
-
}
|
6398 |
-
tr.visible-md.visible-xs {
|
6399 |
-
display: table-row !important;
|
6400 |
-
}
|
6401 |
-
th.visible-md.visible-xs,
|
6402 |
-
td.visible-md.visible-xs {
|
6403 |
-
display: table-cell !important;
|
6404 |
-
}
|
6405 |
-
}
|
6406 |
-
|
6407 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6408 |
-
.visible-md.visible-sm {
|
6409 |
-
display: block !important;
|
6410 |
-
}
|
6411 |
-
tr.visible-md.visible-sm {
|
6412 |
-
display: table-row !important;
|
6413 |
-
}
|
6414 |
-
th.visible-md.visible-sm,
|
6415 |
-
td.visible-md.visible-sm {
|
6416 |
-
display: table-cell !important;
|
6417 |
-
}
|
6418 |
-
}
|
6419 |
-
|
6420 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6421 |
-
.visible-md {
|
6422 |
-
display: block !important;
|
6423 |
-
}
|
6424 |
-
tr.visible-md {
|
6425 |
-
display: table-row !important;
|
6426 |
-
}
|
6427 |
-
th.visible-md,
|
6428 |
-
td.visible-md {
|
6429 |
-
display: table-cell !important;
|
6430 |
-
}
|
6431 |
-
}
|
6432 |
-
|
6433 |
-
@media (min-width: 1200px) {
|
6434 |
-
.visible-md.visible-lg {
|
6435 |
-
display: block !important;
|
6436 |
-
}
|
6437 |
-
tr.visible-md.visible-lg {
|
6438 |
-
display: table-row !important;
|
6439 |
-
}
|
6440 |
-
th.visible-md.visible-lg,
|
6441 |
-
td.visible-md.visible-lg {
|
6442 |
-
display: table-cell !important;
|
6443 |
-
}
|
6444 |
-
}
|
6445 |
-
|
6446 |
-
.visible-lg {
|
6447 |
-
display: none !important;
|
6448 |
-
}
|
6449 |
-
|
6450 |
-
tr.visible-lg {
|
6451 |
-
display: none !important;
|
6452 |
-
}
|
6453 |
-
|
6454 |
-
th.visible-lg,
|
6455 |
-
td.visible-lg {
|
6456 |
-
display: none !important;
|
6457 |
-
}
|
6458 |
-
|
6459 |
-
@media (max-width: 767px) {
|
6460 |
-
.visible-lg.visible-xs {
|
6461 |
-
display: block !important;
|
6462 |
-
}
|
6463 |
-
tr.visible-lg.visible-xs {
|
6464 |
-
display: table-row !important;
|
6465 |
-
}
|
6466 |
-
th.visible-lg.visible-xs,
|
6467 |
-
td.visible-lg.visible-xs {
|
6468 |
-
display: table-cell !important;
|
6469 |
-
}
|
6470 |
-
}
|
6471 |
-
|
6472 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6473 |
-
.visible-lg.visible-sm {
|
6474 |
-
display: block !important;
|
6475 |
-
}
|
6476 |
-
tr.visible-lg.visible-sm {
|
6477 |
-
display: table-row !important;
|
6478 |
-
}
|
6479 |
-
th.visible-lg.visible-sm,
|
6480 |
-
td.visible-lg.visible-sm {
|
6481 |
-
display: table-cell !important;
|
6482 |
-
}
|
6483 |
-
}
|
6484 |
-
|
6485 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6486 |
-
.visible-lg.visible-md {
|
6487 |
-
display: block !important;
|
6488 |
-
}
|
6489 |
-
tr.visible-lg.visible-md {
|
6490 |
-
display: table-row !important;
|
6491 |
-
}
|
6492 |
-
th.visible-lg.visible-md,
|
6493 |
-
td.visible-lg.visible-md {
|
6494 |
-
display: table-cell !important;
|
6495 |
-
}
|
6496 |
-
}
|
6497 |
-
|
6498 |
-
@media (min-width: 1200px) {
|
6499 |
-
.visible-lg {
|
6500 |
-
display: block !important;
|
6501 |
-
}
|
6502 |
-
tr.visible-lg {
|
6503 |
-
display: table-row !important;
|
6504 |
-
}
|
6505 |
-
th.visible-lg,
|
6506 |
-
td.visible-lg {
|
6507 |
-
display: table-cell !important;
|
6508 |
-
}
|
6509 |
-
}
|
6510 |
-
|
6511 |
-
.hidden-xs {
|
6512 |
-
display: block !important;
|
6513 |
-
}
|
6514 |
-
|
6515 |
-
tr.hidden-xs {
|
6516 |
-
display: table-row !important;
|
6517 |
-
}
|
6518 |
-
|
6519 |
-
th.hidden-xs,
|
6520 |
-
td.hidden-xs {
|
6521 |
-
display: table-cell !important;
|
6522 |
-
}
|
6523 |
-
|
6524 |
-
@media (max-width: 767px) {
|
6525 |
-
.hidden-xs {
|
6526 |
-
display: none !important;
|
6527 |
-
}
|
6528 |
-
tr.hidden-xs {
|
6529 |
-
display: none !important;
|
6530 |
-
}
|
6531 |
-
th.hidden-xs,
|
6532 |
-
td.hidden-xs {
|
6533 |
-
display: none !important;
|
6534 |
-
}
|
6535 |
-
}
|
6536 |
-
|
6537 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6538 |
-
.hidden-xs.hidden-sm {
|
6539 |
-
display: none !important;
|
6540 |
-
}
|
6541 |
-
tr.hidden-xs.hidden-sm {
|
6542 |
-
display: none !important;
|
6543 |
-
}
|
6544 |
-
th.hidden-xs.hidden-sm,
|
6545 |
-
td.hidden-xs.hidden-sm {
|
6546 |
-
display: none !important;
|
6547 |
-
}
|
6548 |
-
}
|
6549 |
-
|
6550 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6551 |
-
.hidden-xs.hidden-md {
|
6552 |
-
display: none !important;
|
6553 |
-
}
|
6554 |
-
tr.hidden-xs.hidden-md {
|
6555 |
-
display: none !important;
|
6556 |
-
}
|
6557 |
-
th.hidden-xs.hidden-md,
|
6558 |
-
td.hidden-xs.hidden-md {
|
6559 |
-
display: none !important;
|
6560 |
-
}
|
6561 |
-
}
|
6562 |
-
|
6563 |
-
@media (min-width: 1200px) {
|
6564 |
-
.hidden-xs.hidden-lg {
|
6565 |
-
display: none !important;
|
6566 |
-
}
|
6567 |
-
tr.hidden-xs.hidden-lg {
|
6568 |
-
display: none !important;
|
6569 |
-
}
|
6570 |
-
th.hidden-xs.hidden-lg,
|
6571 |
-
td.hidden-xs.hidden-lg {
|
6572 |
-
display: none !important;
|
6573 |
-
}
|
6574 |
-
}
|
6575 |
-
|
6576 |
-
.hidden-sm {
|
6577 |
-
display: block !important;
|
6578 |
-
}
|
6579 |
-
|
6580 |
-
tr.hidden-sm {
|
6581 |
-
display: table-row !important;
|
6582 |
-
}
|
6583 |
-
|
6584 |
-
th.hidden-sm,
|
6585 |
-
td.hidden-sm {
|
6586 |
-
display: table-cell !important;
|
6587 |
-
}
|
6588 |
-
|
6589 |
-
@media (max-width: 767px) {
|
6590 |
-
.hidden-sm.hidden-xs {
|
6591 |
-
display: none !important;
|
6592 |
-
}
|
6593 |
-
tr.hidden-sm.hidden-xs {
|
6594 |
-
display: none !important;
|
6595 |
-
}
|
6596 |
-
th.hidden-sm.hidden-xs,
|
6597 |
-
td.hidden-sm.hidden-xs {
|
6598 |
-
display: none !important;
|
6599 |
-
}
|
6600 |
-
}
|
6601 |
-
|
6602 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6603 |
-
.hidden-sm {
|
6604 |
-
display: none !important;
|
6605 |
-
}
|
6606 |
-
tr.hidden-sm {
|
6607 |
-
display: none !important;
|
6608 |
-
}
|
6609 |
-
th.hidden-sm,
|
6610 |
-
td.hidden-sm {
|
6611 |
-
display: none !important;
|
6612 |
-
}
|
6613 |
-
}
|
6614 |
-
|
6615 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6616 |
-
.hidden-sm.hidden-md {
|
6617 |
-
display: none !important;
|
6618 |
-
}
|
6619 |
-
tr.hidden-sm.hidden-md {
|
6620 |
-
display: none !important;
|
6621 |
-
}
|
6622 |
-
th.hidden-sm.hidden-md,
|
6623 |
-
td.hidden-sm.hidden-md {
|
6624 |
-
display: none !important;
|
6625 |
-
}
|
6626 |
-
}
|
6627 |
-
|
6628 |
-
@media (min-width: 1200px) {
|
6629 |
-
.hidden-sm.hidden-lg {
|
6630 |
-
display: none !important;
|
6631 |
-
}
|
6632 |
-
tr.hidden-sm.hidden-lg {
|
6633 |
-
display: none !important;
|
6634 |
-
}
|
6635 |
-
th.hidden-sm.hidden-lg,
|
6636 |
-
td.hidden-sm.hidden-lg {
|
6637 |
-
display: none !important;
|
6638 |
-
}
|
6639 |
-
}
|
6640 |
-
|
6641 |
-
.hidden-md {
|
6642 |
-
display: block !important;
|
6643 |
-
}
|
6644 |
-
|
6645 |
-
tr.hidden-md {
|
6646 |
-
display: table-row !important;
|
6647 |
-
}
|
6648 |
-
|
6649 |
-
th.hidden-md,
|
6650 |
-
td.hidden-md {
|
6651 |
-
display: table-cell !important;
|
6652 |
-
}
|
6653 |
-
|
6654 |
-
@media (max-width: 767px) {
|
6655 |
-
.hidden-md.hidden-xs {
|
6656 |
-
display: none !important;
|
6657 |
-
}
|
6658 |
-
tr.hidden-md.hidden-xs {
|
6659 |
-
display: none !important;
|
6660 |
-
}
|
6661 |
-
th.hidden-md.hidden-xs,
|
6662 |
-
td.hidden-md.hidden-xs {
|
6663 |
-
display: none !important;
|
6664 |
-
}
|
6665 |
-
}
|
6666 |
-
|
6667 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6668 |
-
.hidden-md.hidden-sm {
|
6669 |
-
display: none !important;
|
6670 |
-
}
|
6671 |
-
tr.hidden-md.hidden-sm {
|
6672 |
-
display: none !important;
|
6673 |
-
}
|
6674 |
-
th.hidden-md.hidden-sm,
|
6675 |
-
td.hidden-md.hidden-sm {
|
6676 |
-
display: none !important;
|
6677 |
-
}
|
6678 |
-
}
|
6679 |
-
|
6680 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6681 |
-
.hidden-md {
|
6682 |
-
display: none !important;
|
6683 |
-
}
|
6684 |
-
tr.hidden-md {
|
6685 |
-
display: none !important;
|
6686 |
-
}
|
6687 |
-
th.hidden-md,
|
6688 |
-
td.hidden-md {
|
6689 |
-
display: none !important;
|
6690 |
-
}
|
6691 |
-
}
|
6692 |
-
|
6693 |
-
@media (min-width: 1200px) {
|
6694 |
-
.hidden-md.hidden-lg {
|
6695 |
-
display: none !important;
|
6696 |
-
}
|
6697 |
-
tr.hidden-md.hidden-lg {
|
6698 |
-
display: none !important;
|
6699 |
-
}
|
6700 |
-
th.hidden-md.hidden-lg,
|
6701 |
-
td.hidden-md.hidden-lg {
|
6702 |
-
display: none !important;
|
6703 |
-
}
|
6704 |
-
}
|
6705 |
-
|
6706 |
-
.hidden-lg {
|
6707 |
-
display: block !important;
|
6708 |
-
}
|
6709 |
-
|
6710 |
-
tr.hidden-lg {
|
6711 |
-
display: table-row !important;
|
6712 |
-
}
|
6713 |
-
|
6714 |
-
th.hidden-lg,
|
6715 |
-
td.hidden-lg {
|
6716 |
-
display: table-cell !important;
|
6717 |
-
}
|
6718 |
-
|
6719 |
-
@media (max-width: 767px) {
|
6720 |
-
.hidden-lg.hidden-xs {
|
6721 |
-
display: none !important;
|
6722 |
-
}
|
6723 |
-
tr.hidden-lg.hidden-xs {
|
6724 |
-
display: none !important;
|
6725 |
-
}
|
6726 |
-
th.hidden-lg.hidden-xs,
|
6727 |
-
td.hidden-lg.hidden-xs {
|
6728 |
-
display: none !important;
|
6729 |
-
}
|
6730 |
-
}
|
6731 |
-
|
6732 |
-
@media (min-width: 768px) and (max-width: 991px) {
|
6733 |
-
.hidden-lg.hidden-sm {
|
6734 |
-
display: none !important;
|
6735 |
-
}
|
6736 |
-
tr.hidden-lg.hidden-sm {
|
6737 |
-
display: none !important;
|
6738 |
-
}
|
6739 |
-
th.hidden-lg.hidden-sm,
|
6740 |
-
td.hidden-lg.hidden-sm {
|
6741 |
-
display: none !important;
|
6742 |
-
}
|
6743 |
-
}
|
6744 |
-
|
6745 |
-
@media (min-width: 992px) and (max-width: 1199px) {
|
6746 |
-
.hidden-lg.hidden-md {
|
6747 |
-
display: none !important;
|
6748 |
-
}
|
6749 |
-
tr.hidden-lg.hidden-md {
|
6750 |
-
display: none !important;
|
6751 |
-
}
|
6752 |
-
th.hidden-lg.hidden-md,
|
6753 |
-
td.hidden-lg.hidden-md {
|
6754 |
-
display: none !important;
|
6755 |
-
}
|
6756 |
-
}
|
6757 |
-
|
6758 |
-
@media (min-width: 1200px) {
|
6759 |
-
.hidden-lg {
|
6760 |
-
display: none !important;
|
6761 |
-
}
|
6762 |
-
tr.hidden-lg {
|
6763 |
-
display: none !important;
|
6764 |
-
}
|
6765 |
-
th.hidden-lg,
|
6766 |
-
td.hidden-lg {
|
6767 |
-
display: none !important;
|
6768 |
-
}
|
6769 |
-
}
|
6770 |
-
|
6771 |
-
.visible-print {
|
6772 |
-
display: none !important;
|
6773 |
-
}
|
6774 |
-
|
6775 |
-
tr.visible-print {
|
6776 |
-
display: none !important;
|
6777 |
-
}
|
6778 |
-
|
6779 |
-
th.visible-print,
|
6780 |
-
td.visible-print {
|
6781 |
-
display: none !important;
|
6782 |
-
}
|
6783 |
-
|
6784 |
-
@media print {
|
6785 |
-
.visible-print {
|
6786 |
-
display: block !important;
|
6787 |
-
}
|
6788 |
-
tr.visible-print {
|
6789 |
-
display: table-row !important;
|
6790 |
-
}
|
6791 |
-
th.visible-print,
|
6792 |
-
td.visible-print {
|
6793 |
-
display: table-cell !important;
|
6794 |
-
}
|
6795 |
-
.hidden-print {
|
6796 |
-
display: none !important;
|
6797 |
-
}
|
6798 |
-
tr.hidden-print {
|
6799 |
-
display: none !important;
|
6800 |
-
}
|
6801 |
-
th.hidden-print,
|
6802 |
-
td.hidden-print {
|
6803 |
-
display: none !important;
|
6804 |
-
}
|
6805 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/bootstrap.min.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Bootstrap v3.0.2 by @fat and @mdo
|
3 |
+
* Copyright 2013 Twitter, Inc.
|
4 |
+
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
|
5 |
+
*
|
6 |
+
* Designed and built with all the love in the world by @mdo and @fat.
|
7 |
+
*/
|
8 |
+
|
9 |
+
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#c09853}.text-warning:hover{color:#a47e3c}.text-danger{color:#b94a48}.text-danger:hover{color:#953b39}.text-success{color:#468847}.text-success:hover{color:#356635}.text-info{color:#3a87ad}.text-info:hover{color:#2d6987}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.container{width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.container{width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.container{width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#c09853}.has-warning .form-control{border-color:#c09853;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .open>a .caret,.nav .open>a:hover .caret,.nav .open>a:focus .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-pills>li.active>a .caret,.nav-pills>li.active>a:hover .caret,.nav-pills>li.active>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:auto}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .navbar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-heading>.dropdown .caret{border-color:#333 transparent}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-heading>.dropdown .caret{border-color:#fff transparent}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading>.dropdown .caret{border-color:#468847 transparent}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading>.dropdown .caret{border-color:#c09853 transparent}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading>.dropdown .caret{border-color:#b94a48 transparent}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading>.dropdown .caret{border-color:#3a87ad transparent}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}}
|
styles/bootstrap_admin.css
DELETED
@@ -1,39 +0,0 @@
|
|
1 |
-
.form-table {
|
2 |
-
border: 1px solid #9E9EA0;
|
3 |
-
}
|
4 |
-
.form-table th{
|
5 |
-
font-weight: bold;
|
6 |
-
}
|
7 |
-
#oscitas-form-iconhead .form-table th{ width:120px }
|
8 |
-
|
9 |
-
|
10 |
-
.form-table tr:nth-child(odd){
|
11 |
-
background: #D6D6D6;
|
12 |
-
}
|
13 |
-
.form-table tr:nth-child(even){
|
14 |
-
background: #F0F0F0;
|
15 |
-
}
|
16 |
-
.form-table td {
|
17 |
-
border-left: 1px solid #AAAAAE;
|
18 |
-
min-width: 150px;
|
19 |
-
}
|
20 |
-
|
21 |
-
.tb_multiple_column {
|
22 |
-
border: 1px solid #C1BCC4 !important;
|
23 |
-
}
|
24 |
-
|
25 |
-
.tb_multiple_column thead tr {
|
26 |
-
background: none repeat scroll 0 0 #C2C2C2 !important;
|
27 |
-
}
|
28 |
-
|
29 |
-
.tb_multiple_column tbody tr:nth-child(even) {
|
30 |
-
background: none repeat scroll 0 0 #D7D7D7 !important;
|
31 |
-
}
|
32 |
-
|
33 |
-
.tb_multiple_column tbody tr:nth-child(odd) {
|
34 |
-
background: none repeat scroll 0 0 #ECECEC !important;
|
35 |
-
}
|
36 |
-
|
37 |
-
.tb_multiple_column td {
|
38 |
-
border: 0 none;
|
39 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/bootstrap_admin.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.oscitas-container .form-table{border:1px solid #9E9EA0}.oscitas-container .form-table th{font-weight:700}#oscitas-form-iconhead .form-table th{width:120px}oscitas-container .form-table tr:nth-child(odd){background:#D6D6D6}.oscitas-container .form-table tr:nth-child(even){background:#F0F0F0}.oscitas-container .form-table td{border-left:1px solid #AAAAAE;min-width:150px}#oscitas-form-dropdown .form-table td{min-width:184px}.oscitas-container .tb_multiple_column th{min-width:150px;border:0 none}.oscitas-container .tb_multiple_column,.oscitas-container .tb_multiple_column_upper{border:1px solid #C1BCC4!important}.oscitas-container .tb_multiple_column thead tr,.oscitas-container .tb_multiple_column_upper thead tr{background:none repeat scroll 0 0 #C2C2C2!important}.oscitas-container .tb_multiple_column tbody tr:nth-child(even){background:none repeat scroll 0 0 #D7D7D7!important}.oscitas-container .tb_multiple_column tbody tr:nth-child(odd){background:none repeat scroll 0 0 #ECECEC!important}.oscitas-container .tb_multiple_column td{border:0 none}.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(even){background:none repeat scroll 0 0 #D7D7D7!important}.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(odd){background:none repeat scroll 0 0 #ECECEC!important}.oscitas-container .tb_multiple_column_upper td{border:0 none}#osc_thumbnail_upload img,#osc_image_upload img{float:right;height:70px;width:70px}.oscitas-container .tb_multiple_column #oscitas-append-dropdownitem{display:block;float:left;height:146px;overflow-x:hidden;overflow-y:auto;width:100%}#oscitas-form-dropdown .tb_multiple_column thead tr{display:block}#oscitas-form-dropdown .tb_multiple_column thead tr{position:relative;background:none repeat scroll 0 0 #D6D6D6!important}#oscitas-form-dropdown .tb_multiple_column thead tr th{background:none repeat scroll 0 0 #C2C2C2!important}.oscitas-container .head_division{float:left;font-size:10px;text-align:left;width:30%}.oscitas-container .head_division.right{text-align:right}.oscitas-container .head_division_check{width:20%} #oscitas-form-btngrp .form-table td{min-width:184px} #oscitas-append-btngrpitem{display:block;float:left;height:146px;overflow-x:hidden;overflow-y:auto;width:100%} #oscitas-form-btngrp .tb_multiple_column thead tr{display:block}#oscitas-form-btngrp .tb_multiple_column thead tr{position:relative;background:none repeat scroll 0 0 #D6D6D6!important}#oscitas-form-btngrp .tb_multiple_column thead tr th{background:none repeat scroll 0 0 #C2C2C2!important}
|
styles/colorpicker.css
DELETED
@@ -1,161 +0,0 @@
|
|
1 |
-
.colorpicker {
|
2 |
-
width: 356px;
|
3 |
-
height: 176px;
|
4 |
-
overflow: hidden;
|
5 |
-
position: absolute;
|
6 |
-
background: url(../images/colorpicker_background.png);
|
7 |
-
font-family: Arial, Helvetica, sans-serif;
|
8 |
-
display: none;
|
9 |
-
}
|
10 |
-
.colorpicker_color {
|
11 |
-
width: 150px;
|
12 |
-
height: 150px;
|
13 |
-
left: 14px;
|
14 |
-
top: 13px;
|
15 |
-
position: absolute;
|
16 |
-
background: #f00;
|
17 |
-
overflow: hidden;
|
18 |
-
cursor: crosshair;
|
19 |
-
}
|
20 |
-
.colorpicker_color div {
|
21 |
-
position: absolute;
|
22 |
-
top: 0;
|
23 |
-
left: 0;
|
24 |
-
width: 150px;
|
25 |
-
height: 150px;
|
26 |
-
background: url(../images/colorpicker_overlay.png);
|
27 |
-
}
|
28 |
-
.colorpicker_color div div {
|
29 |
-
position: absolute;
|
30 |
-
top: 0;
|
31 |
-
left: 0;
|
32 |
-
width: 11px;
|
33 |
-
height: 11px;
|
34 |
-
overflow: hidden;
|
35 |
-
background: url(../images/colorpicker_select.gif);
|
36 |
-
margin: -5px 0 0 -5px;
|
37 |
-
}
|
38 |
-
.colorpicker_hue {
|
39 |
-
position: absolute;
|
40 |
-
top: 13px;
|
41 |
-
left: 171px;
|
42 |
-
width: 35px;
|
43 |
-
height: 150px;
|
44 |
-
cursor: n-resize;
|
45 |
-
}
|
46 |
-
.colorpicker_hue div {
|
47 |
-
position: absolute;
|
48 |
-
width: 35px;
|
49 |
-
height: 9px;
|
50 |
-
overflow: hidden;
|
51 |
-
background: url(../images/colorpicker_indic.gif) left top;
|
52 |
-
margin: -4px 0 0 0;
|
53 |
-
left: 0px;
|
54 |
-
}
|
55 |
-
.colorpicker_new_color {
|
56 |
-
position: absolute;
|
57 |
-
width: 60px;
|
58 |
-
height: 30px;
|
59 |
-
left: 213px;
|
60 |
-
top: 13px;
|
61 |
-
background: #f00;
|
62 |
-
}
|
63 |
-
.colorpicker_current_color {
|
64 |
-
position: absolute;
|
65 |
-
width: 60px;
|
66 |
-
height: 30px;
|
67 |
-
left: 283px;
|
68 |
-
top: 13px;
|
69 |
-
background: #f00;
|
70 |
-
}
|
71 |
-
.colorpicker input {
|
72 |
-
background-color: transparent;
|
73 |
-
border: 1px solid transparent;
|
74 |
-
position: absolute;
|
75 |
-
font-size: 10px;
|
76 |
-
font-family: Arial, Helvetica, sans-serif;
|
77 |
-
color: #898989;
|
78 |
-
top: 4px;
|
79 |
-
right: 11px;
|
80 |
-
text-align: right;
|
81 |
-
margin: 0;
|
82 |
-
padding: 0;
|
83 |
-
height: 11px;
|
84 |
-
}
|
85 |
-
.colorpicker_hex {
|
86 |
-
position: absolute;
|
87 |
-
width: 72px;
|
88 |
-
height: 22px;
|
89 |
-
background: url(../images/colorpicker_hex.png) top;
|
90 |
-
left: 212px;
|
91 |
-
top: 142px;
|
92 |
-
}
|
93 |
-
.colorpicker_hex input {
|
94 |
-
right: 6px;
|
95 |
-
}
|
96 |
-
.colorpicker_field {
|
97 |
-
height: 22px;
|
98 |
-
width: 62px;
|
99 |
-
background-position: top;
|
100 |
-
position: absolute;
|
101 |
-
}
|
102 |
-
.colorpicker_field span {
|
103 |
-
position: absolute;
|
104 |
-
width: 12px;
|
105 |
-
height: 22px;
|
106 |
-
overflow: hidden;
|
107 |
-
top: 0;
|
108 |
-
right: 0;
|
109 |
-
cursor: n-resize;
|
110 |
-
}
|
111 |
-
.colorpicker_rgb_r {
|
112 |
-
background-image: url(../images/colorpicker_rgb_r.png);
|
113 |
-
top: 52px;
|
114 |
-
left: 212px;
|
115 |
-
}
|
116 |
-
.colorpicker_rgb_g {
|
117 |
-
background-image: url(../images/colorpicker_rgb_g.png);
|
118 |
-
top: 82px;
|
119 |
-
left: 212px;
|
120 |
-
}
|
121 |
-
.colorpicker_rgb_b {
|
122 |
-
background-image: url(../images/colorpicker_rgb_b.png);
|
123 |
-
top: 112px;
|
124 |
-
left: 212px;
|
125 |
-
}
|
126 |
-
.colorpicker_hsb_h {
|
127 |
-
background-image: url(../images/colorpicker_hsb_h.png);
|
128 |
-
top: 52px;
|
129 |
-
left: 282px;
|
130 |
-
}
|
131 |
-
.colorpicker_hsb_s {
|
132 |
-
background-image: url(../images/colorpicker_hsb_s.png);
|
133 |
-
top: 82px;
|
134 |
-
left: 282px;
|
135 |
-
}
|
136 |
-
.colorpicker_hsb_b {
|
137 |
-
background-image: url(../images/colorpicker_hsb_b.png);
|
138 |
-
top: 112px;
|
139 |
-
left: 282px;
|
140 |
-
}
|
141 |
-
.colorpicker_submit {
|
142 |
-
position: absolute;
|
143 |
-
width: 22px;
|
144 |
-
height: 22px;
|
145 |
-
background: url(../images/colorpicker_submit.png) top;
|
146 |
-
left: 322px;
|
147 |
-
top: 142px;
|
148 |
-
overflow: hidden;
|
149 |
-
}
|
150 |
-
.colorpicker_focus {
|
151 |
-
background-position: center;
|
152 |
-
}
|
153 |
-
.colorpicker_hex.colorpicker_focus {
|
154 |
-
background-position: bottom;
|
155 |
-
}
|
156 |
-
.colorpicker_submit.colorpicker_focus {
|
157 |
-
background-position: bottom;
|
158 |
-
}
|
159 |
-
.colorpicker_slider {
|
160 |
-
background-position: bottom;
|
161 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles/ebs-setting.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#ebs_setting{margin:20px 0 0}.ebs_page_settings{margin-top:20px}.ebs_page_settings h1{background:none repeat scroll 0 0 #D5D5D7;color:#555;padding:10px;text-align:center;text-decoration:underline;width:88.5%}.ebs_details{border:1px solid #CCC;float:left;width:90%;margin:8px 0;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-ms-border-radius:3px}.ebs_details label{line-height:30px;margin:0 10px 0 0;padding:5px 10px;text-align:right;width:170px}.ebs_details>p{float:left;margin:5px 0}.ebs_details.show_cdn>#cdn_path{margin:8px 0 0 10px;width:462px}.ebs_setting_label{border-right:1px solid #CCC;display:block;float:left}.ebs_page_settings .ebs_btn{float:left;width:90%}.ebs_page_settings .ebs_btn>input{font-size:15px;font-weight:600;padding:7px;width:19%}
|
styles/jquery.fancybox.css
CHANGED
@@ -1,274 +1 @@
|
|
1 |
-
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license
|
2 |
-
.fancybox-wrap,
|
3 |
-
.fancybox-skin,
|
4 |
-
.fancybox-outer,
|
5 |
-
.fancybox-inner,
|
6 |
-
.fancybox-image,
|
7 |
-
.fancybox-wrap iframe,
|
8 |
-
.fancybox-wrap object,
|
9 |
-
.fancybox-nav,
|
10 |
-
.fancybox-nav span,
|
11 |
-
.fancybox-tmp
|
12 |
-
{
|
13 |
-
padding: 0;
|
14 |
-
margin: 0;
|
15 |
-
border: 0;
|
16 |
-
outline: none;
|
17 |
-
vertical-align: top;
|
18 |
-
}
|
19 |
-
|
20 |
-
.fancybox-wrap {
|
21 |
-
position: absolute;
|
22 |
-
top: 0;
|
23 |
-
left: 0;
|
24 |
-
z-index: 8020;
|
25 |
-
}
|
26 |
-
|
27 |
-
.fancybox-skin {
|
28 |
-
position: relative;
|
29 |
-
background: #f9f9f9;
|
30 |
-
color: #444;
|
31 |
-
text-shadow: none;
|
32 |
-
-webkit-border-radius: 4px;
|
33 |
-
-moz-border-radius: 4px;
|
34 |
-
border-radius: 4px;
|
35 |
-
}
|
36 |
-
|
37 |
-
.fancybox-opened {
|
38 |
-
z-index: 8030;
|
39 |
-
}
|
40 |
-
|
41 |
-
.fancybox-opened .fancybox-skin {
|
42 |
-
-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
43 |
-
-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
44 |
-
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
45 |
-
}
|
46 |
-
|
47 |
-
.fancybox-outer, .fancybox-inner {
|
48 |
-
position: relative;
|
49 |
-
}
|
50 |
-
|
51 |
-
.fancybox-inner {
|
52 |
-
overflow: hidden;
|
53 |
-
}
|
54 |
-
|
55 |
-
.fancybox-type-iframe .fancybox-inner {
|
56 |
-
-webkit-overflow-scrolling: touch;
|
57 |
-
}
|
58 |
-
|
59 |
-
.fancybox-error {
|
60 |
-
color: #444;
|
61 |
-
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
62 |
-
margin: 0;
|
63 |
-
padding: 15px;
|
64 |
-
white-space: nowrap;
|
65 |
-
}
|
66 |
-
|
67 |
-
.fancybox-image, .fancybox-iframe {
|
68 |
-
display: block;
|
69 |
-
width: 100%;
|
70 |
-
height: 100%;
|
71 |
-
}
|
72 |
-
|
73 |
-
.fancybox-image {
|
74 |
-
max-width: 100%;
|
75 |
-
max-height: 100%;
|
76 |
-
}
|
77 |
-
|
78 |
-
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
79 |
-
background-image: url('../images/fancybox_sprite.png');
|
80 |
-
}
|
81 |
-
|
82 |
-
#fancybox-loading {
|
83 |
-
position: fixed;
|
84 |
-
top: 50%;
|
85 |
-
left: 50%;
|
86 |
-
margin-top: -22px;
|
87 |
-
margin-left: -22px;
|
88 |
-
background-position: 0 -108px;
|
89 |
-
opacity: 0.8;
|
90 |
-
cursor: pointer;
|
91 |
-
z-index: 8060;
|
92 |
-
}
|
93 |
-
|
94 |
-
#fancybox-loading div {
|
95 |
-
width: 44px;
|
96 |
-
height: 44px;
|
97 |
-
background: url('../images/fancybox_loading.gif') center center no-repeat;
|
98 |
-
}
|
99 |
-
|
100 |
-
.fancybox-close {
|
101 |
-
position: absolute;
|
102 |
-
top: -18px;
|
103 |
-
right: -18px;
|
104 |
-
width: 36px;
|
105 |
-
height: 36px;
|
106 |
-
cursor: pointer;
|
107 |
-
z-index: 8040;
|
108 |
-
}
|
109 |
-
|
110 |
-
.fancybox-nav {
|
111 |
-
position: absolute;
|
112 |
-
top: 0;
|
113 |
-
width: 40%;
|
114 |
-
height: 100%;
|
115 |
-
cursor: pointer;
|
116 |
-
text-decoration: none;
|
117 |
-
background: transparent url('../images/blank.gif'); /* helps IE */
|
118 |
-
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
119 |
-
z-index: 8040;
|
120 |
-
}
|
121 |
-
|
122 |
-
.fancybox-prev {
|
123 |
-
left: 0;
|
124 |
-
}
|
125 |
-
|
126 |
-
.fancybox-next {
|
127 |
-
right: 0;
|
128 |
-
}
|
129 |
-
|
130 |
-
.fancybox-nav span {
|
131 |
-
position: absolute;
|
132 |
-
top: 50%;
|
133 |
-
width: 36px;
|
134 |
-
height: 34px;
|
135 |
-
margin-top: -18px;
|
136 |
-
cursor: pointer;
|
137 |
-
z-index: 8040;
|
138 |
-
visibility: hidden;
|
139 |
-
}
|
140 |
-
|
141 |
-
.fancybox-prev span {
|
142 |
-
left: 10px;
|
143 |
-
background-position: 0 -36px;
|
144 |
-
}
|
145 |
-
|
146 |
-
.fancybox-next span {
|
147 |
-
right: 10px;
|
148 |
-
background-position: 0 -72px;
|
149 |
-
}
|
150 |
-
|
151 |
-
.fancybox-nav:hover span {
|
152 |
-
visibility: visible;
|
153 |
-
}
|
154 |
-
|
155 |
-
.fancybox-tmp {
|
156 |
-
position: absolute;
|
157 |
-
top: -99999px;
|
158 |
-
left: -99999px;
|
159 |
-
visibility: hidden;
|
160 |
-
max-width: 99999px;
|
161 |
-
max-height: 99999px;
|
162 |
-
overflow: visible !important;
|
163 |
-
}
|
164 |
-
|
165 |
-
/* Overlay helper */
|
166 |
-
|
167 |
-
.fancybox-lock {
|
168 |
-
overflow: hidden !important;
|
169 |
-
width: auto;
|
170 |
-
}
|
171 |
-
|
172 |
-
.fancybox-lock body {
|
173 |
-
overflow: hidden !important;
|
174 |
-
}
|
175 |
-
|
176 |
-
.fancybox-lock-test {
|
177 |
-
overflow-y: hidden !important;
|
178 |
-
}
|
179 |
-
|
180 |
-
.fancybox-overlay {
|
181 |
-
position: absolute;
|
182 |
-
top: 0;
|
183 |
-
left: 0;
|
184 |
-
overflow: hidden;
|
185 |
-
display: none;
|
186 |
-
z-index: 8010;
|
187 |
-
background: url('../images/fancybox_overlay.png');
|
188 |
-
}
|
189 |
-
|
190 |
-
.fancybox-overlay-fixed {
|
191 |
-
position: fixed;
|
192 |
-
bottom: 0;
|
193 |
-
right: 0;
|
194 |
-
}
|
195 |
-
|
196 |
-
.fancybox-lock .fancybox-overlay {
|
197 |
-
overflow: auto;
|
198 |
-
overflow-y: scroll;
|
199 |
-
}
|
200 |
-
|
201 |
-
/* Title helper */
|
202 |
-
|
203 |
-
.fancybox-title {
|
204 |
-
visibility: hidden;
|
205 |
-
font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
206 |
-
position: relative;
|
207 |
-
text-shadow: none;
|
208 |
-
z-index: 8050;
|
209 |
-
}
|
210 |
-
|
211 |
-
.fancybox-opened .fancybox-title {
|
212 |
-
visibility: visible;
|
213 |
-
}
|
214 |
-
|
215 |
-
.fancybox-title-float-wrap {
|
216 |
-
position: absolute;
|
217 |
-
bottom: 0;
|
218 |
-
right: 50%;
|
219 |
-
margin-bottom: -35px;
|
220 |
-
z-index: 8050;
|
221 |
-
text-align: center;
|
222 |
-
}
|
223 |
-
|
224 |
-
.fancybox-title-float-wrap .child {
|
225 |
-
display: inline-block;
|
226 |
-
margin-right: -100%;
|
227 |
-
padding: 2px 20px;
|
228 |
-
background: transparent; /* Fallback for web browsers that doesn't support RGBa */
|
229 |
-
background: rgba(0, 0, 0, 0.8);
|
230 |
-
-webkit-border-radius: 15px;
|
231 |
-
-moz-border-radius: 15px;
|
232 |
-
border-radius: 15px;
|
233 |
-
text-shadow: 0 1px 2px #222;
|
234 |
-
color: #FFF;
|
235 |
-
font-weight: bold;
|
236 |
-
line-height: 24px;
|
237 |
-
white-space: nowrap;
|
238 |
-
}
|
239 |
-
|
240 |
-
.fancybox-title-outside-wrap {
|
241 |
-
position: relative;
|
242 |
-
margin-top: 10px;
|
243 |
-
color: #fff;
|
244 |
-
}
|
245 |
-
|
246 |
-
.fancybox-title-inside-wrap {
|
247 |
-
padding-top: 10px;
|
248 |
-
}
|
249 |
-
|
250 |
-
.fancybox-title-over-wrap {
|
251 |
-
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.8);
|
252 |
-
bottom: 0;
|
253 |
-
color: #FFFFFF;
|
254 |
-
font-size: 17px;
|
255 |
-
font-weight: bold;
|
256 |
-
left: 0;
|
257 |
-
padding: 10px;
|
258 |
-
|
259 |
-
}
|
260 |
-
/*Retina graphics!*/
|
261 |
-
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
262 |
-
only screen and (min--moz-device-pixel-ratio: 1.5),
|
263 |
-
only screen and (min-device-pixel-ratio: 1.5){
|
264 |
-
|
265 |
-
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
|
266 |
-
background-image: url('../images/fancybox_sprite@2x.png');
|
267 |
-
background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
|
268 |
-
}
|
269 |
-
|
270 |
-
#fancybox-loading div {
|
271 |
-
background-image: url('../images/fancybox_loading@2x.gif');
|
272 |
-
background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
|
273 |
-
}
|
274 |
-
}
|
1 |
+
/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */.fancybox-wrap,.fancybox-skin,.fancybox-outer,.fancybox-inner,.fancybox-image,.fancybox-wrap iframe,.fancybox-wrap object,.fancybox-nav,.fancybox-nav span,.fancybox-tmp{padding:0;margin:0;border:0;outline:0;vertical-align:top}.fancybox-wrap{position:absolute;top:0;left:0;z-index:8020}.fancybox-skin{position:relative;background:#f9f9f9;color:#444;text-shadow:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fancybox-opened{z-index:8030}.fancybox-opened .fancybox-skin{-webkit-box-shadow:0 10px 25px rgba(0,0,0,.5);-moz-box-shadow:0 10px 25px rgba(0,0,0,.5);box-shadow:0 10px 25px rgba(0,0,0,.5)}.fancybox-outer,.fancybox-inner{position:relative}.fancybox-inner{overflow:hidden}.fancybox-type-iframe .fancybox-inner{-webkit-overflow-scrolling:touch}.fancybox-error{color:#444;font:14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;margin:0;padding:15px;white-space:nowrap}.fancybox-image,.fancybox-iframe{display:block;width:100%;height:100%}.fancybox-image{max-width:100%;max-height:100%}#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url(../images/fancybox_sprite.png)}#fancybox-loading{position:fixed;top:50%;left:50%;margin-top:-22px;margin-left:-22px;background-position:0 -108px;opacity:.8;cursor:pointer;z-index:8060}#fancybox-loading div{width:44px;height:44px;background:url(../images/fancybox_loading.gif) center center no-repeat}.fancybox-close{position:absolute;top:-18px;right:-18px;width:36px;height:36px;cursor:pointer;z-index:8040}.fancybox-nav{position:absolute;top:0;width:40%;height:100%;cursor:pointer;text-decoration:none;background:transparent url(../images/blank.gif);-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:8040}.fancybox-prev{left:0}.fancybox-next{right:0}.fancybox-nav span{position:absolute;top:50%;width:36px;height:34px;margin-top:-18px;cursor:pointer;z-index:8040;visibility:hidden}.fancybox-prev span{left:10px;background-position:0 -36px}.fancybox-next span{right:10px;background-position:0 -72px}.fancybox-nav:hover span{visibility:visible}.fancybox-tmp{position:absolute;top:-99999px;left:-99999px;visibility:hidden;max-width:99999px;max-height:99999px;overflow:visible!important}.fancybox-lock{overflow:hidden!important;width:auto}.fancybox-lock body{overflow:hidden!important}.fancybox-lock-test{overflow-y:hidden!important}.fancybox-overlay{position:absolute;top:0;left:0;overflow:hidden;display:none;z-index:8010;background:url(../images/fancybox_overlay.png)}.fancybox-overlay-fixed{position:fixed;bottom:0;right:0}.fancybox-lock .fancybox-overlay{overflow:auto;overflow-y:scroll}.fancybox-title{visibility:hidden;font:400 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;position:relative;text-shadow:none;z-index:8050}.fancybox-opened .fancybox-title{visibility:visible}.fancybox-title-float-wrap{position:absolute;bottom:0;right:50%;margin-bottom:-35px;z-index:8050;text-align:center}.fancybox-title-float-wrap .child{display:inline-block;margin-right:-100%;padding:2px 20px;background:transparent;background:rgba(0,0,0,.8);-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;text-shadow:0 1px 2px #222;color:#FFF;font-weight:700;line-height:24px;white-space:nowrap}.fancybox-title-outside-wrap{position:relative;margin-top:10px;color:#fff}.fancybox-title-inside-wrap{padding-top:10px}.fancybox-title-over-wrap{background:none repeat scroll 0 0 rgba(0,0,0,.8);bottom:0;color:#FFF;font-size:17px;font-weight:700;left:0;padding:10px}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){#fancybox-loading,.fancybox-close,.fancybox-prev span,.fancybox-next span{background-image:url(../images/fancybox_sprite@2x.png);background-size:44px 152px}#fancybox-loading div{background-image:url(../images/fancybox_loading@2x.gif);background-size:24px 24px}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|