aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/screen.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/screen.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/screen.php')
-rw-r--r--views/default/css/screen.php787
1 files changed, 4 insertions, 783 deletions
diff --git a/views/default/css/screen.php b/views/default/css/screen.php
index 1e9c41391..8941977bd 100644
--- a/views/default/css/screen.php
+++ b/views/default/css/screen.php
@@ -15,9 +15,12 @@ if ($old_css_view != "{$CONFIG->viewpath}") {
echo elgg_view('css/elements/reset', $vars);
-echo elgg_view('css/elements/grid', $vars);
+echo elgg_view('css/elements/core', $vars);
echo elgg_view('css/elements/typography', $vars);
+echo elgg_view('css/elements/page_layout', $vars);
echo elgg_view('css/elements/spacing', $vars);
+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);
@@ -62,625 +65,6 @@ echo elgg_view('css/elements/forms', $vars);
#e4ecf5 - elgg v light blue
*/
-
-
-/* ***************************************
- BASICS
-*************************************** */
-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;
-}
-
-
-/* ***************************************
- PAGE LAYOUT - MAIN BLOCKS POSITIONING
-*************************************** */
-.elgg-page-topbar {
- background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left;
- color: #eeeeee;
- border-bottom: 1px solid #000000;
- min-width: 998px;
- position: relative;
- height: 24px;
- z-index: 9000;
-}
-.elgg-page-header {
- x-overflow: hidden;
- position: relative;
- background-color: #4690D6;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png);
- background-repeat: repeat-x;
- background-position: bottom left;
-}
-
-.elgg-page-header .elgg-inner {
- width: 990px;
- margin: 0 auto;
- height: 90px;
- position: relative;
-}
-
-.elgg-page-footer {
- position: relative;
- z-index: 999;
-}
-
-.elgg-layout-one_column {
- padding: 10px 0;
-}
-.elgg-layout-sidebar {
- background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif);
- background-repeat:repeat-y;
- background-position: right top;
-}
-.elgg-layout-two-sidebar {
- background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif);
- background-repeat:repeat-y;
- background-position: right top;
-}
-.elgg-main {
- position: relative;
- min-height: 360px;
- padding: 10px;
-}
-.elgg-aside {
- padding: 20px 10px;
- position: relative;
- min-height: 360px;
-}
-.elgg-sidebar {
- float: right;
- width: 210px;
- margin-left: 10px;
-}
-.elgg-sidebar-alt {
- float: left;
- width: 160px;
- margin-right: 10px;
-}
-
-/* move elgg-body to one of the css components */
-/**
- * elgg-body fills the space available to it.
- * It uses hidden text to expand itself. The combination of auto width, overflow
- * hidden, and the hidden text creates this effect.
- *
- * This allows us to float fixed width divs to either side of an .elgg-body div
- * without having to specify the body div's width.
- *
- * @todo check what happens with long <pre> tags or large images
- */
-.elgg-body {
- width: auto;
- word-wrap: break-word;
- overflow: hidden;
-}
-.elgg-body:after {
- display: block;
- visibility: hidden;
- height: 0 !important;
- line-height: 0;
- font-size: xx-large;
- content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
-}
-
-
-
-.elgg-module {
- margin-top: 20px;
-}
-
-.elgg_inner {
-}
-
-.elgg-header {
- border-bottom: 1px solid #CCCCCC;
- margin-bottom: 5px;
- padding-bottom: 5px;
-}
-
-.elgg-footer {
-}
-
-.elgg-media {
- padding: 3px 0;
-}
-
-.elgg-media .elgg-icon {
- float: left;
- margin-right: 5px;
-}
-
-
-.elgg-main-header {
- border-bottom: 1px solid #CCCCCC;
- padding-bottom: 3px;
-}
-
-.elgg-main-heading {
- float: left;
- max-width: 530px;
- margin-right: 10px;
-}
-
-.elgg-list {
- border-top: 1px dotted #CCCCCC;
- margin: 5px 0;
-}
-
-.elgg-list li {
- border-bottom: 1px dotted #CCCCCC;
-}
-
-
-.elgg-center {
- margin: 0 auto;
-}
-
-.elgg-width-classic {
- width: 990px;
-}
-
-
-#elgg-search {
- bottom:5px;
- height:23px;
- position:absolute;
- right:0;
-}
-#elgg-main-nav {
- z-index: 7000;
- position: absolute;
- height:23px;
- bottom:0;
- left:0;
- width:auto;
-}
-
-
-/* ***************************************
- ELGG TOPBAR
-*************************************** */
-.elgg-page-topbar a {
- margin-right:30px;
- padding-top:2px;
- display:inline;
- float:left;
- text-align: left;
- color:#eeeeee;
-}
-.elgg-page-topbar a:hover {
- color:#71cbff;
- text-decoration: none;
-}
-.elgg-page-topbar a img.user-mini-avatar {
- border:1px solid #eeeeee;
- margin:1px 0 0 10px;
- display: block;
-}
-.elgg-page-topbar a img.site-logo {
- display: block;
- margin-left:5px;
- margin-top: -1px;
-}
-.elgg-page-topbar .log-out {
- float:right;
-}
-.elgg-page-topbar .log-out a {
- display: inline;
- text-align: right;
- margin-right:10px;
- color:#999999;
-}
-.elgg-page-topbar .log-out a:hover {
- color:#71cbff;
-}
-.elgg-page-topbar a.myfriends {
- background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left -297px;
- margin-right:30px;
- text-indent: -900em;
- width:36px;
-}
-.elgg-page-topbar a.myfriends:hover {
- background-position: left -337px;
-}
-.elgg-page-topbar a.settings {
- background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -41px;
- padding-left:20px !important;
- float:right;
- margin-right:30px;
-}
-.elgg-page-topbar a.admin {
- background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -41px;
- padding-left:20px !important;
- float:right;
- margin-right:30px;
-}
-.elgg-page-topbar a.help {
- background:transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat -300px -133px;
- padding-left:18px !important;
- float:right;
- margin-right:30px;
-}
-
-
-/* ***************************************
- HEADER CONTENTS
-*************************************** */
-.elgg-page-header-inner {
- position: relative;
- height: 90px;
-}
-
-.elgg-page-header h1 a span.network-title {
- font-size: 2em;
- line-height:1.4em;
- color: white;
- font-style: italic;
- font-family: Georgia, times, serif;
- display: block;
- text-decoration: none;
- text-shadow:1px 2px 4px #333333;
-}
-.elgg-page-header #elgg-search input.search-input {
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- background-color:transparent;
- border:1px solid #71b9f7;
- color:white;
- font-size:12px;
- font-weight:bold;
- margin:0;
- padding:2px 4px 2px 26px;
- width:198px;
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png);
- background-position: 2px -220px;
- background-repeat: no-repeat;
-}
-.elgg-page-header #elgg-search input.search-input:focus {
- background-color:white;
- color:#0054A7;
- border:1px solid white;
- background-position: 2px -257px;
-}
-.elgg-page-header #elgg-search input.search-input:active {
- background-color:white;
- color:#0054A7;
- border:1px solid white;
- background-position: 2px -257px;
-}
-.elgg-page-header #elgg-search input.search-submit-button {
- display:none;
-}
-
-
-/* ***************************************
- ELGG SITE NAVIGATION in header
-*************************************** */
-.navigation,
-.navigation ul {
- margin:0;
- padding:0;
- display:inline;
- float:left;
- list-style-type: none;
- z-index: 7000;
- position: relative;
-}
-.navigation li {
- list-style: none;
- font-weight: bold;
- position: relative;
- display:block;
- height:23px;
- float:left;
- margin:0;
- padding:0;
-}
-.navigation a {
- color:white;
- margin:0 1px 0 0px;
- text-decoration:none;
- font-weight: bold;
- font-size: 1em;
- padding:3px 13px 0px 13px;
- height:20px;
- cursor: pointer;
- display:block;
-}
-.navigation li a:hover {
- background:white;
- color:#555555;
- -moz-border-radius-topleft:4px;
- -moz-border-radius-topright:4px;
- -webkit-border-top-left-radius:4px;
- -webkit-border-top-right-radius:4px;
- -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
-}
-.navigation li.selected a {
- background:white;
- color:#555555;
- -moz-border-radius-topleft:4px;
- -moz-border-radius-topright:4px;
- -webkit-border-top-left-radius:4px;
- -webkit-border-top-right-radius:4px;
- margin-top:1px;
- -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
-}
-li.navigation-more {
- overflow:hidden;
-}
-li.navigation-more:hover {
- overflow:visible;
-}
-li.navigation-more:hover a {
- background:white;
- color:#555555;
- -moz-border-radius-topleft:4px;
- -moz-border-radius-topright:4px;
- -webkit-border-top-left-radius:4px;
- -webkit-border-top-right-radius:4px;
- -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25);
-}
-li.navigation-more a.subnav span {
- background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png);
- background-repeat: no-repeat;
- background-position: -150px -56px;
- padding-left: 12px;
-}
-li.navigation-more:hover a.subnav span,
-li.navigation-more a.subnav:hover span {
- background-position: -150px -76px;
-}
-li.navigation-more ul {
- z-index: 7000;
- min-width: 150px;
- margin-left:-1px;
- background-color:white;
- border-left:1px solid #999999;
- border-right:1px solid #999999;
- border-bottom:1px solid #999999;
- -moz-border-radius-bottomleft:4px;
- -moz-border-radius-bottomright:4px;
- -webkit-border-bottom-left-radius:4px;
- -webkit-border-bottom-right-radius:4px;
- -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
- -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
-}
-li.navigation-more ul li {
- float:none;
-}
-.navigation li.navigation-more ul li a {
- background:white;
- color:#555555;
- margin:0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
-}
-.navigation li.navigation-more ul li:last-child a,
-.navigation li.navigation-more ul li:last-child a:hover {
- -moz-border-radius-bottomleft:4px;
- -moz-border-radius-bottomright:4px;
- -webkit-border-bottom-left-radius:4px;
- -webkit-border-bottom-right-radius:4px;
-}
-.navigation li.navigation-more ul li a:hover {
- background:#4690D6;
- color:white;
- margin:0;
- -webkit-border-radius: 0;
- -moz-border-radius: 0;
- -webkit-box-shadow: none;
- -moz-box-shadow: none;
-}
-.navigation li.navigation-more ul li.selected a {
- background:#4690D6;
- color:white;
-}
-
-/* ***************************************
- FOOTER CONTENTS
-*************************************** */
-
-.elgg-page-footer .elgg-inner {
- width: 990px;
- margin: 0 auto;
- padding: 5px 0;
- border-top: 1px solid #DEDEDE;
-}
-
-.elgg-page-footer .elgg-inner,
-.elgg-page-footer .elgg-inner a,
-.elgg-page-footer .elgg-inner p {
- color:#999999;
-}
-.elgg-page-footer .elgg-inner a:hover {
- color:#666666;
-}
-.elgg-page-footer .elgg-inner p {
- margin:0;
-}
-
-
/* ***************************************
SYSTEM MESSAGES
*************************************** */
@@ -713,169 +97,6 @@ li.navigation-more ul li {
margin:0;
}
-
-/* ***************************************
- BREADCRUMBS
-*************************************** */
-.elgg-breadcrumbs {
- font-size: 80%;
- font-weight: bold;
- line-height: 1.2em;
- color: #bababa;
-}
-.elgg-breadcrumbs li {
- display: inline;
-}
-.elgg-breadcrumbs li:after{
- content: "\003E";
- display: inline-block;
- padding: 0 4px 0 4px;
- font-weight: normal;
-}
-.elgg-breadcrumbs li:last-child:after {
- content: "";
-}
-.elgg-breadcrumbs a {
- color: #999999;
-}
-.elgg-breadcrumbs a:hover {
- color: #0054a7;
- text-decoration: underline;
-}
-.elgg-main .elgg-breadcrumbs {
- position: relative;
- top:-6px;
- left:0;
-}
-
-/* ***************************************
- SUBMENU
-*************************************** */
-.submenu {
- margin:0;
- padding:0;
- list-style: none;
-}
-.submenu ul {
- margin-bottom:0;
- padding-left:0;
- list-style: none;
-}
-.submenu li.selected a,
-.submenu li.selected li.selected a,
-.submenu li.selected li.selected li.selected a {
- background: #4690D6;
- color:white;
-}
-.submenu li a {
- display:block;
- -webkit-border-radius: 8px;
- -moz-border-radius: 8px;
- background-color:white;
- margin:0 0 3px 0;
- padding:2px 4px 2px 8px;
-}
-.submenu li a:hover {
- background:#0054A7;
- color:white;
- text-decoration:none;
-}
-.submenu .child li a {
- margin-left:15px;
- background-color:white;
- color:#4690D6;
-}
-.submenu .child li a:hover {
- background:#0054A7;
- color:white;
- text-decoration:none;
-}
-
-
-
-/* ***************************************
- PAGINATION
-*************************************** */
-.elgg-pagination {
- margin: 10px 0;
- display: block;
- text-align: center;
-}
-.elgg-pagination li {
- display: inline;
- margin: 0 6px 0 0;
- text-align: center;
-}
-.elgg-pagination a, .elgg-pagination span {
- padding: 2px 6px;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- color: #4690d6;
- border: 1px solid #4690d6;
- font-size: 12px;
-}
-.elgg-pagination a:hover {
- background: #4690d6;
- color: white;
- text-decoration: none;
-}
-.elgg-pagination .inactive {
- color: #CCCCCC;
- border-color: #CCCCCC;
-}
-.elgg-pagination .active {
- color: #555555;
- border-color: #555555;
-}
-
-/* ***************************************
- ELGG TABBED PAGE NAVIGATION
-*************************************** */
-.elgg-horizontal-tabbed-nav {
- margin-bottom:5px;
- padding: 0;
- border-bottom: 2px solid #cccccc;
- display:table;
- width:100%;
-}
-.elgg-horizontal-tabbed-nav ul {
- list-style: none;
- padding: 0;
- margin: 0;
-}
-.elgg-horizontal-tabbed-nav li {
- float: left;
- border: 2px solid #cccccc;
- border-bottom-width: 0;
- background: #eeeeee;
- margin: 0 0 0 10px;
- -moz-border-radius-topleft:5px;
- -moz-border-radius-topright:5px;
- -webkit-border-top-left-radius:5px;
- -webkit-border-top-right-radius:5px;
-}
-.elgg-horizontal-tabbed-nav a {
- text-decoration: none;
- display: block;
- padding:3px 10px 0 10px;
- text-align: center;
- height:21px;
- color:#999999;
-}
-.elgg-horizontal-tabbed-nav a:hover {
- background: #dedede;
- color:#4690D6;
-}
-.elgg-horizontal-tabbed-nav .selected {
- border-color: #cccccc;
- background: white;
-}
-.elgg-horizontal-tabbed-nav .selected a {
- position: relative;
- top: 2px;
- background: white;
-}
-
/* ***************************************
WIDGETS
*************************************** */