Comments (1)
Hi there,
Yes, you can do that.
You should add custom styles like below in your CSS file.
/* for Saturday style */
.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",6"] {
background-color: rgba(51,51,247,.08);
}
/* for Sunday style */
.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",0"] {
background-color: rgba(247,51,51,.08);
}
CSS attribute selectors for weekday on the ruler is as follows:
.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",0"]
-> Sunday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",1"]
-> Monday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",2"]
-> Tuesday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",3"]
-> Wednesday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",4"]
-> Thursday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",5"]
-> Friday.jqtl-ruler-line-item[data-ruler-item^="weekday-"][data-ruler-item$=",6"]
-> Saturday
Then if you want to bold string in the ruler item;
.jqtl-ruler-line-item[data-ruler-item^="weekday-"] span {
font-weight: 600;
}
Please try it.
Thank you,
from jquery.timeline.
Related Issues (20)
- Are dynamic row heights possible? My events shall have different heights and the row shall adapt HOT 1
- Months in Spanish are lowercase, also wrong ordinal translation. HOT 1
- Fixed height and vertical scroll bar HOT 1
- Alignment crash on firefox HOT 1
- hoverEvent HOT 1
- eventMeta formatting HOT 1
- Getting error Cannot read properties of undefined (reading 'fn') HOT 3
- Ignore dates without data
- Possibility to make header ruler sticky HOT 2
- add event issue
- import with requireJS
- Events being copied after reload HOT 1
- Overlapping Events should display on different lines but in the same row
- Conflict with Vuejs
- test.js:3 Uncaught TypeError: $(...).timeline is not a function HOT 5
- Remote events data HOT 2
- event drag and drop feature HOT 1
- Scale half-hour
- Introduce Sunorhc.Timeline
- Ancient time BC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.timeline.