Jssor slider: how to remove highlighting animation from thumbnail navigator - jssor

When you click on thumbnail image on thumbnail navigator, there is animation which goes to an image highlighting each image until it reaches the clicked thumbnail. I would like to remove the highlighting effect of the other thumbnails. I tried changing different options on thumbnail navigator, but I couldn't remove this effect.

Thumbnail animations are specified by css3 transition. For example, you can see css in 'skin\thumbnail-08.source.html' as below,
.jssort08 .o
{
...
border: 1px solid #000;
transition: border-color .6s;
-moz-transition: border-color .6s;
-webkit-transition: border-color .6s;
-o-transition: border-color .6s;
}
You can remove the following code to disable the animation,
transition: border-color .6s;
-moz-transition: border-color .6s;
-webkit-transition: border-color .6s;
-o-transition: border-color .6s;

Related

TinyMCE toolbar sticky with an offset

I have an app which has a floating header. TinyMCE renders the sticky toolbar underneath this when I scroll because it positions it fixed at top: 0
Is there a mechanism/hack to add offset to this so that the sticky toolbar can sit below the header?
Thanks
It's not the perfect solution.
div.tox-tinymce--toolbar-sticky-on div.tox-editor-header {
top: 40px !important;
}

JavaFX8: Hide/Remove vertical scrollbar in TableView

I would like to hide or remove vertical scrollbar in my TableView. I would like to menage scroll with my own PgUp/PgDown buttons.
Buttons work fine with below code, but the verticalScrollBar ruin the desired aspect. How can I hide/remove it?
btnPgDown.setOnAction(e -> {
if (table.getSelectionModel().getSelectedIndex() == -1) {
table.getSelectionModel().select(0);
}
Event.fireEvent(table, EventUtil.PG_DN_PR_EVENT);
table.requestFocus();
});
Note: the EventUtil.PG_DN_PR_EVENT emulate the PgDown key event.
I think the best way to hide the scroll bars of a TableView is with CSS code.
This is the code for the vertical scroll bar.
.table-view *.scroll-bar:vertical *.increment-button,
.table-view *.scroll-bar:vertical *.decrement-button {
-fx-background-color: null;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-padding: 0;
}
.table-view *.scroll-bar:vertical *.increment-arrow,
.table-view *.scroll-bar:vertical *.decrement-arrow {
-fx-background-color: null;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-padding: 0;
-fx-shape: null;
}
If you want to hide also the horizontal scroll bar, you have to add the same code but changing *.scroll-bar:vertical for *.scroll-bar:horizontal.
And if you want to scroll your table by code, I recommend to use the method scrollTo that it's included in the TableView class.
From what I can tell based on my own experiences, whether a TableView displays a ScrollBar or not depends on the buttons and arrows on the ScrollBar.
In my project I use this CSS code to hide both scrollbars
.table-view *.increment-button,
.table-view *.decrement-button,
.table-view *.increment-arrow,
.table-view *.decrement-arrow
{
-fx-padding: 0;
-fx-shape: "";
}
But this has sideeffects, since apparently the TableMenuButton uses the same padding the TableMenuButton disappears with a padding of 0, the only thing I keep seeing is one half of the "+" sign that is usually displayed on the button. So this is a way but not neccesarily the way.

how to remove the scroll bar/stick indicator?

How to remove/hide the scroll bar indicator (vertical stick that's shown when scrolling) in ionic 3
I have tried: not sure what the below code does
.scroll-content {
overflow-y: auto !important;
}
try this:
::-webkit-scrollbar {
display: none;
}
::-webkit-scrollbar is only available in WebKit-based browsers (e.g., Google Chrome).

How can I change ToolBar foreground color using CSS e4?

I am trying to change a foreground color (or text) of ToolBar item using CSS
#amap-toolbar-0 {
background-color: black;
foreground-color:white;
}
or
ToolBar {
background-color: black;
foreground-color:white;
}
Both are only able to change the background color of ToolBar. The text color is still shown in black.
How do I solve this ?
UPDATE
#amap-toolbar-0 {
background-color: black;
color:white;
}
The font is still in black color.
The CSS value for foreground color is just color so:
#amap-toolbar-0 {
background-color: black;
color:white;
}
This works on Mac OS X but there is an Eclipse bug 401227 which seems to be saying this does not work on Windows.

Retina button not working in Apple Mail (iOS6 and iOS7)

I was having an issue in Apple Mail where the retina image wouldn't resize. My code was:
#media only screen and (-webkit-min-device-pixel-ratio: 2) {
.retina {
background: url(image#2x.png) no-repeat center 24px !important;
background-size: 40px 28px;
}
}
I've updated the retina media queries and added !important declarations to background-size and the button displays fine. However, now the link on the button does not work in Apple Mail running iOS7.
#media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 2dppx) {
.retina {
background: url(image#2x.png) no-repeat center 24px !important;
background-size: 40px 28px !important;
}
}
The button works as a link in all other mail clients, including Mail.app running OSX 10.8.5 when the window is made smaller to show the "mobile" version. Any solution to how I can get the button working as a link?