Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

February 09, 2023, 02:37:58 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 194010
  • Total Topics: 21135
  • Online today: 42
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 0
Guests: 36
Total: 36

Author Topic: More options for the roundframe style  (Read 332 times)

0 Members and 1 Guest are viewing this topic.

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
More options for the roundframe style
« on: January 09, 2023, 03:50:20 PM »
Can more control be given to this option? Such as the ability to turn it off in certain areas (rather than it being on for all locations).




I thought I might be able to hide the roundframe from showing on my forums index page with CSS, allowing to show in every other location other than that.


It looks awesome in pages, giving it a different look but it looks off in the forum IMO.


More options to customise this would be great.

Offline tino

  • Developer
  • *
  • Posts: 2717
Re: More options for the roundframe style
« Reply #1 on: January 09, 2023, 04:04:48 PM »
You can do it on a per block setting? Although if you want it on different pages then you’d need to clone the block and only show ones on certain pages.

TinyPortal is already complex enough with its options. I’m not sure adding more complexity is good when I think you can already do what you’re asking.

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
Re: More options for the roundframe style
« Reply #2 on: January 09, 2023, 04:15:18 PM »
You can do it on a per block setting? Although if you want it on different pages then you’d need to clone the block and only show ones on certain pages.

Could you show me where? I don't see it inside the block settings.

Code: [Select]
.roundframe {
    margin: 10px 0 0 0;
    padding: 12px 16px
px
;
    background: #f8f8f8;
    border: 1px solid #c5c5c5;
    border-radius: 7px;
    box-shadow: 0 -2px 2px rgb(0 0 0 / 10%);
    overflow: auto;
}

I see styling options which I have used, but I see nothing regarding roundframe (the above CSS).

Offline @rjen

  • Support Team
  • *
  • Posts: 3497
    • FJR-club Nederland
Re: More options for the roundframe style
« Reply #3 on: January 09, 2023, 11:03:05 PM »
Roundframe is a panel setting, not a block. And I agree with Tino on not adding more settings for cases that are not more commonly requested.

I think the roundframe option is a bit dated personally, and I have seriously considered removing it completely…
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
Re: More options for the roundframe style
« Reply #4 on: January 10, 2023, 03:35:40 AM »
It could easily be handled with CSS, if the panels had a way that targeted it. Hence why I originally asked in a support post if it can be done.

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
Re: More options for the roundframe style
« Reply #5 on: January 12, 2023, 05:27:08 PM »
Code: [Select]
toggle_tprightbarHeader
This is the class that hides the right bar, can this be used alongside the board index (if there's a class for it).

So like;

Code: [Select]
boardindex + togglerightbarheader {
.roundframe {
  display: none;
}

I'm not sure how to explain it but on one of my IPS sites, a theme designer once told me how to target certain areas but I don't know SMF setup that well. The last time I really got this in-depth was with the SMF 1.

Offline @rjen

  • Support Team
  • *
  • Posts: 3497
    • FJR-club Nederland
Re: More options for the roundframe style
« Reply #6 on: January 15, 2023, 10:36:52 AM »
Off course the panel can be targeted, IF there was a higher level  element that is specific to the areas that you want to target.

These elements do not exist in TinyPortal and I do not think they exist in SMF.

Perhaps a solution can be found if you specify exactly what forum pages you want to target and which not. Without that we can only guess
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
Re: More options for the roundframe style
« Reply #7 on: January 15, 2023, 03:14:02 PM »
I'm only trying to target the board index (the main forum page).

The round frame looks neat on the pages, in a way that makes the side panel standout away from the main page and I really like that.

Offline @rjen

  • Support Team
  • *
  • Posts: 3497
    • FJR-club Nederland
Re: More options for the roundframe style
« Reply #8 on: January 15, 2023, 03:43:25 PM »
Well, like I said: there is no higher-level element on that page that indicates that it is the boardindex...

So there is nothing to target using css...

Running Latest TP on SMF2.1 at: www.fjr-club.nl

Offline [chrisB]

  • Jr. Member
  • **
  • Posts: 71
Re: More options for the roundframe style
« Reply #9 on: January 15, 2023, 06:39:20 PM »
That's fair enough, thank you for your time and explanation.