From 9393e3321d85ba0c0e595c6e16c0f881e4240406 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Thu, 28 Apr 2011 19:01:46 +0200 Subject: Dispy theme --- view/theme/dispy/icons.png | Bin 0 -> 16306 bytes view/theme/dispy/jot-header.tpl | 175 +++++++++++ view/theme/dispy/jot.tpl | 72 +++++ view/theme/dispy/mail_head.tpl | 7 + view/theme/dispy/menu-user-pin.jpg | Bin 0 -> 385 bytes view/theme/dispy/nav.tpl | 50 +++ view/theme/dispy/notifications.png | Bin 0 -> 2253 bytes view/theme/dispy/profile_tabs.tpl | 7 + view/theme/dispy/search_item.tpl | 40 +++ view/theme/dispy/settings.tpl | 212 +++++++++++++ view/theme/dispy/style.css | 611 +++++++++++++++++++++++++++++++++++++ view/theme/dispy/wall_item.tpl | 47 +++ view/theme/dispy/wallwall_item.tpl | 51 ++++ 13 files changed, 1272 insertions(+) create mode 100644 view/theme/dispy/icons.png create mode 100644 view/theme/dispy/jot-header.tpl create mode 100644 view/theme/dispy/jot.tpl create mode 100644 view/theme/dispy/mail_head.tpl create mode 100644 view/theme/dispy/menu-user-pin.jpg create mode 100644 view/theme/dispy/nav.tpl create mode 100644 view/theme/dispy/notifications.png create mode 100644 view/theme/dispy/profile_tabs.tpl create mode 100644 view/theme/dispy/search_item.tpl create mode 100644 view/theme/dispy/settings.tpl create mode 100644 view/theme/dispy/style.css create mode 100644 view/theme/dispy/wall_item.tpl create mode 100644 view/theme/dispy/wallwall_item.tpl (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/icons.png b/view/theme/dispy/icons.png new file mode 100644 index 000000000..43228bb9d Binary files /dev/null and b/view/theme/dispy/icons.png differ diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl new file mode 100644 index 000000000..4661161b3 --- /dev/null +++ b/view/theme/dispy/jot-header.tpl @@ -0,0 +1,175 @@ + + + + + + diff --git a/view/theme/dispy/jot.tpl b/view/theme/dispy/jot.tpl new file mode 100644 index 000000000..ab121db31 --- /dev/null +++ b/view/theme/dispy/jot.tpl @@ -0,0 +1,72 @@ + +
+
+
 
+
0
+
+ +
+
+ +
+ + + + + + + + + + + +
+
$bang
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+ $jotplugins +
+ +
+ + + +
+ + + +
+
+
diff --git a/view/theme/dispy/mail_head.tpl b/view/theme/dispy/mail_head.tpl new file mode 100644 index 000000000..89615cbd0 --- /dev/null +++ b/view/theme/dispy/mail_head.tpl @@ -0,0 +1,7 @@ +

$messages

+ + diff --git a/view/theme/dispy/menu-user-pin.jpg b/view/theme/dispy/menu-user-pin.jpg new file mode 100644 index 000000000..26449569f Binary files /dev/null and b/view/theme/dispy/menu-user-pin.jpg differ diff --git a/view/theme/dispy/nav.tpl b/view/theme/dispy/nav.tpl new file mode 100644 index 000000000..4fc12d867 --- /dev/null +++ b/view/theme/dispy/nav.tpl @@ -0,0 +1,50 @@ +$langselector + + + +{{ if $nav.login }}$nav.login.1 {{ endif }} +$nav.search.1 +$nav.directory.1 + +
+ $sitelocation + + + +
+ {{ if $nav.network }}{{ endif }} + {{ if $nav.home }}{{ endif }} + {{ if $nav.notifications }}{{ endif }} + {{ if $nav.messages }}{{ endif }} +
+ +
+ + +{{ if $nav.apps }}$nav.apps.1{{ endif }} + + + diff --git a/view/theme/dispy/notifications.png b/view/theme/dispy/notifications.png new file mode 100644 index 000000000..f0f6a90e8 Binary files /dev/null and b/view/theme/dispy/notifications.png differ diff --git a/view/theme/dispy/profile_tabs.tpl b/view/theme/dispy/profile_tabs.tpl new file mode 100644 index 000000000..63b6d48dd --- /dev/null +++ b/view/theme/dispy/profile_tabs.tpl @@ -0,0 +1,7 @@ + +
+ $status + $profile + $photos +
+
\ No newline at end of file diff --git a/view/theme/dispy/search_item.tpl b/view/theme/dispy/search_item.tpl new file mode 100644 index 000000000..41cc95e65 --- /dev/null +++ b/view/theme/dispy/search_item.tpl @@ -0,0 +1,40 @@ +
+
+
+
+ + $name + menu +
+
    + $item_photo_menu +
+
+
+
+
{{ if $location }}$location {{ endif }}
+
+
$lock
+
+ $drop +
+
+
$title
+
+
$body
+
+
+ $name +
$ago
+ +
+ +
+
+
+ +
+
$conv
+ diff --git a/view/theme/dispy/settings.tpl b/view/theme/dispy/settings.tpl new file mode 100644 index 000000000..953e5c3f2 --- /dev/null +++ b/view/theme/dispy/settings.tpl @@ -0,0 +1,212 @@ +
+ $ptitle + $lbl_plug +
+
+ +

$ptitle

+ + +$uexport + +$nickname_block + + +
+ + +

$lbl_pass1

+ + +
+

+$lbl_pass2 +

+ + +
+
+ +
+ + +
+
+ +
+ $oidhtml +
+
+ + +
+ +
+ + +

$lbl_basic

+ +
+ + +
+
+ +
+ + +
+
+ + + +
+ +$zoneselect +
+
+ +
+ + +
+
+ +
+ + +
+
+ + + + +
+ +$theme +
+
+ +
+ +
+ + +

$lbl_prv

+ + + + +
+ + +
$lbl_maxrdesc
+
+
+ + + + +$profile_in_dir + +$profile_in_net_dir + + +
+ +
+ + +
+
+ +
+ + +
+
+ + + +
$lbl_exp1 $lbl_exp2
+
+ + +
+ +
+ + + +

$lbl_not1

+ + +
+
$lbl_not2
+ + +
+ + +
+ + +
+ + +
+ + +
+
+
+ +
+ +
+ +

$lbl_imap0

+

+$imap_desc +$mail_disabled +

+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ + +

$lbl_advn

+ +$pagetype + +
+ +
+ + diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css new file mode 100644 index 000000000..2716071c5 --- /dev/null +++ b/view/theme/dispy/style.css @@ -0,0 +1,611 @@ +body { + margin: 0px; + padding: 0px; + font-family: freesans,helvetica,arial,clean,sans-serif; + font-size: 16px; +} +img { border: 0 none; } + +a { color: #3465a4; text-decoration: none; margin-bottom:1px;} +a:hover { color: #729fcf; padding-bottom: 0px; border-bottom: 1px dotted #729fcf;} + + +.required { display: inline; color: #ff0000;} + +input[type=submit] { + margin-top: 20px; + height: 22px; + background-color: #555753; + color: #eeeeec; + -webkit-border-radius: 5px ; + -moz-border-radius: 5px; + border-radius: 5px; + border: 0px; +} + + + +/** + * login + */ +#login-extra-links a { margin-right: 20px; } + +/********* +* nav +*********/ + +nav { + height: 50px; + display: block; + background-color: #2e3436; + color: #eeeeec; + position: relative; + padding: 0px 20%; +} +nav a { text-decoration: none; color: #eeeeec; border:0px;} +nav a:hover { text-decoration: none; color: #eeeeec; border:0px;} + +nav #banner { + display: block; + position: absolute; + margin-left: 20px; +} +nav #banner #logo-text a { + font-size: 40px; + font-weight: bold; + margin-left: 3px; +} + +nav #user-menu { + display: block; + width: auto; + float: right; + margin-top: 22px; + margin-right: 10px; + position: relative; + vertical-align: middle; + + background-color: #555753; + + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + + background: #555753 url("menu-user-pin.jpg") 98% center no-repeat; +} +nav #user-menu-label { + float: left; + font-size: 12px; + padding: 3px 20px 9px 5px; + height: 10px; +} + +ul#user-menu-popup { + display: none; + position: absolute; + background-color: #555753; + width: 100%; + padding: 10px 0px; + margin: 0px; + top: 20px; + left: 0px; + + -webkit-border-radius: 0px 0px 5px 5px; + -moz-border-radius: 0px 0px 5px 5px; + border-radius: 0px 0px 5px 5px; + + z-index: 10000; +} + +ul#user-menu-popup li { display: block; } +ul#user-menu-popup li a { display: block; padding: 5px; } +ul#user-menu-popup li a:hover { color: #2e3436; background-color: #eeeeec; } +ul#user-menu-popup li a.nav-sep { border-top: 1px solid #eeeeec; } +nav .nav-link { + float: right; + display: block; + width: 22px; + height: 22px; + /*border: 1px solid #eeeeec;*/ + overflow: hidden; + margin-top: 22px; + margin-right: 10px; + text-indent: 50px; + background: transparent url('icons.png') 0px 0px no-repeat; +} + +#nav-directory-link { background-position: 0px -22px } +#nav-directory-link:hover { background-position: -22px -22px;} +#nav-search-link { background-position: 0px -44px } +#nav-search-link:hover { background-position: -22px -44px;} +#nav-apps-link { background-position: 0px -66px } +#nav-apps-link:hover { background-position: -22px -66px;} +#nav-login-link { background-position: 0px -88px } +#nav-login-link:hover { background-position: -22px -88px;} + +#notifications { + height: 20px; width: 100%; + position: absolute; + top:-19px; left: 0px; +} +.nav-ajax-update { + display: none; + width: 30px; + height: 19px; + background: transparent url('notifications.png') 0px 0px no-repeat; + color: #ffffff; + font-weight: bold; + font-size: 0.8em; + padding-top: 0.2em; + text-align: center; + float: left; + margin-right: -4px; +} +.nav-ajax-update a { display: block;} +#net-update-wrap { background-position: 0px 0px; } +#mail-update-wrap { background-position: -30px 0px; } +#notify-update-wrap { background-position: -60px 0px; } +#home-update-wrap { background-position: -90px 0px; } + +/** sysmsg **/ +#sysmsg { + position:absolute; top: 20px; left:40%; + -moz-box-shadow: 0px 0px 5px #888; + -webkit-box-shadow: 0px 0px 5px #888; + box-shadow: 0px 0px 5px #888; + padding: 10px; background-color: #fff; +} + +/** +* aside +**/ + +aside { + position: absolute; + right: 20%; + width: 200px; + font-size: 0.7em; + +} +.vcard .fn { font-size: 1.7em; font-weight: bold; border-bottom: 1px solid #729fcf; padding-top: 1px;} + +.vcard #profile-photo-wrapper { margin: 10px 0px } + +aside h4 { font-size: 1.2em; } + +aside #viewcontacts { text-align: right;} + + +/** + * jot + **/ +#profile-jot-text_tbl { margin-bottom: 10px; } +#profile-jot-submit-wrapper { float: right;} +#profile-jot-perms { + float: right; + background-color: #555753; + height: 22px; width: 20px; + -webkit-border-radius: 0px 5px 5px 0px; + -moz-border-radius: 0px 5px 5px 0px; + border-radius: 0px 5px 5px 0px; + overflow: hidden; + border: 0px; + margin-left:2px; +} +#profile-jot-submit { + float: right; + height: 22px; + background-color: #555753; + color: #eeeeec; + -webkit-border-radius: 5px 0px 0px 5px; + -moz-border-radius: 5px 0px 0px 5px; + border-radius: 5px 0px 0px 5px; + border: 0px; +} +#character-counter { + float: right; padding: 8px 10px; +} +#profile-rotator-wrapper { + float: right; +} + +.jot-tool { + float: left; + margin-right: 5px; +} +#profile-jot-tools-end, +#profile-jot-banner-end { clear: both; } + + +/** + * section + */ +section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} + +/** tabs **/ +.tabs-wrapper {list-style: none; padding: 0px; margin: 0px; border-bottom: 1px solid #729fcf; } +.tabs-wrapper li { display: inline;} +.tabs { padding: 0px 5px; margin-right: 10px; } +.tabs:hover { background-color: #729fcf; color: #eeeeec; border: 0px; } + + +/** + * items + */ +.wall-item-outside-wrapper { + margin-top: 50px; +} +.wall-item-outside-wrapper-end { clear: both;} +.wall-item-content-wrapper { position: relative; } +.wall-item-photo-menu { display: none;} +.wall-item-photo-menu-button { + display:none; + text-indent: -9999px; + background: #555753 url("menu-user-pin.jpg") no-repeat 75px center; + position: absolute; + overflow: hidden; + height: 20px; width: 90px; + top: 85px; left: 0px; + -webkit-border-radius: 0px 0px 5px 5px; + -moz-border-radius: 0px 0px 5px 5px; + border-radius: 0px 0px 5px 5px; + + +} + +.wall-item-info { float: left; width: 140px; } +.wall-item-photo-wrapper { + width: 80px; height: 80px; + position: relative; + padding: 5px; + background-color: #555753; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} + + +.wall-item-tools { + float: right; + /*height: 0px; + padding-top: 20px; + overflow:hidden; + background: #ffffff url("icons.png") no-repeat -50px -40px;*/ + filter: alpha(opacity=20); + opacity: 0.2; + -webkit-transition: all 1s ease-in-out; + -moz-transition: all 1s ease-in-out; + -o-transition: all 1s ease-in-out; + -ms-transition: all 1s ease-in-out; + transition: all 1s ease-in-out; +} +.wall-item-tools:hover { + /*height:auto;*/ + filter: alpha(opacity=100); + opacity: 1; + -webkit-transition: all 1s ease-in-out; + -moz-transition: all 1s ease-in-out; + -o-transition: all 1s ease-in-out; + -ms-transition: all 1s ease-in-out; + transition: all 1s ease-in-out; + +} + +.wall-item-title { font-size: 1.2em; font-weight: bold;} +.wall-item-body { margin-left: 140px;} +.wall-item-lock-wrapper { float: right; } +.wall-item-dislike, +.wall-item-like, +.wall-item-author { clear: left; font-size: 0.8em; margin: 10px 0px 0px 140px; color: #babdb6;} +.wall-item-ago { display: inline; padding-left: 10px;} +.wall-item-wrapper-end { clear:both; } +.wall-item-location { + margin-top:5px; + width: 100px; + overflow: hidden; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} +.wall-item-location span { float: left; } +.wall-item-location a { margin-left: 25px; display: block;} + +.wallwall .wwto { + left: -10px; + margin: 0; + position: absolute; + top: 65px; + width: 30px; + z-index: 10001; + width: 30px; + height: 30px; + +} +.wallwall .wwto img { width: 30px; height: 30px;} +.wallwall .wall-item-photo-end { clear: both; } +.wall-item-arrowphoto-wrapper { + position: absolute; + left: 20px; + top: 70px; + z-index: 10002; +} + +.wall-item-photo-menu { + min-width 92px; + border: 2px solid #FFFFFF; + border-top: 0px; + background: #555753; + position: absolute; + left: -2px; top: 101px; + display: none; + z-index: 10000; + -webkit-border-radius: 0px 5px 5px 5px; + -moz-border-radius: 0px 5px 5px 5px; + border-radius: 0px 5px 5px 5px; +} +.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none } +.wall-item-photo-menu li a { white-space: nowrap; display: block; padding: 5px 2px; color: #eeeeec; } +.wall-item-photo-menu li a:hover { color: #555753; background: #eeeeec; } + + + +/** + * comment + */ +.wall-item-outside-wrapper.comment { margin-left: 80px; } +.wall-item-outside-wrapper.comment .wall-item-photo { width: 40px; height: 40px;} +.wall-item-outside-wrapper.comment .wall-item-photo-wrapper {width: 40px; height: 40px; } +.wall-item-outside-wrapper.comment .wall-item-photo-menu-button { + width: 50px; top: 45px; background-position: 35px center; +} +.wall-item-outside-wrapper.comment .wall-item-info { width: 60px; } +.wall-item-outside-wrapper.comment .wall-item-body { margin-left: 60px;} +.wall-item-outside-wrapper.comment .wall-item-author { margin-left: 60px;} + +.wall-item-outside-wrapper.comment .wall-item-photo-menu { + top: 60px; + -webkit-border-radius: 0px 5px 5px 5px; + -moz-border-radius: 0px 5px 5px 5px; + border-radius: 0px 5px 5px 5px; +} + + +.comment-wwedit-wrapper, +.comment-edit-wrapper { margin: 30px 0px 0px 80px;} +.comment-wwedit-wrapper img, +.comment-edit-wrapper img { width: 20px; height: 20px; } +.comment-edit-photo-link { float: left; width: 40px;} +.comment-edit-text-empty { width: 80%; height: 20px; border: 0px; color: #babdb6; + -webkit-transition: all 0.5s ease-in-out; + -moz-transition: all 0.5s ease-in-out; + -o-transition: all 0.5s ease-in-out; + -ms-transition: all 0.5s ease-in-out; + transition: all 0.5s ease-in-out; +} +.comment-edit-text-empty:hover { color: #999999;} +.comment-edit-text-full { width: 80%; height: 6em; + -webkit-transition: all 0.5s ease-in-out; + -moz-transition: all 0.5s ease-in-out; + -o-transition: all 0.5s ease-in-out; + -ms-transition: all 0.5s ease-in-out; + transition: all 0.5s ease-in-out; +} +.comment-edit-submit-wrapper { width: 80%; margin-left: 40px; text-align: right; } +.comment-edit-submit { + height: 22px; + background-color: #555753; + color: #eeeeec; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + border: 0px; +} + + + + +/** + * photos + **/ +.photo-album-image-wrapper, +.photo-top-image-wrapper { + float: left; + margin: 0px 10px 10px 0px; + -moz-box-shadow: 0px 0px 5px #888; + -webkit-box-shadow: 0px 0px 5px #888; + box-shadow: 0px 0px 5px #888; + background-color: #eeeeee; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + + height: 265px; + position:relative; + +} + +.photo-top-image-wrapper a:hover, +#photo-photo a:hover, +.photo-album-image-wrapper a:hover { + border-bottom: 0px; +} + +.photo-top-photo, +.photo-album-photo { + -webkit-border-radius: 5px 5px 0px 0px; + -moz-border-radius: 5px 5px 0px 0px; + border-radius: 5px 5px 0px 0px; + } + +.photo-top-album-name { position: absolute; bottom: 0px; padding: 0px 5px;} +.caption { position: absolute; bottom: 0px; margin: 0px 5px} + +/** + * message + */ +.prvmail-text { width: 100%;} +#prvmail-subject { width: 100%;} +#prvmail-submit-wrapper { margin-top: 10px; } +#prvmail-submit { + float: right; + margin-top: 0px; +} +#prvmail-submit-wrapper > div { + margin-right: 5px; + float: left; +} +.mail-list-outside-wrapper { margin-top: 20px;} +.mail-list-sender { float: left; } +.mail-list-detail { margin-left: 90px; } +.mail-list-sender-name { display: inline; } +.mail-list-date { display: inline; font-size: 0.8em; padding-left: 10px;} +.mail-list-subject { font-size: 1.5em;} +.mail-list-delete-wrapper { float: right; } +.mail-list-outside-wrapper-end { clear: both;} + +/** + * contacts + */ + +.contact-entry-wrapper { float: left; margin-right: 20px; margin-bottom: 20px; position: relative;} +.contact-entry-direction-wrapper {position: absolute; top: 20px;} +.contact-entry-edit-links { position: absolute; top: 60px; } +.contact-entry-photo { + margin-left:20px; +} +.contact-entry-edit-links .icon { + border: 1px solid #babdb6; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + background-color: #ffffff; +} + +/** + * register, settings & profile forms + */ +#settings-nickname-desc { + background-color: #DDEFFF; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + padding: 5px; +} + +#register-form div, +#profile-edit-form div, +#settings-form div { + clear: both; +} + +#register-form label, +#profile-edit-form label, +#settings-form label { + width: 300px; float: left; +} + +#register-form span, +#profile-edit-form span, +#settings-form span { + color: #555753; + display:block; + margin-bottom: 20px; +} +.settings-submit-wrapper, +.profile-edit-submit-wrapper { margin: 30px 0px;} +.settings-submit-wrapper input, + +.profile-listing { float: left; margin: 20px 20px 0px 0px} + +#profile-edit-links ul { margin: 20px 0px; padding: 0px; list-style: none; } + + +#register-sitename { display: inline; font-weight: bold;} + +/** + * contacts selector + */ + +.contact-block-div { + height: 200px; + overflow: auto; +} +#prof-members { + height: 200px; + border: 1px solid #555753; + -webkit-border-radius: 5px 5px 0px 0px; + -moz-border-radius: 5px 5px 0px 0px; + border-radius: 5px 5px 0px 0px; +} +#prof-all-contacts { + height: 200px; + border: 1px solid #555753; + -webkit-border-radius: 0px 0px 5px 5px; + -moz-border-radius: 0px 0px 5px 5px; + border-radius: 0px 0px 5px 5px; +} +#prof-members h3, +#prof-all-contacts h3{ + color: #eeeeec; + background-color: #555753; + margin: 0px; + padding: 5px; +} + +#prof-separator { display: none;} + + +/** + * directory + */ +.directory-item {float: left; margin: 50px 50px 0px 0px;} + +/** + * ICONS + */ +.icon { + display: block; width: 20px; height: 20px; + background-image: url('icons.png'); +} +/*.icon:hover { + border-bottom: 0px; +}*/ + +.border { + border: 1px solid #babdb6; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.article { background-position: -50px 0px;} +.audio { background-position: -70px 0px;} +.block { background-position: -90px 0px;} +.drop { background-position: -110px 0px;} +.drophide { background-position: -130px 0px;} +.edit { background-position: -150px 0px;} +.camera { background-position: -170px 0px;} +.dislike { background-position: -190px 0px;} +.like { background-position: -210px 0px;} +.link { background-position: -230px 0px;} + +.globe { background-position: -50px -20px;} +.noglobe { background-position: -70px -20px;} +.no { background-position: -90px -20px;} +.pause { background-position: -110px -20px;} +.play { background-position: -130px -20px;} +.pencil { background-position: -150px -20px;} +.small-pencil{ background-position: -170px -20px;} +.recycle { background-position: -190px -20px;} +.remote-link{ background-position: -210px -20px;} +.share { background-position: -230px -20px;} + +.tools { background-position: -50px -40px;} +.lock { background-position: -70px -40px;} +.unlock { background-position: -90px -40px;} +.video { background-position: -110px -40px;} +.youtube { background-position: -130px -40px;} + +/** + * footer + */ .cc-license { margin-top: 100px; font-size: 0.7em; } +footer { display: block; margin-top: 50px;} \ No newline at end of file diff --git a/view/theme/dispy/wall_item.tpl b/view/theme/dispy/wall_item.tpl new file mode 100644 index 000000000..ed1206f81 --- /dev/null +++ b/view/theme/dispy/wall_item.tpl @@ -0,0 +1,47 @@ +
+
+
+
+ + $name + + menu +
+
    + $item_photo_menu +
+
+
+
+
{{ if $location }}$location {{ endif }}
+
+
$lock
+
+ $vote + $plink + $edpost + $drop +
+
+
$title
+
+
$body
+
+
+ $name +
$ago
+ +
+
+
+ +
$dislike
+
+ $comment +
+
+ +
+ diff --git a/view/theme/dispy/wallwall_item.tpl b/view/theme/dispy/wallwall_item.tpl new file mode 100644 index 000000000..263b67c73 --- /dev/null +++ b/view/theme/dispy/wallwall_item.tpl @@ -0,0 +1,51 @@ +
+
+
+
+ + $owner_name +
+
$wall
+
+ + $name + menu +
+
    + $item_photo_menu +
+
+ +
+
+
{{ if $location }}$location {{ endif }}
+
+
$lock
+
+ $vote + $plink + $edpost + $drop +
+
+
$title
+
+
$body
+
+
+ $name +
$ago
+
+
+
+ +
$dislike
+
+ $comment +
+
+ +
+ -- cgit v1.2.3 From f6984f9929074db46e38c1a26a03d91309b29af2 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Thu, 28 Apr 2011 19:32:35 +0200 Subject: works on dispy theme --- view/theme/dispy/style.css | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 2716071c5..d2d47427f 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -175,6 +175,11 @@ aside h4 { font-size: 1.2em; } aside #viewcontacts { text-align: right;} +/** +* contacts block +*/ +.contact-block-div { width: 50px; height: 50px; float: left; } +#contact-block-end { clear: both; } /** * jot @@ -525,19 +530,17 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} * contacts selector */ -.contact-block-div { - height: 200px; - overflow: auto; -} #prof-members { height: 200px; + overflow: auto; border: 1px solid #555753; -webkit-border-radius: 5px 5px 0px 0px; -moz-border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px; } #prof-all-contacts { - height: 200px; + height: 200px; + overflow: auto; border: 1px solid #555753; -webkit-border-radius: 0px 0px 5px 5px; -moz-border-radius: 0px 0px 5px 5px; @@ -604,8 +607,10 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} .unlock { background-position: -90px -40px;} .video { background-position: -110px -40px;} .youtube { background-position: -130px -40px;} - + /** * footer - */ .cc-license { margin-top: 100px; font-size: 0.7em; } -footer { display: block; margin-top: 50px;} \ No newline at end of file + */ + .cc-license { margin-top: 100px; font-size: 0.7em; } +footer { display: block; margin: 50px 20%; clear: both; } + \ No newline at end of file -- cgit v1.2.3 From 2f83e134f9e6fba6f0491d33d3c56bc3d7b8c467 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 29 Apr 2011 12:37:35 +0200 Subject: Dispy: fix user menu order, alignment issues, new items counters not showing up, jot acl, contact edit, location display --- view/theme/dispy/nav.tpl | 15 +++---- view/theme/dispy/style.css | 98 ++++++++++++++++++++++++++++++++++++---------- 2 files changed, 85 insertions(+), 28 deletions(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/nav.tpl b/view/theme/dispy/nav.tpl index 4fc12d867..ee96641b2 100644 --- a/view/theme/dispy/nav.tpl +++ b/view/theme/dispy/nav.tpl @@ -25,20 +25,21 @@ $langselector {{ if $nav.messages }}
  • $nav.messages.1
  • {{ endif }} {{ if $nav.contacts }}
  • $nav.contacts.1
  • {{ endif }} - {{ if $nav.manage }}
  • $nav.manage.1
  • {{ endif }} - + {{ if $nav.profiles }}
  • $nav.profiles.1
  • {{ endif }} {{ if $nav.settings }}
  • $nav.settings.1
  • {{ endif }} - {{ if $nav.profiles }}
  • $nav.profiles.1
  • {{ endif }} + + {{ if $nav.manage }}
  • $nav.manage.1
  • {{ endif }} + {{ if $nav.logout }}
  • $nav.logout.1
  • {{ endif }}
    - {{ if $nav.network }}{{ endif }} - {{ if $nav.home }}{{ endif }} - {{ if $nav.notifications }}{{ endif }} - {{ if $nav.messages }}{{ endif }} + {{ if $nav.network }}{{ endif }} + {{ if $nav.home }}{{ endif }} + {{ if $nav.notifications }}{{ endif }} + {{ if $nav.messages }}{{ endif }}
    diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index d2d47427f..f688f4272 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -40,7 +40,7 @@ nav { background-color: #2e3436; color: #eeeeec; position: relative; - padding: 0px 20%; + padding: 0px 10%; } nav a { text-decoration: none; color: #eeeeec; border:0px;} nav a:hover { text-decoration: none; color: #eeeeec; border:0px;} @@ -129,7 +129,6 @@ nav .nav-link { top:-19px; left: 0px; } .nav-ajax-update { - display: none; width: 30px; height: 19px; background: transparent url('notifications.png') 0px 0px no-repeat; @@ -140,12 +139,12 @@ nav .nav-link { text-align: center; float: left; margin-right: -4px; + display: none; } -.nav-ajax-update a { display: block;} -#net-update-wrap { background-position: 0px 0px; } -#mail-update-wrap { background-position: -30px 0px; } -#notify-update-wrap { background-position: -60px 0px; } -#home-update-wrap { background-position: -90px 0px; } +#net-update { background-position: 0px 0px; } +#mail-update { background-position: -30px 0px; } +#notify-update { background-position: -60px 0px; } +#home-update { background-position: -90px 0px; } /** sysmsg **/ #sysmsg { @@ -162,7 +161,7 @@ nav .nav-link { aside { position: absolute; - right: 20%; + right: 11%; width: 200px; font-size: 0.7em; @@ -185,6 +184,7 @@ aside #viewcontacts { text-align: right;} * jot **/ #profile-jot-text_tbl { margin-bottom: 10px; } +#profile-jot-text_ifr { width: 99.9%!important } #profile-jot-submit-wrapper { float: right;} #profile-jot-perms { float: right; @@ -206,6 +206,7 @@ aside #viewcontacts { text-align: right;} -moz-border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px; border: 0px; + margin-top: 0px; } #character-counter { float: right; padding: 8px 10px; @@ -221,11 +222,54 @@ aside #viewcontacts { text-align: right;} #profile-jot-tools-end, #profile-jot-banner-end { clear: both; } +#profile-jot-email-wrapper { + margin: 10px 20% 0px 20%; + border: 1px solid #555753; + border-bottom: 0px; +} +#profile-jot-email-label { background-color: #555753; color: #ccccce; padding: 5px;} +#profile-jot-email { margin: 5px; width: 90%; } + +#profile-jot-networks { + margin: 0px 20%; + border: 1px solid #555753; + border-top: 0px; + border-bottom: 0px; + padding: 5px; +} +#profile-jot-acl-wrapper { + margin: 0px 20%; + border: 1px solid #555753; + border-top: 0px; +} +#group_allow_wrapper, +#group_deny_wrapper, +#acl-permit-outer-wrapper { width: 47%; float: left; } + +#contact_allow_wrapper, +#contact_deny_wrapper, +#acl-deny-outer-wrapper { width: 47%; float: right; } + +#acl-permit-text, +#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px;} + +#acl-permit-wrapper, +#acl-deny-wrapper { padding: 5px; } + +#acl-allow-group-label, +#acl-allow-contact-label, +#acl-deny-group-label, +#acl-deny-contact-label { display: block } + +#profile-jot-acl-wrapper select { width: 100%; } + +#acl-wrapper-end, +#profile-jot-end { clear: both; height: 5px; } /** * section */ -section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} +section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} /** tabs **/ .tabs-wrapper {list-style: none; padding: 0px; margin: 0px; border-bottom: 1px solid #729fcf; } @@ -311,8 +355,8 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} text-overflow: ellipsis; -o-text-overflow: ellipsis; } -.wall-item-location span { float: left; } -.wall-item-location a { margin-left: 25px; display: block;} +.wall-item-location .icon { float: left; } +.wall-item-location a { margin-left: 25px; display: block; font-size: 0.7em; } .wallwall .wwto { left: -10px; @@ -335,7 +379,7 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} } .wall-item-photo-menu { - min-width 92px; + min-width: 92px; border: 2px solid #FFFFFF; border-top: 0px; background: #555753; @@ -367,10 +411,8 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} .wall-item-outside-wrapper.comment .wall-item-author { margin-left: 60px;} .wall-item-outside-wrapper.comment .wall-item-photo-menu { + min-width: 50px; top: 60px; - -webkit-border-radius: 0px 5px 5px 5px; - -moz-border-radius: 0px 5px 5px 5px; - border-radius: 0px 5px 5px 5px; } @@ -485,6 +527,24 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} background-color: #ffffff; } +#contact-edit-banner-name { font-size: 1.5em; } +#contact-edit-photo-wrapper {position: relative; float: left; padding: 20px;} +#contact-edit-direction-icon { position: absolute; top: 60px; left:0px;} +#contact-edit-nav-wrapper { margin-left: 210px; } +#contact-edit-links { float: left; margin-top: 23px; } +#contact-drop-links { margin-left: 5px; } +#contact-edit-nav-wrapper .icon { + border: 1px solid #babdb6; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +#contact-edit-poll-wrapper { margin-left: 50px; } +#contact-edit-last-update-text { margin-bottom: 15px; } +#contact-edit-last-updated { font-weight: bold; } +#contact-edit-poll-text { display: inline; } +#contact-edit-end { clear: both; } + /** * register, settings & profile forms */ @@ -517,8 +577,6 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} } .settings-submit-wrapper, .profile-edit-submit-wrapper { margin: 30px 0px;} -.settings-submit-wrapper input, - .profile-listing { float: left; margin: 20px 20px 0px 0px} #profile-edit-links ul { margin: 20px 0px; padding: 0px; list-style: none; } @@ -610,7 +668,5 @@ section { margin: 10px 20% 0px 20%; font-size: 0.8em; padding-right: 230px;} /** * footer - */ - .cc-license { margin-top: 100px; font-size: 0.7em; } -footer { display: block; margin: 50px 20%; clear: both; } - \ No newline at end of file + */ .cc-license { margin-top: 100px; font-size: 0.7em; } +footer { display: block; margin: 50px 20%; clear: both; } \ No newline at end of file -- cgit v1.2.3 From b70a2dad33d25e04309dc0e404b62628bf2acfd2 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 5 May 2011 10:53:25 +0200 Subject: Dispy theme works --- view/theme/dispy/connect.png | Bin 0 -> 443 bytes view/theme/dispy/nav.tpl | 2 +- view/theme/dispy/next.png | Bin 0 -> 891 bytes view/theme/dispy/photo_view.tpl | 40 +++++++++++ view/theme/dispy/prev.png | Bin 0 -> 853 bytes view/theme/dispy/style.css | 151 +++++++++++++++++++++++++++++++++++----- 6 files changed, 175 insertions(+), 18 deletions(-) create mode 100644 view/theme/dispy/connect.png create mode 100644 view/theme/dispy/next.png create mode 100644 view/theme/dispy/photo_view.tpl create mode 100644 view/theme/dispy/prev.png (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/connect.png b/view/theme/dispy/connect.png new file mode 100644 index 000000000..b76fc13dc Binary files /dev/null and b/view/theme/dispy/connect.png differ diff --git a/view/theme/dispy/nav.tpl b/view/theme/dispy/nav.tpl index ee96641b2..3938777e9 100644 --- a/view/theme/dispy/nav.tpl +++ b/view/theme/dispy/nav.tpl @@ -1,6 +1,6 @@ $langselector - + {{ if $nav.login }}$nav.login.1 {{ endif }} $nav.search.1 diff --git a/view/theme/dispy/next.png b/view/theme/dispy/next.png new file mode 100644 index 000000000..353e2e72a Binary files /dev/null and b/view/theme/dispy/next.png differ diff --git a/view/theme/dispy/photo_view.tpl b/view/theme/dispy/photo_view.tpl new file mode 100644 index 000000000..4582751c6 --- /dev/null +++ b/view/theme/dispy/photo_view.tpl @@ -0,0 +1,40 @@ +
    +

    $album.1

    + + + +
    + {{ if $prevlink }}{{ endif }} + + {{ if $nextlink }}{{ endif }} +
    + +
    +
    $desc
    +{{ if $tags }} +
    $tags.0
    +
    $tags.1
    +{{ endif }} +{{ if $tags.2 }}{{ endif }} + +{{ if $edit }}$edit{{ endif }} + +{{ if $likebuttons }} +
    + $likebuttons + $like + $dislike +
    +{{ endif }} + +$comments + +$paginate + diff --git a/view/theme/dispy/prev.png b/view/theme/dispy/prev.png new file mode 100644 index 000000000..0ae6022af Binary files /dev/null and b/view/theme/dispy/prev.png differ diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index f688f4272..17b3a61b6 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -11,6 +11,8 @@ a:hover { color: #729fcf; padding-bottom: 0px; border-bottom: 1px dotted #729fcf .required { display: inline; color: #ff0000;} +.fakelink { color: #3465a4; cursor: pointer; } +.fakelink :hover{ color: #729fcf; } input[type=submit] { margin-top: 20px; @@ -23,7 +25,29 @@ input[type=submit] { border: 0px; } +.smalltext { font-size: 0.7em } +#panel { + position: absolute; + font-size:0.8em; + -webkit-border-radius: 5px ; + -moz-border-radius: 5px; + border-radius: 5px; + border: 1px solid #ffffff; + background-color: #2e3436; + color: #eeeeec; + padding:1em; +} + +.pager { + padding-top: 30px; + display:block; + clear: both; + text-align: center; +} + +.pager span { padding: 4px; margin:4px; } +.pager_current { background-color: #729fcf; color: #ffffff; } /** * login @@ -148,11 +172,21 @@ nav .nav-link { /** sysmsg **/ #sysmsg { - position:absolute; top: 20px; left:40%; + position:fixed; + bottom: 0px; right:10%; -moz-box-shadow: 0px 0px 5px #888; -webkit-box-shadow: 0px 0px 5px #888; box-shadow: 0px 0px 5px #888; - padding: 10px; background-color: #fff; + padding: 10px; + background-color: #fcaf3e; border:2px solid #f8911b; + border-bottom:0px; + padding-bottom: 50px; + z-index: 1000; +} +#sysmsg br { + display:block; + margin:2px 0px; + border-top: 1px solid #ccccce; } /** @@ -174,6 +208,17 @@ aside h4 { font-size: 1.2em; } aside #viewcontacts { text-align: right;} +#profile-extra-links ul { margin-left: 0px; padding-left: 0px; list-style: none; } + +#dfrn-request-link { + background: #3465A4 url('connect.png') no-repeat 95% center; + border-radius: 5px 5px 5px 5px; + color: #FFFFFF; + display: block; + font-size: 1.2em; + padding: 0.2em 0.5em; +} + /** * contacts block */ @@ -223,7 +268,7 @@ aside #viewcontacts { text-align: right;} #profile-jot-banner-end { clear: both; } #profile-jot-email-wrapper { - margin: 10px 20% 0px 20%; + margin: 10px 10% 0px 10%; border: 1px solid #555753; border-bottom: 0px; } @@ -231,14 +276,14 @@ aside #viewcontacts { text-align: right;} #profile-jot-email { margin: 5px; width: 90%; } #profile-jot-networks { - margin: 0px 20%; + margin: 0px 10%; border: 1px solid #555753; border-top: 0px; border-bottom: 0px; padding: 5px; } #profile-jot-acl-wrapper { - margin: 0px 20%; + margin: 0px 10%; border: 1px solid #555753; border-top: 0px; } @@ -261,6 +306,8 @@ aside #viewcontacts { text-align: right;} #acl-deny-group-label, #acl-deny-contact-label { display: block } +#group_allow, #contact_allow, +#group_deny, #contact_deny, #profile-jot-acl-wrapper select { width: 100%; } #acl-wrapper-end, @@ -289,7 +336,7 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .wall-item-photo-menu { display: none;} .wall-item-photo-menu-button { display:none; - text-indent: -9999px; + text-indent: -99999px; background: #555753 url("menu-user-pin.jpg") no-repeat 75px center; position: absolute; overflow: hidden; @@ -356,7 +403,9 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} -o-text-overflow: ellipsis; } .wall-item-location .icon { float: left; } -.wall-item-location a { margin-left: 25px; display: block; font-size: 0.7em; } +.wall-item-location > a { margin-left: 25px; font-size: 0.7em; display: block;} +.wall-item-location .smalltext { margin-left: 25px; font-size: 0.7em; display: block;} +.wall-item-location > br { display: none; } .wallwall .wwto { left: -10px; @@ -395,11 +444,12 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .wall-item-photo-menu li a { white-space: nowrap; display: block; padding: 5px 2px; color: #eeeeec; } .wall-item-photo-menu li a:hover { color: #555753; background: #eeeeec; } - - /** * comment */ + + .ccollapse-wrapper { font-size: 0.9em; margin-left: 80px; } + .wall-item-outside-wrapper.comment { margin-left: 80px; } .wall-item-outside-wrapper.comment .wall-item-photo { width: 40px; height: 40px;} .wall-item-outside-wrapper.comment .wall-item-photo-wrapper {width: 40px; height: 40px; } @@ -453,6 +503,9 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} /** * photos **/ +#photo-top-links { + margin-bottom:30px; +} .photo-album-image-wrapper, .photo-top-image-wrapper { float: left; @@ -461,12 +514,12 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} -webkit-box-shadow: 0px 0px 5px #888; box-shadow: 0px 0px 5px #888; background-color: #eeeeee; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - - height: 265px; - position:relative; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + + padding-bottom: 30px; + position:relative; } @@ -486,6 +539,61 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} .photo-top-album-name { position: absolute; bottom: 0px; padding: 0px 5px;} .caption { position: absolute; bottom: 0px; margin: 0px 5px} + +#photo-photo{ + position: relative; + float:left; +} +#photo-photo-end { clear: both; } +#photo-prev-link, +#photo-next-link{ + position: absolute; + width:30%; + height: 100%; + background-color: rgba(255,255,255,0.5); + opacity: 0; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + background-position: center center; + background-repeat: no-repeat; + +} +#photo-prev-link { left:0px; top:0px; background-image: url('prev.png'); } +#photo-next-link { right:0px; top:0px; background-image: url('next.png');} + +#photo-prev-link a, +#photo-next-link a{ + display: block; width: 100%; height: 100%; + overflow: hidden; + text-indent: -900000px; +} + +#photo-prev-link:hover, +#photo-next-link:hover{ + opacity: 1; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + -ms-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} + +#photos-upload-spacer, +#photos-upload-new-wrapper, +#photos-upload-exist-wrapper { margin-bottom: 1em; } +#photos-upload-existing-album-text, +#photos-upload-newalbum-div { + background-color: #555753; + color: #eeeeec; + padding: 1px; +} +#photos-upload-album-select, +#photos-upload-newalbum { width: 99% } +#photos-upload-perms-menu { text-align: right; } + /** * message */ @@ -513,6 +621,7 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} * contacts */ +.view-contact-wrapper, .contact-entry-wrapper { float: left; margin-right: 20px; margin-bottom: 20px; position: relative;} .contact-entry-direction-wrapper {position: absolute; top: 20px;} .contact-entry-edit-links { position: absolute; top: 60px; } @@ -614,6 +723,12 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} #prof-separator { display: none;} +/** + * profile + */ +#cropimage-wrapper { float:left; } +#crop-image-form { clear:both; } + /** * directory @@ -668,5 +783,7 @@ section { margin: 10px 11% 0px 11%; font-size: 0.8em; padding-right: 230px;} /** * footer - */ .cc-license { margin-top: 100px; font-size: 0.7em; } -footer { display: block; margin: 50px 20%; clear: both; } \ No newline at end of file + */ + .cc-license { margin-top: 100px; font-size: 0.7em; } +footer { display: block; margin: 50px 20%; clear: both; } + -- cgit v1.2.3 From 8674d01432c54bcbf8a7be0461a3c52d898bc884 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 12 May 2011 18:55:28 -0700 Subject: provide textmode "micropro" (small profile display but without the photo) for better scalability of group selection tools when confronted with huge numbers of contacts --- view/theme/dispy/style.css | 1 + 1 file changed, 1 insertion(+) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index 17b3a61b6..a0f860494 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -223,6 +223,7 @@ aside #viewcontacts { text-align: right;} * contacts block */ .contact-block-div { width: 50px; height: 50px; float: left; } +.contact-block-textdiv { width: 150px; height: 34px; float: left; } #contact-block-end { clear: both; } /** -- cgit v1.2.3 From a27b7fb28d151c00eef8319cdf876896d36df8b0 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 19 May 2011 19:55:34 -0700 Subject: more indicators of public visibility --- view/theme/dispy/jot-header.tpl | 2 ++ view/theme/dispy/style.css | 11 +++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 4661161b3..40584878a 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -77,10 +77,12 @@ tinyMCE.init({ $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { selstr = $(this).text(); $('#jot-perms-icon').removeClass('unlock').addClass('lock'); + $('#jot-public').hide(); $('.profile-jot-net input').attr('disabled', 'disabled'); }); if(selstr == null) { $('#jot-perms-icon').removeClass('lock').addClass('unlock'); + $('#jot-public').show(); $('.profile-jot-net input').attr('disabled', false); } diff --git a/view/theme/dispy/style.css b/view/theme/dispy/style.css index a0f860494..a212c1935 100644 --- a/view/theme/dispy/style.css +++ b/view/theme/dispy/style.css @@ -296,8 +296,15 @@ aside #viewcontacts { text-align: right;} #contact_deny_wrapper, #acl-deny-outer-wrapper { width: 47%; float: right; } -#acl-permit-text, -#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px;} +#acl-permit-text {background-color: #555753; color: #ccccce; padding: 5px; float: left;} +#jot-public {background-color: #555753; color: #ff0000; padding: 5px; float: left;} +#acl-deny-text {background-color: #555753; color: #ccccce; padding: 5px; float: left;} + +#acl-permit-text-end, +#acl-deny-text-end { clear: both; } + + + #acl-permit-wrapper, #acl-deny-wrapper { padding: 5px; } -- cgit v1.2.3 From 20807ab8b4e0d1180b7fe74624a58b80b6cfc52a Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 19 May 2011 20:11:09 -0700 Subject: dispy jot-header.tpl missing some code updates --- view/theme/dispy/jot-header.tpl | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'view/theme/dispy') diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 40584878a..00a4371c4 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -31,23 +31,30 @@ tinyMCE.init({ //Character count ed.onKeyUp.add(function(ed, e) { var txt = tinyMCE.activeEditor.getContent(); - var text = txt.length; - if(txt.length <= 140) { + var textlen = txt.length; + if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) { + $('#profile-jot-desc').html(ispublic); + } + else { + $('#profile-jot-desc').html(' '); + } + + if(textlen <= 140) { $('#character-counter').removeClass('red'); $('#character-counter').removeClass('orange'); $('#character-counter').addClass('grey'); } - if((txt.length > 140) && (txt .length <= 420)) { + if((textlen > 140) && (textlen <= 420)) { $('#character-counter').removeClass('grey'); $('#character-counter').removeClass('red'); $('#character-counter').addClass('orange'); } - if(txt.length > 420) { + if(textlen > 420) { $('#character-counter').removeClass('grey'); $('#character-counter').removeClass('orange'); $('#character-counter').addClass('red'); } - $('#character-counter').text(text); + $('#character-counter').text(textlen); }); ed.onInit.add(function(ed) { @@ -60,6 +67,7 @@ tinyMCE.init({