Skip to content

lachezarov/Sunrays-Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunrays Theme

A modern Apache2 index theme by lachezarov.

Sunrays Light

Key Features

  • Custom rendered HTML5 DOM tree using XSL transformation.
  • Responsive - suitable for all device sizes.
  • Custom vector icons - looks crisp on any pixel density.
  • autoDrillDown automatically opens single sub-directories until multiple choice is available.
  • quickSearch - just start typing. Combined with autoDrillDown this feature saves a lot of clicks and time.
  • Light and Dark color schemes available (default, dark, material-dark)
  • Basic keyboard navigation

Compatibility

Tested with Apache 2.2. Should run smoothly on all modern browsers.

Installation

Place the /sunrays-theme directory and the accompanying .htaccess file in your server root directory.

Known Issues

In some instances, if browser-sync script is included at the beginning of the body tag, the theme's XML code is broken so it just shows a blank screen.

Add these lines to your BrowserSync configuration and everything will start to work again.

{
	// Rest of your BrowserSync configuration....

	snippetOptions: {
		rule: {
			match: /<\/body>/i,
			fn: function(snippet, match) {
				return snippet + match;
			}
		}
	}
}