From eaf0b092e703297e14debe401be9ba4c7cb81c6f Mon Sep 17 00:00:00 2001 From: Tom Canac Date: Fri, 10 Jan 2014 23:11:38 +0100 Subject: [PATCH] new themes on da rails --- config.php | 10 +- templates/board.html | 15 +- templates/darkgold2.html | 391 ++++++++++++++++++++------------------- templates/rounded.html | 179 ++++++++++++++++++ templates/squares.html | 175 ++++++++++++++++++ 5 files changed, 564 insertions(+), 206 deletions(-) create mode 100644 templates/rounded.html create mode 100644 templates/squares.html diff --git a/config.php b/config.php index 1af3d56..b051cd5 100644 --- a/config.php +++ b/config.php @@ -19,9 +19,9 @@ Please enjoy this free script! $thumbs_pr_page = "39"; //Number of thumbnails on a single page $gallery_width = "80%"; //Gallery width. Eg: "500px" or "70%" $backgroundcolor = "white"; //This provides a quick way to change your gallerys background to suit your website. Use either main colors like "black", "white", "yellow" etc. Or HEX colors, eg. "#AAAAAA" -$templatefile = "board"; //Template filename (must be placed in 'templates' folder) -$title = "MiniGal Nano test gallery"; // Text to be displayed in browser titlebar -$author = "John Doe"; +$templatefile = "squares"; //Template filename (must be placed in 'templates' folder) +$title = "MiniGal Nano test gallery"; // Text to be displayed in browser titlebar +$author = "John Doe"; $folder_color = "black"; // Color of folder icons: blue / black / vista / purple / green / grey $sorting_folders = "name"; // Sort folders by: [name][date] $sorting_files = "name"; // Sort files by: [name][date][size] @@ -30,9 +30,9 @@ $sortdir_files = "ASC"; // Sort direction of files: [ASC][DESC] //LANGUAGE STRINGS $label_home = "Home"; //Name of home link in breadcrumb navigation -$label_new = "New"; //Text to display for new images. Use with $display_new variable +$label_new = "New"; //Text to display for new images. Use with $display_new variable $label_page = "Page"; //Text used for page navigation -$label_all = "All"; //Text used for link to display all images in one page +$label_all = "All"; //Text used for link to display all images in one page $label_noimages = "No images"; //Empty folder text $label_loading = "Loading..."; //Thumbnail loading text diff --git a/templates/board.html b/templates/board.html index 724df94..d03a0cf 100644 --- a/templates/board.html +++ b/templates/board.html @@ -2,6 +2,8 @@ + + <% title %> @@ -9,9 +11,7 @@ - + #folder_comment a { + color: #FFCC11; + text-decoration: none; + + } + /* ---------- gallery styles start here ----------------------- */ + .gallery { + list-style: none; + margin: 0; + padding: 0; + } + .gallery li { + padding: 1px; + margin: 0; + float: left; + position: relative; + width: 320px; + height: 240px; + overflow:hidden; + } + .gallery li:hover img { + background: #ddd; + filter: alpha(opacity=70); + filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70); + -moz-opacity: 0.70; + opacity:0.7; + } + .gallery img { + background: #000; + color: #666; + } + .gallery em { + background: #000; + color: #FFCC11; + font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif; + font-style: normal; + font-weight: bold; + font-size: 14px; + padding: 8px 2px; + display: block; + position: absolute; + /* top: 90px; */ + bottom:20px; + left: 0px; + width: 320px; + /* height: 40px; */ + filter: alpha(opacity=60); + filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60); + -moz-opacity: 0.60; + opacity:0.6; + } + .gallery em-pdf { + color: #666; + font-style: normal; + font-size: 10px; + padding: 3px 7px; + display: block; + position: absolute; + top: 100px; + left: 0px; + } + .gallery a { + text-decoration: none; + } + .gallery a:hover em { + background: grey; + color: black; + } + -
-

<% title %>

-<% messages %> -

- -
-
-

<% folder_comment %>

- -
-
- -
- - +
+

<% title %>

+ <% messages %> +

by: <% author %>

+ +
+
+

<% folder_comment %>

+ +
+
+ +
+ + diff --git a/templates/rounded.html b/templates/rounded.html new file mode 100644 index 0000000..1354555 --- /dev/null +++ b/templates/rounded.html @@ -0,0 +1,179 @@ + + + + + + + <% title %> + + + + + + + + + + +
+
+

<% title %>

+ <% messages %> + +
+
+ +
+
<% folder_comment %>
+ +
+ +
+ + + + + diff --git a/templates/squares.html b/templates/squares.html new file mode 100644 index 0000000..f8d63e2 --- /dev/null +++ b/templates/squares.html @@ -0,0 +1,175 @@ + + + + + + + <% title %> + + + + + + + + + + +
+
+

<% title %>

+ <% messages %> + +
+
+ +
+
<% folder_comment %>
+ +
+ +
+ + + + +