Giter Site home page Giter Site logo

motohoss / ajax-chat-styles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gworldz/ajax-chat-styles

0.0 1.0 0.0 693 KB

This repository is a simple collection of styles created and/or modified by myself and/or the AJAX Chat community.

License: Other

CSS 100.00%

ajax-chat-styles's Introduction

AJAX Chat Styles

This repository is a simple collection of styles created and/or modified by the AJAX Chat community.

The layout of AJAX Chat (https://github.com/Frug/AJAX-Chat) developed by Frug (https://github.com/Frug) is fully customizable by using CSS (Cascading Style Sheets).

Included Styles

Minimal example Lost In Space
Minimal Preview example Preview Lost In Space Preview

Installing Styles

To install one of these styles in AJAX Chat, do the following:

  • Download the style folder from GitHub
  • Upload the folders contents to your css/ directory
  • Add the name of the style without file extension to the available styles in lib/config.php:
// Available styles:
$config['styleAvailable'] = array('mystyle','beige','black','grey');
// Default style:
$config['styleDefault'] = 'mystyle';

Designing Styles

To add your own style, do the following:

  • Add a new CSS file (e.g. mystyle.css) by copying one of the existing styles from the AJAX Chat CSS directory or other AJAX Chat Styles.
  • Edit your file (css/mystyle.css) and adjust the CSS settings to your liking.
  • Add the name of your style without file extension to the available styles in lib/config.php:
// Available styles:
$config['styleAvailable'] = array('mystyle','beige','black','grey');
// Default style:
$config['styleDefault'] = 'mystyle';

The example style is a blank canvas with some commonly used CSS and is a great start for custom styles.

Contributing Styles

If you are interested in contributing your style to this AJAX Chat Styles repository:

  1. Fork the repository.
  2. Add your style - make sure you maintain the example style structure.
  3. Commit changes.
  4. Push your commit.
  5. Create a Pull Request.

NOTE: Contributors are responsible for verifying the images license and displaying a link as proof of verification in the file that calls them. It is recommended that contributors create their own images or use creative commons or public domain images.

Example Style Structure

FILES REQ. DESCRIPTION
example.css Yes This is where we import required AJAX Chat styles and add our custom CSS styles.
example.jpg No This 800x640 screenshot uses the name of our style and serves as a large preview.
license.txt No The license for the style, if omitted the Modified MIT license included with AJAX Chat Styles will be used.
preview.jpg No This 200x160 preview is used for the AJAX Chat Styles README.md
example_images No This folder uses the name of our style followed by "_images" and is for images/files required by the theme

Changelog

0.0.1 Initialising

ajax-chat-styles's People

Contributors

gworldz avatar motohoss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.