From fa8b4e98b727a2af58fea55e93546089fe9bea2b Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Dec 2012 15:49:22 -0800 Subject: some cleanup - Thomas we can put the radius/shadow stuff back later for the hipster kids, it's quite distracting at the moment and makes it hard to get serious work done. Hmmm. Wonder if we could make radius/shadow configurable like colours.... and maybe even screen transparency.... that could be interesting. --- include/conversation.php | 1 + js/main.js | 4 ++-- version.inc | 2 +- view/theme/redbasic/css/style.css | 46 ++++++++++++++++++++++++++------------- view/tpl/contact_block.tpl | 2 +- view/tpl/conv_frame.tpl | 3 +++ view/tpl/profile_vcard.tpl | 2 +- 7 files changed, 40 insertions(+), 20 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index f910801ba..ea2f84cbf 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -703,6 +703,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') { '$mode' => $mode, '$user' => $a->user, '$threads' => $threads, + '$wait' => t('Loading...'), '$dropping' => ($page_dropping?t('Delete Selected Items'):False), )); diff --git a/js/main.js b/js/main.js index e9ff2fc88..144db15e6 100644 --- a/js/main.js +++ b/js/main.js @@ -462,7 +462,7 @@ function updateConvItems(mode,data) { } if(page_load) - $("#profile-jot-text-loading").show(); + $("#page-spinner").show(); $.get(update_url,function(data) { var update_mode = ((page_load) ? 'replace' : 'update'); @@ -472,7 +472,7 @@ function updateConvItems(mode,data) { scroll_next = false; in_progress = false; updateConvItems(update_mode,data); - $("#profile-jot-text-loading").hide(); + $("#page-spinner").hide(); }); diff --git a/version.inc b/version.inc index b127e983e..24fb06e6d 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2012-12-15.170 +2012-12-16.171 diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 30df8f590..f70dd5d3f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -22,9 +22,9 @@ abbr { /*Should we be doing this here, or should we be changing default.css? */ aside { -box-shadow: 3px 3px 3px #ccc; +/*box-shadow: 3px 3px 3px #ccc;*/ border: none; -border-radius: 0px 0px 20px 0px; +/*border-radius: 0px 0px 20px 0px;*/ width: 210px; color: #d00; } @@ -347,8 +347,8 @@ div.wall-item-content-wrapper.shiny { margin-bottom: 5px; font-weight: bold; border: solid 1px #ccc; - box-shadow: 5px 5px 5px #666 inset; - border-radius: 20px; +/* box-shadow: 5px 5px 5px #666 inset; */ + border-radius: 5px; } #jot-title::-webkit-input-placeholder{font-weight: normal;} @@ -965,8 +965,8 @@ input#dfrn-url { margin-top: 30px; position: relative; background: #fff; - border-radius: 20px; - box-shadow: 12px 12px 12px #111; + border-radius: 5px; +/* box-shadow: 12px 12px 12px #111; */ border: 1px solid #eec; } @@ -974,7 +974,7 @@ input#dfrn-url { background: #fff; border-left: 1px solid #e0e0e0; margin-left: 50px; - box-shadow: 5px 5px 5px #222; +/* box-shadow: 5px 5px 5px #222; */ } .thread-end-wrapper { @@ -1144,7 +1144,7 @@ input#dfrn-url { .wall-item-content img { max-height: 95% !important; max-width: 95% !important; - box-shadow: 8px 8px 8px #666; +/* box-shadow: 8px 8px 8px #666; can't really have this because of smileys */ } .wall-item-content img.smiley { @@ -1174,12 +1174,12 @@ width: 90%; .wall-item-tools { clear: both; /* background-image: url("../img/head.jpg"); */ - background-position: 0 -20px; +/* background-position: 0 -20px; background-repeat: repeat-x; background: #eee; padding: 5px 10px; border-radius: 0px 0px 20px 20px; - border: 1px #eec solid; + border: 1px #eec solid; */ } .wall-item-like { @@ -1221,7 +1221,7 @@ margin: 15px; border: 1px solid #ccc; padding: 8px; border-radius: 5px 5px 5px 5px; - box-shadow: 5px 5px 5px #666 inset; +/* box-shadow: 5px 5px 5px #666 inset; */ } .comment-edit-text-empty { @@ -1693,8 +1693,8 @@ tr.mceLast { padding: 8px; width: 90%; -moz-border-radius: 5px; - border-radius: 20px; - box-shadow: 4px 4px 3px 0 #666 inset; + border-radius: 5px; +/* box-shadow: 4px 4px 3px 0 #666 inset; */ } #profile-jot-text:hover { color: #000000; @@ -2044,6 +2044,19 @@ aside input[type='text'] { /* cursor: pointer !important; */ } +#vcard-end { + clear: both; +} + +#contact-block { + margin-top: 25px; +} + +#contact-block-numcontacts { + font-weight: bold; + margin-bottom:8px; +} + .contact-block-div { float: left; width: 52px; @@ -2727,7 +2740,7 @@ brain is weird like that */ .tools { background-position: 0px -32px;} .lock { background-position: -16px -32px;} -.unlock { background: url(../img/jotperms.png) no-repeat;} +.unlock { background-position: -32px -32px; } .video { background-position: -48px -32px;} .youtube { background-position: -64px -32px;} .attach { background-position: -80px -32px; } @@ -3034,7 +3047,7 @@ nav .nav-menu { padding: 5px; margin: 3px 15px 0px; font-size: 14px; - border-bottom: 3px solid #d00; + border-bottom: 3px solid #ff0000; } nav .nav-menu.selected { border-bottom: 4px solid #CCCCCC; @@ -3212,3 +3225,6 @@ ul.menu-popup { background: #DDDDDD; } +#page-spinner { + margin-left: 50%; +} \ No newline at end of file diff --git a/view/tpl/contact_block.tpl b/view/tpl/contact_block.tpl index a79648712..a623c4944 100644 --- a/view/tpl/contact_block.tpl +++ b/view/tpl/contact_block.tpl @@ -1,5 +1,5 @@
-

$contacts

+
$contacts
{{ if $micropro }} $viewcontacts
diff --git a/view/tpl/conv_frame.tpl b/view/tpl/conv_frame.tpl index ed3e87050..202b095e7 100644 --- a/view/tpl/conv_frame.tpl +++ b/view/tpl/conv_frame.tpl @@ -9,3 +9,6 @@
{{ endif }} + + + diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 7ae62330c..51e3a4028 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -48,7 +48,7 @@
- +
$contact_block -- cgit v1.2.3