]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2317 starting create a css skin sub view
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 10 Dec 2010 11:56:46 +0000 (11:56 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Fri, 10 Dec 2010 11:56:46 +0000 (11:56 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7593 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/css/elements/core.php
views/default/css/elements/navigation.php
views/default/css/elements/reset.php
views/default/css/elements/skin.php [new file with mode: 0644]
views/default/css/screen.php

index 330d35cd4428f5570b8d90605b4481b388c6affa..65c5f2a2e6ffc42abf21386140cb67decae868d9 100644 (file)
        Core
 *************************************** */
 body {
-       text-align:left;
-       margin:0 auto;
-       padding:0;
-       background-color: white;
        font-size: 80%;
        line-height: 1.4em;
        font-family: "Lucida Grande",Arial,Tahoma,Verdana,sans-serif;
 }
-a {
-       color: #4690D6;
-       text-decoration: none;
-       -moz-outline-style: none;
-       outline: none;
-}
 a:hover,
 a.selected {
-       color: #555555;
        text-decoration: underline;
 }
 p {
@@ -159,17 +148,7 @@ h2 {
 .elgg-tagcloud {
        text-align:justify;
 }
-.ajax-loader {
-       background-color: white;
-       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif);
-       background-repeat: no-repeat;
-       background-position: center center;
-       min-height:33px;
-       min-width:33px;
-}
-.ajax-loader.left {
-       background-position: left center;
-}
+
 
 .right {
        float: right;
index a2f147df82ab63aef4e329ca023e5467a595e303..5ea94798a2b35eaede5e71c7faf0108db467e210 100644 (file)
 }
 .elgg-site-menu a {
        color: white;
-       text-decoration: none;
        font-weight: bold;
        padding: 3px 13px 0px 13px;
        height: 20px;
        display: block;
 }
+.elgg-site-menu a:hover {
+       text-decoration: none;
+}
 .elgg-site-menu li.selected a,
 .elgg-site-menu li a:hover,
 .elgg-site-menu .elgg-more:hover a {
index 13f750de852fd772ce5f411ff588c3e34bb8762e..f8d7b16bc2247bd52a46f5e4145cef0aed3dea41 100644 (file)
@@ -66,3 +66,6 @@ q:before, q:after {
 blockquote, q {
        quotes: "" "";
 }
+a {
+       text-decoration: none;
+}
diff --git a/views/default/css/elements/skin.php b/views/default/css/elements/skin.php
new file mode 100644 (file)
index 0000000..a8f8db7
--- /dev/null
@@ -0,0 +1,63 @@
+<?php
+/**
+ * Skin of the theme
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+?>
+
+/* ***************************************
+       THEME CHROME
+*************************************** */
+body {
+       background-color: white;
+}
+a {
+       color: #4690D6;
+}
+a:hover,
+a.selected {
+       color: #555555;
+}
+/* ***************************************
+       ICONS
+*************************************** */
+.elgg-icon {
+       background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left;
+       width: 16px;
+       height: 16px;
+       display: block;
+       float: left;
+}
+.elgg-icon-settings {
+       background-position: -302px -44px;
+}
+.elgg-icon-friends {
+       background-position: 0 -300px;
+       width: 36px;
+}
+.elgg-icon-friends:hover {
+       background-position: 0 -340px;
+}
+.elgg-icon-help {
+       background-position: -302px -136px;
+}
+.elgg-icon-arrow-s {
+       background-position: -146px -56px;
+}
+.elgg-icon-arrow-s:hover {
+       background-position: -146px -76px;
+}
+
+.ajax-loader {
+       background-color: white;
+       background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif);
+       background-repeat: no-repeat;
+       background-position: center center;
+       min-height:33px;
+       min-width:33px;
+}
+.ajax-loader.left {
+       background-position: left center;
+}
\ No newline at end of file
index 40aaebb35c1e255318759c5c13dc37f34d30a929..cfbae0e1e5290e16f52b13fb80792f1058432e2c 100644 (file)
@@ -23,6 +23,7 @@ echo elgg_view('css/elements/navigation', $vars);
 echo elgg_view('css/elements/grid', $vars);
 echo elgg_view('css/elements/heading', $vars);
 echo elgg_view('css/elements/forms', $vars);
+echo elgg_view('css/elements/skin', $vars);
 
 
 ?>
@@ -66,32 +67,6 @@ echo elgg_view('css/elements/forms', $vars);
 */
 
 
-.elgg-icon {
-       background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left;
-       width: 16px;
-       height: 16px;
-       display: block;
-       float: left;
-}
-.elgg-icon-settings {
-       background-position: -302px -44px;
-}
-.elgg-icon-friends {
-       background-position: 0 -300px;
-       width: 36px;
-}
-.elgg-icon-friends:hover {
-       background-position: 0 -340px;
-}
-.elgg-icon-help {
-       background-position: -302px -136px;
-}
-.elgg-icon-arrow-s {
-       background-position: -146px -56px;
-}
-.elgg-icon-arrow-s:hover {
-       background-position: -146px -76px;
-}
 
 
 
@@ -411,69 +386,6 @@ a.widget-edit-button:hover, a.widget-delete-button:hover {
        margin:0 0 5px 10px;
 }
 
-
-/* ***************************************
-       DEFAULT COMMENTS
-**************************************** */
-.generic-comment {
-       border-bottom:1px dotted #cccccc;
-       clear:both;
-       display:block;
-       margin:0;
-       padding:5px 0 7px;
-       position:relative;
-}
-.generic-comment:first-child {
-       border-top:1px dotted #cccccc;
-}
-.generic-comment-icon {
-       float:left;
-       margin-left:3px;
-       margin-top:3px;
-}
-.generic-comment-icon img {
-       width: auto;
-}
-.generic-comment-details {
-       float:left;
-       margin-left:7px;
-       min-height:28px;
-       width:693px;
-}
-.generic-comment-details p {
-       margin:0;
-}
-.generic-comment-owner {
-       line-height:1.2em;
-}
-.generic-comment-owner a {
-       color:#0054A7;
-}
-.generic-comment-body {
-       margin:3px 0 5px 0;
-}
-.generic-comment-body p {
-       margin-bottom: 10px;
-}
-/* latest comments in sidebar */
-.elgg-aside .generic-comment.latest {
-       padding:2px 0;
-}
-.elgg-aside .generic-comment.latest .generic-comment-icon  {
-       margin-left:1px;
-       margin-top:5px;
-}
-.elgg-aside .generic-comment.latest .generic-comment-details {
-       width:177px;
-       line-height:1.1em;
-       overflow:hidden;
-}
-.elgg-aside .generic-comment.latest .entity-title {
-       font-size: inherit;
-       line-height: inherit;
-}
-
-
 /* ***************************************
        DEFAULT ENTITY LISTINGS
 **************************************** */