Add style for jquery-ui select
This commit is contained in:
parent
37cd5f9498
commit
b89ffbf1de
2 changed files with 5 additions and 0 deletions
4
css/page-pins.css
Normal file
4
css/page-pins.css
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#travelers-select .ui-selecting { background: #FECA40; }
|
||||
#travelers-select .ui-selected { background: #F39814; color: white; }
|
||||
#travelers-select { list-style-type: none; margin: 0; padding: 0; width: 450px; }
|
||||
#travelers-select li { margin: 3px; padding: 1px; float: left; width: 100px; height: 80px; font-size: 4em; text-align: center; }
|
||||
|
|
@ -80,6 +80,7 @@
|
|||
endwhile;
|
||||
wp_enqueue_script('page_pins_map', get_stylesheet_directory_uri() . '/js/page-pins-map.js', array('jquery', 'jquery-ui-selectable'));
|
||||
wp_localize_script('page_pins_map', 'page_pins_map', array('places' => $locations, 'traveler' => array_values($traveler)));
|
||||
wp_enqueue_style('page_pins', get_stylesheet_directory_uri() . '/css/page-pins.css');
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue