Topic Title: gallery2 prosilver colorpack

Forum Index » phpBB3 / Gallery 2 Integration » gallery2 prosilver colorpack
Topic URL: http://www.nukedgallery.net/postt4226.html

AuthorMessage
Post Title: gallery2 prosilver colorpack
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Sat Dec 27, 2008 2:14 pm
Not sure if anyone has done this yet.
I brought my phpBB3 prosilver theme colors into Gallery2 as a colorpack called prosilver.
It is not perfect, but it works well enough for my needs.

If you have the colorpack module installed, just create a new subdirectory in modules/colorpack/packs called prosilver and copy this code into a file called color.css

I dont have full understanding of the code, and it could probably use some improvement. I only tried it with matrix, not sure how well it works with other themes.

Code: › /* <?php $colorpackName = $gallery->i18n('prosilver'); ?>
 * $Revision: 15342 $
 */

#gallery {
  color: #000 !important;
  background-color: #ffffff !important;
}
body.gallery { background-color: #ffffff !important; }

.gcBackground1 { background-color: #cadceb !important; }
.gcBackground2 { background-color: #cadceb !important; }

.gcBorder1 { border-color: #006080 !important; }
.gcBorder2 { border-color: #00608f !important; }

#gallery a { color: #2668ac !important; }
#gallery a:hover { color: #bc2a4d !important; }
#gallery a:active { color: #0d4473 !important; }

.giSuccess { color: #190 !important; }
.giWarning { color: #b31 !important; }
.giError { color: #d14 !important; }
.giInfo { color: #103 !important; }
.block-core-PeerList .current { color: #67b !important; }

table.gbDataTable th { background-color: #11a1e8 !important; }
.gbEven { background-color: #cadceb !important; }
.gbOdd { background-color: #cadce0 !important; }

input.inputTypeSubmit, input.inputTypeButton { background-color: #dde9f0 !important; }
#gallery select { background-color: #dde9f0 !important; }


AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
jettyrat
Joined: Nov 28, 2005
Posts: 1144

Posted: Mon Dec 29, 2008 3:18 pm
Nice, thanks! Smile

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Sun Jan 25, 2009 10:22 am
I have been working on a theme for Gallery2 to bring a smoother visual transition between gallery2 and phpBB3 prosilver theme.

It is a small rewrite of the standard Matrix theme.
I have it in a small zip file containing only the changed files which would have to be copied into a copy of matrix renamed promatrix.

You can see the theme and download the zip file from my home server
http://nutopia.ws/home/gallery2.php?g2_itemId=12625 [nutopia.ws]

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Thu Feb 12, 2009 3:59 pm
To darn quiet out there.
Curious if anyone has tried this theme mod out? Question

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
at0m
Joined: Feb 04, 2009
Posts: 3

Posted: Mon Mar 02, 2009 11:35 am
It works for me, but I'd really like to keep Classic for my top-level album, since it is easier to see what is in each sub-album that way. There a chance you could apply your skills? Or perhaps explain how you went about it, because I'd actually like to use a style other than prosilver.

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
WizardOfZo
Joined: Sep 24, 2008
Posts: 55

Posted: Mon Mar 02, 2009 6:18 pm
I am more of a code hacker than a programmer.
My method was to compare the Gallery Matrix code, side by side with the phpBB3 Prosilver code and then play around with the rounded corners in phpBB3 and tweak the colors in Gallery.
I have not tried playing with the Classic theme, but I bet if you compared it side by side with what I modified in Matrix, you could see where you could make something to your liking.
If you use Firefox as a browser you can also use the addon Firebug to help analyze code and color changes, it is a great tool allowing you to adjust the output without needing to upload new code for each change.

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
AgeofStrife
Joined: Feb 12, 2009
Posts: 2

Posted: Wed Apr 01, 2009 10:16 am
WizardOfZo,

I don't suppose there's any chance you could post the theme zip file anywhere publicly accessible to download is there? Your site has registrations disabled (btw, I use Anti-Spam ACP on my phpBB3 sites and it's done a great job of keeping the spammers out) and I assume that the file is only accessible if you're logged in Sad

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
dari
Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA
Posted: Wed Apr 01, 2009 10:18 am
i can host it here if he emails it to me.

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
Spack
Joined: Jun 19, 2005
Posts: 1

Posted: Sat Apr 04, 2009 4:01 pm
Just noticed that the download is there, I somehow missed it. I've downloaded now, going to try it on my site Smile

AuthorMessage
Post Title: Re: gallery2 prosilver colorpack
commander_keen
Joined: Feb 24, 2009
Posts: 7

Posted: Sun Apr 05, 2009 5:01 am
thx WizardofZo, works pretty fine Smile

All times are GMT - 5 Hours
Powered by PHPNuke and phpBB2 © 2006 phpBB Group