diff options
author | zotlabs <mike@macgirvin.com> | 2017-01-06 12:24:26 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-01-06 12:24:26 -0800 |
commit | ba2d0fae0e339e4909a7ee11c8493cdffbc6c392 (patch) | |
tree | 7f796cc33c96c68039b034c78c26789cf3d8b75e /view | |
parent | 1ce8168d72b4bcb8a4373a6a6a4428db62a4aa3f (diff) | |
parent | 7f9e91f1c78f9df6375a5ae5cb38b09eea02312b (diff) | |
download | volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.gz volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.bz2 volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.zip |
Merge branch 'dev' into gnusoc
Diffstat (limited to 'view')
-rw-r--r-- | view/css/widgets.css | 3 | ||||
-rw-r--r-- | view/php/default.php | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 4 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 17 | ||||
-rw-r--r-- | view/theme/redbasic/schema/dark.css | 23 | ||||
-rw-r--r-- | view/theme/redbasic/schema/simple_black_on_white.css | 21 | ||||
-rw-r--r-- | view/theme/redbasic/schema/simple_green_on_black.css | 20 | ||||
-rw-r--r-- | view/theme/redbasic/schema/simple_white_on_black.css | 21 | ||||
-rw-r--r-- | view/tpl/notes.tpl | 7 |
9 files changed, 109 insertions, 9 deletions
diff --git a/view/css/widgets.css b/view/css/widgets.css index abaf03038..9b97d8bf7 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -64,8 +64,9 @@ li:hover .widget-nav-pills-icons { #note-text { padding: 5px; width: 100%; - resize: vertical; + resize: none; min-height: 250px; + overflow: hidden; } /* saved searches */ diff --git a/view/php/default.php b/view/php/default.php index 839a36b5b..373fa2fd0 100644 --- a/view/php/default.php +++ b/view/php/default.php @@ -10,7 +10,7 @@ <header><?php if(x($page,'header')) echo $page['header']; ?></header> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><?php if(x($page,'nav')) echo $page['nav']; ?></nav> <main> - <aside id="region_1"><div id="left_aside_wrapper"><?php if(x($page,'aside')) echo $page['aside']; ?></div></aside> + <aside id="region_1"><div id="left_aside_spacer"><div id="left_aside_wrapper"><?php if(x($page,'aside')) echo $page['aside']; ?></div></div></aside> <section id="region_2"><?php if(x($page,'content')) echo $page['content']; ?> <div id="page-footer"></div> <div id="pause"></div> diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index e3ff6146b..ee106d50e 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1669,8 +1669,8 @@ nav .dropdown-menu { main.fullscreen { left: 0px; - width: 100%; - height: 100%; + width: 100vw; + height: 100vh; max-width: none; } diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 395385411..3ff0c43ae 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -18,7 +18,9 @@ $(document).ready(function() { if($(window).width() > 767) { $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) + offset_top: $('nav').outerHeight(true), + parent: '#region_1', + spacer: '#left_aside_spacer' }); } @@ -30,6 +32,15 @@ $(document).ready(function() { } }); + var left_aside_height = $('#left_aside_wrapper').height(); + + $('#left_aside_wrapper').on('click', function() { + if(left_aside_height != $('#left_aside_wrapper').height()) { + $(document.body).trigger("sticky_kit:recalc"); + left_aside_height = $('#left_aside_wrapper').height(); + } + }); + if($('#left_aside_wrapper').length && $('#left_aside_wrapper').html().length === 0) { $('#expand-aside').hide(); } @@ -96,7 +107,9 @@ function toggleAside() { $('main').addClass('region_1-on') $('<div id="overlay"></div>').appendTo('section'); $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) + offset_top: $('nav').outerHeight(true) - 10, + parent: '#region_1', + spacer: '#left_aside_spacer' }); } } diff --git a/view/theme/redbasic/schema/dark.css b/view/theme/redbasic/schema/dark.css index ed2714dfc..f9114141d 100644 --- a/view/theme/redbasic/schema/dark.css +++ b/view/theme/redbasic/schema/dark.css @@ -433,3 +433,26 @@ pre { .contextual-help-tool i { color: $link_colour; } + + +.profile-match-wrapper { + width: 150px; + height: 120px; + border: none; +} + +.profile-match-name { + width: 144px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.widget-nav-pills-icons:hover + a { + background-color: #222; +} + +.widget-nav-pills-checkbox:hover + a { + background-color: #222; +} + + diff --git a/view/theme/redbasic/schema/simple_black_on_white.css b/view/theme/redbasic/schema/simple_black_on_white.css index 7dd8125a4..f06fd3667 100644 --- a/view/theme/redbasic/schema/simple_black_on_white.css +++ b/view/theme/redbasic/schema/simple_black_on_white.css @@ -297,3 +297,24 @@ pre { top: 50px; } + +.profile-match-wrapper { + width: 150px; + height: 120px; + border: none; +} + +.profile-match-name { + width: 144px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.widget-nav-pills-icons:hover + a { + background-color: #F5F5F5; +} + +.widget-nav-pills-checkbox:hover + a { + background-color: #F5F5F5; +} + diff --git a/view/theme/redbasic/schema/simple_green_on_black.css b/view/theme/redbasic/schema/simple_green_on_black.css index ca2e5b15a..c7bb99334 100644 --- a/view/theme/redbasic/schema/simple_green_on_black.css +++ b/view/theme/redbasic/schema/simple_green_on_black.css @@ -383,3 +383,23 @@ pre { .contextual-help-tool i { color: $link_colour; } + +.profile-match-wrapper { + width: 150px; + height: 120px; + border: none; +} + +.profile-match-name { + width: 144px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.widget-nav-pills-icons:hover + a { + background-color: #143D12; +} + +.widget-nav-pills-checkbox:hover + a { + background-color: #143D12; +} diff --git a/view/theme/redbasic/schema/simple_white_on_black.css b/view/theme/redbasic/schema/simple_white_on_black.css index a462c4d29..dabc26743 100644 --- a/view/theme/redbasic/schema/simple_white_on_black.css +++ b/view/theme/redbasic/schema/simple_white_on_black.css @@ -356,3 +356,24 @@ pre { .contextual-help-tool i { color: $link_colour; } + +.profile-match-wrapper { + width: 150px; + height: 120px; + border: none; +} + +.profile-match-name { + width: 144px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.widget-nav-pills-icons:hover + a { + background-color: #030303; +} + +.widget-nav-pills-checkbox:hover + a { + background-color: #030303; +} + diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl index f9fed1feb..c4da3783b 100644 --- a/view/tpl/notes.tpl +++ b/view/tpl/notes.tpl @@ -5,9 +5,10 @@ var noteSaveTimer = null; var noteText = $('#note-text'); - $(document).ready(function(){ - noteText.height(noteText[0].scrollHeight); - }); + noteText.on('change keyup keydown paste cut', function () { + $(this).height(0).height(this.scrollHeight); + $(document.body).trigger("sticky_kit:recalc"); + }).change(); $(document).on('focusout',"#note-text",function(e){ if(noteSaveTimer) |