Results 1 to 4 of 4

Thread: Date field calendar theme

  1. #1
    Sencha User
    Join Date
    Oct 2017
    Posts
    33
    Vote Rating
    0
      0  

    Default Date field calendar theme

    Hi,

    I have this calendar view of a date field, what should I change to make the arrows (colors) of the next and previous months appear?

    dateField.png

    Thanks

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    927
    Answers
    53
    Vote Rating
    18
      0  

    Default

    Hi--,

    Are you creating a custom theme (or even datefield) or did you just drag that from the toolbox? **Can't quite tell that from your screenshot.

    Also, what theme are you using (if custom, what is it derived from)?

    Bryan

  3. #3
    Sencha User
    Join Date
    Oct 2017
    Posts
    33
    Vote Rating
    0
      0  

    Default

    Hi bryan,

    I'm using the default theme "triton" & I modified a little bit in headers, backgrounds, and buttons colors ---> just drag from the toolbox.

    Thanks,
    Joud

  4. #4
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    927
    Answers
    53
    Vote Rating
    18
      0  

    Default

    It doesn't look like there are scss variables defined for the arrows so you'll likely need to do it via css. I put this in a Fiddle so easier but it looks like the following will change the color of the arrows:

    PHP Code:
    .x-datepicker-prev:before {    content"\f100";    colorblack;} 
    Fiddle for reference: https://fiddle.sencha.com/#view/editor&fiddle/2aen

    Bryan

Similar Threads

  1. Replies: 16
    Last Post: 14 Mar 2017, 6:23 AM
  2. Where is the date field controls? (calendar)
    By lanlan85525 in forum Sencha Architect 3.x: Q&A
    Replies: 7
    Last Post: 15 Jul 2014, 12:25 AM
  3. Controlling Time Zone and Date Format for date field - specifically date picker.
    By erez.harari@sungard.com in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 22 Apr 2013, 11:41 PM
  4. Replies: 6
    Last Post: 12 Jun 2011, 11:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •