inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 11, 2017 23:03:49 GMT -8
Forum URL: fantasiapocalypse.boards.net(Forum above currently has different default theme than the one I am working on... because I suck at coding...) I am creating a new skin for my site (or, well, trying to and failing miserably) and would like to know how to make the content of the forum semi-opaque/transparent, so that the background of the forum is sort of visible?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 12, 2017 0:47:23 GMT -8
Forum URL: fantasiapocalypse.boards.net(Forum above currently has different default theme than the one I am working on... because I suck at coding...) I am creating a new skin for my site (or, well, trying to and failing miserably) and would like to know how to make the content of the forum semi-opaque/transparent, so that the background of the forum is sort of visible? If you add this to the bottom of your style sheet it'll make the boards semi-transparent: /*semi-transparent board listings*/ .container.boards > .content { background-color: fade(@container_background_color_1,70%);} You can change that 70 to a higher number (100 would be totally opaque) or a lower. But once you click on a board or thread, it'll be opaque again. Not sure if you wanted it for threads, posts too.
|
|
inherit
210338
0
Apr 26, 2024 22:43:02 GMT -8
RichardInTN
472
June 2014
richardintn
|
Post by RichardInTN on Aug 12, 2017 16:21:47 GMT -8
Another suggestion would be that when you are coding the background colors instead of using hexadecimal color codes, you use rgba codes.
This is a Hexadecimal color code for a nice deep blue:
#334FFF This is a rgba color code for that same color but with the option of half transparency:
rgba(51, 79, 255, 0.5) the ".5" stands for percentage of transparency, and can be any number between 0.00 and 1.00 (with .00 being fully transparent, and 1.00 being fully opaque).
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 12, 2017 23:04:35 GMT -8
Another easy way is to simply add this to the bottom of your Style Sheet ~
.container.boards > .content {opacity: 0.8} Simply change the 0.8 to a number of your choosing.
Then there's no need to worry about choosing a color. It will work on any color you're using on each theme.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Aug 13, 2017 3:05:09 GMT -8
Another suggestion would be that when you are coding the background colors instead of using hexadecimal color codes, you use rgba codes. This is a Hexadecimal color code for a nice deep blue: #334FFF This is a rgba color code for that same color but with the option of half transparency: rgba(51, 79, 255, 0.5) the ".5" stands for percentage of transparency, and can be any number between 0.00 and 1.00 (with .00 being fully transparent, and 1.00 being fully opaque). Typically, I do tell them the way you suggested but it works beautifully the way I suggested as they don't have to go convert the hex color to rgb and it doesn't mess with the text. Just saves a bit of time and trouble for them and for me, when I'm lazy. Another easy way is to simply add this to the bottom of your Style Sheet ~
.container.boards > .content {opacity: 0.8} Simply change the 0.8 to a number of your choosing.
Then there's no need to worry about choosing a color. It will work on any color you're using on each theme. Not a good idea as that also changes the text to the same transparency. Ever try changing it to 0.1 and you'll see what I mean. Handy if in a rush and you are barely changing the opacity, then you wouldn't notice the text changing that much.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 13, 2017 10:36:13 GMT -8
Another easy way is to simply add this to the bottom of your Style Sheet ~
.container.boards > .content {opacity: 0.8} Simply change the 0.8 to a number of your choosing.
Then there's no need to worry about choosing a color. It will work on any color you're using on each theme. Not a good idea as that also changes the text to the same transparency. Ever try changing it to 0.1 and you'll see what I mean. Handy if in a rush and you are barely changing the opacity, then you wouldn't notice the text changing that much. I've not noticed that. It's what I use on my forum.
But I only use .08 and .09 ~ so I guess that's why it works well.
|
|
inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 13, 2017 17:09:41 GMT -8
Tumbleweed, thank you, that code worked! And yes, threads, posts, categories, forum/board statistics, pretty much everything. How would I change those as well? RichardInTN, that is a good suggestion! I will remember it when I am working on other things I will need, thank you! ♥ ℒʊ√ ♥, I will try that as well, if semi-opaque text will look better with what I have than not. Thank you!
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 13, 2017 18:59:14 GMT -8
You're welcome, Shadow .
If you check out my forum, I use that code and my type isn't opaque since I only use .08 and .09 opacity.
Good luck.
|
|
inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 13, 2017 19:06:47 GMT -8
♥ ℒʊ√ ♥, Thank you, and your forum looks awesome! How did you get the sections to change opacity/colors upon hover? If it is okay to ask?
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 13, 2017 21:45:14 GMT -8
Shadow , thank you!
Yours looks great, too. Nice job!
Since I have the containers set to an .09 opacity, when hovered, the "highlight" makes it opaque again. You can add the highlight in the Visual Editor tab.
Go to your Admin Panel > Themes > Advanced Styles & CSS.
In the Visual Editor Tab, under the first section called "Forum" open the Body Section. Next, open Lists (Boards, Threads, Posts...). There you'll find "Rows".
Under that you'll see "Text", "Highlight" and "Selected". Play around with those and see what you like.
|
|
inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 13, 2017 21:53:47 GMT -8
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 13, 2017 21:54:54 GMT -8
You're welcome, Shadow .
As I posted above, you're doing a great job!
|
|
inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 13, 2017 22:00:04 GMT -8
♥ ℒʊ√ ♥, I tried what you suggested, but in the preview of the visual editor, nothing has changed? Could it be because the theme I am working on has side-by-side boards?
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Aug 13, 2017 22:20:04 GMT -8
You may have modified the Stylesheet or templates for that section, Shadow .
You can always add CSS to the Style Sheet (right next to the Visual Editor Tab) for hover color changes.
I don't know what targets you specifically want to change, but you can try this ~
.threads .main.state-hover { color: #ffffff !important;}
and/or this
.list .item:hover > .main .description:hover { color: #000000 !important;}
Of course, change the colors to one of your choosing.
Or you can have all links change on hover by adding ~
a:hover { color: #333333 !important; } I'm adding !important just in case there may be another code over-riding these changes. If there isn't, then !important isn't necessary.
|
|
inherit
198514
0
May 19, 2020 15:11:29 GMT -8
Shadow
67
August 2013
waterdragon24
|
Post by Shadow on Aug 15, 2017 10:48:10 GMT -8
( Tumbleweed, tagging you again to ask what the rest of the usable terms are for the red .container.boards > .content { background-color: fade(@container_background_color_1,70%);} to turn everything else opaque/transparent as well because this code seemed to work perfectly!) ♥ ℒʊ√ ♥, cool, I'll try that, thanks!
|
|