From 0fc7a5edbc518abd92c4fc8c34b31ca05836132f Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 1 Jan 2011 19:45:25 +0000 Subject: Refs #2317 dividing css element views into skin views and base views. The expectation is that the base views would not be overridden in a theme so the admin css can depend on them. git-svn-id: http://code.elgg.org/elgg/trunk@7807 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/chrome.php | 154 ++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 views/default/css/elements/chrome.php (limited to 'views/default/css/elements/chrome.php') diff --git a/views/default/css/elements/chrome.php b/views/default/css/elements/chrome.php new file mode 100644 index 000000000..eb131c7bd --- /dev/null +++ b/views/default/css/elements/chrome.php @@ -0,0 +1,154 @@ + + +a { + color: #4690D6; +} +a:hover, +a.selected { + color: #555555; +} +a:hover, +a.selected { + text-decoration: underline; +} +h1, h2, h3, h4, h5, h6 { + color:#0054A7; +} +p { + margin-bottom:15px; +} +p:last-child { + margin-bottom:0; +} + +dt { + font-weight: bold; +} +dd { + margin: 0 0 1em 1em; +} +pre, code { + 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; + background:#EBF5FF; + border:none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; +} + + +/* *************************************** + GENERIC SELECTORS +*************************************** */ +h2 { +/* border-bottom:1px solid #CCCCCC; */ + padding-bottom:5px; +} + + +.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; +} + + +.radius8 { + -webkit-border-radius: 8px; + -moz-border-radius: 8px; +} +.margin-none { + margin:0; +} +.margin-top { + margin-top:10px; +} + +.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; +} +.elgg-discover .elgg-discoverable { + display: none; +} +.elgg-discover:hover .elgg-discoverable { + display: block; +} +.elgg_hrt { + border-top: 1px solid #CCCCCC; +} +.elgg_hrb { + border-bottom: 1px solid #CCCCCC; +} + + + +.elgg-border-plain { + border: 1px solid #eeeeee; +} + + + +.elgg-rss { + float: right; +} + + +.elgg-text ul, ol { + margin: 0 1.5em 1.5em 0; + padding-left: 1.5em; +} +.elgg-text ul { + list-style-type: disc; +} +.elgg-text ol { + list-style-type: decimal; +} \ No newline at end of file -- cgit v1.2.3