Version Description
Download this release
Release Info
Developer | dfactory |
Plugin | Cookie Notice by dFactory |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- cookie-notice.php +583 -0
- css/cookie-notice-admin.css +13 -0
- css/cookie-notice-front.css +86 -0
- css/images/bg_fallback.png +0 -0
- css/images/icon_sprite.png +0 -0
- css/images/slider_handles.png +0 -0
- css/images/slider_handles@2x.png +0 -0
- css/images/ui-icons_222222_256x240.png +0 -0
- css/images/ui-icons_454545_256x240.png +0 -0
- css/wp-like-ui-theme.css +774 -0
- images/logo-dfactory.png +0 -0
- index.php +2 -0
- js/cookie-notice-admin.js +35 -0
- js/cookie-notice-front.js +49 -0
- languages/cookie-notice-pl_PL.mo +0 -0
- languages/cookie-notice-pl_PL.po +380 -0
- languages/cookie-notice.pot +249 -0
- readme.txt +52 -0
cookie-notice.php
ADDED
@@ -0,0 +1,583 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: Cookie Notice
|
4 |
+
Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
5 |
+
Version: 1.0.0
|
6 |
+
Author: dFactory
|
7 |
+
Author URI: http://www.dfactory.eu/
|
8 |
+
Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
|
9 |
+
License: MIT License
|
10 |
+
License URI: http://opensource.org/licenses/MIT
|
11 |
+
|
12 |
+
Restrict Widgets
|
13 |
+
Copyright (C) 2013, Digital Factory - info@digitalfactory.pl
|
14 |
+
|
15 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16 |
+
|
17 |
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
18 |
+
|
19 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20 |
+
*/
|
21 |
+
|
22 |
+
|
23 |
+
class Cookie_Notice
|
24 |
+
{
|
25 |
+
private $defaults = array(
|
26 |
+
'position' => 'top',
|
27 |
+
'message_text' => '',
|
28 |
+
'css_style' => 'bootstrap',
|
29 |
+
'accept_text' => '',
|
30 |
+
'see_more' => 'no',
|
31 |
+
'time' => 'month',
|
32 |
+
'hide_effect' => 'fade',
|
33 |
+
'colors' => array(
|
34 |
+
'text' => '#fff',
|
35 |
+
'bar' => '#000',
|
36 |
+
),
|
37 |
+
'see_more_opt' => array(
|
38 |
+
'text' => '',
|
39 |
+
'link_type' => 'custom',
|
40 |
+
'id' => 'empty',
|
41 |
+
'link' => ''
|
42 |
+
)
|
43 |
+
);
|
44 |
+
private $positions = array();
|
45 |
+
private $styles = array();
|
46 |
+
private $choices = array();
|
47 |
+
private $pages = array();
|
48 |
+
private $links = array();
|
49 |
+
private $colors = array();
|
50 |
+
private $options = array();
|
51 |
+
private $effects = array();
|
52 |
+
private $times = array();
|
53 |
+
private $cookie = array(
|
54 |
+
'name' => 'cookie_notice_accepted',
|
55 |
+
'value' => 'TRUE'
|
56 |
+
);
|
57 |
+
|
58 |
+
|
59 |
+
public function __construct()
|
60 |
+
{
|
61 |
+
register_activation_hook(__FILE__, array(&$this, 'activation'));
|
62 |
+
register_deactivation_hook(__FILE__, array(&$this, 'deactivation'));
|
63 |
+
|
64 |
+
//actions
|
65 |
+
add_action('admin_init', array(&$this, 'register_settings'));
|
66 |
+
add_action('admin_menu', array(&$this, 'admin_menu_options'));
|
67 |
+
add_action('plugins_loaded', array(&$this, 'load_textdomain'));
|
68 |
+
add_action('plugins_loaded', array(&$this, 'load_defaults'));
|
69 |
+
add_action('admin_enqueue_scripts', array(&$this, 'admin_load_scripts_styles'));
|
70 |
+
add_action('wp_enqueue_scripts', array(&$this, 'front_load_scripts_styles'));
|
71 |
+
add_action('wp_ajax_cn-save-cookie', array(&$this, 'ajax_save_cookie'));
|
72 |
+
add_action('wp_ajax_nopriv_cn-save-cookie', array(&$this, 'ajax_save_cookie'));
|
73 |
+
add_action('wp_footer', array(&$this, 'add_cookie_notice'));
|
74 |
+
|
75 |
+
//filters
|
76 |
+
add_filter('plugin_row_meta', array(&$this, 'plugin_extend_links'), 10, 2);
|
77 |
+
add_filter('plugin_action_links', array(&$this, 'plugin_settings_link'), 10, 2);
|
78 |
+
}
|
79 |
+
|
80 |
+
|
81 |
+
public function load_defaults()
|
82 |
+
{
|
83 |
+
$this->positions = array(
|
84 |
+
'top' => __('Top', 'cookie-notice'),
|
85 |
+
'bottom' => __('Bottom', 'cookie-notice')
|
86 |
+
);
|
87 |
+
|
88 |
+
$this->styles = array(
|
89 |
+
'none' => __('None', 'cookie-notice'),
|
90 |
+
'wp-default' => __('WordPress', 'cookie-notice'),
|
91 |
+
'bootstrap' => __('Bootstrap', 'cookie-notice')
|
92 |
+
);
|
93 |
+
|
94 |
+
$this->choices = array(
|
95 |
+
'yes' => __('Enable', 'cookie-notice'),
|
96 |
+
'no' => __('Disable', 'cookie-notice')
|
97 |
+
);
|
98 |
+
|
99 |
+
$this->links = array(
|
100 |
+
'custom' => __('Custom link', 'cookie-notice'),
|
101 |
+
'page' => __('Page link', 'cookie-notice')
|
102 |
+
);
|
103 |
+
|
104 |
+
$this->colors = array(
|
105 |
+
'text' => __('Text color', 'cookie-notice'),
|
106 |
+
'bar' => __('Bar color', 'cookie-notice'),
|
107 |
+
);
|
108 |
+
|
109 |
+
$this->times = array(
|
110 |
+
'day' => array(__('1 day', 'cookie-notice'), 86400),
|
111 |
+
'week' => array(__('1 week', 'cookie-notice'), 604800),
|
112 |
+
'month' => array(__('1 month', 'cookie-notice'), 2592000),
|
113 |
+
'3months' => array(__('3 months', 'cookie-notice'), 7862400),
|
114 |
+
'6months' => array(__('6 months', 'cookie-notice'), 15811200),
|
115 |
+
'year' => array(__('1 year', 'cookie-notice'), 31536000),
|
116 |
+
'infinity' => array(__('infinity', 'cookie-notice'), 31337313373)
|
117 |
+
);
|
118 |
+
|
119 |
+
$this->effects = array(
|
120 |
+
'none' => __('None', 'cookie-notice'),
|
121 |
+
'fade' => __('Fade', 'cookie-notice'),
|
122 |
+
'slide' => __('Slide', 'cookie-notice')
|
123 |
+
);
|
124 |
+
|
125 |
+
$this->pages = get_pages(
|
126 |
+
array(
|
127 |
+
'sort_order' => 'ASC',
|
128 |
+
'sort_column' => 'post_title',
|
129 |
+
'hierarchical' => 0,
|
130 |
+
'child_of' => 0,
|
131 |
+
'parent' => -1,
|
132 |
+
'offset' => 0,
|
133 |
+
'post_type' => 'page',
|
134 |
+
'post_status' => 'publish'
|
135 |
+
)
|
136 |
+
);
|
137 |
+
|
138 |
+
$this->options = get_option('cookie_notice_options');
|
139 |
+
}
|
140 |
+
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Loads textdomain
|
144 |
+
*/
|
145 |
+
public function load_textdomain()
|
146 |
+
{
|
147 |
+
load_plugin_textdomain('cookie-notice', FALSE, dirname(plugin_basename(__FILE__)).'/languages/');
|
148 |
+
}
|
149 |
+
|
150 |
+
|
151 |
+
public function admin_menu_options()
|
152 |
+
{
|
153 |
+
$watermark_settings_page = add_options_page(
|
154 |
+
__('Cookie Notice', 'cookie-notice'),
|
155 |
+
__('Cookie Notice', 'cookie-notice'),
|
156 |
+
'manage_options',
|
157 |
+
'cookie-notice',
|
158 |
+
array(&$this, 'options_page')
|
159 |
+
);
|
160 |
+
}
|
161 |
+
|
162 |
+
|
163 |
+
public function options_page()
|
164 |
+
{
|
165 |
+
echo '
|
166 |
+
<div class="wrap">'.screen_icon().'
|
167 |
+
<h2>'.__('Cookie Notice', 'cookie-notice').'</h2>
|
168 |
+
<div class="metabox-holder postbox-container cookie-notice">
|
169 |
+
<form action="options.php" method="post">';
|
170 |
+
|
171 |
+
wp_nonce_field('update-options');
|
172 |
+
settings_fields('cookie_notice_options');
|
173 |
+
do_settings_sections('cookie_notice_options');
|
174 |
+
submit_button('', 'primary', 'save_cookie_notice_options', TRUE);
|
175 |
+
|
176 |
+
echo '
|
177 |
+
</form>
|
178 |
+
</div>
|
179 |
+
<div class="df-credits postbox-container">
|
180 |
+
<h3 class="metabox-title">'.__('Cookie Notice', 'cookie-notice').'</h3>
|
181 |
+
<div class="inner">
|
182 |
+
<h3>'.__('Need support?', 'cookie-notice').'</h3>
|
183 |
+
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'cookie-notice').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum', 'cookie-notice').'">'.__('Support forum', 'cookie-notice').'</a></p>
|
184 |
+
<hr />
|
185 |
+
<h3>'.__('Do you like this plugin?', 'cookie-notice').'</h3>
|
186 |
+
<p><a href="http://wordpress.org/support/view/plugin-reviews/cookie-notice" target="_blank" title="'.__('Rate it 5', 'cookie-notice').'">'.__('Rate it 5', 'cookie-notice').'</a> '.__('on WordPress.org', 'cookie-notice').'<br />'.
|
187 |
+
__('Blog about it & link to the', 'cookie-notice').' <a href="http://dfactory.eu/plugins/cookie-notice/" target="_blank" title="'.__('plugin page', 'cookie-notice').'">'.__('plugin page', 'cookie-notice').'</a><br />'.
|
188 |
+
__('Check out our other', 'cookie-notice').' <a href="http://dfactory.eu/plugins/" target="_blank" title="'.__('WordPress plugins', 'cookie-notice').'">'.__('WordPress plugins', 'cookie-notice').'</a>
|
189 |
+
</p>
|
190 |
+
<hr />
|
191 |
+
<p class="df-link">Created by <a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
|
192 |
+
</div>
|
193 |
+
</div>
|
194 |
+
<div class="clear"></div>
|
195 |
+
</div>';
|
196 |
+
}
|
197 |
+
|
198 |
+
|
199 |
+
public function register_settings()
|
200 |
+
{
|
201 |
+
register_setting('cookie_notice_options', 'cookie_notice_options', array(&$this, 'validate_options'));
|
202 |
+
|
203 |
+
//configuration
|
204 |
+
add_settings_section('cookie_notice_configuration', __('Configuration', 'cookie-notice'), '', 'cookie_notice_options');
|
205 |
+
add_settings_field('cn_message_text', __('Message', 'cookie-notice'), array(&$this, 'cn_message_text'), 'cookie_notice_options', 'cookie_notice_configuration');
|
206 |
+
add_settings_field('cn_accept_text', __('Button text', 'cookie-notice'), array(&$this, 'cn_accept_text'), 'cookie_notice_options', 'cookie_notice_configuration');
|
207 |
+
add_settings_field('cn_see_more', __('More info', 'cookie-notice'), array(&$this, 'cn_see_more'), 'cookie_notice_options', 'cookie_notice_configuration');
|
208 |
+
add_settings_field('cn_time', __('Cookie expiry', 'cookie-notice'), array(&$this, 'cn_time'), 'cookie_notice_options', 'cookie_notice_configuration');
|
209 |
+
|
210 |
+
//design
|
211 |
+
add_settings_section('cookie_notice_design', __('Design', 'cookie-notice'), '', 'cookie_notice_options');
|
212 |
+
add_settings_field('cn_position', __('Position', 'cookie-notice'), array(&$this, 'cn_position'), 'cookie_notice_options', 'cookie_notice_design');
|
213 |
+
add_settings_field('cn_hide_effect', __('Hide animation', 'cookie-notice'), array(&$this, 'cn_hide_effect'), 'cookie_notice_options', 'cookie_notice_design');
|
214 |
+
add_settings_field('cn_css_style', __('Button style', 'cookie-notice'), array(&$this, 'cn_css_style'), 'cookie_notice_options', 'cookie_notice_design');
|
215 |
+
add_settings_field('cn_colors', __('Colors', 'cookie-notice'), array(&$this, 'cn_colors'), 'cookie_notice_options', 'cookie_notice_design');
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
public function cn_message_text()
|
220 |
+
{
|
221 |
+
echo '
|
222 |
+
<div id="cn_message_text">
|
223 |
+
<textarea name="cookie_notice_options[message_text]" class="large-text" cols="50" rows="5">'.esc_textarea($this->options['message_text']).'</textarea>
|
224 |
+
<p class="description">'.__('Enter the cookie notice message.', 'cookie-notice').'</p>
|
225 |
+
</div>';
|
226 |
+
}
|
227 |
+
|
228 |
+
|
229 |
+
public function cn_accept_text()
|
230 |
+
{
|
231 |
+
echo '
|
232 |
+
<div id="cn_accept_text">
|
233 |
+
<input type="text" name="cookie_notice_options[accept_text]" value="'.esc_attr($this->options['accept_text']).'" />
|
234 |
+
<p class="description">'.__('The text to show on the button when cookies have not been accepted', 'cookie-notice').'</p>
|
235 |
+
</div>';
|
236 |
+
}
|
237 |
+
|
238 |
+
|
239 |
+
public function cn_see_more()
|
240 |
+
{
|
241 |
+
echo '
|
242 |
+
<div id="cn_see_more">';
|
243 |
+
|
244 |
+
foreach($this->choices as $val => $trans)
|
245 |
+
{
|
246 |
+
echo '
|
247 |
+
<input id="cn-see-more-'.$val.'" type="radio" name="cookie_notice_options[see_more]" value="'.esc_attr($val).'" '.checked($val, $this->options['see_more'], FALSE).' />
|
248 |
+
<label for="cn-see-more-'.$val.'">'.$trans.'</label>';
|
249 |
+
}
|
250 |
+
|
251 |
+
echo '
|
252 |
+
<p class="description">'.__('Enable or Disable Read more button.', 'cookie-notice').'</p>
|
253 |
+
</div>
|
254 |
+
<div id="cn_see_more_opt"'.($this->options['see_more'] === 'no' ? ' style="display: none;"' : '').'>
|
255 |
+
<input type="text" name="cookie_notice_options[see_more_opt][text]" value="'.esc_attr($this->options['see_more_opt']['text']).'" />
|
256 |
+
<p class="description">'.__('Button text', 'cookie-notice').'</p>
|
257 |
+
<div id="cn_see_more_opt_custom_link">';
|
258 |
+
|
259 |
+
foreach($this->links as $val => $trans)
|
260 |
+
{
|
261 |
+
echo '
|
262 |
+
<input id="cn-see-more-link-'.$val.'" type="radio" name="cookie_notice_options[see_more_opt][link_type]" value="'.esc_attr($val).'" '.checked($val, $this->options['see_more_opt']['link_type'], FALSE).' />
|
263 |
+
<label for="cn-see-more-link-'.$val.'">'.$trans.'</label>';
|
264 |
+
}
|
265 |
+
|
266 |
+
echo '
|
267 |
+
</div>
|
268 |
+
<p class="description">'.__('Select where to redirect user for more information about cookies.', 'cookie-notice').'</p>
|
269 |
+
<div id="cn_see_more_opt_page"'.($this->options['see_more_opt']['link_type'] === 'custom' ? ' style="display: none;"' : '').'>
|
270 |
+
<select name="cookie_notice_options[see_more_opt][id]">
|
271 |
+
<option value="empty" '.selected('empty', $this->options['see_more_opt']['id'], FALSE).'>'.__('-- select page --', 'cookie-notice').'</option>';
|
272 |
+
|
273 |
+
foreach($this->pages as $page)
|
274 |
+
{
|
275 |
+
echo '
|
276 |
+
<option value="'.$page->ID.'" '.selected($page->ID, $this->options['see_more_opt']['id'], FALSE).'>'.$page->post_title.'</option>';
|
277 |
+
}
|
278 |
+
|
279 |
+
echo '
|
280 |
+
</select>
|
281 |
+
<p class="description">'.__('Select from one of your site\'s pages', 'cookie-notice').'</p>
|
282 |
+
</div>
|
283 |
+
<div id="cn_see_more_opt_link"'.($this->options['see_more_opt']['link_type'] === 'page' ? ' style="display: none;"' : '').'>
|
284 |
+
<input type="text" name="cookie_notice_options[see_more_opt][link]" value="'.esc_attr($this->options['see_more_opt']['link']).'" />
|
285 |
+
<p class="description">'.__('Enter the full URL starting with http://', 'cookie-notice').'</p>
|
286 |
+
</div>
|
287 |
+
</div>';
|
288 |
+
}
|
289 |
+
|
290 |
+
|
291 |
+
public function cn_time()
|
292 |
+
{
|
293 |
+
echo '
|
294 |
+
<div id="cn_time">
|
295 |
+
<select name="cookie_notice_options[time]">';
|
296 |
+
|
297 |
+
foreach($this->times as $time => $arr)
|
298 |
+
{
|
299 |
+
echo '<option value="'.$time.'" '.selected($time, $this->options['time']).'>'.$arr[0].'</option>';
|
300 |
+
}
|
301 |
+
|
302 |
+
echo '
|
303 |
+
</select>
|
304 |
+
<p class="description">'.__('The ammount of time that cookie should be stored for.', 'cookie-notice').'</p>
|
305 |
+
</div>';
|
306 |
+
}
|
307 |
+
|
308 |
+
|
309 |
+
public function cn_position()
|
310 |
+
{
|
311 |
+
echo '
|
312 |
+
<div id="cn_position">';
|
313 |
+
|
314 |
+
foreach($this->positions as $val => $trans)
|
315 |
+
{
|
316 |
+
echo '
|
317 |
+
<input id="cn-position-'.$val.'" type="radio" name="cookie_notice_options[position]" value="'.esc_attr($val).'" '.checked($val, $this->options['position'], FALSE).' />
|
318 |
+
<label for="cn-position-'.$val.'">'.$trans.'</label>';
|
319 |
+
}
|
320 |
+
|
321 |
+
echo '
|
322 |
+
<p class="description">'.__('Select location for your cookie notice.', 'cookie-notice').'</p>
|
323 |
+
</div>';
|
324 |
+
}
|
325 |
+
|
326 |
+
|
327 |
+
public function cn_hide_effect()
|
328 |
+
{
|
329 |
+
echo '
|
330 |
+
<div id="cn_hide_effect">';
|
331 |
+
|
332 |
+
foreach($this->effects as $val => $trans)
|
333 |
+
{
|
334 |
+
echo '
|
335 |
+
<input id="cn-hide-effect-'.$val.'" type="radio" name="cookie_notice_options[hide_effect]" value="'.esc_attr($val).'" '.checked($val, $this->options['hide_effect'], FALSE).' />
|
336 |
+
<label for="cn-hide-effect-'.$val.'">'.$trans.'</label>';
|
337 |
+
}
|
338 |
+
|
339 |
+
echo '
|
340 |
+
<p class="description">'.__('Cookie notice acceptance animation.', 'cookie-notice').'</p>
|
341 |
+
</div>';
|
342 |
+
}
|
343 |
+
|
344 |
+
|
345 |
+
public function cn_css_style()
|
346 |
+
{
|
347 |
+
echo '
|
348 |
+
<div id="cn_css_style">';
|
349 |
+
|
350 |
+
foreach($this->styles as $val => $trans)
|
351 |
+
{
|
352 |
+
echo '
|
353 |
+
<input id="cn-css-style-'.$val.'" type="radio" name="cookie_notice_options[css_style]" value="'.esc_attr($val).'" '.checked($val, $this->options['css_style'], FALSE).' />
|
354 |
+
<label for="cn-css-style-'.$val.'">'.$trans.'</label>';
|
355 |
+
}
|
356 |
+
|
357 |
+
echo '
|
358 |
+
<p class="description">'.__('Choose buttons style.', 'cookie-notice').'</p>
|
359 |
+
</div>';
|
360 |
+
}
|
361 |
+
|
362 |
+
|
363 |
+
public function cn_colors()
|
364 |
+
{
|
365 |
+
echo '
|
366 |
+
<div id="cn_colors">';
|
367 |
+
|
368 |
+
foreach($this->colors as $val => $trans)
|
369 |
+
{
|
370 |
+
echo '
|
371 |
+
<p><label>'.$trans.'</label>
|
372 |
+
<input class="cn-color" type="text" name="cookie_notice_options[colors]['.$val.']" value="'.esc_attr($this->options['colors'][$val]).'" />'.
|
373 |
+
'</p>';
|
374 |
+
}
|
375 |
+
|
376 |
+
echo '
|
377 |
+
</div>';
|
378 |
+
}
|
379 |
+
|
380 |
+
|
381 |
+
public function validate_options($input)
|
382 |
+
{
|
383 |
+
if(isset($_POST['save_cookie_notice_options']))
|
384 |
+
{
|
385 |
+
//position
|
386 |
+
$input['position'] = sanitize_text_field(isset($input['position']) && in_array($input['position'], array_keys($this->positions)) ? $input['position'] : $this->defaults['position']);
|
387 |
+
|
388 |
+
//colors
|
389 |
+
$input['colors']['text'] = sanitize_text_field(isset($input['colors']['text']) && $input['colors']['text'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['text']) === 1 ? $input['colors']['text'] : $this->defaults['colors']['text']);
|
390 |
+
$input['colors']['bar'] = sanitize_text_field(isset($input['colors']['bar']) && $input['colors']['bar'] !== '' && preg_match('/^#[a-f0-9]{6}$/', $input['colors']['bar']) === 1 ? $input['colors']['bar'] : $this->defaults['colors']['bar']);
|
391 |
+
|
392 |
+
//texts
|
393 |
+
$input['message_text'] = sanitize_text_field(isset($input['message_text']) && $input['message_text'] !== '' ? $input['message_text'] : $this->defaults['message_text']);
|
394 |
+
$input['accept_text'] = sanitize_text_field(isset($input['accept_text']) && $input['accept_text'] !== '' ? $input['accept_text'] : $this->defaults['accept_text']);
|
395 |
+
|
396 |
+
//css
|
397 |
+
$input['css_style'] = sanitize_text_field(isset($input['css_style']) && in_array($input['css_style'], array_keys($this->styles)) ? $input['css_style'] : $this->defaults['css_style']);
|
398 |
+
|
399 |
+
//time
|
400 |
+
$input['time'] = sanitize_text_field(isset($input['time']) && in_array($input['time'], array_keys($this->times)) ? $input['time'] : $this->defaults['time']);
|
401 |
+
|
402 |
+
//hide effect
|
403 |
+
$input['hide_effect'] = sanitize_text_field(isset($input['hide_effect']) && in_array($input['hide_effect'], array_keys($this->effects)) ? $input['hide_effect'] : $this->defaults['hide_effect']);
|
404 |
+
|
405 |
+
//see more
|
406 |
+
$input['see_more'] = sanitize_text_field(isset($input['see_more']) && in_array($input['see_more'], array_keys($this->choices)) ? $input['see_more'] : $this->defaults['see_more']);
|
407 |
+
$input['see_more_opt']['text'] = sanitize_text_field(isset($input['see_more_opt']['text']) && $input['see_more_opt']['text'] !== '' ? $input['see_more_opt']['text'] : $this->defaults['see_more_opt']['text']);
|
408 |
+
$input['see_more_opt']['link_type'] = sanitize_text_field(isset($input['see_more_opt']['link_type']) && in_array($input['see_more_opt']['link_type'], array_keys($this->links)) ? $input['see_more_opt']['link_type'] : $this->defaults['see_more_opt']['link_type']);
|
409 |
+
|
410 |
+
if($input['see_more_opt']['link_type'] === 'custom')
|
411 |
+
{
|
412 |
+
$input['see_more_opt']['link'] = esc_url($input['see_more'] === 'yes' ? $input['see_more_opt']['link'] : 'empty');
|
413 |
+
}
|
414 |
+
elseif($input['see_more_opt']['link_type'] === 'page')
|
415 |
+
{
|
416 |
+
$input['see_more_opt']['id'] = ($input['see_more'] === 'yes' ? (int)$input['see_more_opt']['id'] : 'empty');
|
417 |
+
}
|
418 |
+
}
|
419 |
+
|
420 |
+
return $input;
|
421 |
+
}
|
422 |
+
|
423 |
+
|
424 |
+
public function add_cookie_notice()
|
425 |
+
{
|
426 |
+
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
427 |
+
{
|
428 |
+
echo $this->get_frontbox();
|
429 |
+
}
|
430 |
+
}
|
431 |
+
|
432 |
+
|
433 |
+
public function ajax_save_cookie()
|
434 |
+
{
|
435 |
+
if($_POST['action'] === 'cn-save-cookie')
|
436 |
+
{
|
437 |
+
echo (setcookie($this->cookie['name'], $this->cookie['value'], current_time('timestamp') + $this->times[$this->options['time']][1], COOKIEPATH, COOKIE_DOMAIN) === TRUE ? 'CN_OK' : '');
|
438 |
+
}
|
439 |
+
|
440 |
+
do_action('cn_after_accepted_cookie');
|
441 |
+
|
442 |
+
exit;
|
443 |
+
}
|
444 |
+
|
445 |
+
|
446 |
+
private function get_frontbox()
|
447 |
+
{
|
448 |
+
return '
|
449 |
+
<div id="cookie-notice" class="cn-'.($this->options['position']).($this->options['css_style'] !== 'none' ? ' '.$this->options['css_style'] : '').'" style="color: '.$this->options['colors']['text'].'; background-color: '.$this->options['colors']['bar'].';">'
|
450 |
+
.'<div class="cookie-notice-container">'
|
451 |
+
.$this->options['message_text']
|
452 |
+
.'<a href="" id="cn-accept-cookie" class="button'.($this->options['css_style'] !== 'none' ? ' '.$this->options['css_style'] : '').'">'.$this->options['accept_text'].'</a>'
|
453 |
+
.($this->options['see_more'] === 'yes' ? '<a href="'.($this->options['see_more_opt']['link_type'] === 'custom' ? $this->options['see_more_opt']['link'] : get_permalink($this->options['see_more_opt']['id'])).'" class="button'.($this->options['css_style'] !== 'none' ? ' '.$this->options['css_style'] : '').'">'.apply_filters('cn_see_more_text', $this->options['see_more_opt']['text']).'</a>' : '').'
|
454 |
+
</div>
|
455 |
+
</div>';
|
456 |
+
}
|
457 |
+
|
458 |
+
|
459 |
+
/**
|
460 |
+
* Add links to Support Forum
|
461 |
+
*/
|
462 |
+
public function plugin_extend_links($links, $file)
|
463 |
+
{
|
464 |
+
if(!current_user_can('install_plugins'))
|
465 |
+
return $links;
|
466 |
+
|
467 |
+
$plugin = plugin_basename(__FILE__);
|
468 |
+
|
469 |
+
if($file == $plugin)
|
470 |
+
{
|
471 |
+
return array_merge(
|
472 |
+
$links,
|
473 |
+
array(sprintf('<a href="http://www.dfactory.eu/support/forum/cookie-notice/" target="_blank">%s</a>', __('Support', 'cookie-notice')))
|
474 |
+
);
|
475 |
+
}
|
476 |
+
|
477 |
+
return $links;
|
478 |
+
}
|
479 |
+
|
480 |
+
|
481 |
+
/**
|
482 |
+
* Add links to Settings page
|
483 |
+
*/
|
484 |
+
function plugin_settings_link($links, $file)
|
485 |
+
{
|
486 |
+
if(!is_admin() || !current_user_can('edit_theme_options'))
|
487 |
+
return $links;
|
488 |
+
|
489 |
+
static $plugin;
|
490 |
+
|
491 |
+
$plugin = plugin_basename(__FILE__);
|
492 |
+
|
493 |
+
if($file == $plugin)
|
494 |
+
{
|
495 |
+
array_unshift($links, sprintf('<a href="%s">%s</a>', admin_url('options-general.php?page=cookie-notice'), __('Settings', 'cookie-notice')));
|
496 |
+
}
|
497 |
+
|
498 |
+
return $links;
|
499 |
+
}
|
500 |
+
|
501 |
+
|
502 |
+
/**
|
503 |
+
* Actives plugin
|
504 |
+
*/
|
505 |
+
public function activation()
|
506 |
+
{
|
507 |
+
$this->set_translations();
|
508 |
+
|
509 |
+
add_option('cookie_notice_options', $this->defaults, '', 'no');
|
510 |
+
}
|
511 |
+
|
512 |
+
|
513 |
+
/**
|
514 |
+
* Deactivates plugin
|
515 |
+
*/
|
516 |
+
public function deactivation()
|
517 |
+
{
|
518 |
+
delete_option('cookie_notice_options');
|
519 |
+
}
|
520 |
+
|
521 |
+
|
522 |
+
private function set_translations()
|
523 |
+
{
|
524 |
+
$this->defaults['message_text'] = sanitize_text_field(__('We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.', 'cookie-notice'));
|
525 |
+
$this->defaults['accept_text'] = sanitize_text_field(__('Ok', 'cookie-notice'));
|
526 |
+
$this->defaults['see_more_opt']['text'] = sanitize_text_field(__('Read more', 'cookie-notice'));
|
527 |
+
}
|
528 |
+
|
529 |
+
|
530 |
+
/**
|
531 |
+
* Loads scripts and styles - admin side
|
532 |
+
*/
|
533 |
+
public function admin_load_scripts_styles($page)
|
534 |
+
{
|
535 |
+
if($page !== 'settings_page_cookie-notice')
|
536 |
+
return;
|
537 |
+
|
538 |
+
wp_enqueue_script(
|
539 |
+
'cookie-notice-admin',
|
540 |
+
plugins_url('js/cookie-notice-admin.js', __FILE__),
|
541 |
+
array('jquery', 'jquery-ui-core', 'jquery-ui-button', 'wp-color-picker')
|
542 |
+
);
|
543 |
+
|
544 |
+
wp_enqueue_style('wp-color-picker');
|
545 |
+
wp_enqueue_style('cookie-notice-admin', plugins_url('css/cookie-notice-admin.css', __FILE__));
|
546 |
+
wp_enqueue_style('cookie-notice-wplike', plugins_url('css/wp-like-ui-theme.css', __FILE__));
|
547 |
+
}
|
548 |
+
|
549 |
+
|
550 |
+
/**
|
551 |
+
* Loads scripts and styles - front side
|
552 |
+
*/
|
553 |
+
public function front_load_scripts_styles()
|
554 |
+
{
|
555 |
+
if(!(isset($_COOKIE[$this->cookie['name']]) && $_COOKIE[$this->cookie['name']] === $this->cookie['value']))
|
556 |
+
{
|
557 |
+
wp_enqueue_script(
|
558 |
+
'cookie-notice-front',
|
559 |
+
plugins_url('js/cookie-notice-front.js', __FILE__),
|
560 |
+
array('jquery')
|
561 |
+
);
|
562 |
+
|
563 |
+
wp_localize_script(
|
564 |
+
'cookie-notice-front',
|
565 |
+
'cnArgs',
|
566 |
+
array(
|
567 |
+
'ajaxurl' => admin_url('admin-ajax.php'),
|
568 |
+
'hideEffect' => $this->options['hide_effect'],
|
569 |
+
'cookieName' => $this->cookie['name'],
|
570 |
+
'cookieValue' => $this->cookie['value'],
|
571 |
+
'cookieTime' => $this->times[$this->options['time']][1],
|
572 |
+
'cookiePath' => COOKIEPATH,
|
573 |
+
'cookieDomain' => COOKIE_DOMAIN
|
574 |
+
)
|
575 |
+
);
|
576 |
+
|
577 |
+
wp_enqueue_style('cookie-notice-front', plugins_url('css/cookie-notice-front.css', __FILE__));
|
578 |
+
}
|
579 |
+
}
|
580 |
+
}
|
581 |
+
|
582 |
+
$cookie_notice = new Cookie_Notice();
|
583 |
+
?>
|
css/cookie-notice-admin.css
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.cookie-notice { width:68%; margin-right:20px; }
|
2 |
+
.cookie-notice h3 { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; font-weight: bold; }
|
3 |
+
.cookie-notice hr, .df-credits hr { border: solid #ddd; border-width: 1px 0 0; clear: both; height: 0; -moz-box-shadow: 0px 1px 0px #fff; -webkit-box-shadow: 0px 1px 0px #fff; box-shadow: 0px 1px 0px #fff; margin:15px 0; }
|
4 |
+
.cookie-notice .form-table { border-bottom:1px solid #ddd; margin-bottom:20px; }
|
5 |
+
.cookie-notice .form-table input { width: 25em; }
|
6 |
+
#cn_colors label { min-width: 10em; display:inline-block; }
|
7 |
+
#cn_colors div { vertical-align:middle; }
|
8 |
+
.df-credits { width:28%; max-width:350px; margin-top:20px; border:1px solid #ddd; background:#fcfcfc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
|
9 |
+
.df-credits h3 { margin-top:5px; }
|
10 |
+
.df-credits h3.metabox-title { background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; border: 1px solid; border-color: #21759b; border-bottom-color: #1e6a8d; -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); color: #fff; text-decoration: none; text-shadow: 0 1px 0 rgba(0,0,0,0.5); margin:0; line-height:32px; font-weight:normal; padding:0 10px; }
|
11 |
+
.df-credits .inner { padding:15px 10px; }
|
12 |
+
.df-credits .df-link { font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; font-style:italic; margin:0; }
|
13 |
+
.df-credits .df-link a { vertical-align: middle; padding: 5px 0 0 4px; }
|
css/cookie-notice-front.css
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#cookie-notice {
|
2 |
+
position: fixed;
|
3 |
+
min-width: 100%;
|
4 |
+
height: auto;
|
5 |
+
z-index: 999;
|
6 |
+
font-size:12px;
|
7 |
+
line-height:18px;
|
8 |
+
}
|
9 |
+
.cookie-notice-container { padding:10px; }
|
10 |
+
.cn-top { top:0; }
|
11 |
+
.cn-bottom { bottom:0; }
|
12 |
+
#cookie-notice .button { margin-left: 10px; }
|
13 |
+
#cookie-notice .button.wp-default {
|
14 |
+
font-family: sans-serif;
|
15 |
+
line-height: 18px;
|
16 |
+
padding: 2px 12px;
|
17 |
+
background: linear-gradient(to bottom, #FEFEFE, #F4F4F4) repeat scroll 0 0 #F3F3F3;
|
18 |
+
border-color: #BBB;
|
19 |
+
color: #333;
|
20 |
+
text-shadow: 0 1px 0 #FFF;
|
21 |
+
-moz-box-sizing: border-box;
|
22 |
+
border-radius: 3px 3px 3px 3px;
|
23 |
+
border-style: solid;
|
24 |
+
border-width: 1px;
|
25 |
+
cursor: pointer;
|
26 |
+
display: inline-block;
|
27 |
+
font-size: 12px;
|
28 |
+
font-style:normal;
|
29 |
+
text-decoration: none;
|
30 |
+
white-space: nowrap;
|
31 |
+
outline: none;
|
32 |
+
}
|
33 |
+
#cookie-notice .button.wp-default:hover, #cookie-notice .button.wp-default:focus {
|
34 |
+
background: linear-gradient(to bottom, #FFFFFF, #F3F3F3) repeat scroll 0 0 #F3F3F3;
|
35 |
+
border-color: #999999;
|
36 |
+
color: #222222;
|
37 |
+
}
|
38 |
+
#cookie-notice .button.bootstrap {
|
39 |
+
font-family: sans-serif;
|
40 |
+
display: inline-block;
|
41 |
+
*display: inline;
|
42 |
+
padding: 4px 12px;
|
43 |
+
margin-right:0.3em;
|
44 |
+
margin-bottom: 0;
|
45 |
+
*margin-left: .3em;
|
46 |
+
line-height: 20px;
|
47 |
+
color: #333333;
|
48 |
+
text-align: center;
|
49 |
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
50 |
+
font-style:normal;
|
51 |
+
vertical-align: middle;
|
52 |
+
cursor: pointer;
|
53 |
+
color: #ffffff;
|
54 |
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
55 |
+
background-color: #006dcc;
|
56 |
+
*background-color: #0044cc;
|
57 |
+
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
58 |
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
59 |
+
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
60 |
+
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
61 |
+
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
|
62 |
+
background-repeat: repeat-x;
|
63 |
+
border-style: solid;
|
64 |
+
border-width: 1px;
|
65 |
+
border-color: #0044cc #0044cc #002a80;
|
66 |
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
67 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
|
68 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
|
69 |
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
70 |
+
padding: 2px 10px;
|
71 |
+
font-size: 12px;
|
72 |
+
text-decoration: none;
|
73 |
+
-webkit-border-radius: 3px;
|
74 |
+
-moz-border-radius: 3px;
|
75 |
+
border-radius: 3px;
|
76 |
+
outline:none;
|
77 |
+
}
|
78 |
+
#cookie-notice .button.bootstrap:hover, #cookie-notice .button.bootstrap:focus {
|
79 |
+
color: #ffffff;
|
80 |
+
background-color: #0044cc;
|
81 |
+
*background-color: #003bb3;background-position: 0 -15px;
|
82 |
+
-webkit-transition: background-position 0.1s linear;
|
83 |
+
-moz-transition: background-position 0.1s linear;
|
84 |
+
-o-transition: background-position 0.1s linear;
|
85 |
+
transition: background-position 0.1s linear;
|
86 |
+
}
|
css/images/bg_fallback.png
ADDED
Binary file
|
css/images/icon_sprite.png
ADDED
Binary file
|
css/images/slider_handles.png
ADDED
Binary file
|
css/images/slider_handles@2x.png
ADDED
Binary file
|
css/images/ui-icons_222222_256x240.png
ADDED
Binary file
|
css/images/ui-icons_454545_256x240.png
ADDED
Binary file
|
css/wp-like-ui-theme.css
ADDED
@@ -0,0 +1,774 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* jQuery UI CSS Framework 1.8.7
|
3 |
+
*
|
4 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
5 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6 |
+
* http://jquery.org/license
|
7 |
+
*
|
8 |
+
* http://docs.jquery.com/UI/Theming/API
|
9 |
+
*/
|
10 |
+
|
11 |
+
/* Layout helpers
|
12 |
+
----------------------------------*/
|
13 |
+
.ui-helper-hidden { display: none; }
|
14 |
+
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
15 |
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
16 |
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
17 |
+
.ui-helper-clearfix { display: inline-block; }
|
18 |
+
/* required comment for clearfix to work in Opera \*/
|
19 |
+
* html .ui-helper-clearfix { height:1%; }
|
20 |
+
.ui-helper-clearfix { display:block; }
|
21 |
+
/* end clearfix */
|
22 |
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
23 |
+
|
24 |
+
|
25 |
+
/* Interaction Cues
|
26 |
+
----------------------------------*/
|
27 |
+
.ui-state-disabled { cursor: default !important; }
|
28 |
+
|
29 |
+
|
30 |
+
/* Icons
|
31 |
+
----------------------------------*/
|
32 |
+
|
33 |
+
/* states and images */
|
34 |
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
35 |
+
|
36 |
+
|
37 |
+
/* Misc visuals
|
38 |
+
----------------------------------*/
|
39 |
+
|
40 |
+
/* Overlays */
|
41 |
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
42 |
+
|
43 |
+
|
44 |
+
/*
|
45 |
+
* jQuery UI CSS Framework 1.8.7
|
46 |
+
*
|
47 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
48 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
49 |
+
* http://jquery.org/license
|
50 |
+
*
|
51 |
+
* http://docs.jquery.com/UI/Theming/API
|
52 |
+
*
|
53 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller
|
54 |
+
*/
|
55 |
+
|
56 |
+
|
57 |
+
/* Component containers
|
58 |
+
----------------------------------*/
|
59 |
+
.ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }
|
60 |
+
.ui-widget .ui-widget { font-size: 1em; }
|
61 |
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }
|
62 |
+
.ui-widget-content { border: 1px solid #dfdfdf; background: #ffffff; color: #333333; font-size:12px; }
|
63 |
+
.ui-widget-content a { color: #333333; }
|
64 |
+
.ui-widget-header { border: 1px solid #dfdfdf; color: #333333; font-weight: normal; }
|
65 |
+
.ui-widget-header {
|
66 |
+
background: #f3f3f3 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
|
67 |
+
background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
|
68 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
|
69 |
+
background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
|
70 |
+
background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
|
71 |
+
background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
|
72 |
+
background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
|
73 |
+
}
|
74 |
+
.ui-widget-header a { color: #333333; }
|
75 |
+
|
76 |
+
/* Interaction states
|
77 |
+
----------------------------------*/
|
78 |
+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #dfdfdf; font-weight: normal; color: #333333; }
|
79 |
+
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
|
80 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
|
81 |
+
background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
|
82 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
|
83 |
+
background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
|
84 |
+
background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
|
85 |
+
background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
|
86 |
+
background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
|
87 |
+
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
|
88 |
+
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
|
89 |
+
box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
|
90 |
+
}
|
91 |
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #333333; text-decoration: none; }
|
92 |
+
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #bbbbbb; font-weight: normal; color: #313131; }
|
93 |
+
.ui-state-hover a, .ui-state-hover a:hover { color: #313131; text-decoration: none; }
|
94 |
+
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
|
95 |
+
outline: none;
|
96 |
+
color: #ffffff;
|
97 |
+
border-color: #21759b #21759b #1e6a8d;
|
98 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
|
99 |
+
background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
|
100 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
|
101 |
+
background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
|
102 |
+
background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
|
103 |
+
background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
|
104 |
+
background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
|
105 |
+
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
|
106 |
+
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
|
107 |
+
box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
|
108 |
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
|
109 |
+
}
|
110 |
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #fff; text-decoration: none; }
|
111 |
+
.ui-widget :active { outline: none; }
|
112 |
+
|
113 |
+
/* Interaction Cues
|
114 |
+
----------------------------------*/
|
115 |
+
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #e6db55; background: #ffffe0; color: #333; }
|
116 |
+
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #333; }
|
117 |
+
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #cc0000; background: #ffebe8; color: #333; }
|
118 |
+
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
119 |
+
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
120 |
+
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: normal; }
|
121 |
+
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { font-weight: normal; }
|
122 |
+
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
123 |
+
|
124 |
+
/* Icons
|
125 |
+
----------------------------------*/
|
126 |
+
|
127 |
+
/* states and images */
|
128 |
+
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
129 |
+
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
130 |
+
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
131 |
+
.ui-state-default .ui-icon { background-image: url(images/ui-icons_454545_256x240.png); }
|
132 |
+
.ui-state-hover .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
133 |
+
.ui-state-focus .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
134 |
+
.ui-state-active .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
135 |
+
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
136 |
+
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background: url(images/icon_sprite.png) -16px 0 no-repeat !important; }
|
137 |
+
.ui-state-highlight .ui-icon, .ui-state-error .ui-icon { margin-top: -1px; }
|
138 |
+
|
139 |
+
/* positioning */
|
140 |
+
.ui-icon-carat-1-n { background-position: 0 0; }
|
141 |
+
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
142 |
+
.ui-icon-carat-1-e { background-position: -32px 0; }
|
143 |
+
.ui-icon-carat-1-se { background-position: -48px 0; }
|
144 |
+
.ui-icon-carat-1-s { background-position: -64px 0; }
|
145 |
+
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
146 |
+
.ui-icon-carat-1-w { background-position: -96px 0; }
|
147 |
+
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
148 |
+
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
149 |
+
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
150 |
+
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
151 |
+
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
152 |
+
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
153 |
+
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
154 |
+
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
155 |
+
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
156 |
+
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
157 |
+
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
158 |
+
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
159 |
+
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
160 |
+
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
161 |
+
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
162 |
+
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
163 |
+
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
164 |
+
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
165 |
+
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
166 |
+
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
167 |
+
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
168 |
+
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
169 |
+
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
170 |
+
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
171 |
+
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
172 |
+
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
173 |
+
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
174 |
+
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
175 |
+
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
176 |
+
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
177 |
+
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
178 |
+
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
179 |
+
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
180 |
+
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
181 |
+
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
182 |
+
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
183 |
+
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
184 |
+
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
185 |
+
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
186 |
+
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
187 |
+
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
188 |
+
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
189 |
+
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
190 |
+
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
191 |
+
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
192 |
+
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
193 |
+
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
194 |
+
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
195 |
+
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
196 |
+
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
197 |
+
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
198 |
+
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
199 |
+
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
200 |
+
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
201 |
+
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
202 |
+
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
203 |
+
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
204 |
+
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
205 |
+
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
206 |
+
.ui-icon-extlink { background-position: -32px -80px; }
|
207 |
+
.ui-icon-newwin { background-position: -48px -80px; }
|
208 |
+
.ui-icon-refresh { background-position: -64px -80px; }
|
209 |
+
.ui-icon-shuffle { background-position: -80px -80px; }
|
210 |
+
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
211 |
+
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
212 |
+
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
213 |
+
.ui-icon-folder-open { background-position: -16px -96px; }
|
214 |
+
.ui-icon-document { background-position: -32px -96px; }
|
215 |
+
.ui-icon-document-b { background-position: -48px -96px; }
|
216 |
+
.ui-icon-note { background-position: -64px -96px; }
|
217 |
+
.ui-icon-mail-closed { background-position: -80px -96px; }
|
218 |
+
.ui-icon-mail-open { background-position: -96px -96px; }
|
219 |
+
.ui-icon-suitcase { background-position: -112px -96px; }
|
220 |
+
.ui-icon-comment { background-position: -128px -96px; }
|
221 |
+
.ui-icon-person { background-position: -144px -96px; }
|
222 |
+
.ui-icon-print { background-position: -160px -96px; }
|
223 |
+
.ui-icon-trash { background-position: -176px -96px; }
|
224 |
+
.ui-icon-locked { background-position: -192px -96px; }
|
225 |
+
.ui-icon-unlocked { background-position: -208px -96px; }
|
226 |
+
.ui-icon-bookmark { background-position: -224px -96px; }
|
227 |
+
.ui-icon-tag { background-position: -240px -96px; }
|
228 |
+
.ui-icon-home { background-position: 0 -112px; }
|
229 |
+
.ui-icon-flag { background-position: -16px -112px; }
|
230 |
+
.ui-icon-calendar { background-position: -32px -112px; }
|
231 |
+
.ui-icon-cart { background-position: -48px -112px; }
|
232 |
+
.ui-icon-pencil { background-position: -64px -112px; }
|
233 |
+
.ui-icon-clock { background-position: -80px -112px; }
|
234 |
+
.ui-icon-disk { background-position: -96px -112px; }
|
235 |
+
.ui-icon-calculator { background-position: -112px -112px; }
|
236 |
+
.ui-icon-zoomin { background-position: -128px -112px; }
|
237 |
+
.ui-icon-zoomout { background-position: -144px -112px; }
|
238 |
+
.ui-icon-search { background-position: -160px -112px; }
|
239 |
+
.ui-icon-wrench { background-position: -176px -112px; }
|
240 |
+
.ui-icon-gear { background-position: -192px -112px; }
|
241 |
+
.ui-icon-heart { background-position: -208px -112px; }
|
242 |
+
.ui-icon-star { background-position: -224px -112px; }
|
243 |
+
.ui-icon-link { background-position: -240px -112px; }
|
244 |
+
.ui-icon-cancel { background-position: 0 -128px; }
|
245 |
+
.ui-icon-plus { background-position: -16px -128px; }
|
246 |
+
.ui-icon-plusthick { background-position: -32px -128px; }
|
247 |
+
.ui-icon-minus { background-position: -48px -128px; }
|
248 |
+
.ui-icon-minusthick { background-position: -64px -128px; }
|
249 |
+
.ui-icon-close { background-position: -80px -128px; }
|
250 |
+
.ui-icon-closethick { background-position: -96px -128px; }
|
251 |
+
.ui-icon-key { background-position: -112px -128px; }
|
252 |
+
.ui-icon-lightbulb { background-position: -128px -128px; }
|
253 |
+
.ui-icon-scissors { background-position: -144px -128px; }
|
254 |
+
.ui-icon-clipboard { background-position: -160px -128px; }
|
255 |
+
.ui-icon-copy { background-position: -176px -128px; }
|
256 |
+
.ui-icon-contact { background-position: -192px -128px; }
|
257 |
+
.ui-icon-image { background-position: -208px -128px; }
|
258 |
+
.ui-icon-video { background-position: -224px -128px; }
|
259 |
+
.ui-icon-script { background-position: -240px -128px; }
|
260 |
+
.ui-icon-alert { background-position: 0 -144px; }
|
261 |
+
.ui-icon-info { background: url(images/icon_sprite.png) 0 0 no-repeat !important; }
|
262 |
+
.ui-icon-notice { background-position: -32px -144px; }
|
263 |
+
.ui-icon-help { background-position: -48px -144px; }
|
264 |
+
.ui-icon-check { background-position: -64px -144px; }
|
265 |
+
.ui-icon-bullet { background-position: -80px -144px; }
|
266 |
+
.ui-icon-radio-off { background-position: -96px -144px; }
|
267 |
+
.ui-icon-radio-on { background-position: -112px -144px; }
|
268 |
+
.ui-icon-pin-w { background-position: -128px -144px; }
|
269 |
+
.ui-icon-pin-s { background-position: -144px -144px; }
|
270 |
+
.ui-icon-play { background-position: 0 -160px; }
|
271 |
+
.ui-icon-pause { background-position: -16px -160px; }
|
272 |
+
.ui-icon-seek-next { background-position: -32px -160px; }
|
273 |
+
.ui-icon-seek-prev { background-position: -48px -160px; }
|
274 |
+
.ui-icon-seek-end { background-position: -64px -160px; }
|
275 |
+
.ui-icon-seek-start { background-position: -80px -160px; }
|
276 |
+
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
277 |
+
.ui-icon-seek-first { background-position: -80px -160px; }
|
278 |
+
.ui-icon-stop { background-position: -96px -160px; }
|
279 |
+
.ui-icon-eject { background-position: -112px -160px; }
|
280 |
+
.ui-icon-volume-off { background-position: -128px -160px; }
|
281 |
+
.ui-icon-volume-on { background-position: -144px -160px; }
|
282 |
+
.ui-icon-power { background-position: 0 -176px; }
|
283 |
+
.ui-icon-signal-diag { background-position: -16px -176px; }
|
284 |
+
.ui-icon-signal { background-position: -32px -176px; }
|
285 |
+
.ui-icon-battery-0 { background-position: -48px -176px; }
|
286 |
+
.ui-icon-battery-1 { background-position: -64px -176px; }
|
287 |
+
.ui-icon-battery-2 { background-position: -80px -176px; }
|
288 |
+
.ui-icon-battery-3 { background-position: -96px -176px; }
|
289 |
+
.ui-icon-circle-plus { background-position: 0 -192px; }
|
290 |
+
.ui-icon-circle-minus { background-position: -16px -192px; }
|
291 |
+
.ui-icon-circle-close { background-position: -32px -192px; }
|
292 |
+
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
293 |
+
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
294 |
+
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
295 |
+
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
296 |
+
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
297 |
+
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
298 |
+
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
299 |
+
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
300 |
+
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
301 |
+
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
302 |
+
.ui-icon-circle-check { background-position: -208px -192px; }
|
303 |
+
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
304 |
+
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
305 |
+
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
306 |
+
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
307 |
+
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
308 |
+
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
309 |
+
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
310 |
+
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
311 |
+
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
312 |
+
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
313 |
+
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
314 |
+
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
315 |
+
|
316 |
+
|
317 |
+
/* Misc visuals
|
318 |
+
----------------------------------*/
|
319 |
+
|
320 |
+
/* Corner radius */
|
321 |
+
.ui-corner-tl { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; }
|
322 |
+
.ui-corner-tr { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
|
323 |
+
.ui-corner-bl { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
|
324 |
+
.ui-corner-br { -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
|
325 |
+
.ui-corner-top { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; }
|
326 |
+
.ui-corner-bottom { -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
|
327 |
+
.ui-corner-right { -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 3px; border-top-right-radius: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-bottom-right-radius: 3px; border-bottom-right-radius: 3px; }
|
328 |
+
.ui-corner-left { -moz-border-radius-topleft: 3px; -webkit-border-top-left-radius: 3px; border-top-left-radius: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-bottom-left-radius: 3px; border-bottom-left-radius: 3px; }
|
329 |
+
.ui-corner-all { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
|
330 |
+
|
331 |
+
/* Overlays */
|
332 |
+
.ui-widget-overlay { background: #262b33; opacity: .70;filter:Alpha(Opacity=70); }
|
333 |
+
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #000000; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
|
334 |
+
* jQuery UI Resizable 1.8.7
|
335 |
+
*
|
336 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
337 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
338 |
+
* http://jquery.org/license
|
339 |
+
*
|
340 |
+
* http://docs.jquery.com/UI/Resizable#theming
|
341 |
+
*/
|
342 |
+
.ui-resizable { position: relative;}
|
343 |
+
.ui-resizable-handle { position: absolute; font-size: 0.1px; z-index: 999; display: block;}
|
344 |
+
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
345 |
+
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
346 |
+
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
347 |
+
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
348 |
+
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
349 |
+
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
350 |
+
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
351 |
+
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
352 |
+
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
353 |
+
* jQuery UI Selectable 1.8.7
|
354 |
+
*
|
355 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
356 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
357 |
+
* http://jquery.org/license
|
358 |
+
*
|
359 |
+
* http://docs.jquery.com/UI/Selectable#theming
|
360 |
+
*/
|
361 |
+
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
362 |
+
/*
|
363 |
+
* jQuery UI Accordion 1.8.7
|
364 |
+
*
|
365 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
366 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
367 |
+
* http://jquery.org/license
|
368 |
+
*
|
369 |
+
* http://docs.jquery.com/UI/Accordion#theming
|
370 |
+
*/
|
371 |
+
/* IE/Win - Fix animation bug - #4615 */
|
372 |
+
.ui-accordion { width: 100%; }
|
373 |
+
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 0.2em; zoom: 1; height:30px; line-height:30px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
|
374 |
+
.ui-accordion .ui-accordion-header.ui-state-active { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
|
375 |
+
.ui-accordion .ui-accordion-content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
|
376 |
+
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
377 |
+
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
378 |
+
.ui-accordion .ui-accordion-header a { display: block; font-size: 12px; font-weight: normal; padding: 0 .5em 0 1em; }
|
379 |
+
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
380 |
+
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; display:none; }
|
381 |
+
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; display: none; zoom: 1; }
|
382 |
+
.ui-accordion .ui-accordion-content-active { display: block; }/*
|
383 |
+
* jQuery UI Autocomplete 1.8.7
|
384 |
+
*
|
385 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
386 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
387 |
+
* http://jquery.org/license
|
388 |
+
*
|
389 |
+
* http://docs.jquery.com/UI/Autocomplete#theming
|
390 |
+
*/
|
391 |
+
.ui-autocomplete {
|
392 |
+
position: absolute; cursor: default; z-index: 3;
|
393 |
+
-moz-border-radius: 0;
|
394 |
+
-webkit-border-radius: 0;
|
395 |
+
border-radius: 0;
|
396 |
+
-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
|
397 |
+
-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.3);
|
398 |
+
box-shadow: 0 1px 5px rgba(0,0,0,0.3);
|
399 |
+
}
|
400 |
+
|
401 |
+
/* workarounds */
|
402 |
+
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
403 |
+
|
404 |
+
/*
|
405 |
+
* jQuery UI Menu 1.8.7
|
406 |
+
*
|
407 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
408 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
409 |
+
* http://jquery.org/license
|
410 |
+
*
|
411 |
+
* http://docs.jquery.com/UI/Menu#theming
|
412 |
+
*/
|
413 |
+
.ui-menu {
|
414 |
+
list-style:none;
|
415 |
+
padding: 2px;
|
416 |
+
margin: 0;
|
417 |
+
display:block;
|
418 |
+
float: left;
|
419 |
+
}
|
420 |
+
.ui-menu .ui-menu {
|
421 |
+
margin-top: -3px;
|
422 |
+
}
|
423 |
+
.ui-menu .ui-menu-item {
|
424 |
+
margin:0;
|
425 |
+
padding: 0;
|
426 |
+
zoom: 1;
|
427 |
+
float: left;
|
428 |
+
clear: left;
|
429 |
+
width: 100%;
|
430 |
+
}
|
431 |
+
.ui-menu .ui-menu-item a {
|
432 |
+
text-decoration:none;
|
433 |
+
display:block;
|
434 |
+
padding:.2em .4em;
|
435 |
+
line-height:1.5;
|
436 |
+
zoom:1;
|
437 |
+
}
|
438 |
+
.ui-menu .ui-menu-item a.ui-state-hover,
|
439 |
+
.ui-menu .ui-menu-item a.ui-state-active {
|
440 |
+
font-weight: normal;
|
441 |
+
margin: -1px;
|
442 |
+
background: #5f83b9;
|
443 |
+
color: #FFFFFF;
|
444 |
+
text-shadow: 0px 1px 1px #234386;
|
445 |
+
border-color: #466086;
|
446 |
+
-moz-border-radius: 0;
|
447 |
+
-webkit-border-radius: 0;
|
448 |
+
border-radius: 0;
|
449 |
+
}
|
450 |
+
/*
|
451 |
+
* jQuery UI Button 1.8.7
|
452 |
+
*
|
453 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
454 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
455 |
+
* http://jquery.org/license
|
456 |
+
*
|
457 |
+
* http://docs.jquery.com/UI/Button#theming
|
458 |
+
*/
|
459 |
+
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; -webkit-user-select: none; -moz-user-select: none; user-select: none; } /* the overflow property removes extra width in IE */
|
460 |
+
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
461 |
+
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
462 |
+
.ui-button-icons-only { width: 3.4em; }
|
463 |
+
button.ui-button-icons-only { width: 3.7em; }
|
464 |
+
|
465 |
+
/* button animation properties */
|
466 |
+
.ui-button {
|
467 |
+
-webkit-transition: -webkit-box-shadow 0.25s ease-in-out;
|
468 |
+
-moz-transition: -moz-box-shadow 0.25s ease-in-out;
|
469 |
+
-o-transition: -o-box-shadow 0.25s ease-in-out;
|
470 |
+
}
|
471 |
+
|
472 |
+
/*states*/
|
473 |
+
.ui-button.ui-state-hover {
|
474 |
+
-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
475 |
+
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
476 |
+
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
477 |
+
}
|
478 |
+
|
479 |
+
/*button text element */
|
480 |
+
.ui-button .ui-button-text { display: block; line-height: 23px; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
|
481 |
+
.ui-button.ui-state-active .ui-button-text { display: block; font-size: 12px; font-weight: normal; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); border: 1px solid #21759B #21759B #1E6A8D; }
|
482 |
+
.ui-button-text-only .ui-button-text { padding: 0 1em; }
|
483 |
+
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
484 |
+
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 1em 0 2.1em; }
|
485 |
+
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: 0 2.1em .0 1em; }
|
486 |
+
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
487 |
+
/* no icon support for input elements, provide padding by default */
|
488 |
+
input.ui-button { font-size: 12px; font-weight: normal; padding: 0 1em !important; height: 30px; line-height:30px; }
|
489 |
+
/*remove submit button internal padding in Firefox*/
|
490 |
+
input.ui-button::-moz-focus-inner {
|
491 |
+
border: 0;
|
492 |
+
padding: 0;
|
493 |
+
}
|
494 |
+
/* fix webkits handling of the box model */
|
495 |
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
496 |
+
input.ui-button {
|
497 |
+
height: 30px !important;
|
498 |
+
vertical-align: bottom;
|
499 |
+
}
|
500 |
+
}
|
501 |
+
|
502 |
+
/*button icon element(s) */
|
503 |
+
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
504 |
+
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
505 |
+
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
506 |
+
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
507 |
+
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
508 |
+
|
509 |
+
/*button sets*/
|
510 |
+
.ui-buttonset { margin-right: 7px; }
|
511 |
+
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
512 |
+
.ui-buttonset .ui-button.ui-state-active { color: #ffffff; border-color: #21759B #21759B #1E6A8D; }
|
513 |
+
.ui-buttonset .ui-button.ui-state-active {
|
514 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
|
515 |
+
background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
|
516 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
|
517 |
+
background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
|
518 |
+
background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
|
519 |
+
background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
|
520 |
+
background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
|
521 |
+
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
|
522 |
+
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
|
523 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
|
524 |
+
}
|
525 |
+
|
526 |
+
/* workarounds */
|
527 |
+
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
528 |
+
/*
|
529 |
+
* jQuery UI Dialog 1.8.7
|
530 |
+
*
|
531 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
532 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
533 |
+
* http://jquery.org/license
|
534 |
+
*
|
535 |
+
* http://docs.jquery.com/UI/Dialog#theming
|
536 |
+
*/
|
537 |
+
.ui-dialog { position: absolute; padding: 0; width: 300px; overflow: hidden; }
|
538 |
+
.ui-dialog {
|
539 |
+
-webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
|
540 |
+
-moz-box-shadow: 0 2px 12px rgba(0,0,0,0.6);
|
541 |
+
box-shadow: 0 2px 12px rgba(0,0,0,0.6);
|
542 |
+
outline:none;
|
543 |
+
}
|
544 |
+
.ui-dialog .ui-dialog-titlebar { padding: 0.7em 1em 0.6em 1em; position: relative; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
|
545 |
+
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .2em 0; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
|
546 |
+
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .8em; top: 60%; width: 16px; margin: -10px 0 0 0; padding: 0; height: 16px; overflow:hidden; border:none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
|
547 |
+
.ui-dialog .ui-dialog-titlebar-close span { display: block; background: url(images/icon_sprite.png) 0 -16px no-repeat; top:0; left:0; margin:0; }
|
548 |
+
.ui-dialog .ui-dialog-titlebar-close span.ui-button-text { display:none; }
|
549 |
+
.ui-dialog .ui-dialog-titlebar-close:hover span { background-position: -16px -16px; }
|
550 |
+
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; border:none; background:none; }
|
551 |
+
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
552 |
+
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
553 |
+
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
554 |
+
.ui-dialog .ui-dialog-buttonpane button {
|
555 |
+
margin: .5em .4em .5em 0;
|
556 |
+
cursor: pointer;
|
557 |
+
outline: none;
|
558 |
+
color: #ffffff;
|
559 |
+
border-color: #21759b #21759b #1e6a8d;
|
560 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
|
561 |
+
background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
|
562 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
|
563 |
+
background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
|
564 |
+
background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
|
565 |
+
background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
|
566 |
+
background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
|
567 |
+
-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
568 |
+
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
569 |
+
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
570 |
+
}
|
571 |
+
.ui-dialog .ui-dialog-buttonpane .ui-button-text {
|
572 |
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
|
573 |
+
}
|
574 |
+
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
575 |
+
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
576 |
+
/*
|
577 |
+
* jQuery UI Slider 1.8.16
|
578 |
+
*
|
579 |
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
580 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
581 |
+
* http://jquery.org/license
|
582 |
+
*
|
583 |
+
* http://docs.jquery.com/UI/Slider#theming
|
584 |
+
*/
|
585 |
+
.ui-slider { position: relative; text-align: left; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; display: inline-block; *display: inline !important; *zoom: 1; }
|
586 |
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 17px; height: 21px; cursor: default; background: url(images/slider_handles.png) 0 0 no-repeat; outline: none; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; border: none; }
|
587 |
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; }
|
588 |
+
.ui-slider .ui-slider-handle.ui-state-active { background-position: -17px 0; }
|
589 |
+
|
590 |
+
.ui-slider-horizontal { height: 7px; }
|
591 |
+
.ui-slider-horizontal .ui-slider-handle { top: -5px; margin-left: -.6em; }
|
592 |
+
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
593 |
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
594 |
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
595 |
+
|
596 |
+
.ui-slider-vertical { width: 7px; height: 100px; }
|
597 |
+
.ui-slider-vertical .ui-slider-handle { left: -.4em; margin-left: 0; margin-bottom: -.6em; }
|
598 |
+
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
599 |
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
600 |
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
601 |
+
* jQuery UI Tabs 1.8.7
|
602 |
+
*
|
603 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
604 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
605 |
+
* http://jquery.org/license
|
606 |
+
*
|
607 |
+
* http://docs.jquery.com/UI/Tabs#theming
|
608 |
+
*/
|
609 |
+
.ui-tabs { position: relative; zoom: 1; border: 0; background: transparent; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
610 |
+
.ui-tabs .ui-tabs-nav { margin: 0; padding: 0; background: transparent; border-width: 0 0 1px 0; }
|
611 |
+
.ui-tabs .ui-tabs-nav {
|
612 |
+
-moz-border-radius: 0;
|
613 |
+
-webkit-border-radius: 0;
|
614 |
+
border-radius: 0;
|
615 |
+
}
|
616 |
+
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset; -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;}
|
617 |
+
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; font-size: 12px; font-weight: normal; outline: none; }
|
618 |
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; background: #fff; border-color: #dfdfdf; }
|
619 |
+
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; outline: none; color:#333; }
|
620 |
+
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
621 |
+
.ui-tabs .ui-tabs-panel { display: block; border-width: 0 1px 1px 1px; padding: 1em 1.4em; background: none; }
|
622 |
+
.ui-tabs .ui-tabs-panel { background: #FFF;
|
623 |
+
-moz-border-radius: 0;
|
624 |
+
-webkit-border-radius: 0;
|
625 |
+
border-radius: 0;
|
626 |
+
}
|
627 |
+
.ui-tabs .ui-tabs-hide { display: none !important; }
|
628 |
+
/*
|
629 |
+
* jQuery UI Datepicker 1.8.7
|
630 |
+
*
|
631 |
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
632 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
633 |
+
* http://jquery.org/license
|
634 |
+
*
|
635 |
+
* http://docs.jquery.com/UI/Datepicker#theming
|
636 |
+
*/
|
637 |
+
.ui-datepicker { width: 17em; padding: 0; display: none; border-color: #DDDDDD; }
|
638 |
+
.ui-datepicker {
|
639 |
+
-moz-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
|
640 |
+
-webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.5);
|
641 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.5);
|
642 |
+
}
|
643 |
+
.ui-datepicker .ui-datepicker-header { position:relative; padding:.35em 0; border: none; border-bottom: 1px solid #dfdfdf; -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; }
|
644 |
+
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 6px; width: 1.8em; height: 1.8em; }
|
645 |
+
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { border: 1px none; }
|
646 |
+
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
647 |
+
.ui-datepicker .ui-datepicker-next { right:2px; }
|
648 |
+
.ui-datepicker .ui-datepicker-prev span { background-position: 0px -32px !important; }
|
649 |
+
.ui-datepicker .ui-datepicker-next span { background-position: -16px -32px !important; }
|
650 |
+
.ui-datepicker .ui-datepicker-prev-hover span { background-position: 0px -48px !important; }
|
651 |
+
.ui-datepicker .ui-datepicker-next-hover span { background-position: -16px -48px !important; }
|
652 |
+
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: url(images/icon_sprite.png) no-repeat; }
|
653 |
+
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; font-size: 12px; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
|
654 |
+
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
655 |
+
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
656 |
+
.ui-datepicker select.ui-datepicker-month,
|
657 |
+
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
658 |
+
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
659 |
+
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: normal; border: 0; }
|
660 |
+
.ui-datepicker td { border: 0; padding: 1px; }
|
661 |
+
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
|
662 |
+
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
663 |
+
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; width:auto; overflow:visible; height:25px; line-height:22px; padding: 0 10px 1px; }
|
664 |
+
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
665 |
+
.ui-datepicker table .ui-state-highlight { }
|
666 |
+
.ui-datepicker table .ui-state-hover {
|
667 |
+
border: 1px solid #dfdfdf;
|
668 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 0 repeat-x; /* Old browsers */
|
669 |
+
background: -moz-linear-gradient(top, #f9f9f9 0%, #ececec 100%); /* FF3.6+ */
|
670 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
|
671 |
+
background: -webkit-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
|
672 |
+
background: -o-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* Opera11.10+ */
|
673 |
+
background: -ms-linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* IE10+ */
|
674 |
+
background: linear-gradient(top, #f9f9f9 0%,#ececec 100%); /* W3C */
|
675 |
+
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
|
676 |
+
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
|
677 |
+
box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
|
678 |
+
}
|
679 |
+
.ui-datepicker-calendar .ui-state-default { background:none; border-color:#fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
|
680 |
+
.ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover {
|
681 |
+
outline: none;
|
682 |
+
color: #ffffff;
|
683 |
+
border-color: #21759b #21759b #1e6a8d;
|
684 |
+
background: #f9f9f9 url(images/bg_fallback.png) 0 -50px repeat-x; /* Old browsers */
|
685 |
+
background: -moz-linear-gradient(top, #2e9fd2 0%, #21759B 100%); /* FF3.6+ */
|
686 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2e9fd2), color-stop(100%,#21759B)); /* Chrome,Safari4+ */
|
687 |
+
background: -webkit-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Chrome10+,Safari5.1+ */
|
688 |
+
background: -o-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* Opera11.10+ */
|
689 |
+
background: -ms-linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* IE10+ */
|
690 |
+
background: linear-gradient(top, #2e9fd2 0%,#21759B 100%); /* W3C */
|
691 |
+
-moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
692 |
+
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
693 |
+
box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255,255,255,0.4) inset;
|
694 |
+
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
|
695 |
+
font-weight: normal;
|
696 |
+
}
|
697 |
+
|
698 |
+
/* with multiple calendars */
|
699 |
+
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
700 |
+
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
701 |
+
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
702 |
+
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
703 |
+
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
704 |
+
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
705 |
+
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
706 |
+
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
707 |
+
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
708 |
+
.ui-datepicker-row-break { clear:both; width:100%; }
|
709 |
+
|
710 |
+
/* RTL support */
|
711 |
+
.ui-datepicker-rtl { direction: rtl; }
|
712 |
+
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
713 |
+
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
714 |
+
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
715 |
+
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
716 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
717 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
718 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
719 |
+
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
720 |
+
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
721 |
+
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
722 |
+
|
723 |
+
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
724 |
+
.ui-datepicker-cover {
|
725 |
+
display: none; /*sorry for IE5*/
|
726 |
+
display/**/: block; /*sorry for IE5*/
|
727 |
+
position: absolute; /*must have*/
|
728 |
+
z-index: -1; /*must have*/
|
729 |
+
filter: mask(); /*must have*/
|
730 |
+
top: -4px; /*must have*/
|
731 |
+
left: -4px; /*must have*/
|
732 |
+
width: 200px; /*must have*/
|
733 |
+
height: 200px; /*must have*/
|
734 |
+
}
|
735 |
+
/*
|
736 |
+
* jQuery UI Progressbar 1.8.16
|
737 |
+
*
|
738 |
+
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
739 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
740 |
+
* http://jquery.org/license
|
741 |
+
*
|
742 |
+
* http://docs.jquery.com/UI/Progressbar#theming
|
743 |
+
*/
|
744 |
+
.ui-progressbar { height: 10px; text-align: left; border: 0 none; background: #f1f1f1; border: none; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.3) inset;
|
745 |
+
}
|
746 |
+
.ui-progressbar .ui-progressbar-value { margin: -1px; height:100%; border: 0 none; }
|
747 |
+
.ui-progressbar .ui-progressbar-value { background: #2e9fd2; -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset; box-shadow: 0 1px 3px rgba(0,0,0,0.4) inset;
|
748 |
+
}
|
749 |
+
|
750 |
+
/* Extra Input Field Styling */
|
751 |
+
.ui-form textarea, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]) {
|
752 |
+
color:#333;
|
753 |
+
padding: 3px;
|
754 |
+
-webkit-border-radius: 2px;
|
755 |
+
-moz-border-radius: 2px;
|
756 |
+
border-radius: 2px;
|
757 |
+
border: 1px solid #dfdfdf;
|
758 |
+
outline: none;
|
759 |
+
-webkit-transition: all 0.25s ease-in-out;
|
760 |
+
-moz-transition: all 0.25 ease-in-out;
|
761 |
+
-o-transition: all 0.25s ease-in-out;
|
762 |
+
-moz-box-sizing: border-box;
|
763 |
+
font-family:Arial, Helvetica, sans-serif;
|
764 |
+
font-size:12px;
|
765 |
+
}
|
766 |
+
.ui-form textarea:hover, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):hover {
|
767 |
+
border: 1px solid #dfdfdf;
|
768 |
+
}
|
769 |
+
.ui-form textarea:focus, .ui-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus {
|
770 |
+
border: 1px solid #aaa;
|
771 |
+
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
772 |
+
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
773 |
+
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
774 |
+
}
|
images/logo-dfactory.png
ADDED
Binary file
|
index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
js/cookie-notice-admin.js
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
//.click(function() { e.preventDefault(); })
|
4 |
+
$('#cn_position, #cn_hide_effect, #cn_see_more, #cn_css_style, #cn_see_more_opt_custom_link').buttonset();
|
5 |
+
|
6 |
+
$('.cn-color').wpColorPicker();
|
7 |
+
|
8 |
+
$('#cn-see-more-yes, #cn-see-more-no').change(function()
|
9 |
+
{
|
10 |
+
if($('#cn-see-more-yes:checked').val() === 'yes')
|
11 |
+
{
|
12 |
+
$('#cn_see_more_opt').fadeIn(300);
|
13 |
+
}
|
14 |
+
else if($('#cn-see-more-no:checked').val() === 'no')
|
15 |
+
{
|
16 |
+
$('#cn_see_more_opt').fadeOut(300);
|
17 |
+
}
|
18 |
+
});
|
19 |
+
|
20 |
+
$('#cn-see-more-link-custom, #cn-see-more-link-page').change(function()
|
21 |
+
{
|
22 |
+
if($('#cn-see-more-link-custom:checked').val() === 'custom')
|
23 |
+
{
|
24 |
+
$('#cn_see_more_opt_page').fadeOut(300, function() {
|
25 |
+
$('#cn_see_more_opt_link').fadeIn(300);
|
26 |
+
});
|
27 |
+
}
|
28 |
+
else if($('#cn-see-more-link-page:checked').val() === 'page')
|
29 |
+
{
|
30 |
+
$('#cn_see_more_opt_link').fadeOut(300, function() {
|
31 |
+
$('#cn_see_more_opt_page').fadeIn(300);
|
32 |
+
});
|
33 |
+
}
|
34 |
+
});
|
35 |
+
});
|
js/cookie-notice-front.js
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(document).ready(function($) {
|
2 |
+
|
3 |
+
$(document).on('click', '#cn-accept-cookie', function(event) {
|
4 |
+
event.preventDefault();
|
5 |
+
$.ajax({
|
6 |
+
type: 'POST',
|
7 |
+
url: cnArgs.ajaxurl,
|
8 |
+
data: {
|
9 |
+
action: 'cn-save-cookie'
|
10 |
+
},
|
11 |
+
dataType: 'html'
|
12 |
+
})
|
13 |
+
.done(function(data) {
|
14 |
+
if(data === 'CN_OK') {
|
15 |
+
cnHideFrontBox();
|
16 |
+
} else {
|
17 |
+
cnSetCookie();
|
18 |
+
cnHideFrontBox();
|
19 |
+
}
|
20 |
+
}).fail(function(data) {
|
21 |
+
cnSetCookie();
|
22 |
+
cnHideFrontBox();
|
23 |
+
});
|
24 |
+
});
|
25 |
+
|
26 |
+
|
27 |
+
function cnHideFrontBox() {
|
28 |
+
if(cnArgs.hideEffect === 'fade') {
|
29 |
+
$('#cookie-notice').fadeOut(300, function() {
|
30 |
+
$(this).remove();
|
31 |
+
});
|
32 |
+
} else if(cnArgs.hideEffect === 'slide') {
|
33 |
+
$('#cookie-notice').slideUp(300, function() {
|
34 |
+
$(this).remove();
|
35 |
+
});
|
36 |
+
} else {
|
37 |
+
$('#cookie-notice').remove();
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
|
42 |
+
function cnSetCookie() {
|
43 |
+
var cnTime = new Date();
|
44 |
+
var cnLater = new Date();
|
45 |
+
|
46 |
+
cnLater.setTime(cnTime.getTime() + cnArgs.cookieTime);
|
47 |
+
document.cookie = cnArgs.cookieName+"="+escape(cnArgs.cookieValue)+";expires="+cnLater.toGMTString()+';domain='+cnArgs.cookieDomain+';path='+cnArgs.cookiePath;
|
48 |
+
}
|
49 |
+
});
|
languages/cookie-notice-pl_PL.mo
ADDED
Binary file
|
languages/cookie-notice-pl_PL.po
ADDED
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Cookie Notice\n"
|
4 |
+
"POT-Creation-Date: 2013-07-02 18:33+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-07-02 18:46+0100\n"
|
6 |
+
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
+
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
+
"Language: English\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.5.5\n"
|
13 |
+
"X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../cookie-notice.php:84
|
19 |
+
msgid "Top"
|
20 |
+
msgstr "Na górze"
|
21 |
+
|
22 |
+
#: ../cookie-notice.php:85
|
23 |
+
msgid "Bottom"
|
24 |
+
msgstr "Na dole"
|
25 |
+
|
26 |
+
#: ../cookie-notice.php:89 ../cookie-notice.php:120
|
27 |
+
msgid "None"
|
28 |
+
msgstr "Brak"
|
29 |
+
|
30 |
+
#: ../cookie-notice.php:90
|
31 |
+
msgid "WordPress"
|
32 |
+
msgstr "WordPress"
|
33 |
+
|
34 |
+
#: ../cookie-notice.php:91
|
35 |
+
msgid "Bootstrap"
|
36 |
+
msgstr "Bootstrap"
|
37 |
+
|
38 |
+
#: ../cookie-notice.php:95
|
39 |
+
msgid "Enable"
|
40 |
+
msgstr "Włącz"
|
41 |
+
|
42 |
+
#: ../cookie-notice.php:96
|
43 |
+
msgid "Disable"
|
44 |
+
msgstr "Wyłącz"
|
45 |
+
|
46 |
+
#: ../cookie-notice.php:100
|
47 |
+
msgid "Custom link"
|
48 |
+
msgstr "Własny link"
|
49 |
+
|
50 |
+
#: ../cookie-notice.php:101
|
51 |
+
msgid "Page link"
|
52 |
+
msgstr "Link do strony"
|
53 |
+
|
54 |
+
#: ../cookie-notice.php:105
|
55 |
+
msgid "Text color"
|
56 |
+
msgstr "Kolor tekstu"
|
57 |
+
|
58 |
+
#: ../cookie-notice.php:106
|
59 |
+
msgid "Bar color"
|
60 |
+
msgstr "Kolor tła"
|
61 |
+
|
62 |
+
#: ../cookie-notice.php:110
|
63 |
+
msgid "1 day"
|
64 |
+
msgstr "1 dzień"
|
65 |
+
|
66 |
+
#: ../cookie-notice.php:111
|
67 |
+
msgid "1 week"
|
68 |
+
msgstr "1 tydzień"
|
69 |
+
|
70 |
+
#: ../cookie-notice.php:112
|
71 |
+
msgid "1 month"
|
72 |
+
msgstr "1 miesiąc"
|
73 |
+
|
74 |
+
#: ../cookie-notice.php:113
|
75 |
+
msgid "3 months"
|
76 |
+
msgstr "3 miesiące"
|
77 |
+
|
78 |
+
#: ../cookie-notice.php:114
|
79 |
+
msgid "6 months"
|
80 |
+
msgstr "6 miesięcy"
|
81 |
+
|
82 |
+
#: ../cookie-notice.php:115
|
83 |
+
msgid "1 year"
|
84 |
+
msgstr "1 rok"
|
85 |
+
|
86 |
+
#: ../cookie-notice.php:116
|
87 |
+
msgid "infinity"
|
88 |
+
msgstr "W nieskończoność"
|
89 |
+
|
90 |
+
#: ../cookie-notice.php:121
|
91 |
+
msgid "Fade"
|
92 |
+
msgstr "Zanikanie"
|
93 |
+
|
94 |
+
#: ../cookie-notice.php:122
|
95 |
+
msgid "Slide"
|
96 |
+
msgstr "Przesuwanie"
|
97 |
+
|
98 |
+
#: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
|
99 |
+
#: ../cookie-notice.php:180
|
100 |
+
msgid "Cookie Notice"
|
101 |
+
msgstr "Ciasteczka"
|
102 |
+
|
103 |
+
#: ../cookie-notice.php:182
|
104 |
+
msgid "Need support?"
|
105 |
+
msgstr "Potrzebujesz pomocy?"
|
106 |
+
|
107 |
+
#: ../cookie-notice.php:183
|
108 |
+
msgid ""
|
109 |
+
"If you are having problems with this plugin, please talk about them in the"
|
110 |
+
msgstr "Jeśli masz jakieś problemy z tą wtyczką, powiedz o nich"
|
111 |
+
|
112 |
+
#: ../cookie-notice.php:183
|
113 |
+
msgid "Support forum"
|
114 |
+
msgstr "Forum pomocy"
|
115 |
+
|
116 |
+
#: ../cookie-notice.php:185
|
117 |
+
msgid "Do you like this plugin?"
|
118 |
+
msgstr "Lubisz tę wtyczkę?"
|
119 |
+
|
120 |
+
#: ../cookie-notice.php:186
|
121 |
+
msgid "Rate it 5"
|
122 |
+
msgstr "Oceń ją na 5"
|
123 |
+
|
124 |
+
#: ../cookie-notice.php:186
|
125 |
+
msgid "on WordPress.org"
|
126 |
+
msgstr "na WordPress.org"
|
127 |
+
|
128 |
+
#: ../cookie-notice.php:187
|
129 |
+
msgid "Blog about it & link to the"
|
130 |
+
msgstr "Napisz o niej i dodaj link"
|
131 |
+
|
132 |
+
#: ../cookie-notice.php:187
|
133 |
+
msgid "plugin page"
|
134 |
+
msgstr "do strony wtyczki"
|
135 |
+
|
136 |
+
#: ../cookie-notice.php:188
|
137 |
+
msgid "Check out our other"
|
138 |
+
msgstr "Sprawdż nasze inne"
|
139 |
+
|
140 |
+
#: ../cookie-notice.php:188
|
141 |
+
msgid "WordPress plugins"
|
142 |
+
msgstr "wtyczki do WordPressa"
|
143 |
+
|
144 |
+
#: ../cookie-notice.php:204
|
145 |
+
msgid "Configuration"
|
146 |
+
msgstr "Konfiguracja"
|
147 |
+
|
148 |
+
#: ../cookie-notice.php:205
|
149 |
+
msgid "Message"
|
150 |
+
msgstr "Wiadomość"
|
151 |
+
|
152 |
+
#: ../cookie-notice.php:206 ../cookie-notice.php:256
|
153 |
+
msgid "Button text"
|
154 |
+
msgstr "Tekst przycisku"
|
155 |
+
|
156 |
+
#: ../cookie-notice.php:207
|
157 |
+
msgid "More info"
|
158 |
+
msgstr "Więcej informacji"
|
159 |
+
|
160 |
+
#: ../cookie-notice.php:208
|
161 |
+
msgid "Cookie expiry"
|
162 |
+
msgstr "Wygasanie cookie"
|
163 |
+
|
164 |
+
#: ../cookie-notice.php:211
|
165 |
+
msgid "Design"
|
166 |
+
msgstr "Wygląd"
|
167 |
+
|
168 |
+
#: ../cookie-notice.php:212
|
169 |
+
msgid "Position"
|
170 |
+
msgstr "Pozycja"
|
171 |
+
|
172 |
+
#: ../cookie-notice.php:213
|
173 |
+
msgid "Hide animation"
|
174 |
+
msgstr "Ukrywanie animacji"
|
175 |
+
|
176 |
+
#: ../cookie-notice.php:214
|
177 |
+
msgid "Button style"
|
178 |
+
msgstr "Styl przycisku"
|
179 |
+
|
180 |
+
#: ../cookie-notice.php:215
|
181 |
+
msgid "Colors"
|
182 |
+
msgstr "Kolorystyka"
|
183 |
+
|
184 |
+
#: ../cookie-notice.php:224
|
185 |
+
msgid "Enter the cookie notice message."
|
186 |
+
msgstr "Wpisz treść informacji o ciasteczkach."
|
187 |
+
|
188 |
+
#: ../cookie-notice.php:234
|
189 |
+
msgid "The text to show on the button when cookies have not been accepted"
|
190 |
+
msgstr ""
|
191 |
+
"Tekst przycisku, który będzie wyświetlany gdy ciasteczka nie zostały jeszcze "
|
192 |
+
"zaakceptowane."
|
193 |
+
|
194 |
+
#: ../cookie-notice.php:252
|
195 |
+
msgid "Enable or Disable Read more button."
|
196 |
+
msgstr "Włącz lub wyłącz przycisk z linkiem do dodatkowych informacji."
|
197 |
+
|
198 |
+
#: ../cookie-notice.php:268
|
199 |
+
msgid "Select where to redirect user for more information about cookies."
|
200 |
+
msgstr ""
|
201 |
+
"Wybierz dokąd przekierować użytkownika aby uzyskał więcej informacji o "
|
202 |
+
"ciasteczkach."
|
203 |
+
|
204 |
+
#: ../cookie-notice.php:271
|
205 |
+
msgid "-- select page --"
|
206 |
+
msgstr "-- wybierz stronę --"
|
207 |
+
|
208 |
+
#: ../cookie-notice.php:281
|
209 |
+
msgid "Select from one of your site's pages"
|
210 |
+
msgstr "Wybierz jedną z istniejących stron."
|
211 |
+
|
212 |
+
#: ../cookie-notice.php:285
|
213 |
+
msgid "Enter the full URL starting with http://"
|
214 |
+
msgstr "Podaj pełny adres URL zaczynający się od http://"
|
215 |
+
|
216 |
+
#: ../cookie-notice.php:304
|
217 |
+
msgid "The ammount of time that cookie should be stored for."
|
218 |
+
msgstr "Okres czasu przez jaki będzie przechowywane ciasteczko."
|
219 |
+
|
220 |
+
#: ../cookie-notice.php:322
|
221 |
+
msgid "Select location for your cookie notice."
|
222 |
+
msgstr "Wybierz pozycję wiadomości o ciasteczkach."
|
223 |
+
|
224 |
+
#: ../cookie-notice.php:340
|
225 |
+
msgid "Cookie notice acceptance animation."
|
226 |
+
msgstr "Animacja po akceptacji ciasteczek."
|
227 |
+
|
228 |
+
#: ../cookie-notice.php:358
|
229 |
+
msgid "Choose buttons style."
|
230 |
+
msgstr "Wybierz styl dla przycisków."
|
231 |
+
|
232 |
+
#: ../cookie-notice.php:473
|
233 |
+
msgid "Support"
|
234 |
+
msgstr "Forum pomocy"
|
235 |
+
|
236 |
+
#: ../cookie-notice.php:495
|
237 |
+
msgid "Settings"
|
238 |
+
msgstr "Ustawienia"
|
239 |
+
|
240 |
+
#: ../cookie-notice.php:524
|
241 |
+
msgid ""
|
242 |
+
"We use cookies to ensure that we give you the best experience on our "
|
243 |
+
"website. If you continue to use this site we will assume that you are happy "
|
244 |
+
"with it."
|
245 |
+
msgstr ""
|
246 |
+
"Ta strona korzysta z ciasteczek aby świadczyć usługi na najwyższym poziomie. "
|
247 |
+
"Dalsze korzystanie ze strony oznacza, że zgadzasz się na ich użycie."
|
248 |
+
|
249 |
+
#: ../cookie-notice.php:525
|
250 |
+
msgid "Ok"
|
251 |
+
msgstr "Zamknij"
|
252 |
+
|
253 |
+
#: ../cookie-notice.php:526
|
254 |
+
msgid "Read more"
|
255 |
+
msgstr "Dowiedz się więcej"
|
256 |
+
|
257 |
+
#~ msgid "Widgets"
|
258 |
+
#~ msgstr "Widgety"
|
259 |
+
|
260 |
+
#~ msgid "Pages"
|
261 |
+
#~ msgstr "Strony"
|
262 |
+
|
263 |
+
#~ msgid "Custom Post Types"
|
264 |
+
#~ msgstr "Własne typy wpisów"
|
265 |
+
|
266 |
+
#~ msgid "Custom Post Type Archives"
|
267 |
+
#~ msgstr "Archiwa własnych typów wpisów"
|
268 |
+
|
269 |
+
#~ msgid "Categories"
|
270 |
+
#~ msgstr "Kategorie"
|
271 |
+
|
272 |
+
#~ msgid "Taxonomies"
|
273 |
+
#~ msgstr "Taksonomie"
|
274 |
+
|
275 |
+
#~ msgid "Others"
|
276 |
+
#~ msgstr "Inne"
|
277 |
+
|
278 |
+
#~ msgid "Users"
|
279 |
+
#~ msgstr "Użytkownicy"
|
280 |
+
|
281 |
+
#~ msgid "Languages"
|
282 |
+
#~ msgstr "Języki"
|
283 |
+
|
284 |
+
#~ msgid "Front Page"
|
285 |
+
#~ msgstr "Strona główna"
|
286 |
+
|
287 |
+
#~ msgid "Blog Page"
|
288 |
+
#~ msgstr "Strona z wpisami"
|
289 |
+
|
290 |
+
#~ msgid "Single Posts"
|
291 |
+
#~ msgstr "Pojedyncze wpisy"
|
292 |
+
|
293 |
+
#~ msgid "Sticky Posts"
|
294 |
+
#~ msgstr "Wpisy przyklejone"
|
295 |
+
|
296 |
+
#~ msgid "Author Archive"
|
297 |
+
#~ msgstr "Archiwum autora"
|
298 |
+
|
299 |
+
#~ msgid "Date Archive"
|
300 |
+
#~ msgstr "Archiwum daty"
|
301 |
+
|
302 |
+
#~ msgid "404 Page"
|
303 |
+
#~ msgstr "Strona błędów 404"
|
304 |
+
|
305 |
+
#~ msgid "Search Page"
|
306 |
+
#~ msgstr "Strona wyszukiwania"
|
307 |
+
|
308 |
+
#~ msgid "Logged in users"
|
309 |
+
#~ msgstr "Zalogowani użytkownicy"
|
310 |
+
|
311 |
+
#~ msgid "Logged out users"
|
312 |
+
#~ msgstr "Wylogowani użytkownicy"
|
313 |
+
|
314 |
+
#~ msgid "Restrict widgets"
|
315 |
+
#~ msgstr "Ograniczenia widgetów"
|
316 |
+
|
317 |
+
#~ msgid ""
|
318 |
+
#~ "Use this settings to manage access to widgets page and to restrict "
|
319 |
+
#~ "availability of certain widgets, sidebars and widgets options to site "
|
320 |
+
#~ "administrators only."
|
321 |
+
#~ msgstr ""
|
322 |
+
#~ "Użyj tych ustawień aby określić kto może mieć dostęp do widgetów, jakie "
|
323 |
+
#~ "widgety, panele boczne i ustawienia widgetów są dostępne dla użytkowników "
|
324 |
+
#~ "a jakie tylko dla administratorów."
|
325 |
+
|
326 |
+
#~ msgid "Restrict Users"
|
327 |
+
#~ msgstr "Ograniczenia użytkowników"
|
328 |
+
|
329 |
+
#~ msgid "Select user roles restricted to manage widgets."
|
330 |
+
#~ msgstr "Wybierz role użytkowników, którzy mogą zarządzać widgetami."
|
331 |
+
|
332 |
+
#~ msgid "Restrict Sidebars"
|
333 |
+
#~ msgstr "Ograniczenia paneli bocznych"
|
334 |
+
|
335 |
+
#~ msgid "Select which sidebars will be restricted to admins only."
|
336 |
+
#~ msgstr ""
|
337 |
+
#~ "Wybierz panele boczne, które będą dostępne tylko dla administratorów."
|
338 |
+
|
339 |
+
#~ msgid "Restrict Widgets"
|
340 |
+
#~ msgstr "Ograniczenia widgetów"
|
341 |
+
|
342 |
+
#~ msgid "Select which widgets will be restricted to admins only."
|
343 |
+
#~ msgstr "Wybierz widgety, któe będą dostępne tylko dla administratorów."
|
344 |
+
|
345 |
+
#~ msgid "Restrict Widget Options"
|
346 |
+
#~ msgstr "Ograniczenia opcji widgetów"
|
347 |
+
|
348 |
+
#~ msgid "Select which widget options will be restricted to admins only."
|
349 |
+
#~ msgstr ""
|
350 |
+
#~ "Wybierz które opcje widgetów, będą dostępne tylko dla administratorów."
|
351 |
+
|
352 |
+
#~ msgid "Restrict Option Groups"
|
353 |
+
#~ msgstr "Ograniczenia grup opcji"
|
354 |
+
|
355 |
+
#~ msgid "Display widget options in groups"
|
356 |
+
#~ msgstr "Wyświetl opcje widgetów w grupach"
|
357 |
+
|
358 |
+
#~ msgid "Plugin Deactivation"
|
359 |
+
#~ msgstr "Deaktywacja wtyczki"
|
360 |
+
|
361 |
+
#~ msgid "Remove all plugin data on deactivation"
|
362 |
+
#~ msgstr "Usuń wszystkie dane wtyczki podczas deaktywacji"
|
363 |
+
|
364 |
+
#~ msgid "Created by"
|
365 |
+
#~ msgstr "Stworzone przez"
|
366 |
+
|
367 |
+
#~ msgid "Single %s"
|
368 |
+
#~ msgstr "Pojedyncze %s"
|
369 |
+
|
370 |
+
#~ msgid "%s Archive"
|
371 |
+
#~ msgstr "Archiwum %s"
|
372 |
+
|
373 |
+
#~ msgid "Display / Hide Widget"
|
374 |
+
#~ msgstr "Wyświetl / Ukryj widget"
|
375 |
+
|
376 |
+
#~ msgid "Display widget on selected"
|
377 |
+
#~ msgstr "Wyświetl widget na wybranych stronach"
|
378 |
+
|
379 |
+
#~ msgid "Hide widget on selected"
|
380 |
+
#~ msgstr "Ukryj widget na wybranych stronach"
|
languages/cookie-notice.pot
ADDED
@@ -0,0 +1,249 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Cookie Notice\n"
|
4 |
+
"POT-Creation-Date: 2013-07-02 18:32+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-07-02 18:32+0100\n"
|
6 |
+
"Last-Translator: Bartosz Arendt <info@digitalfactory.pl>\n"
|
7 |
+
"Language-Team: dFactory <info@dfactory.eu>\n"
|
8 |
+
"Language: English\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.5.5\n"
|
13 |
+
"X-Poedit-KeywordsList: gettext;gettext_noop;__;_e\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: ..\n"
|
17 |
+
|
18 |
+
#: ../cookie-notice.php:84
|
19 |
+
msgid "Top"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: ../cookie-notice.php:85
|
23 |
+
msgid "Bottom"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: ../cookie-notice.php:89 ../cookie-notice.php:120
|
27 |
+
msgid "None"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: ../cookie-notice.php:90
|
31 |
+
msgid "WordPress"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: ../cookie-notice.php:91
|
35 |
+
msgid "Bootstrap"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: ../cookie-notice.php:95
|
39 |
+
msgid "Enable"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: ../cookie-notice.php:96
|
43 |
+
msgid "Disable"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: ../cookie-notice.php:100
|
47 |
+
msgid "Custom link"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: ../cookie-notice.php:101
|
51 |
+
msgid "Page link"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: ../cookie-notice.php:105
|
55 |
+
msgid "Text color"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: ../cookie-notice.php:106
|
59 |
+
msgid "Bar color"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: ../cookie-notice.php:110
|
63 |
+
msgid "1 day"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: ../cookie-notice.php:111
|
67 |
+
msgid "1 week"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: ../cookie-notice.php:112
|
71 |
+
msgid "1 month"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: ../cookie-notice.php:113
|
75 |
+
msgid "3 months"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: ../cookie-notice.php:114
|
79 |
+
msgid "6 months"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: ../cookie-notice.php:115
|
83 |
+
msgid "1 year"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: ../cookie-notice.php:116
|
87 |
+
msgid "infinity"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: ../cookie-notice.php:121
|
91 |
+
msgid "Fade"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: ../cookie-notice.php:122
|
95 |
+
msgid "Slide"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: ../cookie-notice.php:154 ../cookie-notice.php:155 ../cookie-notice.php:167
|
99 |
+
#: ../cookie-notice.php:180
|
100 |
+
msgid "Cookie Notice"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: ../cookie-notice.php:182
|
104 |
+
msgid "Need support?"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: ../cookie-notice.php:183
|
108 |
+
msgid ""
|
109 |
+
"If you are having problems with this plugin, please talk about them in the"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: ../cookie-notice.php:183
|
113 |
+
msgid "Support forum"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: ../cookie-notice.php:185
|
117 |
+
msgid "Do you like this plugin?"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: ../cookie-notice.php:186
|
121 |
+
msgid "Rate it 5"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: ../cookie-notice.php:186
|
125 |
+
msgid "on WordPress.org"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: ../cookie-notice.php:187
|
129 |
+
msgid "Blog about it & link to the"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: ../cookie-notice.php:187
|
133 |
+
msgid "plugin page"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: ../cookie-notice.php:188
|
137 |
+
msgid "Check out our other"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: ../cookie-notice.php:188
|
141 |
+
msgid "WordPress plugins"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: ../cookie-notice.php:204
|
145 |
+
msgid "Configuration"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: ../cookie-notice.php:205
|
149 |
+
msgid "Message"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: ../cookie-notice.php:206 ../cookie-notice.php:256
|
153 |
+
msgid "Button text"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: ../cookie-notice.php:207
|
157 |
+
msgid "More info"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: ../cookie-notice.php:208
|
161 |
+
msgid "Cookie expiry"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: ../cookie-notice.php:211
|
165 |
+
msgid "Design"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: ../cookie-notice.php:212
|
169 |
+
msgid "Position"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: ../cookie-notice.php:213
|
173 |
+
msgid "Hide animation"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: ../cookie-notice.php:214
|
177 |
+
msgid "Button style"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: ../cookie-notice.php:215
|
181 |
+
msgid "Colors"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: ../cookie-notice.php:224
|
185 |
+
msgid "Enter the cookie notice message."
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: ../cookie-notice.php:234
|
189 |
+
msgid "The text to show on the button when cookies have not been accepted"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: ../cookie-notice.php:252
|
193 |
+
msgid "Enable or Disable Read more button."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: ../cookie-notice.php:268
|
197 |
+
msgid "Select where to redirect user for more information about cookies."
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: ../cookie-notice.php:271
|
201 |
+
msgid "-- select page --"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: ../cookie-notice.php:281
|
205 |
+
msgid "Select from one of your site's pages"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: ../cookie-notice.php:285
|
209 |
+
msgid "Enter the full URL starting with http://"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: ../cookie-notice.php:304
|
213 |
+
msgid "The ammount of time that cookie should be stored for."
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: ../cookie-notice.php:322
|
217 |
+
msgid "Select location for your cookie notice."
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: ../cookie-notice.php:340
|
221 |
+
msgid "Cookie notice acceptance animation."
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: ../cookie-notice.php:358
|
225 |
+
msgid "Choose buttons style."
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: ../cookie-notice.php:473
|
229 |
+
msgid "Support"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: ../cookie-notice.php:495
|
233 |
+
msgid "Settings"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: ../cookie-notice.php:524
|
237 |
+
msgid ""
|
238 |
+
"We use cookies to ensure that we give you the best experience on our "
|
239 |
+
"website. If you continue to use this site we will assume that you are happy "
|
240 |
+
"with it."
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: ../cookie-notice.php:525
|
244 |
+
msgid "Ok"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: ../cookie-notice.php:526
|
248 |
+
msgid "Read more"
|
249 |
+
msgstr ""
|
readme.txt
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Cookie Notice ===
|
2 |
+
Contributors: dfactory
|
3 |
+
Donate link: http://www.dfactory.eu/
|
4 |
+
Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
|
5 |
+
Requires at least: 3.3
|
6 |
+
Tested up to: 3.5.2
|
7 |
+
Stable tag: 1.0.0
|
8 |
+
License: MIT License
|
9 |
+
License URI: http://opensource.org/licenses/MIT
|
10 |
+
|
11 |
+
Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
12 |
+
|
13 |
+
== Description ==
|
14 |
+
|
15 |
+
[Cookie Notice](http://www.dfactory.eu/plugins/cookie-notice/) allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
|
16 |
+
|
17 |
+
For more information, check out plugin page at [dFactory](http://www.dfactory.eu/) or plugin [support forum](http://www.dfactory.eu/support/forum/cookie-notice/).
|
18 |
+
|
19 |
+
= Features include: =
|
20 |
+
|
21 |
+
* Customize the cookie message
|
22 |
+
* Redirect users to specified page for more cookie information
|
23 |
+
* Set cookie expiry
|
24 |
+
* Select the position of the cookie message box
|
25 |
+
* Animate the message box after cookie is accepted
|
26 |
+
* Select bottons style from None, WordPress and Bootstrap
|
27 |
+
* Set the text and bar background colors
|
28 |
+
* .pot file for translations included
|
29 |
+
|
30 |
+
|
31 |
+
== Installation ==
|
32 |
+
|
33 |
+
1. Install Cookie Notice either via the WordPress.org plugin directory, or by uploading the files to your server</li>
|
34 |
+
1. Activate the plugin through the 'Plugins' menu in WordPress</li>
|
35 |
+
1. Go to the Cookie Notice settings and set your options.</li>
|
36 |
+
|
37 |
+
== Frequently Asked Questions ==
|
38 |
+
|
39 |
+
No questions yet.
|
40 |
+
|
41 |
+
== Screenshots ==
|
42 |
+
|
43 |
+
1. screenshot-1.png
|
44 |
+
|
45 |
+
== Changelog ==
|
46 |
+
|
47 |
+
= 1.0 =
|
48 |
+
Initial release
|
49 |
+
|
50 |
+
== Upgrade Notice ==
|
51 |
+
|
52 |
+
Initial release of Cookie Notice
|