diff options
Diffstat (limited to 'views/default/css')
-rw-r--r-- | views/default/css/admin.php | 33 | ||||
-rw-r--r-- | views/default/css/elements/buttons.php | 202 | ||||
-rw-r--r-- | views/default/css/elements/components.php | 102 | ||||
-rw-r--r-- | views/default/css/elements/forms.php | 115 | ||||
-rw-r--r-- | views/default/css/elements/grid.php | 2 | ||||
-rw-r--r-- | views/default/css/elements/icons.php | 85 | ||||
-rw-r--r-- | views/default/css/elements/layout.php | 76 | ||||
-rw-r--r-- | views/default/css/elements/misc.php | 8 | ||||
-rw-r--r-- | views/default/css/elements/modules.php | 35 | ||||
-rw-r--r-- | views/default/css/elements/navigation.php | 196 | ||||
-rw-r--r-- | views/default/css/elements/typography.php | 64 | ||||
-rw-r--r-- | views/default/css/elgg.php | 6 | ||||
-rw-r--r-- | views/default/css/ie.php | 8 | ||||
-rw-r--r-- | views/default/css/ie7.php | 12 | ||||
-rw-r--r-- | views/default/css/lightbox.php | 371 | ||||
-rw-r--r-- | views/default/css/saravea_theme/landing.php | 38 |
16 files changed, 690 insertions, 663 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php index b996e5636..c435621b2 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -446,7 +446,8 @@ input { .elgg-input-text, .elgg-input-tags, .elgg-input-url, -.elgg-input-plaintext { +.elgg-input-plaintext, +.elgg-input-longtext { width: 98%; } textarea { @@ -624,6 +625,10 @@ a.elgg-button { text-decoration: none; color: #4690D6; } +.ui-autocomplete a.ui-state-hover { + background-color: #eee; + display: block; +} /* *************************************** USER PICKER @@ -999,7 +1004,7 @@ a.elgg-button { ENTITY MENU *************************************** */ <?php // height depends on line height/font size ?> -.elgg-menu-entity, elgg-menu-annotation { +.elgg-menu-entity, .elgg-menu-annotation { float: right; margin-left: 15px; font-size: 90%; @@ -1238,6 +1243,10 @@ a.elgg-widget-collapsed:before { height: 16px; display: inline-block; margin: 0 2px; + vertical-align: text-bottom; +} +.elgg-module .elgg-head .elgg-icon { + vertical-align: baseline; } .elgg-icon-delete:hover, .elgg-icon-delete-alt:hover { @@ -1535,6 +1544,26 @@ table.mceLayout { } /* *************************************** + SITE SECRET +*************************************** */ +.elgg-form-admin-site-regenerate-secret table { + width: 60%; + margin: 1em auto; +} +td.elgg-strength-strong, +td.elgg-strength-strong h4 { + background: #DFF0D8; color: #468847; +} +td.elgg-strength-moderate, +td.elgg-strength-moderate h4 { + background: #FCF8E3; color: #C09853; +} +td.elgg-strength-weak, +td.elgg-strength-weak h4 { + background: #F2DEDE; color: #B94A48; +} + +/* *************************************** HELPERS *************************************** */ .hidden { diff --git a/views/default/css/elements/buttons.php b/views/default/css/elements/buttons.php index 2d53ed192..e9c99cf96 100644 --- a/views/default/css/elements/buttons.php +++ b/views/default/css/elements/buttons.php @@ -12,197 +12,114 @@ /* Base */ .elgg-button { - font-size: 13px; + font-size: 14px; font-weight: bold; - width: auto; - padding: 4px 15px; - cursor: pointer; - border: 1px solid #bbb; - outline: none; - color: #666; - text-decoration: none; - - box-shadow: 0px 1px 1px #888; - - -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; - - background: #eeeeee; /* Old browsers */ - background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */ - background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */ -} - -.elgg-button:hover { - background: #dbdbdb; /* Old browsers */ - background: -moz-linear-gradient(top, #dbdbdb 0%, #b7b7b7 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(100%,#b7b7b7)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #dbdbdb 0%,#b7b7b7 100%); /* IE10+ */ - background: linear-gradient(to bottom, #dbdbdb 0%,#b7b7b7 100%); /* W3C */ -} + width: auto; + padding: 2px 4px; + cursor: pointer; + outline: none; - + -webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); + -moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); + box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40); +} a.elgg-button { - text-decoration: none; + padding: 3px 6px; } /* Submit: This button should convey, "you're about to take some definitive action" */ .elgg-button-submit { - color: #ddd; - text-shadow: 0 -1px 0px #000; - box-shadow: 0px 1px 2px #333; - border: none; - - background: #444444; /* Old browsers */ - background: -moz-linear-gradient(top, #444444 0%, #000000 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#000000)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #444444 0%,#000000 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #444444 0%,#000000 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #444444 0%,#000000 100%); /* IE10+ */ - background: linear-gradient(to bottom, #444444 0%,#000000 100%); /* W3C */ - + color: white; + text-shadow: 1px 1px 0px black; + text-decoration: none; + border: 1px solid #4690d6; + background: #4690d6 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px; } .elgg-button-submit:hover { - color: #eee; - text-shadow: 0 1px 1px #222; - - background: #6b6b6b; /* Old browsers */ - background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */ - background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */ - + border-color: #0054a7; + text-decoration: none; + color: white; + background: #0054a7 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px; } .elgg-button-submit.elgg-state-disabled { - background: #45484d; - color: #888; + background: #999; + border-color: #999; cursor: default; } - /* Cancel: This button should convey a negative but easily reversible action (e.g., turning off a plugin) */ .elgg-button-cancel { - color: #888; - - - + color: #333; + background: #ddd url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px; + border: 1px solid #999; } .elgg-button-cancel:hover { - color: #BA1C1C; - + color: #444; + background-color: #999; + background-position: left 10px; + text-decoration: none; } /* Action: This button should convey a normal, inconsequential action, such as clicking a link */ .elgg-button-action { - color: #ddd; - text-shadow: 0 -1px 0px #000; - border: none; + background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 0; + border:1px solid #999; + color: #333; + padding: 2px 15px; + text-align: center; + font-weight: bold; + text-decoration: none; + text-shadow: 0 1px 0 white; + cursor: pointer; - + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; - background: #444444; /* Old browsers */ - background: -moz-linear-gradient(top, #444444 0%, #000000 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#444444), color-stop(100%,#000000)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #444444 0%,#000000 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #444444 0%,#000000 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #444444 0%,#000000 100%); /* IE10+ */ - background: linear-gradient(to bottom, #444444 0%,#000000 100%); /* W3C */ + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; } - .elgg-button-action:hover, .elgg-button-action:focus { - color: #eee; - - background: #6b6b6b; /* Old browsers */ - background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */ - background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */ - - -} - - -.elgg-button-action.elgg-state-disabled { - background: #45484d; - color: #888; - cursor: default; + background: #ccc url(<?php echo elgg_get_site_url(); ?>_graphics/button_background.gif) repeat-x 0 -15px; + color: #111; + text-decoration: none; + border: 1px solid #999; } /* Delete: This button should convey "be careful before you click me" */ .elgg-button-delete { - color: #d36900; - text-shadow: 0 -1px 0px #111; - border: none; - - background: #45484d; /* Old browsers */ - background: -moz-linear-gradient(top, #45484d 0%, #000000 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #45484d 0%,#000000 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #45484d 0%,#000000 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #45484d 0%,#000000 100%); /* IE10+ */ - background: linear-gradient(to bottom, #45484d 0%,#000000 100%); /* W3C */ -} - - - - - -.elgg-button-delete:hover { - color: #d36900; - - bbackground: #6b6b6b; /* Old browsers */ - background: -moz-linear-gradient(top, #6b6b6b 1%, #0f0f0f 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#6b6b6b), color-stop(100%,#0f0f0f)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #6b6b6b 1%,#0f0f0f 100%); /* IE10+ */ - background: linear-gradient(to bottom, #6b6b6b 1%,#0f0f0f 100%); /* W3C */ + color: #bbb; text-decoration: none; + border: 1px solid #333; + background: #555 url(<?php echo elgg_get_site_url(); ?>_graphics/button_graduation.png) repeat-x left 10px; + text-shadow: 1px 1px 0px black; } - -.elgg-button-delete .elgg-state-disabled { - color: #d36900; - background-color: #333; - text-shadow: 0 -1px 0px #111; - border: 1px solid #999; -} - -.elgg-button-delete .elgg-state-disabled:hover { - color: #d36900; +.elgg-button-delete:hover { + color: #999; background-color: #333; - text-shadow: 0 -1px 0px #111; - border: 1px solid #999; + background-position: left 10px; + text-decoration: none; } - - - .elgg-button-dropdown { padding:3px 6px; text-decoration:none; display:block; - font-weight:normal; + font-weight:bold; position:relative; margin-left:0; - color: #333; - border:1px solid #333; + color: white; + border:1px solid #71B9F7; -webkit-border-radius:4px; -moz-border-radius:4px; @@ -223,8 +140,7 @@ a.elgg-button { } .elgg-button-dropdown:hover { - color: #333; - background-color: #d86c2c; + background-color:#71B9F7; text-decoration:none; } diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php index c3a7cdb9e..7fe535d57 100644 --- a/views/default/css/elements/components.php +++ b/views/default/css/elements/components.php @@ -24,15 +24,6 @@ margin-left: 5px; } -.elgg-subtext { - margin-top: 3px; -} - -.elgg-subtext .elgg-tags { - font-size: 90%; - padding-top: 4px; -} - /* *************************************** List *************************************** */ @@ -48,20 +39,10 @@ .elgg-item .elgg-subtext { margin-bottom: 5px; } - -.elgg-item .elgg-content, .elgg-content .elgg-output, .elgg-item .elgg-output { - margin: 5px; - background-color: #f7f7f7; - border: 1px solid #ddd; - padding: 10px; - - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; +.elgg-item .elgg-content { + margin: 10px 5px; } - - /* *************************************** Gallery *************************************** */ @@ -126,16 +107,6 @@ margin-bottom: 20px; } -.elgg-owner-block h3 { - -} -.elgg-owner-block .elgg-subtext { - padding: 2px 0 9px 0; -} - - - - /* *************************************** Messages *************************************** */ @@ -151,19 +122,18 @@ -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45); - -webkit-border-radius: 3px; - -moz-border-radius: 3x; - border-radius: 3px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; } .elgg-state-success { - background-color: #219C8B; - color: white; + background-color: black; } .elgg-state-error { - background-color: #DE0218; + background-color: red; } .elgg-state-notice { - background-color: #ff4c12; + background-color: #4690D6; } /* *************************************** @@ -184,30 +154,18 @@ .elgg-river-timestamp { color: #666; font-size: 85%; + font-style: italic; line-height: 1.2em; } -.elgg-river-timestamp:before { - content: '('; -} -.elgg-river-timestamp:after { - content: ')'; -} .elgg-river-attachments, .elgg-river-message, .elgg-river-content { - color: #444; - background-color: #f7f7f7; - border: 1px solid #ccc; - border-radius: 3px; - font-size: 100%; + border-left: 1px solid #CCC; + font-size: 85%; line-height: 1.5em; margin: 8px 0 5px 0; - padding: 5px; -} - -.elgg-river-summary{ - font-size: 94%; + padding-left: 5px; } .elgg-river-attachments .elgg-avatar, .elgg-river-attachments .elgg-icon { @@ -220,14 +178,13 @@ .elgg-river-comments-tab { display: block; - background-color: #f7f7f7; - color: #444; + background-color: #EEE; + color: #4690D6; margin-top: 5px; width: auto; float: right; font-size: 85%; padding: 1px 7px; - border-right: solid 1px #BBB; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; @@ -237,24 +194,8 @@ <?php //@todo components.php ?> .elgg-river-comments { margin: 0; - background-color: #f7f7f7; border-top: none; - border-right: solid 1px #BBB; - border-bottom: solid 1px #BBB; - - -webkit-border-radius: 3px; - -webkit-border-top-right-radius: 0; - -moz-border-radius: 3px; - -moz-border-radius-topright: 0; - border-radius: 3px; - border-top-right-radius: 0; -} - -.elgg-river-comments .elgg-output { - border: none; - } - .elgg-river-comments li:first-child { -webkit-border-radius: 5px 0 0; -moz-border-radius: 5px 0 0; @@ -266,6 +207,7 @@ border-radius-bottomleft: 0 0 5px 5px; } .elgg-river-comments li { + background-color: #EEE; border-bottom: none; padding: 4px; margin-bottom: 2px; @@ -314,23 +256,13 @@ margin-top: 15px; } -.elgg-comments h3{ - font-weight: bold; - margin-bottom: 5px; -} - -.elgg-comments li.elgg-item { - padding: 10px 0; -} - /* *************************************** Image-related *************************************** */ .elgg-photo { - border: 1px solid #CCC; - padding: 1px; + border: 1px solid #ccc; + padding: 3px; background-color: white; - box-shadow: 0px 1px 1px #666; } /* *************************************** diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php index 50d5b0bd4..068cc8fd6 100644 --- a/views/default/css/elements/forms.php +++ b/views/default/css/elements/forms.php @@ -10,34 +10,8 @@ /* *************************************** Form Elements *************************************** */ -fieldset.elgg-fieldset { - border: 1px solid #ccc; - padding: 10px; - margin-top: 10px; - background-color: #dedede; - - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -fieldset.elgg-fieldset legend { - font-weight: bold; - font-size: 110%; - padding: 3px 8px; - background-color: #EEE; - border: 1px solid #BBB; - - box-shadow: 1px 1px 2px #bbb; - - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - fieldset > div { margin-bottom: 15px; - } fieldset > div:last-child { margin-bottom: 0; @@ -48,52 +22,31 @@ fieldset > div:last-child { } label { + font-weight: bold; color: #333; + font-size: 110%; } input, textarea { + border: 1px solid #ccc; color: #666; - font-family: "Open Sans"; - font-size: 120%; + font: 120% Arial, Helvetica, sans-serif; padding: 5px; width: 100%; -} - -input[type=text], input[type=password], textarea { - background-color: #f7f7f7; - border: 1px solid #ccc; - -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; - -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; - - box-shadow: inset 0 2px 3px #999; } -input[type=text]:focus, input[type=password]:focus, textarea:focus { - /*border: solid 1px #ff4c12;*/ - /*background: #D5E2F7;*/ - background: white; - border: 1px solid #888; +input[type=text]:focus, textarea:focus { + border: solid 1px #4690d6; + background: #e4ecf5; color:#333; } -input[type=file], input[type=button], input[type=reset], input[type=submit] { - border: none; -} - -input[type=file] { - background: none; -} - -input[type=image] { - width: auto; -} - textarea { height: 200px; } @@ -116,6 +69,7 @@ input[type="radio"] { margin:0 3px 0 0; padding:0; border:none; + border-radius:0; width:auto; } .elgg-input-checkboxes.elgg-horizontal li, @@ -232,7 +186,7 @@ input[type="radio"] { color:white !important; } .friends-picker-navigation li a.current { - background: #ff4c12; + background: #4690D6; color:white !important; } .friends-picker-navigation-l, .friends-picker-navigation-r { @@ -285,8 +239,6 @@ input[type="radio"] { *************************************** */ <?php //autocomplete will expand to fullscreen without max-width ?> .ui-autocomplete { - font-size: 90%; - font-weight: bold; position: absolute; cursor: default; } @@ -294,26 +246,31 @@ input[type="radio"] { max-width: 600px; } .ui-autocomplete { - background-color: #f7f7f7; + background-color: white; border: 1px solid #ccc; overflow: hidden; + + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; } .ui-autocomplete .ui-menu-item { padding: 0px 4px; - font-weight: normal; + + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; } .ui-autocomplete .ui-menu-item:hover { background-color: #eee; - cursor: pointer; } -.ui-autocomplete .ui-menu-item:hover a { - color: #FF4C12; - background: none; - border: none; - border-radius: 0; +.ui-autocomplete a:hover { + text-decoration: none; + color: #4690D6; } -.ui-combobox { - height: 23px !important; +.ui-autocomplete a.ui-state-hover { + background-color: #eee; + display: block; } /* *************************************** @@ -335,8 +292,8 @@ input[type="radio"] { margin-top: 3px; width: 208px; - background-color: #eee; - border: 1px solid #333; + background-color: white; + border: 1px solid #0054A7; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; @@ -354,9 +311,10 @@ input[type="radio"] { .ui-datepicker-header { position: relative; - background: #333; - color: #eee; + background: #4690D6; + color: white; padding: 2px 0; + border-bottom: 1px solid #0054A7; } .ui-datepicker-header a { color: white; @@ -382,7 +340,7 @@ input[type="radio"] { margin: 4px; } .ui-datepicker th { - color: #ff4c12; + color: #0054A7; border: none; font-weight: bold; padding: 5px 6px; @@ -399,18 +357,19 @@ input[type="radio"] { text-decoration: none; } .ui-datepicker-calendar .ui-state-default { - border: 1px solid transparent; - color: #ff4c12; - background: none; + border: 1px solid #ccc; + color: #4690D6;; + background: #fafafa; } .ui-datepicker-calendar .ui-state-hover { border: 1px solid #aaa; + color: #0054A7; background: #eee; } .ui-datepicker-calendar .ui-state-active, .ui-datepicker-calendar .ui-state-active.ui-state-hover { font-weight: bold; - border: 1px solid transparent; - color: #eee; - background: #333; + border: 1px solid #0054A7; + color: #0054A7; + background: #E4ECF5; } diff --git a/views/default/css/elements/grid.php b/views/default/css/elements/grid.php index 900300f2c..fdbaf4aca 100644 --- a/views/default/css/elements/grid.php +++ b/views/default/css/elements/grid.php @@ -23,7 +23,7 @@ width: 50%; } .elgg-col-1of3 { - width: 33.3%; + width: 33.33%; } .elgg-col-2of3 { width: 66.66%; diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index d84c2c387..9b12e0a57 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -12,8 +12,8 @@ ICONS *************************************** */ -.elgg-icon, .elgg-menu-item-logout a { - background: transparent url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/elgg_sprites.png) no-repeat left; +.elgg-icon { + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/elgg_sprites.png) no-repeat left; width: 16px; height: 16px; margin: 0 2px; @@ -34,7 +34,7 @@ background-position: 0 -72px; } .elgg-icon-calendar { - background-position: 0 -91px; + background-position: 0 -90px; } .elgg-icon-cell-phone { background-position: 0 -108px; @@ -70,7 +70,7 @@ background-position: 0 -288px; } .elgg-icon-download { - background-position: 0 -304px; + background-position: 0 -306px; } .elgg-icon-eye { background-position: 0 -324px; @@ -148,10 +148,10 @@ background-position: 0 -756px; } .elgg-icon-refresh:hover { - background-position: 0 -775px; + background-position: 0 -774px; } .elgg-icon-refresh { - background-position: 0 -791px; + background-position: 0 -792px; } .elgg-icon-round-arrow-left { background-position: 0 -810px; @@ -175,7 +175,7 @@ background-position: 0 -918px; } .elgg-icon-search { - background-position: 0 -934px; + background-position: 0 -936px; } .elgg-icon-settings-alt:hover { background-position: 0 -954px; @@ -229,7 +229,7 @@ background-position: 0 -1242px; } .elgg-icon-tag { - background-position: 0 -1242px; + background-position: 0 -1260px; } .elgg-icon-thumbs-down-alt:hover { background-position: 0 -1278px; @@ -270,32 +270,11 @@ background-position: 0 -1476px; } .elgg-icon-users { - background-position: 0 -1493px; + background-position: 0 -1494px; } .elgg-icon-video { background-position: 0 -1512px; } -.elgg-icon-logout, .elgg-menu-item-logout a { - background-position: 0 -1525px; -} -.elgg-icon-logout:hover, .elgg-menu-item-logout:hover a { - background-position: 0 -1542px; -} -.elgg-icon-groups { - background-position: 0 -1560px; -} -.elgg-icon-groups:hover { - background-position: 0 -1577px; -} - -.elgg-icon-group, .elgg-menu-item-group a { - background-position: 0 -1560px; -} - -.elgg-icon-group:hover, .elgg-menu-item-group:hover a { - background-position: 0 -1578px; -} - .elgg-avatar > .elgg-icon-hover-menu { @@ -308,7 +287,7 @@ } .elgg-ajax-loader { - background: transparent url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/ajax-loader.gif) no-repeat center center; + background: white url(<?php echo elgg_get_site_url(); ?>_graphics/ajax_loader_bw.gif) no-repeat center center; min-height: 31px; min-width: 31px; } @@ -319,9 +298,6 @@ .elgg-avatar { position: relative; display: inline-block; - - border: 2px solid #F1F1F1; - box-shadow: 0px 1px 3px #666; } .elgg-avatar > a > img { display: block; @@ -349,9 +325,9 @@ height: 40px; /* remove the border-radius if you don't want rounded avatars in supported browsers */ - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; -moz-background-clip: border; background-clip: border; @@ -365,43 +341,8 @@ .elgg-avatar-medium > a > img { width: 100px; height: 100px; - - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; } .elgg-avatar-large > a > img { width: 200px; height: 200px; - - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - - -.elgg-owner-block .elgg-image { - height: 25px; - background-color: #eee; - box-shadow: 0px 1px 2px #333; - padding: 1px; - - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; -} - -.subgroups-icons a img { - width: 25px; - height: 25px; - background-color: #eee; - box-shadow: 0px 1px 2px #333; - padding: 1px; - margin: 0px 3px 3px 0px; - - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; } - - diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index 9a61faa8f..9d92752b4 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -14,40 +14,34 @@ /* *************************************** PAGE LAYOUT *************************************** */ - -body { - background-color: #eeeeee; -} - /***** DEFAULT LAYOUT ******/ <?php // the width is on the page rather than topbar to handle small viewports ?> .elgg-page-default { min-width: 998px; } .elgg-page-default .elgg-page-header > .elgg-inner { - min-width: 980px; + width: 990px; margin: 0 auto; height: 90px; } .elgg-page-default .elgg-page-body > .elgg-inner { - min-width: 980px; + width: 990px; margin: 0 auto; } .elgg-page-default .elgg-page-footer > .elgg-inner { - min-width: 940px; + width: 990px; margin: 0 auto; - padding: 5px 20px; + padding: 5px 0; border-top: 1px solid #DEDEDE; } /***** TOPBAR ******/ .elgg-page-topbar { - background-color: #333333; + background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left; + border-bottom: 1px solid #000000; position: relative; height: 24px; z-index: 9000; - position: fixed; - width: 100%; } .elgg-page-topbar > .elgg-inner { padding: 0 10px; @@ -71,35 +65,31 @@ body { /***** PAGE HEADER ******/ .elgg-page-header { position: relative; - background: #333333; - padding-top: 24px; + background: #4690D6 url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png) repeat-x bottom left; } .elgg-page-header > .elgg-inner { position: relative; - background: transparent url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/saravea_verm_small.png) no-repeat 650px -15px; } -/***** LIQUID LAYOUT *******/ - -.elgg-page-body .elgg-inner { - position: relative; /* This fixes the IE7 overflow hidden bug */ - clear: both; - overflow: hidden; /* This chops off any overhanging divs */ - background-color: #dedede; -} +/***** PAGE BODY LAYOUT ******/ .elgg-layout { - background-color: #eee; - float: left; - position: relative; - min-height: 500px; + min-height: 360px; } .elgg-layout-one-sidebar { - right: 25%; + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif) repeat-y right top; +} +.elgg-layout-two-sidebar { + background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top; +} +.elgg-layout-error { + margin-top: 20px; } .elgg-sidebar { - left: 31%; - width: 21%; - padding: 20px; + position: relative; + padding: 20px 10px; + float: right; + width: 210px; + margin: 0 0 0 10px; } .elgg-sidebar-alt { position: relative; @@ -109,37 +99,23 @@ body { margin: 0 10px 0 0; } .elgg-main { - left: 2%; - width: 96%; -} -.elgg-layout-one-sidebar .elgg-main { - left: 27%; - width: 71%; + position: relative; + min-height: 360px; + padding: 10px; } .elgg-main > .elgg-head { padding-bottom: 3px; + border-bottom: 1px solid #CCCCCC; margin-bottom: 10px; } -.elgg-main, .elgg-sidebar { - float: left; - position: relative; - padding: 1em 0 1em 0; - overflow: hidden; -} - /***** PAGE FOOTER ******/ .elgg-page-footer { - clear:both; - float:left; - width:100%; + position: relative; } .elgg-page-footer { color: #999; } -.elgg-page-footer .elgg-inner { - margin: 20px; -} .elgg-page-footer a:hover { color: #666; } diff --git a/views/default/css/elements/misc.php b/views/default/css/elements/misc.php index d2f0a8bed..d9622d34a 100644 --- a/views/default/css/elements/misc.php +++ b/views/default/css/elements/misc.php @@ -37,11 +37,11 @@ color: #666; } #friends_collections_accordian li h2 { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; - background: none repeat scroll 0 0 #ff4c12; + background: none repeat scroll 0 0 #4690D6; color: white; cursor: pointer; font-size: 1.2em; diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index 28332bb7d..a37ae094b 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -16,24 +16,13 @@ /* Info */ .elgg-module-info > .elgg-head { - width: 97%; + background: #e4e4e4; padding: 5px; margin-bottom: 10px; - border: 1px solid #BBB; - text-shadow: 0px 1px white; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; - - background: #e5e5e5; /* Old browsers */ - background: -moz-linear-gradient(top, #e5e5e5 0%, #e1e1e1 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#e1e1e1)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #e5e5e5 0%,#e1e1e1 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #e5e5e5 0%,#e1e1e1 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #e5e5e5 0%,#e1e1e1 100%); /* IE10+ */ - background: linear-gradient(to bottom, #e5e5e5 0%,#e1e1e1 100%); /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#e1e1e1',GradientType=0 ); /* IE6-9 */ } .elgg-module-info > .elgg-head * { color: #333; @@ -59,7 +48,7 @@ margin-bottom: 5px; } .elgg-module-popup > .elgg-head * { - color: #d86c2c; + color: #0054A7; } /* Dropdown */ @@ -89,15 +78,15 @@ /* Featured */ .elgg-module-featured { - border: 1px solid #333; + border: 1px solid #4690D6; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; } .elgg-module-featured > .elgg-head { padding: 5px; - background-color: #333; + background-color: #4690D6; } .elgg-module-featured > .elgg-head * { color: white; @@ -148,14 +137,13 @@ } .elgg-module-widget { + background-color: #dedede; padding: 2px; margin: 0 5px 15px; position: relative; - border: 1px solid #ccc; - border-radius: 3px; } -.elgg-module-widget:hover > .elgg-head { - background-color: #f5f5f5; +.elgg-module-widget:hover { + background-color: #ccc; } .elgg-module-widget > .elgg-head { background-color: #eeeeee; @@ -185,6 +173,7 @@ a.elgg-widget-collapsed:before { content: "\25BA"; } .elgg-module-widget > .elgg-body { + background-color: white; width: 100%; overflow: hidden; border-top: 2px solid #dedede; @@ -200,6 +189,6 @@ a.elgg-widget-collapsed:before { padding: 10px; } .elgg-widget-placeholder { - border: 2px dashed #1F9C93; + border: 2px dashed #dedede; margin-bottom: 15px; } diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php index 1b08c5305..6b29e4c19 100644 --- a/views/default/css/elements/navigation.php +++ b/views/default/css/elements/navigation.php @@ -14,11 +14,9 @@ margin: 10px 0; display: block; text-align: center; - } - .elgg-pagination li { - display: inline; + display: inline-block; margin: 0 6px 0 0; text-align: center; } @@ -26,51 +24,25 @@ -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; - + + display: block; padding: 2px 6px; - color: #555; - border: 1px solid #ccc; + color: #4690d6; + border: 1px solid #4690d6; font-size: 12px; - text-shadow: 0px 1px 1px white, 0 -1px 1px #AAA; - - background: #f7f7f7; /* Old browsers */ - background: -moz-linear-gradient(top, #f7f7f7 0%, #d3d3d3 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#d3d3d3)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #f7f7f7 0%,#d3d3d3 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #f7f7f7 0%,#d3d3d3 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #f7f7f7 0%,#d3d3d3 100%); /* IE10+ */ - background: linear-gradient(to bottom, #f7f7f7 0%,#d3d3d3 100%); /* W3C */ } .elgg-pagination a:hover { - color: #333; + background: #4690d6; + color: white; text-decoration: none; - - - background: #ffffff; /* Old browsers */ - background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%); /* IE10+ */ - background: linear-gradient(to bottom, #ffffff 0%,#f2f2f2 100%); /* W3C */ } - .elgg-pagination .elgg-state-disabled span { - opacity: 0.3; -} -.elgg-pagination .elgg-state-selected span, .elgg-pagination a:active { - color: #eee; - - text-shadow: 0px 1px 1px #999, 0 -1px 1px #222; - - background: #4f4f4f; /* Old browsers */ - background: -moz-linear-gradient(top, #4f4f4f 0%, #7a7a7a 100%); /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4f4f4f), color-stop(100%,#7a7a7a)); /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #4f4f4f 0%,#7a7a7a 100%); /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #4f4f4f 0%,#7a7a7a 100%); /* Opera 11.10+ */ - background: -ms-linear-gradient(top, #4f4f4f 0%,#7a7a7a 100%); /* IE10+ */ - background: linear-gradient(to bottom, #4f4f4f 0%,#7a7a7a 100%); /* W3C */ + color: #CCCCCC; + border-color: #CCCCCC; } +.elgg-pagination .elgg-state-selected span { + color: #555555; + border-color: #555555; } /* *************************************** @@ -78,15 +50,16 @@ *************************************** */ .elgg-tabs { margin-bottom: 5px; - border-bottom: 1px solid #999; + border-bottom: 2px solid #cccccc; display: table; width: 100%; } .elgg-tabs li { float: left; - border: 1px solid transparent; + border: 2px solid #ccc; border-bottom: 0; - margin: 0 5px 0 0; + background: #eee; + margin: 0 0 0 10px; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; @@ -95,37 +68,34 @@ .elgg-tabs a { text-decoration: none; display: block; - padding: 1px 10px 0; + padding: 3px 10px 0 10px; text-align: center; height: 21px; - color: #333; - font-weight: bold; + color: #999; } .elgg-tabs a:hover { - color: #ff4c12; + background: #dedede; + color: #4690D6; } .elgg-tabs .elgg-state-selected { - border-color: #999; - background: #eeeeee; - position: relative; - top: 1px; + border-color: #ccc; + background: white; } .elgg-tabs .elgg-state-selected a { position: relative; - top: -1px; + top: 2px; + background: white; } /* *************************************** BREADCRUMBS *************************************** */ .elgg-breadcrumbs { - /*font-size: 80%;*/ + font-size: 80%; font-weight: bold; line-height: 1.2em; color: #bababa; - margin: 8px 0px; } - .elgg-breadcrumbs > li { display: inline-block; } @@ -139,7 +109,7 @@ color: #999; } .elgg-breadcrumbs > li > a:hover { - color: #FF4C12; + color: #0054a7; text-decoration: underline; } @@ -161,14 +131,13 @@ } .elgg-menu-topbar > li > a { - padding: 2px 7px 0; - margin-top: 1px; - font-size: 0px; - color: #333; + padding-top: 2px; + color: #eee; + margin: 1px 15px 0; } .elgg-menu-topbar > li > a:hover { - color: #333; + color: #4690D6; text-decoration: none; } @@ -193,13 +162,6 @@ height: 18px; } -.elgg-menu-item-logout a { - margin-top: 2px; - margin-left: 8px; - padding-top: 1px; -} - - /* *************************************** SITE MENU *************************************** */ @@ -230,7 +192,7 @@ } .elgg-menu-site-default > li > a { - color: #ed9239; + color: white; } .elgg-menu-site > li > ul { @@ -244,8 +206,16 @@ .elgg-menu-site-default > .elgg-state-selected > a, .elgg-menu-site-default > li:hover > a { - color: white; - text-shadow: 0px 0px 4px #FFF; + background: white; + color: #555; + + -webkit-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); + -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); + box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); + + -webkit-border-radius: 4px 4px 0 0; + -moz-border-radius: 4px 4px 0 0; + border-radius: 4px 4px 0 0; } .elgg-menu-site-more { @@ -266,8 +236,8 @@ } .elgg-menu-site-more > li > a { - background-color: #333; - color: #ed9239; + background-color: white; + color: #555; -webkit-border-radius: 0; -moz-border-radius: 0; @@ -279,7 +249,7 @@ } .elgg-menu-site-more > li > a:hover { - text-shadow: 0px 0px 4px #FFF; + background: #4690D6; color: white; } @@ -313,48 +283,44 @@ *************************************** */ .elgg-menu-filter { margin-bottom: 5px; - border-bottom: 1px solid #999; + border-bottom: 2px solid #ccc; display: table; width: 100%; } .elgg-menu-filter > li { float: left; - border: 1px solid transparent; + border: 2px solid #ccc; border-bottom: 0; - margin: 0 5px 0 0; + background: #eee; + margin: 0 0 0 10px; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .elgg-menu-filter > li:hover { - + background: #dedede; } .elgg-menu-filter > li > a { text-decoration: none; display: block; - padding: 1px 10px 0; + padding: 3px 10px 0; text-align: center; height: 21px; - color: #333; - font-weight: bold; - - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; + color: #999; } .elgg-menu-filter > li > a:hover { - color: #ff4c12; + background: #dedede; + color: #4690D6; } .elgg-menu-filter > .elgg-state-selected { - border-color: #999; - background: #eee; - position: relative; - top: 1px; + border-color: #ccc; + background: white; } .elgg-menu-filter > .elgg-state-selected > a { position: relative; - top: -1px; + top: 2px; + background: white; } /* *************************************** @@ -367,24 +333,22 @@ .elgg-menu-page a { display: block; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - font-weight: bold; - color: #333; - margin: 0 0 3px 5px; - padding: 2px 1px 2px 8px + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + + background-color: white; + margin: 0 0 3px; + padding: 2px 4px 2px 8px; } .elgg-menu-page a:hover { - background-color: #333; - color: #eee; + background-color: #0054A7; + color: white; text-decoration: none; } .elgg-menu-page li.elgg-state-selected > a { - background-color: #333; - color: #eee; - margin: 0 0 3px 5px; - padding: 2px 1px 2px 8px + background-color: #4690D6; + color: white; } .elgg-menu-page .elgg-child-menu { display: none; @@ -486,11 +450,11 @@ ENTITY AND ANNOTATION *************************************** */ <?php // height depends on line height/font size ?> -.elgg-menu-entity, elgg-menu-annotation { +.elgg-menu-entity, .elgg-menu-annotation { float: right; margin-left: 15px; font-size: 90%; - color: #666; + color: #aaa; line-height: 16px; height: 16px; } @@ -498,7 +462,7 @@ margin-left: 15px; } .elgg-menu-entity > li > a, .elgg-menu-annotation > li > a { - color: #666; + color: #aaa; } <?php // need to override .elgg-menu-hz ?> .elgg-menu-entity > li > a, .elgg-menu-annotation > li > a { @@ -513,23 +477,23 @@ *************************************** */ .elgg-menu-owner-block li a { display: block; - font-weight: bold; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - color: #333; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + border-radius: 8px; + + background-color: white; margin: 3px 0 5px 0; padding: 2px 4px 2px 8px; } .elgg-menu-owner-block li a:hover { - background-color: #333; - color: #eee; + background-color: #0054A7; + color: white; text-decoration: none; } .elgg-menu-owner-block li.elgg-state-selected > a { - background-color: #333; - color: #ccc; + background-color: #4690D6; + color: white; } /* *************************************** diff --git a/views/default/css/elements/typography.php b/views/default/css/elements/typography.php index 3d2a16900..c044cb1cc 100644 --- a/views/default/css/elements/typography.php +++ b/views/default/css/elements/typography.php @@ -10,37 +10,14 @@ /* *************************************** Typography *************************************** */ -@font-face { - font-family: "Open Sans"; - font-style: normal; - font-weight: 400; - src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Regular.ttf"); -} - -@font-face { - font-family: "Open Sans"; - font-style: bold; - src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Semibold.ttf"); - font-weight: 600; -} - -@font-face { - font-family: "Open Sans"; - font-style: italic; - src: url("<?php echo elgg_get_site_url(); ?>/mod/saravea_theme/vendors/opensans/OpenSans-Italic.ttf"); - font-weight: 400; -} - - body { - font-size: 72%; + font-size: 80%; line-height: 1.4em; - font-family: "Open Sans", Arial, Tahoma, Verdana, sans-serif; - color: #333333; + font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif; } a { - color: #ff4c12; + color: #4690D6; } a:hover, @@ -60,12 +37,10 @@ p:last-child { pre, code { font-family: Monaco, "Courier New", Courier, monospace; font-size: 12px; - padding:2px; - background-color:#333; - color:#eee; + background:#EBF5FF; + color:#000000; overflow:auto; - /*box-shadow: 1px 1px 1px #333;*/ overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ @@ -89,27 +64,24 @@ code { } blockquote { - line-height: 1.3em; - padding:10px 20px 10px 10px; - margin:5px 5px 15px 20px; - background: #E6D37E url(<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/quotes.png) no-repeat right; + padding:3px 15px; + margin:0px 0 15px 0; + background:#EBF5FF; border:none; - box-shadow: 0px 1px 3px #666; - - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; } h1, h2, h3, h4, h5, h6 { - color: #333; font-weight: bold; + color: #0054A7; } -h1 { font-size: 2em; visibility: hidden;} -h2 { font-size: 1.8em; line-height: 1.1em; padding-bottom:5px} +h1 { font-size: 1.8em; } +h2 { font-size: 1.5em; line-height: 1.1em; padding-bottom:5px} h3 { font-size: 1.2em; } h4 { font-size: 1.0em; } h5 { font-size: 0.9em; } @@ -129,10 +101,9 @@ h6 { font-size: 0.8em; } float: left; max-width: 530px; margin-right: 10px; - } .elgg-heading-basic { - color: #616068; + color: #0054A7; font-size: 1.2em; font-weight: bold; } @@ -148,7 +119,6 @@ h6 { font-size: 0.8em; } display: block; font-size: 85%; font-style: italic; - padding: 10px 0px 10px 0px; } .elgg-quiet { @@ -156,7 +126,7 @@ h6 { font-size: 0.8em; } } .elgg-loud { - color: #d86c2c; + color: #0054A7; } /* *************************************** @@ -164,7 +134,6 @@ h6 { font-size: 0.8em; } *************************************** */ .elgg-output { margin-top: 10px; - line-height: 1.7em; } .elgg-output dt { font-weight: bold } @@ -189,4 +158,5 @@ h6 { font-size: 0.8em; } } .elgg-output img { max-width: 100%; + height: auto; } diff --git a/views/default/css/elgg.php b/views/default/css/elgg.php index 37d8aa19e..4960e6ade 100644 --- a/views/default/css/elgg.php +++ b/views/default/css/elgg.php @@ -8,9 +8,9 @@ /* * Colors: - * #ff4c12 - n-1 light orange - * #d86c2c - n-1 dark orange - * #e4ecf5 - n-1 very light orange + * #4690D6 - elgg light blue + * #0054A7 - elgg dark blue + * #e4ecf5 - elgg very light blue */ // check if there is a theme overriding the old css view and use it, if it exists diff --git a/views/default/css/ie.php b/views/default/css/ie.php index 4bddd4d55..34ececa89 100644 --- a/views/default/css/ie.php +++ b/views/default/css/ie.php @@ -6,3 +6,11 @@ .elgg-avatar { display: block; } + +/* ie8 adds space to the top of .elgg-gallery which causes jumpiness if this is display: block; */ +.elgg-gallery .elgg-avatar > a > img { + display: inline-block; +} +.elgg-gallery .elgg-avatar > .elgg-icon-hover-menu { + bottom: 4px; +} diff --git a/views/default/css/ie7.php b/views/default/css/ie7.php index db0125b4b..90274797d 100644 --- a/views/default/css/ie7.php +++ b/views/default/css/ie7.php @@ -24,6 +24,7 @@ .elgg-menu-footer > li > a, .elgg-menu-footer li, .elgg-menu-general > li > a, +.elgg-pagination li, .elgg-menu-general li { display: inline; } @@ -62,4 +63,13 @@ .elgg-module-walledgarden > .elgg-head, .elgg-module-walledgarden > .elgg-foot { width: 530px; -}
\ No newline at end of file +} + +input, textarea { + width: 98%; +} + +.elgg-tag a { + /* IE7 had a weird wrapping issue for tags */ + word-wrap: normal; +} diff --git a/views/default/css/lightbox.php b/views/default/css/lightbox.php new file mode 100644 index 000000000..7d5917cc3 --- /dev/null +++ b/views/default/css/lightbox.php @@ -0,0 +1,371 @@ +<?php +/** + * Fancybox lightbox CSS. + * + * Used as a view because we need to pass a full URL to AlphaImageLoader. + * + * @package Elgg.Core + * @subpackage UI + */ + +$jquery_path = elgg_get_site_url() . 'vendors/jquery/'; +?> + +/* + * FancyBox - jQuery Plugin + * Simple and fancy lightbox alternative + * + * Examples and documentation at: http://fancybox.net + * + * Copyright (c) 2008 - 2010 Janis Skarnelis + * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. + * + * Version: 1.3.4 (11/11/2010) + * Requires: jQuery v1.3+ + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + width: 40px; + height: 40px; + margin-top: -20px; + margin-left: -20px; + cursor: pointer; + overflow: hidden; + z-index: 1104; + display: none; +} + +#fancybox-loading div { + position: absolute; + top: 0; + left: 0; + width: 40px; + height: 480px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); +} + +#fancybox-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 1100; + display: none; +} + +#fancybox-tmp { + padding: 0; + margin: 0; + border: 0; + overflow: auto; + display: none; +} + +#fancybox-wrap { + position: absolute; + top: 0; + left: 0; + padding: 20px; + z-index: 1101; + outline: none; + display: none; +} + +#fancybox-outer { + position: relative; + width: 100%; + height: 100%; + background: #fff; +} + +#fancybox-content { + width: 0; + height: 0; + padding: 0; + outline: none; + position: relative; + overflow: hidden; + z-index: 1102; + border: 0px solid #fff; +} + +#fancybox-hide-sel-frame { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: transparent; + z-index: 1101; +} + +#fancybox-close { + position: absolute; + top: -15px; + right: -15px; + width: 30px; + height: 30px; + background: transparent url('<?php echo $jquery_path; ?>fancybox/fancybox.png') -40px 0px; + cursor: pointer; + z-index: 1103; + display: none; +} + +#fancybox-error { + color: #444; + font: normal 12px/20px Arial; + padding: 14px; + margin: 0; +} + +#fancybox-img { + width: 100%; + height: 100%; + padding: 0; + margin: 0; + border: none; + outline: none; + line-height: 0; + vertical-align: top; +} + +#fancybox-frame { + width: 100%; + height: 100%; + border: none; + display: block; +} + +#fancybox-left, #fancybox-right { + position: absolute; + bottom: 0px; + height: 100%; + width: 35%; + cursor: pointer; + outline: none; + background: transparent url('<?php echo $jquery_path; ?>fancybox/blank.gif'); + z-index: 1102; + display: none; +} + +#fancybox-left { + left: 0px; +} + +#fancybox-right { + right: 0px; +} + +#fancybox-left-ico, #fancybox-right-ico { + position: absolute; + top: 50%; + left: -9999px; + width: 30px; + height: 30px; + margin-top: -15px; + cursor: pointer; + z-index: 1102; + display: block; +} + +#fancybox-left-ico { + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -30px; +} + +#fancybox-right-ico { + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -60px; +} + +#fancybox-left:hover, #fancybox-right:hover { + visibility: visible; /* IE6 */ +} + +#fancybox-left:hover span { + left: 20px; +} + +#fancybox-right:hover span { + left: auto; + right: 20px; +} + +.fancybox-bg { + position: absolute; + padding: 0; + margin: 0; + border: 0; + width: 20px; + height: 20px; + z-index: 1001; +} + +#fancybox-bg-n { + top: -20px; + left: 0; + width: 100%; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox-x.png'); +} + +#fancybox-bg-ne { + top: -20px; + right: -20px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -162px; +} + +#fancybox-bg-e { + top: 0; + right: -20px; + height: 100%; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox-y.png'); + background-position: -20px 0px; +} + +#fancybox-bg-se { + bottom: -20px; + right: -20px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -182px; +} + +#fancybox-bg-s { + bottom: -20px; + left: 0; + width: 100%; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox-x.png'); + background-position: 0px -20px; +} + +#fancybox-bg-sw { + bottom: -20px; + left: -20px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -142px; +} + +#fancybox-bg-w { + top: 0; + left: -20px; + height: 100%; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox-y.png'); +} + +#fancybox-bg-nw { + top: -20px; + left: -20px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancybox.png'); + background-position: -40px -122px; +} + +#fancybox-title { + font-family: Helvetica; + font-size: 12px; + z-index: 1102; +} + +.fancybox-title-inside { + padding-bottom: 10px; + text-align: center; + color: #333; + background: #fff; + position: relative; +} + +.fancybox-title-outside { + padding-top: 10px; + color: #fff; +} + +.fancybox-title-over { + position: absolute; + bottom: 0; + left: 0; + color: #FFF; + text-align: left; +} + +#fancybox-title-over { + padding: 10px; + background-image: url('<?php echo $jquery_path; ?>fancybox/fancy_title_over.png'); + display: block; +} + +.fancybox-title-float { + position: absolute; + left: 0; + bottom: -20px; + height: 32px; +} + +#fancybox-title-float-wrap { + border: none; + border-collapse: collapse; + width: auto; +} + +#fancybox-title-float-wrap td { + border: none; + white-space: nowrap; +} + +#fancybox-title-float-left { + padding: 0 0 0 15px; + background: url('<?php echo $jquery_path; ?>fancybox/fancybox.png') -40px -90px no-repeat; +} + +#fancybox-title-float-main { + color: #FFF; + line-height: 29px; + font-weight: bold; + padding: 0 0 3px 0; + background: url('<?php echo $jquery_path; ?>fancybox/fancybox-x.png') 0px -40px; +} + +#fancybox-title-float-right { + padding: 0 0 0 15px; + background: url('<?php echo $jquery_path; ?>fancybox/fancybox.png') -55px -90px no-repeat; +} + +/* IE6 */ + +.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_close.png', sizingMethod='scale'); } + +.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_nav_left.png', sizingMethod='scale'); } +.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_nav_right.png', sizingMethod='scale'); } + +.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; } +.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_title_left.png', sizingMethod='scale'); } +.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_title_main.png', sizingMethod='scale'); } +.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_title_right.png', sizingMethod='scale'); } + +.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame { + height: expression(this.parentNode.clientHeight + "px"); +} + +#fancybox-loading.fancybox-ie6 { + position: absolute; margin-top: 0; + top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); +} + +#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_loading.png', sizingMethod='scale'); } + +/* IE6, IE7, IE8 */ +.fancybox-ie .fancybox-bg { background: transparent !important; } + +.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_n.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_ne.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_e.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_se.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_s.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_sw.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_w.png', sizingMethod='scale'); } +.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $jquery_path; ?>fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
\ No newline at end of file diff --git a/views/default/css/saravea_theme/landing.php b/views/default/css/saravea_theme/landing.php deleted file mode 100644 index 887c29b80..000000000 --- a/views/default/css/saravea_theme/landing.php +++ /dev/null @@ -1,38 +0,0 @@ -#n1-landing { - height: 250px; - background-image: url('<?php echo elgg_get_site_url(); ?>mod/saravea_theme/_graphics/saravea_verm.png'); - background-repeat: no-repeat; - display: table; - margin: 30px 0 50px auto; - min-width: 80%; -} - -#n1-landing-inner { - display: table-cell; - vertical-align: middle; - padding-left: 220px; - -} - -#n1-landing-title { - font-size: 2.1em; - font-weight: bold; - line-height: 0.9em; -} - -#n1-landing-subtitle { - font-size: 1.4em; - color: #666; -} - -.elgg-sidebar h3 { - font-size: 1.6em; -} - -#login-dropdown { - display:none; -} - -.elgg-page-header > .elgg-inner { - background-image: none; -} |