I would like to change the color of the current day but only when the calendar is in the day agenda view. My users say they're having a hard time seeing the lines or something. I looked through the documentation as well as the css/js and didn't find a quick way of doing it. Is this even possible without major code changes?
In fullcalendar >= 5, they changed the class name to .fc-day-today. However, you'll need to increase the specificity of that selector to override the styles OR use !important on the attribute you're overriding if it doesn't apply without it.
Good answers. But is there also an option in FullCalender to enable/disbale the current day indicator? Reason is, I use the calender in different types and want once to show the current day color but not on the other view.
In the snippet I tried both specifying an event color, and reading it. Setting works - the event is drawn with the specified colour on the calendar. But just as you found, reading it fails, color is undefined.
Setting and reading backgroundColor and borderColor works fine, and by specifying both color and backgroundColor on a single event, it seems color is shorthand for setting both backgroundColor and borderColor (see Events 2 and 3 in the snippet).
I haven't used it but I searched and came across the eventDisplay property, which seems to be what you're after. I updated the snippet and specified the block option, which changes an event with start and end times from a list-item to a block, just like all day events - see Event 4.
I was implementing a full calendar for my outsystem project and I was trying to change the text color for each event in the calendar but the color that I'm inserting into the calendar is not being applied, does anyone know a way to fix this?
And while I while testing the textColor I noticed that it only changes to black or white if I place it like this: textColor: 'black' textColor: 'white', if I try in hexadecimal or RGB values it doesn't change the color (I'm using hexadecimal for the color output)
Well there's your answer. That ".black" class is overriding the color you're setting for the events. You can try to change that CSS to be less specific or remove that class entirely from your element and always set the color via the "textColor" attribute.
It's really hard for me to suggest how to do that without looking at your code. That class is probably being used elsewhere, so you have to be careful when changing it to avoid breaking other screens.
I have used different ways to set their color, including setting all event background colors with CSS, and everything works (i.e. I have no problem changing the event colors), except that the colors lack saturation.
I would expect both the table background and the events to be saturated red. The background is, but the events are not. Checking with a color sampler shows that the background is #ff0000, but the cells are #ff5952, which corresponds to red saturated to 68%.
I applied an odd/even class to the fc-agenda-slot tr's, but the problem is the left/right "cell" border is on the fc-agenda-days table which is below, so it's not shown when I set the background on the fc-agenda-slot tr's.
The root of the issue is how week view is structured, which is arguably a rampant abuse of markup. It is basically a table that has columns, which then has a table overlapping it that has rows. There aren't individual cells for you to control only singular rows and columns. When you color the row you are hiding the column borders, more than likely unintentionally. As far as I can tell, this was either a design decision of the plugin or a major oversight.
This will show the border of cells, but only with cell background color opacized.. It's not the best solution ever, but it can be enough to get something fancy if you have no strong graphic constraints!
I faced the same problem here. Although it is about the resource view in my case, I thought that it should be possible to add the table-striped class to the calendar, because it is using the bootstrap-theme. After studying the code for a while, I identified two tables that could be 'striped'. I added the following code after the render() command:
I have created a calendar in SP2010 where the majority of events are recurring series. I have incorporated a holiday schedule into this calendar using a calendar overlay. My problem is that most of the recurring series events overlap the holiday schedule and my user community is required to modify the days of those recurring series that fall on the holidays. Rather than have the users modify the schedules I would like to "blackout" the day so they simply can't see the events for those days. I have found that I can set the background color of an entire calendar using this script in a CEWP;
However, this sets the background color for day 4 of every week. What I want to do is set the background color for specific days throughout the year. If I can set the background color to "black" for the holidays, my users won't see the events on the calendar.
I used the following code to make all days before 'today' gray - maybe you could adapt it? I build 2 arrays of objects - one for the day row and one for the item. I find the correct date, change it to gray, and then do the same with the corresponding object in the item array. You'd probably also have to call this when someone changes the month - that doesn't refresh the whole page.
thanks geoff! Now i can see all days. But the current day is still invisible how can i remove the invisibility? Maybe i also could change the color of the current day into white? Is there an option to set the background color into green?
Deciding to get on the double-lung transplant waiting list was a very difficult decision, emotionally. I was lucky my care team recommended early referral. It gave me the time to process my emotions about transplant and make an educated decision.
It started four years ago. I had worked full time as a nurse for 22 years, the last five of it working as a case manager from the comfort of my home. I couldn't have imagined a better job! Working from home cut out my commute time and allowed me more time for my daily routine of nebulizer treatments, chest therapy, exercising, and eating all day long, as well the added perk of working in my pajamas if I chose. I mean, what could be better?
And still, the decline came, despite a dream job and my best efforts. It was drastic and seemed to come out of nowhere, my forced expiratory volume (FEV1) fell from 45 percent to 26 percent seemingly overnight. I found myself so out of breath just taking a shower, that I'd have to sit down and recover for a few minutes before having the breath to get dressed. So into the clinic I go, and my doctor says the "T" word asking me if it's something I want to pursue, or not. Transplant. WHAT?? For ME??
My mind was instantly whirling. I heard myself say "yes" and I remember hearing the words "early referral" and then jumping to the plan for intravenous (IV) antibiotics. By the time I drove home, I had decided I needed to stop working. I wasn't sure, yet, how it would work financially, but I knew I'd have to figure it out. I reached out to my employer and started making CF my full-time job, in hopes that I could keep that "T" word at arm's length for as long as possible.
That's exactly what I've done for the past four years now. My doctor told me I am a great example of when stopping work can help stabilize and benefit your CF health. I was hoping I'd go even longer before I'd have to seriously consider transplant. To be honest, I never thought I'd have to seriously consider transplant. I have two rare mutations and was hoping one of the cystic fibrosis transmembrane conductance regulator (CFTR) modulators would be found to work for me, or I thought maybe I'd be in the group that would go through gene editing as my "cure." It's been hard to realize that transplant really is in my future.
This past year I have had to work even harder than normal to maintain my low lung function, with multiple steroid bursts and rounds of IV antibiotics. I've now got a chest port and do monthly hydration at home. I need more rest, and -- this past month -- I have become oxygen-dependent.
Each day is like the movie, Groundhog Day. I do my treatments and chest PT and take my medications. I get plenty of rest, eat as much as I can, and exercise, with the normal household chores intertwined. I carefully plan my social outings and include days of rest before and after.
I realize my health status is not great compared to other people my age without CF. There is no way I could keep up if I continued to work, or do all that I see others doing on social media. But, still, when someone asks how I am doing, my standard response is always "I'm hanging in there."
I have come to find that people with CF are so strong and resilient. It's a blessing -- in many cases -- but in trying to decide when is the right time to list for transplant, it can also be a curse, or I am finding it is with me.
And though I have only maintained a 35 percent lung function for four years, I am now used to it, so I still doubted if it was the right time to move forward with transplant evaluation, testing, and listing. I knew I had been having more bad days, but it's hard to keep track of when or how often. Knowing that my CF doctor and the transplant team were suggesting it was time to list and awaiting my answer, my mom suggested I use a calendar and mark each day with how I felt leading up to my next clinic visit.
So I grabbed my calendar and to keep it easy, I used a green and red marker. Each evening as I did my last breathing treatment, I'd evaluate my day, putting a green mark on the calendar if it had been a good day, and a red box if I had a bad day. Many days I marked both red and green as I found most days seemed to be, meaning I had a rough morning but the day got better, or maybe I felt good in the morning but by evening I was wiped out or not feeling well. I was basing this solely on my physical symptoms such as energy and pain levels, and shortness of breath. By the time my clinic visit rolled around, I had a full calendar month colored in.
c80f0f1006