aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/core.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 02:19:55 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 02:19:55 +0000
commitf8d522bba18bbe8174ffe2fe04733be72555eee3 (patch)
tree0b0f70f0decc5c77b5036962e600fa68851545a0 /views/default/css/elements/core.php
parentd366d495d1e77b88fccc47a1bdf2220438bb0ddc (diff)
downloadelgg-f8d522bba18bbe8174ffe2fe04733be72555eee3.tar.gz
elgg-f8d522bba18bbe8174ffe2fe04733be72555eee3.tar.bz2
Refs #2317 pulled more css out into sub views
git-svn-id: http://code.elgg.org/elgg/trunk@7574 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css/elements/core.php')
-rw-r--r--views/default/css/elements/core.php188
1 files changed, 188 insertions, 0 deletions
diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php
new file mode 100644
index 000000000..330d35cd4
--- /dev/null
+++ b/views/default/css/elements/core.php
@@ -0,0 +1,188 @@
+<?php
+/**
+ * Core CSS
+ *
+ * @package Elgg.Core
+ * @subpackage UI
+ */
+?>
+/* ***************************************
+ 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 {
+ margin-bottom:15px;
+}
+p:last-child {
+ margin-bottom:0;
+}
+small {
+ font-size: 90%;
+}
+h1, h2, h3, h4, h5, h6 {
+ font-weight: bold;
+ line-height: auto;
+ color:#0054A7;
+}
+h1 { font-size: 1.8em; }
+h2 { font-size: 1.5em; line-height: 1.1em; }
+h3 { font-size: 1.2em; }
+h4 { font-size: 1.0em; }
+h5 { font-size: 0.9em; }
+h6 { font-size: 0.8em; }
+dt {
+ font-weight: bold;
+}
+dd {
+ margin: 0 0 1em 1em;
+}
+pre, code {
+ font-family:Monaco,"Courier New",Courier,monospace;
+ font-size:12px;
+ background:#EBF5FF;
+ color:#000000;
+ overflow:auto;
+
+ overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+code {
+ padding:2px 3px;
+}
+pre {
+ padding:3px 15px;
+ margin:0px 0 15px 0;
+ line-height:1.3em;
+}
+blockquote {
+ padding:3px 15px;
+ margin:0px 0 15px 0;
+ line-height:1.3em;
+ background:#EBF5FF;
+ border:none;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+}
+
+
+/* ***************************************
+ GENERIC SELECTORS
+*************************************** */
+h2 {
+/* border-bottom:1px solid #CCCCCC; */
+ padding-bottom:5px;
+}
+
+.clearfloat { clear:both; }
+
+/* Clearfix! */
+.clearfix:after,
+.listing:after,
+.listing .info:after {
+ content:".";
+ display:block;
+ height:0;
+ clear:both;
+ visibility:hidden;
+}
+
+.listing .icon { float: left; margin-right: 10px; }
+.listing .icon img { width: auto }
+.listing .info { display: table-cell; }
+
+.link {
+ cursor:pointer;
+}
+.small {
+ font-size: 90%;
+}
+.divider {
+ border-top:1px solid #cccccc;
+}
+.hidden {
+ display:none;
+}
+.radius8 {
+ -webkit-border-radius: 8px;
+ -moz-border-radius: 8px;
+}
+.margin-none {
+ margin:0;
+}
+.margin-top {
+ margin-top:10px;
+}
+.rss-link {
+ margin-top:-10px;
+ margin-bottom:10px;
+}
+.rss-link a {
+ display:block;
+ width:14px;
+ height:14px;
+ float:right;
+ background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png);
+ background-repeat: no-repeat;
+ background-position: -250px top;
+ text-indent: -1000em;
+}
+.elgg-tags {
+ background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png);
+ background-repeat: no-repeat;
+ background-position: left -196px;
+ padding:1px 0 0 14px;
+ font-size: 85%;
+}
+.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;
+}
+
+.left {
+ float: left;
+}
+
+.elgg_hrt {
+ border-top: 1px solid #CCCCCC;
+}
+
+.elgg_hrb {
+ border-bottom: 1px solid #CCCCCC;
+}