The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Css Styles - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Off-topic Discussions (https://userspice.com/forums/forumdisplay.php?fid=10)
+--- Thread: Css Styles (/showthread.php?tid=151)



Css Styles - lefox - 05-31-2016

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!


Css Styles - mudmin - 05-31-2016

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_download=1&download_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.


Css Styles - JUG - 03-10-2017

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?


Css Styles - mudmin - 03-10-2017

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!


Css Styles - JUG - 03-10-2017

Oh, I could figure that out by myself ? Now I feel stupid ?

Thank you!


Css Styles - mudmin - 03-10-2017

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.