HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


(Solved) Dark theme question

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#72029 (In Topic #15128)
Avatar

Well-settled

So after adding my own theme with the theme wizard I have a little problem I don't know how to fix.
I choose to use a dark theme and as a result the dialog box to paste is to dark you cant see the text?

Is there a way to make the Dark theme not as dark?
Does that make sense?

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72030
Avatar

Try adding this to your global.css:

Code


input { /* Normally a browser default, but gets inherited on some phones */
   background: white;
}


The comment explains it, but maybe you are on a desktop browser that has the same issue.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72033
Avatar

Well-settled

Yes I am on a desktop.
I'm sorry but I'm not positive as to where I should add this (I'm trying to figure it out)
(Ya, i know …still a n00b!)

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72034
Avatar

Community saint

Use Firefox/Firebug to inspect the element and it will lead you to the correct CSS property. Doing it with Firebug you can see the immediate effect when changing the CSS properties.

Give it a try.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#72468
Avatar

Well-settled

I have 2 issues now that I am using a dark theme
1.when I paste in the WYSIWYG Editor I cannot see the text



2. also I can't see the names of the users in this drop down

Any thoughts on why or how to fix this?

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72478
Avatar

Community saint

Fletch said it best in letting you know what will help you narrow down the CSS selector to edit in order to get the changes you want. Firefox with the Firebug extension installed. Also add in Webdeveloper. Nifty tools in there too.
Back to the top
 
Posted
Rating:
#72480
Avatar

Community saint

Don't forget about the contextual CSS editor that can be found in the footer links.

It will help you find what you are looking for and also let you preview it live too.
Back to the top
 
Posted
Rating:
#72483
Avatar

Community saint

Brian Hay said

Don't forget about the contextual CSS editor that can be found in the footer links.

It will help you find what you are looking for and also let you preview it live too.
Oh now that is cool. I hadn't noticed that feature yet! Thanks for pointing that one out.
Back to the top
 
Posted
Rating:
#72490
Avatar

The first issue is a bug in ckeditor which I have just worked around for you.

The second is fixable by putting this into your themes global.css:

Code

input[type="text"],input[type="password"],textarea,select { /* Normally a browser default, but gets inherited on some phones */background: white;}

Attachment
ckeditor/skins/kama/editor.css
» Download: editor.css (28 Kb, 136 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72519
Avatar

Well-settled

Thank you so much Chris,
I'm still learning so be please have patience with me   :$
This is what I did with the attachment> I just replaced it with the current ckeditor/skins/kama/editor.css, and it seams to have worked   :party:
Results:



As for the code to put in the global.css: I must be doing something wrong, Is there a certain line to add this on?
Because after I added it , it said successful but I still have the same results?


BTW: I have been Using Firefox/Firebug to inspect the elements (but remember I'm still new to most of this) and have been somewhat successful in determining whats "what", I'm getting there. Thanx for your help everybody (and patience)

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72520
Avatar

Make sure you did it in the right theme. I can't think of much which could go wrong with this, but a link to somewhere on the site with the problem would help if possible.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72525
Avatar

Well-settled

I did it in the right theme for sure.
In order to give you a link to see what I'm talking about I had to make a fake member (because of how I have the permissions set up)

http://tisnart.com/index.php?page=catalogues&type=category&id=game-ideas%2Fadventure
UserName = bob (no password required)

Click on" Add a Adventure entry" > scroll down to Member's Name and type in the letter b and in the drop down box is the problem




Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72527
Avatar

Ah. My diagnosis was completely wrong. Find ".people_list" in global.css and enter the same "color:" you find under ".re_body".

The problem is the browser is hard-coding back text, and ocPortal is saying to choose a natural theme background colour, leading to a conflict. Adding the explicit colour will override the browsers hard-coded one.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72529
Avatar

Well-settled

That worked!!!!!
Thank you , Thank you!. I'm starting to catch on:lol:



For future reference, could I do this somehow using the "Advanced Mode" while editing the css?



(I'm gonna delete bob now :lol:)

Making games is fun…having people play them is the reward!
Back to the top
 
Posted
Rating:
#72530
Avatar

advanced mode, no, that is just for existing colour definitions, which is very long just on it's own ;)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#72532
Avatar

Well-settled

Ok, Thanx again Chris.
You are awesome :rockon:

Making games is fun…having people play them is the reward!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: