The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Css Styles
#1
I'm trying to get a handle of CSS so I was wondering if you any one could explain where the:

Code:
<p><a class=<strong>"btn btn-primary "</strong> href="profile.php?id=<?=$get_info_id;?>" role="button">Public Profile</a></p>

the "btn btn-primary"

is define.

Also when I look at the color scheme they seem to refer to a font file:

Code:
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);/*!

does this font file define the colors of buttons?

I was hoping to making some custom buttons or even just get a better idea of how CSS works. As always any help is appreciated!
  Reply
#2
We do use google fonts, the "standard" sb-admin css files (which is a template) and "standard" bootstrap css. It's a little overhwelming, especially when you're looking at it minified. Here is a little guide...

http://userspice.org/making-a-new-color-scheme/

You can also download the unminified css here, which is a little bit more readable.

http://userspice.org/?smd_process_downlo...oad_id=630

Right now, since I went through and found the html colors in the css, you can pretty much find and replace to make your own themes.
  Reply
#3
Thread name seems ok for my question.

Is there any easy way to remove sb-admin.css from all pages instead admin dashboard, since sb-admin.css is changing some bootstrap definitions that are good?
  Reply
#4
Yep. No problem.

Go to the gear and admin dashboard. On the right side in the css, set the second one from sb_admin.css to blank.css and you will be good to go!
  Reply
#5
Oh, I could figure that out by myself ? Now I feel stupid ?

Thank you!
  Reply
#6
It's not obvious. I've been wanting a redo of userspice css for a while now. I just need someone who has a better aesthetic sense than I do.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)