Urban Terror Forums: impossible to read code from forum - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

impossible to read code from forum Rate Topic: -----

css style

#1 User is offline   brutalboy Icon

  • Account: brutalboy
  • Joined: 19-September 12
  • Posts: 24

Posted 20 September 2012 - 03:11 PM

please add attribute color to "pre.prettyprint" class like color: #666, now the background and the font color of code in forum are both almost white. Seems impossible to read!
Tanks.

#2 User is offline   Tizz Icon

  • Account: tizz
  • Main tag: |it|
  • Country:
  • Joined: 28-February 10
  • Posts: 612

Posted 07 October 2012 - 10:00 AM

Yup.

Up for this topic that went unheeded. Looks like everyone is having that bug. You can't read what's in the code boxes, unless you select it. I think it's quite easy to fix, as mentionned above.


Thanks ! :smile:

#3 User is offline   Kr0m Icon

  •   former FS member   
    Lead Forums Administrator
  • Account: kr0m
  • Country:
  • Joined: 30-April 09
  • Posts: 2,290

Posted 07 October 2012 - 12:01 PM

testing 123


I guess as a work around, users can use the colour code as well.

#4 User is offline   brutalboy Icon

  • Account: brutalboy
  • Joined: 19-September 12
  • Posts: 24

Posted 23 October 2012 - 07:00 PM

View PostKr0m, on 07 October 2012 - 12:01 PM, said:

testing 123


I guess as a work around, users can use the colour code as well.

This is a bad way to resolve!
Every users have to read this post?
Bad...
A much better, easy, fast and global solution is what I have write above.

#5 User is offline   brutalboy Icon

  • Account: brutalboy
  • Joined: 19-September 12
  • Posts: 24

Posted 23 October 2012 - 07:37 PM


01  <div class="post entry-content " id="">
02     <!--cached-Sun, 07 Oct 2012 11:01:58 +0000-->
03     <span style="color: #000000">
04         <pre class="prettyprint">
05             <span class="pln">testing </span>
06             <span class="lit">123</span>
07         </pre>
08     </span>
09     <br><br>
10     I guess as a work around, users can use the colour code as well.
11     <br>
12 </div>


This is a portion of html result from your post:
line 01 - empty id, by the way not interesting now...
line 03/08 - a span that wrap the pre with class pretty print! This span appear only when you use the color in the post editor, in this way you can not add a color on class prettyprint because the effect of the editor became null. So, the editor must set the color with in-line style in pre to overwrite the rule of own class.
line 05/06 - other strange things...

bullet_loaderAdvertisement

#6 User is offline   wraith Icon

  • Account: wraith
  • Country:
  • Joined: 28-February 10
  • Posts: 419

Posted 23 October 2012 - 08:38 PM

yeah not very user friendly.. sucks to have to highlight that stuff all the time

easy to fix..

pre.prettyprint {
color: #444;
}

#7 User is offline   brutalboy Icon

  • Account: brutalboy
  • Joined: 19-September 12
  • Posts: 24

Posted 24 October 2012 - 08:11 AM

View Postwraith, on 23 October 2012 - 08:38 PM, said:

yeah not very user friendly.. sucks to have to highlight that stuff all the time

easy to fix..

pre.prettyprint {
color: #444;
}

This is not a full fix, read my previous post.
The "post editor" make a "span" to set the colours of text and maybe other things...
To fix and continue to have the colour chooser on editor, the editor have to set in-line styles of "pre"(with class prettyprint modified).
At this point the span wrapper might be deleted if not have other function unknow at time.
However you're right, is easy to fix!

#8 User is offline   wraith Icon

  • Account: wraith
  • Country:
  • Joined: 28-February 10
  • Posts: 419

Posted 24 October 2012 - 08:39 AM

you're right, was posting quick.. only read first post :p

#9 User is offline   Mission85 Icon

Posted 04 November 2012 - 03:06 AM

lol, i posted about this around the beginning of august, figured it would be fixed by now, guess i was wrong :P GGz

http://www.urbanterr...29107-code-tag/

#10 User is offline   Nitro Icon

  •   QA member   
  • Account: nitro
  • Main tag: |PWNY|
  • Country:
  • Joined: 15-March 10
  • Posts: 1,134

Posted 04 November 2012 - 03:43 AM

Hi Everyone,

I will highlight this issue with the forum staff, to bring back its attention. However with the latest release of Urban Terror 4.2.005 just released I think their hands are currently full.

Hopefully this will be fixed ASAP. In the mean time use the [color][/color] tags to change the colour to something other than white.

thanks :)
Lian Li pc-o11dw Der 8auer Edition · Gigabyte x570 Aorus Xtreme · AMD Ryzen 9 5950x 16-Core
32GB DDR4 3600MHz CL15 · 2TB Seagate FireCuda 530 NMVE · 16GB Radeon RX 6900XT Liquid Cooled

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942