diff options
Diffstat (limited to 'view/theme')
-rw-r--r-- | view/theme/redbasic/css/style.css | 1246 | ||||
-rw-r--r-- | view/theme/redbasic/img/screenshot.jpg | bin | 72559 -> 135205 bytes | |||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 14 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 20 | ||||
-rw-r--r-- | view/theme/redbasic/php/theme.php | 10 | ||||
-rw-r--r-- | view/theme/redbasic/php/theme_init.php | 5 |
6 files changed, 369 insertions, 926 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 07a838f0b..14a708e55 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -51,8 +51,13 @@ a:hover, .fakelink:hover { color: #44AAFF; text-decoration: underline; } } -input[type=text] { +input[type="text"], +input[type="password"], +input[type="submit"], +select, +textarea { font-family: arial,freesans,sans-serif; + font-size: $body_font_size; } input { @@ -60,11 +65,13 @@ input { -moz-border-radius: $radiuspx; border-radius: $radiuspx; padding: 3px; - font-size: $body_font_size; } input[type="submit"] { - background-color: #F8F8F8; + background-color: #F0F0F0; + font-weight: bold; + color: #0080FF; + text-decoration: none; } code { @@ -91,14 +98,6 @@ blockquote { padding: 5px; } -.hide-comments { - margin-left: 5px; -} - -.hide-comments-outer { - margin-left: 10px; -} - #panel { background-color: ivory; position: absolute; @@ -323,77 +322,16 @@ footer { margin: 15px 0 15px 150px; } -/* from default */ -#jot-perms-icon, -#profile-location, -#profile-nolocation, -#profile-youtube, -#profile-video, -#profile-audio, -#profile-link, -#profile-title, -#profile-expires, -#profile-encrypt, -#wall-image-upload, -#wall-file-upload, -#profile-upload-wrapper, -#wall-image-upload-div, -#wall-file-upload-div, -.hover, .focus { - cursor: pointer; -} - -#jot-perms-icon { - float: left; -} - -#jot-title, #jot-category, #jot-pagetitle { - border: 0px; - margin: 0px; - padding: 8px; - height: 20px; - width: 530px; - margin-bottom: 5px; - font-weight: bold; - border: solid 1px #ffffff; - border-radius: $radiuspx; -} - -#jot-title::-webkit-input-placeholder{font-weight: bold;} -#jot-category::-webkit-input-placeholder{font-weight: bold;} -#jot-title:-moz-placeholder{font-weight: bold;} -#jot-category:-moz-placeholder{font-weight: bold;} -#jot-pagetitle::-webkit-input-placeholder{font-weight: bold;} -#jot-pagetitle:-moz-placeholder{font-weight: bold;} - -#jot-title:hover, -#jot-title:focus, -#jot-pagetitle:hover, -#jot-pagetitle:focus, -#jot-category:hover, -#jot-category:focus { - border: 1px solid #cccccc; -} - -.jothidden { display:none; } - - - .fakebutton { margin-top: 15px; margin-bottom: 15px; } -.lockview { - cursor: pointer; -} - - #group-sidebar { margin-bottom: 10px; } -.group-selected, .nets-selected, .fileas-selected, .categories-selected, .active { +.group-selected, .nets-selected, .fileas-selected, .categories-selected, .search-selected, .active { color: #444444 !important; } @@ -455,9 +393,9 @@ footer { clear: both; } -#register-link, #lost-password-link { +#register-link, +#lost-password-link { float: left; - font-size: 90%; margin-left: 100px; } @@ -520,6 +458,14 @@ footer { clear: both; } +.vcard-profile-edit-icon { + font-size: 1.2em; +} +.vcard-profile-edit-icon:hover { + text-decoration: none; +} + + #profile-extra-links { clear: both; margin-top: 10px; @@ -570,42 +516,7 @@ footer { #viewconnections { margin-top: 15px; } -#profile-edit-default-desc { - color: #FF0000; - border: 1px solid #FF8888; - background-color: #FFEEEE; - padding: 7px; -} - -#profile-edit-clone-link-wrapper { - float: left; - margin-left: 50px; - margin-bottom: 20px; - width: 300px; -} - - -#profile-edit-links-end { - clear: both; - margin-bottom: 15px; -} - -.profile-listing-photo { - border: none; -} - -.profile-edit-submit-wrapper { - margin-top: 20px; - margin-bottom: 20px; -} - -#profile-photo-link-select-wrapper { - margin-top: 2em; -} -#profile-photo-submit-wrapper { - margin-top: 10px; -} #profile-photo-wrapper img { width:175px; @@ -620,65 +531,6 @@ footer { } -#profile-edit-profile-name-label, -#profile-edit-name-label, -#profile-edit-pdesc-label, -#profile-edit-gender-label, -#profile-edit-dob-label, -#profile-edit-address-label, -#profile-edit-locality-label, -#profile-edit-region-label, -#profile-edit-postal-code-label, -#profile-edit-country-name-label, -#profile-edit-marital-label, -#profile-edit-sexual-label, -#profile-edit-politic-label, -#profile-edit-religion-label, -#profile-edit-pubkeywords-label, -#profile-edit-prvkeywords-label, -#profile-edit-homepage-label, -#profile-edit-hometown-label { - float: left; - width: 175px; -} - -#profile-edit-profile-name, -#profile-edit-name, -#profile-edit-pdesc, -#gender-select, -#profile-edit-dob, -#profile-edit-address, -#profile-edit-locality, -#profile-edit-region, -#profile-edit-postal-code, -#profile-edit-country-name, -#marital-select, -#sexual-select, -#profile-edit-politic, -#profile-edit-religion, -#profile-edit-pubkeywords, -#profile-edit-prvkeywords, -#profile-in-dir-yes, -#profile-in-dir-no, -#profile-in-netdir-yes, -#profile-in-netdir-no, -#hide-wall-yes, -#hide-wall-no, -#hide-friends-yes, -#hide-friends-no { - float: left; - margin-bottom: 20px; -} - - -#settings-notifications label { - margin-left: 20px; -} -#settings-notify-desc, #settings-activity-desc { - font-weight: bold; - margin-bottom: 15px; -} - #profile-in-dir-yes-label, #profile-in-dir-no-label, @@ -693,10 +545,6 @@ footer { width: 50px; } -#profile-edit-with-label { - width: 175px; - margin-left: 20px; -} #profile-publish-yes-reg, #profile-publish-no-reg { @@ -717,48 +565,6 @@ footer { } -#profile-edit-pdesc-desc, -#profile-edit-pubkeywords-desc, -#profile-edit-prvkeywords-desc { - float: left; - margin-left: 20px; -} - - -#profile-edit-homepage, #profile-edit-hometown { - float: left; - margin-bottom: 35px; -} - -#profile-edit-profile-name-end, -#profile-edit-name-end, -#profile-edit-pdesc-end, -#profile-edit-gender-end, -#profile-edit-dob-end, -#profile-edit-address-end, -#profile-edit-locality-end, -#profile-edit-region-end, -#profile-edit-postal-code-end, -#profile-edit-country-name-end, -#profile-edit-marital-end, -#profile-edit-sexual-end, -#profile-edit-politic-end, -#profile-edit-religion-end, -#profile-edit-pubkeywords-end, -#profile-edit-prvkeywords-end, -#profile-edit-homepage-end, -#profile-edit-hometown-end, -#profile-in-dir-break, -#profile-in-dir-end, -#profile-in-netdir-break, -#profile-in-netdir-end, -#hide-wall-break, -#hide-wall-end, -#hide-friends-break, -#hide-friends-end { - clear: both; -} - .settings-widget ul { list-style-type: none; padding: 0px; @@ -770,15 +576,6 @@ footer { } -#gender-select, #marital-select, #sexual-select { - width: 220px; -} - -#profile-edit-profile-name-wrapper .required { - color: #FF0000; - float: left; -} - #contacts-main { margin-top: 20px; margin-bottom: 20px; @@ -800,11 +597,6 @@ footer { margin-bottom: 10px; } -.contact-entry-direction-icon { - margin-top: 24px; - margin-right: 2px; -} - .contact-entry-photo img { border: none; } @@ -845,392 +637,39 @@ footer { margin-bottom: 15px; } - -.thread-wrapper .wall-item-comment-wrapper, .wall-item-content-wrapper.comment { - margin-left: $comment_indent; - border-left: 2px solid #eee; -} - -.wall-item-content-wrapper { - margin-top: 10px; - position: relative; - border-radius: $radiuspx; - background-color: $item_colour; - opacity: $item_opacity; -} - .thread-end-wrapper { margin-left: 50px; } -.wall-item-like.comment, .wall-item-dislike.comment { - margin-left: 50px; -} - -.wall-item-info { - display: block; - float: left; - width:110px; - margin-right:10px; -} -.comment .wall-item-info { - width: 70px; -} - -.wall-item-photo-wrapper { - margin-top: 10px; - margin-left: 10px; - margin-bottom: 10px; - width: 100px; -} -.wall-item-photo-menu-button { - display: block; - position: absolute; - background-image: url("../img/photo-menu.jpg"); - background-position: top left; - background-repeat: no-repeat; - margin: 0px; padding: 0px; - width: 16px; - height: 16px; - top: $pmenu_top; left:10px; - overflow: hidden; - text-indent: 40px; - display: none; - -} -.wall-item-photo-menu { - width: auto; - border: 2px solid #444444; - background: #FFFFFF; - position: absolute; - left: 10px; top: 90px; - display: none; - z-index: 10000; -} -.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.wall-item-photo-menu li a { display: block; padding: 2px; } -.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } - - -.comment .wall-item-photo-menu-button { top: $pmenu_reply;} -.comment .wall-item-photo-menu { top: 60px; } - -.wallwall .wwto { - left: 50px; - margin: 0; - position: absolute; - top: $wwtop; - width: 30px -} -.wallwall .wwto img { - width: 30px !important; - height: 30px !important; -} - -.wallwall .wall-item-photo-end { - clear: both; -} - -.wall-item-arrowphoto-wrapper { - position: absolute; - left: 75px; - top: $wwtop; - z-index: 99; -} -.wall-item-wrapper { - margin-left:10px; -} - -.wall-item-ago .icon-ok { - cursor: pointer; - color: darkgreen; -} - -.wall-item-lock { - font-size: 1.2em; - left: 105px; - position: absolute; - top: 1px; - color: $toolicon_colour; -} -.comment .wall-item-lock { - left: 65px; -} - -.wall-item-ago { - color: #777; - font-size: 0.8em; -} - -.wall-item-location { - overflow: hidden; - /* add ellipsis on text overflow */ - /* this work on safari, opera, ie, chrome. */ - /* firefox users have to wait support or we */ - /* can use a jquery plugin http://bit.ly/zJskg */ - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - width: 100%; -} - - -.item-tool { - float: left; - margin-right: 8px; - font-size: 1.2em; - cursor: pointer; - color: $toolicon_colour; -} - -.item-tool:hover { - color: $toolicon_activecolour; -} - -.drop-icons.item-tool { - color: $toolicon_colour; -} -.like-rotator { - float: left; - margin: 8px; - color: $toolicon_colour; -} - -.wall-item-delete-wrapper { - float: right; -} - -.wall-item-delete-end { - clear: both; -} - -.wall-item-delete-icon { - border: none; -} - -.wall-item-wrapper-end { - clear: both; -} - -.wall-item-photo { - border: none; - width: $top_photo !important; - height: $top_photo !important; - -} -.comment .wall-item-photo { - width: $reply_photo !important; - height: $reply_photo !important; -} -.wall-item-content { - margin-left: 10px; - overflow: auto; - font-size: $font_size; -} - -.wall-item-content img { - max-width: 95% !important; -} - -.wall-item-title { - float: left; - font-weight: bold; -} - -.wall-item-title-end { - clear: both; -} - -.thread-wrapper.toplevel_item { - width: 92%; - max-width: $converse_width; -} - -.wall-item-body { - margin-top: 10px; -} - -.wall-item-body.divmore { - padding-bottom: 15px; -} - -.wall-item-tools { - clear: both; - padding: 5px 10px; -} - -.wall-item-like, .wall-item-dislike { - margin-top: 5px; -} - -.wall-item-author { - margin-top: 10px; -} - -.comment-edit-photo { - margin-top: 10px; - margin-left: 10px; - margin-bottom: 10px; - width: 100px; - float: left; -} -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-photo { - width: 40px; -} - -.comment-edit-photo img { - width: $reply_photo; -} -.comment-edit-text-empty, .comment-edit-text-full { - float: left; - margin-top: 10px; - padding: 3px 1px 1px 3px; - border: 1px solid #ccc; - padding: 8px; - border-radius: $radiuspx; -} - -.comment-edit-text-empty { - color: gray; - height: 1.0em; - width: 270px; - overflow: auto; - margin-bottom: 10px; -} - -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-text-empty { - height: 1.5em; -} - -.comment-edit-text-full { - color: black; - height: 150px; - width: 80%; - overflow: auto; -} - - -.comment-edit-text-end { - clear: both; -} - -.comment-edit-submit { - margin: 10px 0px 10px 110px; -} - -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-submit-wrapper > .comment-edit-submit { - margin-left: 50px; -} - -#profile-jot-plugin-wrapper, -#profile-jot-submit-wrapper { - margin-top: 15px; - width:90%; -} - -#profile-upload-wrapper { - float: left; - margin-left: 15px; -} -#profile-attach-wrapper { - float: left; - margin-left: 15px; -} -#profile-rotator { - float: left; - margin: 8px 0px 0px 20px; - color: #777; -} -#profile-link-wrapper { - float: left; - margin-left: 15px; -} +/* might be obsolete #profile-youtube-wrapper { float: left; margin-left: 15px; } -#profile-video-wrapper { - float: left; - margin-left: 15px; -} -#profile-audio-wrapper { - float: left; - margin-left: 15px; -} -#profile-location-wrapper { - float: left; - margin-left: 15px; -} -#profile-expire-wrapper { - float: left; - margin-left: 15px; -} -#profile-encrypt-wrapper { - float: left; - margin-left: 15px; -} -#jot-preview-link { - float: left; - margin-left: 45px; - margin-top: 0px !important; -} -#profile-nolocation-wrapper { - float: left; - margin-left: 15px; -} #profile-title-wrapper { float: left; margin-left: 15px; } -#profile-jot-perms { - float: right; - margin-left: 100px; - font-weight: bold; - font-size: 1.2em; - height: auto; - width: auto; - background-color: #0080FF; - border-radius: $radiuspx; - border: 2px outset; - box-shadow: 5px 5px 5px #666; - margin-right: 8px; - padding: 4px; -} - -#profile-jot-perms:active { - box-shadow: 0 0 0 0; -} - -#profile-jot-perms-end { - height: 30px; -} - #profile-jot-plugin-end{ clear: both; } -.profile-jot-net { - float: left; - margin-right: 10px; - margin-top: 5px; - margin-bottom: 5px; -} #profile-jot-networks-end { clear: both; } -#profile-jot-end { - margin-bottom: 30px; -} #about-jot-submit-wrapper { margin-top: 15px; } #about-jot-end { margin-bottom: 30px; } +*/ + #contacts-main { margin-bottom: 30px; } @@ -1429,6 +868,8 @@ div.dirtagblock.widget { /* TinyMCE */ +/* TODO: this should, if needed at all, probably go to custom_tinymce.css + DIV#profile-jot-text_toolbargroup{ background: #FFF; border: 1px #111; @@ -1442,30 +883,9 @@ box-shadow: 5px 5px 5px #000 inset !important;} tr.mceLast { } +*/ -/* Not MCE */ - -#profile-jot-text { - height: 20px; - color:#000; - border: 1px solid #cccccc; - padding: 8px; - margin-right: 0px; - width: 90%; - -moz-border-radius: $radiuspx; - border-radius: $radiuspx; -} -#profile-jot-text:hover { - color: #000000; -} - -#profile-jot-text-loading { - float: left; - margin: 14px 0px 0px 12px; - color: #777; -} - -.wall-item-photo, .photo, .contact-block-img, .my-comment-photo { +.photo, .contact-block-img { border-radius: $radiuspx; -moz-border-radius: $radiuspx; box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; @@ -1512,27 +932,12 @@ tr.mceLast { .contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo { border-radius: $radiuspx; -moz-border-radius: $radiuspx; - box-shadow: 4px 4px 3px 0 #444444; -} - -#profile-jot-submit { - height: auto; - background-color: #0080FF; - color: #eeeeec; - font-weight: bold; - -webkit-border-radius: $radiuspx; - -moz-border-radius: $radiuspx; - border-radius: $radiuspx; - border: 2px outset #222420 !important; - margin: 0; - float: right; - text-shadow: 1px 1px #111; - width: auto; - box-shadow: 5px 5px 5px #444; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; } -#profile-jot-submit:active { - box-shadow: 0 0 0 0; +.profile-match-photo img { + width: $top_photo !important; + height: $top_photo !important; } #sidebar-page-list .label { @@ -1725,34 +1130,7 @@ tr.mceLast { margin-left: 200px; } - -#prvmail-to-label, #prvmail-subject-label, #prvmail-expires-label, #prvmail-message-label { - margin-bottom: 10px; - margin-top: 20px; -} - -#prvmail-submit { - float: left; - margin-top: 10px; - margin-right: 30px; -} -#prvmail-upload-wrapper, -#prvmail-attach-wrapper, -#prvmail-link-wrapper, -#prvmail-expire-wrapper, -#prvmail-encrypt-wrapper, -#prvmail-rotator-wrapper { - float: left; - margin-top: 10px; - margin-right: 10px; - width: 24px; - cursor: pointer; -} - -#prvmail-end { - clear: both; -} - +/* might be obsolete .mail-list-sender, .mail-list-detail { float: left; @@ -1772,8 +1150,6 @@ a.mail-list-link { padding: 4px 0; } - - .mail-list-outside-wrapper-end { clear: both; } @@ -1791,48 +1167,10 @@ a.mail-list-link { .mail-list-delete-icon { border: none; } +*/ -.mail-conv-sender, -.mail-conv-detail { - float: left; -} -.mail-conv-detail { - margin-left: 20px; - width: 500px; -} - -.mail-conv-subject { - font-size: 1.4em; - margin: 10px 0; -} - -.mail-conv-outside-wrapper-end { - clear: both; -} - -.mail-conv-outside-wrapper { - margin-top: 30px; -} - -.mail-conv-delete-wrapper { - float: right; - margin-right: 30px; - margin-top: 15px; -} -.mail-conv-recall-wrapper { - float: right; - margin-right: 10px; - margin-top: 15px; -} - -.mail-conv-break { - clear: both; -} - -.mail-conv-delete-icon { - border: none; -} +/* might be obsolete .message-links ul { list-style-type: none; padding: 0px; @@ -1849,6 +1187,7 @@ a.mail-list-link { .message-links-end { clear: both; } +*/ #sidebar-group-list ul { list-style-type: none; @@ -1943,17 +1282,11 @@ a.mail-list-link { } -#profile-jot-wrapper { - margin-top: 25px; -} - - #settings-default-perms-menu { margin-top: 15px; margin-bottom: 15px; } - .group-delete-wrapper { float: right; margin-right: 50px; @@ -1963,12 +1296,13 @@ a.mail-list-link { display: block; color: #FFFFFF; margin-top: 15px; - background-color: #F80000; + background-color: $nav_bg_2; -webkit-border-radius: $radiuspx ; -moz-border-radius: $radiuspx; border-radius: $radiuspx; padding: 5px; font-weight: bold; + clear: both; } @@ -2063,7 +1397,6 @@ a.mail-list-link { #nav-search-text { height: 20px; padding: 0px 5px 0px 5px; - font-size: 0.9em; border-radius: 10px; border: none; background-color: $search_background; @@ -2303,10 +1636,11 @@ a.mail-list-link { } .profile-match-name { - float: left; +/* float: left; */ text-align: center; width: 120px; - overflow: hidden; + height: 18px; + overflow: hidden !important; } .profile-match-note { @@ -2447,32 +1781,21 @@ a.mail-list-link { margin-top: 10px; } -.posttags a, .body-tag, .filesavetags, .categorytags { +/* might be obsolete +.posttags { opacity: 0.5; filter:alpha(opacity=50); } -.posttags a:hover, .body-tag:hover, .filesavetags:hover, .categorytags:hover { +.posttags { opacity: 1.0 !important; filter:alpha(opacity=100) !important; } -.posttags, .body-tag { +.posttags { margin-top: 15px; } - -.item-select { - opacity: 0.1; - filter:alpha(opacity=10); - float: right; - margin-right: 10px; - -} -.item-select:hover, .checkeditem { - opacity: 1; - filter:alpha(opacity=100); -} - +*/ #item-delete-selected { margin-top: 30px; @@ -2538,7 +1861,7 @@ brain is weird like that */ .field label { float: left; - width: 200px; + width: 350px; } .field input, @@ -2548,45 +1871,11 @@ brain is weird like that */ .field textarea { height: 100px; } .field_help { display: block; - margin-left: 200px; + margin-left: 350px; color: #666666; } -.field_abook_help { - color: #000; -} -.abook-them { - margin-left: 225px; - margin-bottom: 15px; -} -.abook-me { - margin-left: 36px; - margin-bottom: 15px; -} -.acheckbox { - margin-bottom: 5px !important; -} - -.abook-pending-contact { - background: orange; - font-weight: bold; - margin: 10px; - padding: 20px 5px 10px; -} - -#contact-slider { - width: 600px !important; -} - -.abook-edit-them, .abook-edit-me { - float: left; - width: 100px !important; -} -.field_abook_help { - float: left; -} - .field .onoff { float: left; width: 80px; @@ -2692,10 +1981,6 @@ brain is weird like that */ /* visibility: visible; */ } -.wall-item-ago i { - font-size: 0.6em; -} - .icon { display: block; width: 16px; height: 16px; background-image: url('../../../../images/icons.png'); @@ -2735,8 +2020,6 @@ brain is weird like that */ .on { background-position: -144px -32px; } .off { background-position: 0px -48px; } -/*.starred { background-position: -16px -48px; } -.unstarred { background-position: -32px -48px; }*/ .tagged { background-position: -48px -48px; } .yellow { background-position: -64px -48px; } @@ -2744,102 +2027,14 @@ brain is weird like that */ color: gold; } -.filer-icon { - display: block; width: 16px; height: 16px; - background-image: url('../img/file.gif'); -} - .icon.dim { opacity: 0.3;filter:alpha(opacity=30); } -[class^="comment-edit-bb"] { - list-style: none; - display: none; - margin: 0px 0 -5px 0px; - padding: 0px; - width: 75%; -} -[class^="comment-edit-bb"] > li { - display: inline-block; - margin: 10px 10px 0 0; - visibility: none; -} -[class^="comment-edit-bb-end"] { - clear: both; -} -.editicon { - display: inline-block; - width: 16px; - height: 16px; - background-image: url(../img/bbedit.png); - background-color: #fff; - text-decoration: none; -} -.editicon:hover { - background-color: #ccc; -} -.boldbb { - background-position: 0px 0px; -} -.boldbb:hover { - background-position: 0px -16px; -} -.italicbb { - background-position: -16px 0px; -} -.italicbb:hover { - background-position: -16px -16px; -} -.underlinebb { - background-position: -32px 0px; -} -.underlinebb:hover { - background-position: -32px -16px; -} -.quotebb { - background-position: -48px 0px; -} -.quotebb:hover { - background-position: -48px -16px; -} -.codebb { - background-position: -64px 0px; -} -.codebb:hover { - background-position: -64px -16px; -} -.imagebb { - background-position: -80px 0px; -} -.imagebb:hover { - background-position: -80px -16px; -} -.urlbb { - background-position: -96px 0px; -} -.urlbb:hover { - background-position: -96px -16px; -} -.videobb { - background-position: -112px 0px; -} -.videobb:hover { - background-position: -112px -16px; -} -.attachtype { - display: block; width: 20px; height: 23px; - float: left; - background-image: url('../../../../images/content-types.png'); -} + .body-attach { margin-top: 10px; } -.type-video { background-position: 0px 0px; } -.type-image { background-position: -20px 0px; } -.type-audio { background-position: -40px 0px; } -.type-text { background-position: -60px 0px; } -.type-unkn { background-position: -80px 0px; } /* autocomplete popup */ @@ -2881,29 +2076,6 @@ div.jGrowl div.info { top: 15px; right: 15px; } -.qcomment { - border: 1px solid #EEE; - padding: 3px; - margin-top: 15px; - margin-left: 25px; - width: 125px; - overflow-y: auto; -} - - -.qcomment option { - width: 125px; - overflow-x: hidden; -} - -.qcomment { - opacity: 0.3; - filter:alpha(opacity=30); -} -.qcomment:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} #id_term_label { @@ -2988,7 +2160,7 @@ div.jGrowl div.info { width: 90%; } - +a.rconnect, nav a, nav a:active, nav a:visited, @@ -2998,7 +2170,7 @@ nav a:link { outline: none; } -nav a:hover { +a.rconnect:hover, nav a:hover { color: #0080FF; } nav .fakelink { @@ -3374,34 +2546,12 @@ ul.menu-popup { .reshared-content { margin-left: 30px; } .shared_header img { margin-right: 10px; } - -#mail-list-wrapper { -border-top: 1px solid #ccc; -padding: 5px 5px 5px 5px; -} - -span.mail-list { -float: left; -width: 20%; -} - -.mail-list-remove { -width: 5% !important; -} - +/* might be obsolete span.mail-delete { float: left; width: 30px; } - -img.mail-list-sender-photo { -height: 24px; -width: 24px; -float: left; -margin-right: 30px; --moz-border-radius: $radiuspx; -border-radius: $radiuspx; -} +*/ .tag1 { font-size : 1.0em !important; @@ -3494,17 +2644,11 @@ margin-right: 50px; margin-left: -20px; } -.comment-icon, -.jot-icons { +.admin-icons { font-size: 1.2em; color: $toolicon_colour; } -.comment-icon:hover, -.jot-icons:hover { - color: $toolicon_activecolour; -} - .nav-icon { font-size: 1.4em; margin-right: 15px; @@ -3513,6 +2657,7 @@ margin-right: 50px; a .drop-icons { color: #777; font-size: 1.2em; + text-decoration: none; } .drop-icons:hover { @@ -3557,6 +2702,287 @@ text-decoration: none; list-style-type: none; } +.group-edit-icon, .savedsearchdrop { opacity: 0; } + +.admin-icons { + color: $toolicon_colour; + margin-right: 10px; +} + +/* message */ + +img.mail-list-sender-photo { + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; +} + +/* jot */ + +#jot-title, +#jot-category, +#jot-pagetitle { + font-weight: bold; + border: solid 1px #ffffff; + border-radius: $radiuspx; +} + +#jot-category::-webkit-input-placeholder { + font-weight: bold; +} + +#jot-category:-moz-placeholder { + font-weight: bold; +} + +#jot-title::-webkit-input-placeholder { + font-weight: bold; +} + +#jot-title:-moz-placeholder { + font-weight: bold; +} + +#jot-pagetitle::-webkit-input-placeholder { + font-weight: bold; +} + +#jot-pagetitle:-moz-placeholder { + font-weight: bold; +} + +#jot-title:hover, +#jot-title:focus, +#jot-pagetitle:hover, +#jot-pagetitle:focus, +#jot-category:hover, +#jot-category:focus { + border: 1px solid #cccccc; +} + +#profile-jot-text { + color:#000; + border: 1px solid #cccccc; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; +} + +#profile-jot-text::-webkit-input-placeholder { + font-size:1.5em; +} + +#profile-jot-text::-moz-placeholder { + font-size:1.5em; +} + +#profile-jot-text:focus::-webkit-input-placeholder { + color: transparent; +} + +#profile-jot-text:focus::-moz-placeholder { + color: transparent; +} + +#profile-jot-text-loading { + color: #777; +} + +#profile-jot-submit { + background: linear-gradient(top, #0080ff 0%, #0080aa); + background: -webkit-linear-gradient(top, #0080ff 0%, #0080aa); + background: -moz-linear-gradient(top, #0080ff 0%, #0080aa); + background: -o-linear-gradient(top, #0080ff 0%, #0080aa); + background: -ms-linear-gradient(top, #0080ff 0%, #0080aa); + color: #fff; + font-weight: bold; + border-radius: 0px $radiuspx $radiuspx 0px; + text-shadow: 1px 1px #111; + cursor: pointer; +} + +#profile-jot-submit:hover { + background: linear-gradient(top, #0080aa 0%, #0080ff); + background: -webkit-linear-gradient(top, #0080aa 0%, #0080ff); + background: -moz-linear-gradient(top, #0080aa 0%, #0080ff); + background: -o-linear-gradient(top, #0080aa 0%, #0080ff); + background: -ms-linear-gradient(top, #0080aa 0%, #0080ff); +} + +#profile-jot-perms { + background-color: $toolicon_colour; + border: 1px solid #666; + border-right: none; + border-radius: $radiuspx 0px 0px $radiuspx; +} + +#profile-rotator { + color: #777; +} + +.jot-icons { + font-size: 1.2em; + color: $toolicon_colour; +} + +.jot-icons:hover { + color: $toolicon_activecolour; +} + +/* conversation */ + +.thread-wrapper .wall-item-comment-wrapper, +.wall-item-content-wrapper.comment { + margin-left: $comment_indent; + border-left: 2px solid #eee; +} + +.thread-wrapper .toplevel_item { + max-width: $converse_width; +} + +/* conv_item */ + +.wall-item-content-wrapper { + border-radius: $radiuspx; + background-color: $item_colour; + opacity: $item_opacity; +} + +.wallwall .wwto { + top: $wwtop; +} + +.wall-item-photo-menu-button { + background-image: url("../img/photo-menu.jpg"); + background-position: top left; + background-repeat: no-repeat; + top: $pmenu_top; +} + +.wall-item-photo-menu { + border: 2px solid #444444; + background: #FFFFFF; + top: $top_photo; +} + +.wall-item-photo-menu ul { + list-style: none +} + +.wall-item-photo-menu li a:hover { + color: #FFFFFF; + background: #3465A4; + text-decoration: none; +} + +.comment .wall-item-photo-menu-button { + top: $pmenu_reply; +} + +.comment .wall-item-photo-menu { + top: $reply_photo; +} + +.wall-item-photo { + border: none; + width: $top_photo !important; + height: $top_photo !important; + +} + +.comment .wall-item-photo { + width: $reply_photo !important; + height: $reply_photo !important; +} + +.wall-item-photo { + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; +} + +.wall-item-arrowphoto-wrapper { + top: $wwtop; +} + +.wall-item-lock { + font-size: 1.2em; + color: $toolicon_colour; +} + +.wall-item-ago .icon-ok { + color: darkgreen; +} + + +.wall-item-ago { + color: #777; + font-size: 0.8em; +} + +.wall-item-ago i { + font-size: 0.6em; +} + +.wall-item-content { + font-size: $font_size; +} + +.item-tool { + font-size: 1.2em; + color: $toolicon_colour; +} + +.item-tool:hover { + color: $toolicon_activecolour; +} + +.drop-icons.item-tool { + color: $toolicon_colour; +} + +.like-rotator { + color: $toolicon_colour; +} + +/* comment_item */ + +.my-comment-photo { + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; +} + +.comment-edit-photo img { + width: $reply_photo; +} + +[class^="comment-edit-bb"] { + list-style: none; +} + +.comment-icon { + font-size: 1.2em; + color: $toolicon_colour; +} + +.comment-icon:hover { + color: $toolicon_activecolour; +} + +.comment-edit-text-empty, +.comment-edit-text-full { + border: 1px solid #ccc; + border-radius: $radiuspx; +} + +.comment-edit-text-empty { + color: gray; +} + +.comment-edit-text-full { + color: black; +} +.suggest-widget-more { margin-top: 10px; }
\ No newline at end of file diff --git a/view/theme/redbasic/img/screenshot.jpg b/view/theme/redbasic/img/screenshot.jpg Binary files differindex 5f00ec39e..51d4cbb0d 100644 --- a/view/theme/redbasic/img/screenshot.jpg +++ b/view/theme/redbasic/img/screenshot.jpg diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index e40a94fcc..e89c51119 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -16,23 +16,27 @@ function cmtBbClose(comment, id) { return false; } +//document.jotpermslock = 'icon-lock'; +//document.jotpermsunlock = 'icon-unlock'; + + $(document).ready(function() { $('.group-edit-icon').hover( function() { - $(this).addClass('icon'); $(this).removeClass('iconspacer');}, + $(this).css('opacity','1.0');}, function() { - $(this).removeClass('icon'); $(this).addClass('iconspacer');} - ); + $(this).css('opacity','0');} +); $('.sidebar-group-element').hover( function() { id = $(this).attr('id'); - $('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');}, + $('#edit-' + id).css('opacity','1.0');}, function() { id = $(this).attr('id'); - $('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');} + $('#edit-' + id).css('opacity','0');} ); diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 515356cb6..9956ccd31 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -93,13 +93,13 @@ $converse_width="1024px"; if(! $top_photo) $top_photo = '64px'; - $pmenu_top = intval($top_photo) - 6 . 'px'; - $wwtop = intval($top_photo) - 5 . 'px'; + $pmenu_top = intval($top_photo) - 16 . 'px'; + $wwtop = intval($top_photo) - 15 . 'px'; $comment_indent = intval($top_photo) + 10 . 'px'; if(! $reply_photo) $reply_photo = '32px'; - $pmenu_reply = intval($reply_photo) - 6 . 'px'; + $pmenu_reply = intval($reply_photo) - 16 . 'px'; if($nav_min_opacity === false || $nav_min_opacity === '') { $nav_float_min_opacity = 1.0; @@ -114,22 +114,20 @@ // Nav colours have nested values, so we have to define the actual variables // used in the CSS from the higher level "red", "black", etc here if ($nav_colour == "red") { - $nav_bg_1 = "#f88"; - $nav_bg_2 = "#b00"; - $nav_bg_3 = "#f00"; - $nav_bg_4 = "#b00"; - $search_background = '#FFDDDD'; + $nav_bg_1 = $nav_bg_3 = "#ba002f"; + $nav_bg_2 = $nav_bg_4 = "#ad002c"; + $search_background = "#EEEEEE"; $active_colour = '#444444'; } if ($nav_colour == "black") { - $nav_bg_1 = $nav_bg_3 = "#000"; - $nav_bg_2 = $nav_bg_4 = "#222"; + $nav_bg_1 = $nav_bg_3 = "#000"; + $nav_bg_2 = $nav_bg_4 = "#222"; $search_background = '#EEEEEE'; $active_colour = '#AAAAAA'; } if ($nav_colour == "silver") { - $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver"; + $nav_bg_1 = $nav_bg_2 = $nav_bg_3 = $nav_bg_4 = "silver"; $search_background = '#EEEEEE'; } diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php index ca280ef6a..e68533bb4 100644 --- a/view/theme/redbasic/php/theme.php +++ b/view/theme/redbasic/php/theme.php @@ -1,5 +1,15 @@ <?php +/** + * * Name: Redbasic + * * Description: RedMatrix standard theme + * * Version: 1.0 + * * Author: Fabrixxm + * * Maintainer: Mike Macgirvin + * * Compat: Red [*] + * + */ + function redbasic_init(&$a) { } diff --git a/view/theme/redbasic/php/theme_init.php b/view/theme/redbasic/php/theme_init.php new file mode 100644 index 000000000..ccb85a070 --- /dev/null +++ b/view/theme/redbasic/php/theme_init.php @@ -0,0 +1,5 @@ +<?php + +head_add_css('library/font_awesome/css/font-awesome.min.css'); +require_once('view/php/theme_init.php'); + |