The css-lite Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The css-lite Reference Manual

This is the css-lite Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Tue Feb 20 08:32:08 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

css-lite is a library for generating CSS from an s-exp based
syntax. When compiled with Parenscript
(http://common-lisp.net/project/parenscript/) loaded in the Lisp
image, it also provides the same CSS generation facilities in
Parenscript-generated JavaScript code.

The author, Vladimir Sedach, can be contacted at vsedach@gmail.com and
welcomes questions, bug reports and patches.

For license and copyright information (BSD), see the file COPYING
included with the distribution.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 css-lite

Version

0.1

Source

css-lite.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 css-lite.asd

Location

css-lite.asd

Systems

css-lite (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 css-lite/package.lisp

Parent

css-lite (system)

Location

package.lisp

Packages

css-lite


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 css-lite/css-lite.lisp

Dependency

package.lisp (file)

Parent

css-lite (system)

Location

css-lite.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 css-lite/utility.lisp

Dependency

css-lite.lisp (file)

Parent

css-lite (system)

Location

utility.lisp

Internal Definitions

flatten (function)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 css-lite/lite-utility.lisp

Dependency

utility.lisp (file)

Parent

css-lite (system)

Location

lite-utility.lisp

Exported Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.6 css-lite/paren-css-lite.lisp

Dependency

lite-utility.lisp (file)

Parent

css-lite (system)

Location

paren-css-lite.lisp


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 css-lite

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: *css-stream*
Package

css-lite

Source

css-lite.lisp (file)

Special Variable: *indent-css*

Indicates if the properties of a selector should be indented or not.

There are three possible values:

* nil - The default value, and indicates that no indentation should be applied

* the symbol ’tab - Indicates that the properties should be indented using the #Tab character

* an integer greater than 0 - Indicates how many #Space characters should be used to indent the properties

Package

css-lite

Source

css-lite.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: css &body RULES
Package

css-lite

Source

css-lite.lisp (file)

Macro: css-string &body RULES
Package

css-lite

Source

css-lite.lisp (file)

Macro: make-css-func FUNC-NAME &body FORMS
Package

css-lite

Source

css-lite.lisp (file)

Macro: make-css-var VAR-NAME VAR-VAL
Package

css-lite

Source

css-lite.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: % VAL
Package

css-lite

Source

lite-utility.lisp (file)

Function: comment COMMENT-STRING
Package

css-lite

Source

css-lite.lisp (file)

Function: css-id-name SYMBOL
Package

css-lite

Source

css-lite.lisp (file)

Function: inline-css &rest PROPERTIES
Package

css-lite

Source

css-lite.lisp (file)

Function: pt VAL
Package

css-lite

Source

lite-utility.lisp (file)

Function: px VAL
Package

css-lite

Source

lite-utility.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: +newline+
Package

css-lite

Source

css-lite.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: css-comment-p VAL

Return T if ‘val’ is the start of a CSS comment, otherwise return NIL.

Package

css-lite

Source

css-lite.lisp (file)

Function: css-func-p VAL
Package

css-lite

Source

css-lite.lisp (file)

Function: css-selectors-to-string SELECTORS
Package

css-lite

Source

css-lite.lisp (file)

Function: css-var-p VAL
Package

css-lite

Source

css-lite.lisp (file)

Function: expand-tree TREE
Package

css-lite

Source

css-lite.lisp (file)

Function: flatten TREE
Package

css-lite

Source

utility.lisp (file)

Function: process-css-properties PROPERTIES EVAL-VALS &key NEWLINES
Package

css-lite

Source

css-lite.lisp (file)

Function: process-css-rule RULE &key PARENT-SELECTORS
Package

css-lite

Source

css-lite.lisp (file)

Function: selector-to-string SELECTOR
Package

css-lite

Source

css-lite.lisp (file)

Function: to-string X
Package

css-lite

Source

css-lite.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
css-lite.asd: The css-lite<dot>asd file
css-lite/css-lite.lisp: The css-lite/css-lite<dot>lisp file
css-lite/lite-utility.lisp: The css-lite/lite-utility<dot>lisp file
css-lite/package.lisp: The css-lite/package<dot>lisp file
css-lite/paren-css-lite.lisp: The css-lite/paren-css-lite<dot>lisp file
css-lite/utility.lisp: The css-lite/utility<dot>lisp file

F
File, Lisp, css-lite.asd: The css-lite<dot>asd file
File, Lisp, css-lite/css-lite.lisp: The css-lite/css-lite<dot>lisp file
File, Lisp, css-lite/lite-utility.lisp: The css-lite/lite-utility<dot>lisp file
File, Lisp, css-lite/package.lisp: The css-lite/package<dot>lisp file
File, Lisp, css-lite/paren-css-lite.lisp: The css-lite/paren-css-lite<dot>lisp file
File, Lisp, css-lite/utility.lisp: The css-lite/utility<dot>lisp file

L
Lisp File, css-lite.asd: The css-lite<dot>asd file
Lisp File, css-lite/css-lite.lisp: The css-lite/css-lite<dot>lisp file
Lisp File, css-lite/lite-utility.lisp: The css-lite/lite-utility<dot>lisp file
Lisp File, css-lite/package.lisp: The css-lite/package<dot>lisp file
Lisp File, css-lite/paren-css-lite.lisp: The css-lite/paren-css-lite<dot>lisp file
Lisp File, css-lite/utility.lisp: The css-lite/utility<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %  
C   E   F   I   M   P   S   T  
Index Entry  Section

%
%: Exported functions

C
comment: Exported functions
css: Exported macros
css-comment-p: Internal functions
css-func-p: Internal functions
css-id-name: Exported functions
css-selectors-to-string: Internal functions
css-string: Exported macros
css-var-p: Internal functions

E
expand-tree: Internal functions

F
flatten: Internal functions
Function, %: Exported functions
Function, comment: Exported functions
Function, css-comment-p: Internal functions
Function, css-func-p: Internal functions
Function, css-id-name: Exported functions
Function, css-selectors-to-string: Internal functions
Function, css-var-p: Internal functions
Function, expand-tree: Internal functions
Function, flatten: Internal functions
Function, inline-css: Exported functions
Function, process-css-properties: Internal functions
Function, process-css-rule: Internal functions
Function, pt: Exported functions
Function, px: Exported functions
Function, selector-to-string: Internal functions
Function, to-string: Internal functions

I
inline-css: Exported functions

M
Macro, css: Exported macros
Macro, css-string: Exported macros
Macro, make-css-func: Exported macros
Macro, make-css-var: Exported macros
make-css-func: Exported macros
make-css-var: Exported macros

P
process-css-properties: Internal functions
process-css-rule: Internal functions
pt: Exported functions
px: Exported functions

S
selector-to-string: Internal functions

T
to-string: Internal functions

Jump to:   %  
C   E   F   I   M   P   S   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
S  
Index Entry  Section

*
*css-stream*: Exported special variables
*indent-css*: Exported special variables

+
+newline+: Internal special variables

S
Special Variable, *css-stream*: Exported special variables
Special Variable, *indent-css*: Exported special variables
Special Variable, +newline+: Internal special variables

Jump to:   *   +  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
css-lite: The css-lite system
css-lite: The css-lite package

P
Package, css-lite: The css-lite package

S
System, css-lite: The css-lite system

Jump to:   C   P   S