From f8d522bba18bbe8174ffe2fe04733be72555eee3 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 9 Dec 2010 02:19:55 +0000 Subject: Refs #2317 pulled more css out into sub views git-svn-id: http://code.elgg.org/elgg/trunk@7574 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/core.php | 188 ++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) create mode 100644 views/default/css/elements/core.php (limited to 'views/default/css/elements/core.php') 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 @@ + +/* *************************************** + 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(_graphics/elgg_sprites.png); + background-repeat: no-repeat; + background-position: -250px top; + text-indent: -1000em; +} +.elgg-tags { + background-image: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(_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; +} -- cgit v1.2.3