implement Gutenberg block to add liveticker without legacy shortcode
* implement react-based JS block * refactor shortcode and widget to use the same syntax and classes
This commit is contained in:
7
styles/block.css
Normal file
7
styles/block.css
Normal file
@ -0,0 +1,7 @@
|
||||
div.wp-block-scliveticker-ticker div.components-base-control:first-child label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
div.wp-block-scliveticker-ticker div.components-base-control:first-child label > .dashicon {
|
||||
margin-right: 8px;
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
ul.sclt-ticker {
|
||||
div.wp-block-scliveticker-ticker ul,
|
||||
div.wp-block-scliveticker-ajax-ticker ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul.sclt-ticker > li.sclt-tick {
|
||||
div.wp-block-scliveticker-ticker ul > li.sclt-tick,
|
||||
div.wp-block-scliveticker-ajax-ticker ul > li.sclt-tick {
|
||||
background-color: #f5f5f5;
|
||||
list-style-type: none;
|
||||
margin: 0.1em;
|
||||
|
Reference in New Issue
Block a user