Support for skins

develCuy - November 30, 2008 - 18:52
Project:OG Files
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:develCuy
Status:needs review
Description

Navigation between folders is confusing for some users which are more familiar with icons, having support for skins which provides icons would do navigation more intuitive.

#1

develCuy - November 30, 2008 - 18:55
Status:active» needs review

This patch adds support for skins, images seems to not be created in the patch so I'm adding them(dir.png, dir_up.png) into a tar package, should be extracted into og_files/skins/default/

Blessings!

AttachmentSize
og_files_skins.patch 4.46 KB
icons.tar_.gz 550 bytes

#2

spython - December 3, 2008 - 15:05

Great work, makes it much sexier.
Your css file wasn't working that good with my theme (aberdeen), so I changed it a bit:

.og_files-default-dir-up {
background: url(dir_up.png) no-repeat scroll 0 50%;
display: block;
width: 16px;
height: 16px;
overflow: hidden;
list-style-type: none !important;
margin: 0 0 0 0.7em !important;
}
.og_files-default-dir-up a {
padding-left: 16px;
display: block;
}

.og_files-default-dir {
background:transparent url(dir.png) no-repeat scroll 0 50%;
padding-left:22px !important;
}

#3

develCuy - December 4, 2008 - 15:55

Thank you @spython!

This new version is based on your changes. Was tested in 3 themes: garland, pushbutton and bluemarine.

Blessings!

AttachmentSize
og_files_skins-v2.patch 4.57 KB

#4

develCuy - December 5, 2008 - 01:43
Assigned to:Anonymous» develCuy

Skin now supports #343033: Tree view and fixes some theme issues.

Blessings!

#5

develCuy - December 5, 2008 - 01:44

the files...

AttachmentSize
og_files-directory_tree-screenshot.png 12.34 KB
og_files_skins-v3.patch 5.44 KB
icons.tar_.gz 739 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.