| Author |
Message |
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 59
|
Posted: Sat Dec 27, 2008 2:14 pm Post subject: gallery2 prosilver colorpack |
|
|
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; }
|
|
| Back to top |
|
|
AdBot
|
| Post subject: gallery2 prosilver colorpack |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1161
|
Posted: Mon Dec 29, 2008 3:18 pm Post subject: Re: gallery2 prosilver colorpack |
|
|
Nice, thanks!  |
|
| Back to top |
|
|
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 59
|
Posted: Sun Jan 25, 2009 10:22 am Post subject: Re: gallery2 prosilver colorpack |
|
|
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] |
|
| Back to top |
|
|
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 59
|
Posted: Thu Feb 12, 2009 3:59 pm Post subject: Re: gallery2 prosilver colorpack |
|
|
To darn quiet out there.
Curious if anyone has tried this theme mod out?  |
|
| Back to top |
|
|
at0m
Beginner


Joined: Feb 04, 2009 Posts: 3
|
Posted: Mon Mar 02, 2009 11:35 am Post subject: Re: gallery2 prosilver colorpack |
|
|
| 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. |
|
| Back to top |
|
|
WizardOfZo
 Guru


Joined: Sep 24, 2008 Posts: 59
|
Posted: Mon Mar 02, 2009 6:18 pm Post subject: Re: gallery2 prosilver colorpack |
|
|
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. |
|
| Back to top |
|
|
AgeofStrife
Beginner


Joined: Feb 12, 2009 Posts: 3
|
Posted: Wed Apr 01, 2009 10:16 am Post subject: Re: gallery2 prosilver colorpack |
|
|
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  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6318 Location: Washington Township, NJ, USA
|
Posted: Wed Apr 01, 2009 10:18 am Post subject: Re: gallery2 prosilver colorpack |
|
|
| i can host it here if he emails it to me. |
|
| Back to top |
|
|
Spack
Beginner


Joined: Jun 19, 2005 Posts: 1
|
Posted: Sat Apr 04, 2009 4:01 pm Post subject: Re: gallery2 prosilver colorpack |
|
|
Just noticed that the download is there, I somehow missed it. I've downloaded now, going to try it on my site  |
|
| Back to top |
|
|
commander_keen
Beginner


Joined: Feb 24, 2009 Posts: 6
|
Posted: Sun Apr 05, 2009 5:01 am Post subject: Re: gallery2 prosilver colorpack |
|
|
thx WizardofZo, works pretty fine  |
|
| Back to top |
|
|
|
|
|
|
|