diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-13 03:08:18 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-13 03:08:18 +0000 |
commit | dd0c8504aac734ffb1791084ece0331d2f045bc1 (patch) | |
tree | 998b5667fefdff6784756e53ab43ef8b3c171003 /documentation | |
parent | 222de7d107e5f90610c1d7f387cacec56ddbed44 (diff) | |
download | elgg-dd0c8504aac734ffb1791084ece0331d2f045bc1.tar.gz elgg-dd0c8504aac734ffb1791084ece0331d2f045bc1.tar.bz2 |
Added images to css preview and removed the page centering
git-svn-id: http://code.elgg.org/elgg/trunk@7878 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/css/preview/general.php | 2 | ||||
-rw-r--r-- | documentation/css/preview/grid.php | 2 | ||||
-rw-r--r-- | documentation/css/preview/images.php | 29 | ||||
-rw-r--r-- | documentation/css/preview/index.php | 6 | ||||
-rw-r--r-- | documentation/css/preview/nav.php | 2 | ||||
-rw-r--r-- | documentation/css/preview/objects.php | 16 | ||||
-rw-r--r-- | documentation/css/preview/widgets.php | 2 |
7 files changed, 42 insertions, 17 deletions
diff --git a/documentation/css/preview/general.php b/documentation/css/preview/general.php index 681580f6f..7bec26c41 100644 --- a/documentation/css/preview/general.php +++ b/documentation/css/preview/general.php @@ -9,7 +9,7 @@ require dirname(__FILE__) . '/head.php'; ?> <body> - <div class="elgg-page" style="width: 800px; margin: 20px auto;"> + <div class="elgg-page mal"> <h1 class="mbl"><?php echo $title; ?></h1> <div class="mbl"><a href="index.php">return to index</a></div> <h2>Headings</h2> diff --git a/documentation/css/preview/grid.php b/documentation/css/preview/grid.php index 96c94ed99..39985f394 100644 --- a/documentation/css/preview/grid.php +++ b/documentation/css/preview/grid.php @@ -9,7 +9,7 @@ require dirname(__FILE__) . '/head.php'; ?> <body> - <div class="elgg-page" style="width: 800px; margin: 20px auto;"> + <div class="elgg-page mal"> <h1 class="mbl"><?php echo $title; ?></h1> <div class="mbl"><a href="index.php">return to index</a></div> <style> diff --git a/documentation/css/preview/images.php b/documentation/css/preview/images.php new file mode 100644 index 000000000..f798c926d --- /dev/null +++ b/documentation/css/preview/images.php @@ -0,0 +1,29 @@ +<?php +/** + * Images CSS + */ + +$title = 'Images'; + +require dirname(__FILE__) . '/head.php'; + +?> +<style>li {margin: 10px; float: left;} ul {background-color: #e0e0e0;}</style> +<body> + <div class="elgg-page mal"> + <h1 class="mbl"><?php echo $title; ?></h1> + <div class="mbl"><a href="index.php">return to index</a></div> + <ul class="clearfix"> + <li><span class="elgg-icon elgg-icon-settings"></span>Settings</li> + <li><span class="elgg-icon elgg-icon-friends"></span>Friends</li> + <li><span class="elgg-icon elgg-icon-help"></span>Help</li> + <li><span class="elgg-icon elgg-icon-delete"></span>Delete</li> + <li><span class="elgg-icon elgg-icon-likes"></span>Likes</li> + <li><span class="elgg-icon elgg-icon-liked"></span>Liked</li> + <li><span class="elgg-icon elgg-icon-following"></span>Following</li> + <li><span class="elgg-icon elgg-icon-rss"></span>RSS</li> + <li><span class="elgg-icon elgg-icon-arrow-s"></span>Arrow S</li> + </ul> + </div> +</body> +</html>
\ No newline at end of file diff --git a/documentation/css/preview/index.php b/documentation/css/preview/index.php index 7b9e33c4f..6471a2c32 100644 --- a/documentation/css/preview/index.php +++ b/documentation/css/preview/index.php @@ -3,14 +3,11 @@ * Main index page */ -$title = 'CSS Preview Pages'; - include dirname(__FILE__) . '/head.php'; ?> <body> - <div class="elgg-page" style="width: 800px; margin: 20px auto;"> - <h1><?php echo $title; ?></h1> + <div class="elgg-page mal"> <ul class="mtl"> <li><a href="general.php">General CSS</a></li> <li><a href="nav.php">Navigation CSS</a></li> @@ -18,6 +15,7 @@ include dirname(__FILE__) . '/head.php'; <li><a href="objects.php">Lists, modules, image blocks CSS</a></li> <li><a href="grid.php">Grid CSS</a></li> <li><a href="widgets.php">Widgets CSS</a></li> + <li><a href="images.php">Images CSS</a></li> </ul> </div> </body> diff --git a/documentation/css/preview/nav.php b/documentation/css/preview/nav.php index 3ce839472..3d218a66b 100644 --- a/documentation/css/preview/nav.php +++ b/documentation/css/preview/nav.php @@ -13,7 +13,7 @@ elgg_push_breadcrumb('Third'); ?> <body> - <div class="elgg-page" style="width: 800px; margin: 20px auto;"> + <div class="elgg-page mal"> <h1 class="mbl"><?php echo $title; ?></h1> <div class="mbl"><a href="index.php">return to index</a></div> <h2>Breadcrumbs</h2> diff --git a/documentation/css/preview/objects.php b/documentation/css/preview/objects.php index 72a41cf76..fd0db277f 100644 --- a/documentation/css/preview/objects.php +++ b/documentation/css/preview/objects.php @@ -9,12 +9,12 @@ require dirname(__FILE__) . '/head.php'; ?> <body> - <div class="elgg-page" style="width: 960px; margin: 20px auto;"> + <div class="elgg-page mal"> <h1 class="mbl"><?php echo $title; ?></h1> <div class="mbl"><a href="index.php">return to index</a></div> <h2>Modules</h2> <div class="mbl clearfix"> - <div class="elgg-col elgg-col-1of3"> + <div class="elgg-col elgg-col-1of2"> <div class="pam"> <?php echo elgg_view('layout/objects/module', array( @@ -32,24 +32,22 @@ require dirname(__FILE__) . '/head.php'; ?> </div> </div> - <div class="elgg-col elgg-col-1of3"> + <div class="elgg-col elgg-col-1of2"> <div class="pam"> <?php echo elgg_view('layout/objects/module', array( - 'title' => 'elgg-info-module', + 'title' => 'elgg-group-module', 'body' => $ipsum, - 'class' => 'elgg-info-module', + 'class' => 'elgg-group-module', )); ?> </div> - </div> - <div class="elgg-col elgg-col-1of3"> <div class="pam"> <?php echo elgg_view('layout/objects/module', array( - 'title' => 'elgg-group-module', + 'title' => 'elgg-info-module', 'body' => $ipsum, - 'class' => 'elgg-group-module', + 'class' => 'elgg-info-module', )); ?> </div> diff --git a/documentation/css/preview/widgets.php b/documentation/css/preview/widgets.php index 3ffc4edd8..70e3d13b1 100644 --- a/documentation/css/preview/widgets.php +++ b/documentation/css/preview/widgets.php @@ -23,7 +23,7 @@ function css_permissions_override() { ?> <body> - <div class="elgg-page" style="width: 800px; margin: 20px auto;"> + <div class="elgg-page mal"> <h1 class="mbl"><?php echo $title; ?></h1> <div class="mbl"><a href="index.php">return to index</a></div> <?php |